[Samba] Problem with logon script

Chee Seng TOH tohcs at yahoo.com
Sun Jul 21 23:34:03 GMT 2002


I am a newbie trying out Samba 2.2.4 on FreeBSD 4.6

In my smb.conf, I have the following entries

  comment = Network Logon Service
  path = /usr/local/samba/lib/netlogon
  guest ok = yes
  writeable = no
  share modes = no

# run a specific logon batch file per username
   logon script = %U.bat

where the logon batch file is within in the above
netlogon durectory

a user login script as :

\\starship /yes
echo Mapping Drives ...
net use H: /home
net use K: \\starship\klasse10 /yes

Upon logging on as the user (in WIN98SE), none of the
drive mapping within the logon script has taken place.
However manual mapping via the File explorer works


Thanks in advance for any advice.

Chee Seng

Do You Yahoo!?
Yahoo! Health - Feel better, live better

More information about the samba mailing list