Win2K doesn't exec logon script
swsnyder at home.com
Sun Oct 14 14:32:02 GMT 2001
Actually my needs in a logon script are pretty simple. I just want to set
the time/date on the local machine and map several shared drives. A single
script has sufficed in past for Win9x and OS/2 clients, and I hope(d) to
keep it that way for Win2K clients as well.
I'm willing to go the profile route if that is what's needed, but I'd like
to stay with a single logon script for all clients (including Win2K) if at
Thanks for the response.
On Sunday 14 October 2001 03:40 pm, Jan-Pieter van den Heuvel wrote:
> I don't know much about Win2K, but I believe you need a logon script like
> netlogon.bat (a batch file). This file should be in your netlogon share.
> I wouldn't make your logon path /home/samba/netlogon, but give every user
> it's own logon path (this is where the roaming profiles are stored).
> Example: logon path = \\PROFILESERVER\PROFILE\%U
> Jan-Pieter van den Heuvel
> Piozum Computer & Webpagebuilding
> -----Oorspronkelijk bericht-----
> Van: samba-admin at lists.samba.org
> [mailto:samba-admin at lists.samba.org]Namens Steve Snyder
> Verzonden: vrijdag 12 oktober 2001 18:26
> Aan: samba at lists.samba.org
> Onderwerp: Win2K doesn't exec logon script
> When I boot a Win2K client it should execute the Samba (v2.2.1a, on Linux
> 2.4.12) netlogon script, but it doesn't. What am I doing wrong?
> The global section of my smb.conf is shown below. This config, including
> the netlogon script, has been working great with Win9x and OS/2. Please
> be gentle as I am a total Win2K newbie.
> A few notes:
> 0. Names used:
> a. My client user name = steve
> b. My client machine name = pluto
> c. My workgroup = snydernet
> d. Name of machine running Samba server = sunburn
> 1. I am able to browse the shares and to manually map any share to the
> appropriate service (drive or printer). Once mapped the share works
> 2. I accasionally see this messages in the Samba log for my Win2K
> [2001/10/12 10:17:44, 0] smbd/nttrans.c:call_nt_transact_ioctl(1798)
> call_nt_transact_ioctl: Currently not implemented.
> 3. I'm suspicious of a few Win2K environment variables, especially
> "LOGONSERVER=\\PLUTO". Shouldn't the name be the name of my Samba server
> 4. The IPC$ seems to be active (as shown in smbstatus output) a long
> time. Is it timing out?
> 5. Win2K does not display any warning or error messages with which I
> could diagnose this problem. It seems to simply not run the script.
> workgroup = SNYDERNET
> server string = Server for SnyderNet LAN
> interfaces = lo eth0
> bind interfaces only = True
> hosts deny = all
> hosts allow = 192.168.0.
> name resolve order = hosts bcast
> dns proxy = no
> printcap name = /etc/printcap
> load printers = yes
> printing = lprng
> max log size = 0
> log file = /var/log/samba/%m.log
> security = user
> encrypt passwords = yes
> smb passwd file = /etc/smbpasswd
> null passwords = yes
> domain logons = yes
> logon script = netlogon
> logon path = /home/samba/netlogon
> local master = yes
> domain master = yes
> os level = 65
> preferred master = yes
> client code page = 437
> lock directory = /var/lock/samba
> time server = yes
> socket options = IPTOS_LOWDELAY TCP_NODELAY
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba