[Samba] Netlogon

Nash Computer Technology nashcom at btinternet.com
Tue Jul 30 01:05:02 GMT 2002


Hi

I'm evaluating Samba 2.2.4, and am trying to get a login script to work 
from a Windows98 PC.  I have the following entries in smb.conf

  domain logons = yes
  logon script = startup.bat

  [netlogon]
  path = /home/netlogon
  guest ok = yes
  writable = no
  share modes = no

I've created the /home/netlogon/startup.bat file and included a line:
	net use g: \\<server>\officedata (officedata is a sanba share)

All users have full access to the netlogon directory and startup.bat files.

I've also tried other configurations, including individual scripts for each user, as suggested 
in the sample smb.conf file.

I'm logging in as root, (or another user), but it doesn't appear to be processing the login 
script.  Should it?  Or do I need to do something on the WIndows PC?  If I run the 
startup.bat file from Windows Explorer, it 
executes fine, and maps drive G:.

Thanks in advance

David




More information about the samba mailing list