netlogons, new users, and ver. 1.9.17p4

Brian Fernald bsf at nsi.edu
Tue Nov 18 18:27:35 GMT 1997


We upgraded to version 1.9.17p4 running on a sparcstation, solaris 2.6.  
We have had no problems in the past with netlogon scripts. However, now 
all of our current users have no problems, but when new users (new since 
upgrade) log in, their netlogon script is not ran. Once logged in, 
however, they can browse the netlogon folder manually and run their 
scripts. It then mounts all of their drives.  I checked the log file for 
an old user, vs. a new user and I noticed the following difference :

Log for old user 

>found free connection number 73
> Connect path is /usr/samba/netlogon
> chdir to /usr/samba/netlogon


Log for new user

>found free connection number 31
>Connect path is /tmp
>chdir to /tmp


Why are all the new users being pointed to /tmp while old user are 
pointing to /usr/samba/netlogon?

Below is a copy of my smb.conf

Any help would be greatly appreciated.


Brian Fernald
fernald at nsi.edu




; The global setting for a default install
; Copyright(C) John H Terpstra & Jeremy Allison - 1997
;======================= Global Settings =====================================
[global]

   workgroup = SERVERS
   debug level =3 
   log level = 3
   comment = Centaur - Samba Server
   printing = sysv
#   printcap name = /etc/printcap
   load printers = no
   guest account = guest
   null passwords = yes
   guest ok = yes
   public = yes
   log file = /usr/samba/var/log.%m
   max log size = 50
   short preserve case = no
   preserve case = yes
   lock directory = /usr/samba/var/lock/
   locking = yes
   share modes = yes
   security = user
   socket options = TCP_NODELAY 
   local master = yes
   os level = 65
   domain master = yes 
   preferred master = yes
   domain logons = yes
   logon script = %u.bat
   wins support = yes
#  password level = 4

[homes]
   path = /home/%S
   comment = Home Directories
   browseable = no
   writable = yes
   create mode = 0750

[netlogon]
   comment = Samba Network Logon Service
   path = /usr/samba/netlogon
   case sensitive = no
   guest ok = yes
   locking = no
   writable = no
   browseable = yes

[printers]
  comment = All Printers
  path = /usr/samba/var/spool
  browseable = no
  printable = yes
  guest ok = no
  writable = no
  create mask = 0700

[fundware]
   comment = Fundware Files
   path = /export/fundware
   public = no
   valid users = @fundware
   write list = @fundware
   read list = @fundware
   create mode = 0775

[admin]
   comment = Administrative Files
   path = /export/admin
   guest ok = no 
   public = no
   valid users = @admin
   write list = @admin
   read list = @admin
   create mode = 0775
#
#[library]
#   comment = Library Files
#   path = /export/library
#   guest ok = yes 
#   public = yes
#   writable = yes 
#   create mode = 0775
#
[dist]
   comment = Windows Files
   path = /export/windist
   guest ok = yes 
   public = yes
   writable = no
   write list = @pcadmin
   create mode = 0775

[scratch]
   comment = System-wide scratch space
   path = /scratch
   guest ok = yes 
   public = yes
   writable = yes
   create mode = 0777

[oneweek]
   comment = System-wide scratch space (Removed after one week)
   path = /oneweek
   guest ok = yes 
   public = yes
   writable = yes
   create mode = 0777



More information about the samba mailing list