and first try off PDC domain logon=no
When you log on win9x as peter you must in netwark give share peter not secretary.
In yuor netlogon share miss guest ok...
Why you use PDC?
Add user script is not need for win9x machines.
And more more miss.
----- Original Message -----
Sent: Thursday, November 07, 2002 5:37 AM
Subject: [Samba] Samba problems

Thank you for your helps.  After I corrected all the spellings and did chown -R Secretary /home/Secretary
chmod -R 700 /home/Secretary ... I double clicked the LINUXSERV at the Secretary window
client, it did not prompt me for password instead went right to the CH-HOMES folder.
When I double clicked the CH-HOMES, again it is an ***empty*** folder.  I supposed to see Peter
and Secretary folder in the CH-HOMES folder.
 
My new sam.conf file is as following: -
 
# Samba config file created using SWAT
    # from chee_ch.com (127.0.0.1)
    # Date : 2002/10/26
    # Global parmeters
    [global]
 
    ;Basic server setting 3/11/2002
    workgroup = CH LINUX SER
    netbios name = CH-HOMES
    server string = Primary Domain Server running Samba %v
    socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF = 8192 SO_SNDBUF = 8192
   
    ;PDC and master browser setting
    os level = 64
    preferred master = yes
    local master = yes
    domain master = yes
    domain logons = yes
    dns proxy = No
 
    ;Security and logging settings
    security = user
    encrypt password = Yes
    log file = /var/log/samba/%m.log
    log level = 2
    max log size = o
    host allow = 127.0.0.1 192.168.0.0/255.255.255.0
    samba passwd file = /etc/samba/smbpasswd
    password program = /usr/bin/passwd %u
    passwd chat = *New*password* %n\n*
    *Retype*new*passwd*%n\n*passwd:*all*
    *authentication*token*updated*successfully*
   
    add user script = /usr/sbin/useradd -d /dev/null -g machines -c 'Machine Account' -s /bin/false -M %u
 
    # Domain groups:
    domain admin group = root@adm
   
    [homes]
    comment = Home Directories
    browseable = no
    writable = yes
   
    [profiles]
    path = /home/samba/profiles
    writable = yes
    browseable = no
    create mask = 0600
    directory mask = 0700
 
    [netlogon]
    comment = Network Logon Services
    path = /home/netlogon
    read only = yes
    browseable = no
    write list = @admins
 
    [printers]
    comment = All printer
    path = /var/spool/samba
    printable = Yes
    browseable = No
 
 
Any help will be greatly appreciated.
 
Thank you.
 
Oswald
 
 
p/s  My previous posting is as following: -
 
Hi!
   
I tried to set up a Samba PDC but so far it is not yet working (3 weeks passed).  I posted my Samba problems to news groups and discussion forums, but the suggestions given were not able to solve my problems.  I went through a few HOWTOs and followed the step-by-step guide, still can not solve my problem.  I am realy new to Linux and Samba and hope sameone will guide me through.
 
(1) What I did: -
    (a) I installed the samba samba-swat, samba-common, samba-client, and  edited /etc/samba/smb.conf files as following: -
 
    # Samba config file created using SWAT
    # from chee_ch.com (127.0.0.1)
    # Date : 2002/10/26
    # Global parmeters
    [global]
 
    ;Basic server setting 3/11/2002
    workgroup = CH LINUX SER
    netbios name = CH-HOMES
    server string = Primary Domain Server running Samba %v
    socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF = 8192 SO_SNDBUF = 8192
   
    ;PDC and master browser setting
    os level = 64
    preferred master = yes
    local master = yes
    domain master = yes
    domain logons = yes
    dns proxy = No
 
    ;Security and logging settings
    security = user
    encrypt passward = Yes
    log file = /var/log/samba/%m.log
    log level = 2
    max log size = 0
    host allow = 127.0.0.1 192.168.0.0/255.255.255.0
    samba passwd file = /etc/samba/ambpasswd
    passward program = /usr/bin/passwd %u
    passwd chat = *New*passward* %n\n*
    *Retype*new*passwd*%n\n*passwd:*all*
    *authentication*token*updated*successfully*
   
    add user script = /usr/sbin/useradd -d /dev/null -g machines -c 'Mechine Account' -s /bin/false -M %u
 
    # Domain groups:
    domain admin group = root@adm
   
    [homes]
    comment = Home Directories
    browseable = no
    writable = yes
   
    [profiles]
    path = /home/samba/profiles
    writable = yes
    brawseable = no
    create mask = 0600
    directory mask = 0700
 
    [netlogon]
    comment = Network Logon Services
    path = /home/netlogon
    read only = yes
    browseable = no
    write list = @admins
 
    [printers]
    comment = All printer
    path = /var/spool/samba
    printeble = Yes
    brawsable = No
    (b) I added the Samba user Peter and Secretary: -
  
    #useradd -m Peter
    #passwd Peter
      .....
    #cat /etc/passwd | /usr/bin/mksmbpasswd.sh > /etc/samba/smbpasswd
    #smbpasswd Peter
      .....
 
    (c) I repeated the steps to create account for Secretary.
 
    (d) I added root passward to the Samba
     
    #smbpasswd -a root
      ......
 
     (e) I did
      
     #groupadd -g 200 admins
     #groupadd -g 201 machines
     #mkdir -m 0775 /home/netlogon
     #chown root.admins /home/netlogon
     #mkdir /home/samba /home/samba/profiles
     #chmod 1757 /home/samba/profiles
 
     (f) At the Windows 98 client I change to Client for Microsoft Networks, Primary Network Logon, Logon to NT Domain.
 
     (g) I copied AutoCAD files to /home/Peter/tmp/  and /home/Secretary/tmp/
 
(2) What happened
 
     I re-booted the Samba PDC and Samba started fine.  From the Network Neighborhood of window client (Peter and Secretary) I can see CH LINUX SER.  I double 
     clicked it I can see CH-HOMES (netbios name).  I double clicked CH-HOMES, it prompted for passwd, I enter and I went in CH-HOMES.  But, it is an ***empty***
     folder.  I supposted be able to see to Peter and Secretary folders.  And and in Peter and Secretary I supposted be able to see tmp .......
 
    I rechecked the smb.conf file many, many times to ensure no spelling error etc, nothing worked out.  In the CH-HOMES folder of window client, it is still an empty
    folder.
 
(3) What I like to see
  
    A Samba PDC serving 10 over window clients, each window client login to their respective /home diectory.
 
 
What has happened?!  I am new to Linux and Samba, and help will be greatly appreciated.
 
Thank you
 
Oswald
 
 
 
 
 
 
 
 
 
 

Reply via email to