Re: [SLE] SUSE 9.1, Samba 3.0.4-1.2 and Windows NT Domain

From: Alejo fdf (alejofdf_at_hotmail.com)
Date: 06/02/04

  • Next message: Ken Schneider: "Re: [SLE] 'smb:/' not working in SuSE 9.1"
    To: bmarsh@bmarsh.com, suse-linux-e@suse.com
    Date: Wed, 02 Jun 2004 12:49:22 +0200
    
    

    Dear Sirs,
    (Sorry for my English I am from Spain)

    I follow suggestion from Bruce interfaces = 192.168.xxx.xxx eth0
    But stil do not works. Here is my smb.conf (I updated from 9.0 and is
    different that if you install 9.1 from cero)
    Any suggestion is welcome, thanks

    ________________________________________________________________
    # smb.conf is the main Samba configuration file. You find a full commented
    # version at /usr/share/doc/packages/samba/examples/smb.conf.SuSE
    # Date: 2003-09-23
    [global]
       workgroup = WORK-1
       os level = 2
       time server = Yes
       unix extensions = Yes
       encrypt passwords = yes
       map to guest = Bad User
       printing = CUPS
       printcap name = CUPS
       socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
       wins support = No
       veto files = /*.eml/*.nws/riched20.dll/*.{*}/
       security = user
       server string = Samba Server-AF
       add user script =
       domain master = false
       domain logons = no
       local master = no
       preferred master = auto
    ;; ldap server = 127.0.0.1
       passdb backend = smbpasswd
       add machine script =
       ldap suffix = dc=example,dc=com
       interfaces = 192.168.0.1 eth0
    [homes]
       comment = Home Directories
       valid users = %S
       browseable = no
       read only = No
       create mask = 0640
       directory mask = 0750
       guest ok = no
       printable = no
    [printers]
       comment = All Printers
       path = /var/tmp
       printable = yes
       create mask = 0600
       browseable = no
       guest ok = no
    [print$]
       comment = Printer Drivers
       path = /var/lib/samba/drivers
       write list = @ntadmin root
       force group = ntadmin
       create mask = 0664
       directory mask = 0775
       browseable = yes
       guest ok = no
       printable = no
    [win-af]
       comment =
       path = /windows/D/mis doc/
       browseable = yes
       guest ok = no
       printable = no
    ___________________________________________________________
    Thanks
    Alejo

    >From: Bruce Marshall <bmarsh@bmarsh.com>
    >Reply-To: bmarsh@bmarsh.com
    >To: SLE <suse-linux-e@suse.com>
    >Subject: Re: [SLE] SUSE 9.1, Samba 3.0.4-1.2 and Windows NT Domain
    >Date: Tue, 1 Jun 2004 17:44:14 -0400
    >
    >On Tuesday 01 June 2004 04:50 pm, James Golden wrote:
    > > Not sure how you meant your question so I am going to give two answers.
    > >
    > > 1. I configured it using Yast2
    > > 2. Here is the configuration:
    > >
    > > [global]
    > > workgroup = GR
    > > interfaces = 127.0.0.1 eth0
    >
    >Are you on a home network with several other machines? (maybe windows
    >machines?)
    >
    >You should put your LAN address in the above instead of localhost....
    >
    >interfaces = 192.168.xx.xx eth0 (or whatever)
    >
    >Otherwise you're not going to 'see' out of your local machine.
    >
    >
    >
    > > bind interfaces only = true
    > > printing = cups
    > > printcap name = cups
    > > printer admin = @ntadmin, root, administrator
    > > map to guest = Bad User
    > > security = user
    > > encrypt passwords = yes
    > >
    > > [homes]
    > > comment = Home Directories
    > > valid users = %S
    > > browseable = No
    > > read only = No
    > > [users]
    > > comment = All users
    > > path = /home
    > > writeable = Yes
    > > inherit permissions = Yes
    > > veto files = /aquota.user/groups/shares/
    > > [groups]
    > > comment = All groups
    > > path = /home/groups
    > > writeable = Yes
    > > inherit permissions = Yes
    > > [pdf]
    > > comment = PDF creator
    > > path = /var/tmp
    > > printable = Yes
    > > print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z
    > > %z
    > > create mask = 0600
    > > [printers]
    > > comment = All Printers
    > > path = /var/tmp
    > > printable = Yes
    > > create mask = 0600
    > > browseable = No
    > > [print$]
    > > comment = Printer Drivers
    > > path = /var/lib/samba/drivers
    > > write list = @ntadmin root
    > > force group = ntadmin
    > > create mask = 0664
    > > directory mask = 0775
    > >
    > > On Tue, 2004-06-01 at 16:12 -0400, Bruce Marshall wrote:
    > > > On Tuesday 01 June 2004 04:00 pm, James Golden wrote:
    > > > > I have read a few articles about having troubles with SUSE, but seem
    > > > > unable to resolve my issues. I can see the domain and all the
    >visible
    > > > > machines, but I can't seem to connect to shares. It says unable to
    > > > > resolve address.
    > > >
    > > > And a hi from Bellaire, MI.
    > > >
    > > > The smb.conf files changed with 9.1. How did you configure this file?
    > > >
    > > > > If I do a ping to the server name I get an address and vice versa.
    > > > >
    > > > > I thought I would try running LinNeighborhood to mount the shares
    >like
    > > > > I did in 9.0. I get the same error message.
    > > > >
    > > > > So I ran LinNeighborhood from console to see if I could get a little
    > > > > better error message. This is the only thing that looks fishy to
    >me.
    > > > >
    > > > > resolve_lmhosts: Attempting lmhosts lookup for name NEMO<0x20>
    > > > > resolve_wins: Attempting wins lookup for name NEMO<0x20>
    > > > > resolve_wins: WINS server resolution selected and no WINS servers
    > > > > listed.
    > > > > resolve_hosts: Attempting host lookup for name NEMO<0x20>
    > > > >
    > > > > anyone lead me in the right direction here. Where is it looking for
    > > > > WINS servers. I have my NIC setup for DHCP and when I looked at the
    > > > > settings it looks like it is getting all the DNS and WINS servers
    >for
    > > > > the domain.
    > > > >
    > > > > Any help would be appreciated.
    > > > >
    > > > > James
    > > >
    > > > --
    > > >
    >+------------------------------------------------------------------------
    > > >----+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI
    > > > 06/01/04 16:12 +
    > > >
    >+------------------------------------------------------------------------
    > > >----+ "Here comes the orator, with his flood of words and his drop of
    > > > reason."
    > > >
    > > > --
    > > > Check the headers for your unsubscription address
    > > > For additional commands send e-mail to suse-linux-e-help@suse.com
    > > > Also check the archives at http://lists.suse.com
    > > > Please read the FAQs: suse-linux-e-faq@suse.com
    > > >
    > > > &#0
    >
    >--
    >+----------------------------------------------------------------------------+
    >+ Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 06/01/04 17:42
    > +
    >+----------------------------------------------------------------------------+
    >"'LOVE' is nothing but 'SEX' mispelled."
    >
    >--
    >Check the headers for your unsubscription address
    >For additional commands send e-mail to suse-linux-e-help@suse.com
    >Also check the archives at http://lists.suse.com
    >Please read the FAQs: suse-linux-e-faq@suse.com
    >
    >

    _________________________________________________________________
    ¿Estás pensando en cambiar de coche? Todas los modelos de serie y extras en
    MSN Motor. http://motor.msn.es/researchcentre/

    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Ken Schneider: "Re: [SLE] 'smb:/' not working in SuSE 9.1"

    Relevant Pages

    • Re: How to cennect to a windows network?
      ... box to "see" a home directory, ... map to guest = Bad User ... server string = Samba Server ... directory mask = 0750 ...
      (alt.os.linux.suse)
    • Re: [SLE] Samba Probs
      ... Ben Higginbottom wrote: ... when the server was in WinXP... ... map to guest = Bad User ... directory mask = 0750 ...
      (SuSE)
    • Re: Samba wont dance (more info)
      ... workgroup = MDKGROUP ... server string = Samba Server %v ... load printers = yes ... map to guest = bad user ...
      (Fedora)
    • RE: Newbie Samba help (solved)
      ... server string = %h server ... comment = Home Directories ... directory mask = 0700 ... comment = All Printers ...
      (Debian-User)
    • Re: LAN and linux pc (newbie)
      ... >> from the linux PC, but the linux PC ... >Check that all machines have the same subnet mask. ... DHCP server 192.168.1.1 ... map to guest = Bad User ...
      (alt.os.linux.suse)