Logon script

Mark Haney mhaney at info4cars.com
Tue Mar 6 14:11:47 GMT 2001


>>Only .bat files will work with NT4.

This is not true. .cmd files will work just fine.  Although, I have seen
issues where NT4 doesn't like to process the .cmd file without it being
called from a batch file.  I have used .cmd files for years and never had a
problem (other than the occasional hanging of the VDM).

-----Original Message-----
From: samba-ntdom-admin at lists.samba.org
[mailto:samba-ntdom-admin at lists.samba.org]On Behalf Of Ben Liesfeld
Sent: Tuesday, March 06, 2001 9:06 AM
To: samba-ntdom at us5.samba.org
Subject: Re: Logon script


Hello Harrie,

Tuesday, March 06, 2001, 2:40:52 PM, you wrote:

> Hi,

> I have some problem connecting a NT workstation (4 sp6) into samba
(2.0.6).
> It makes a connection but it doesn't go through the logon script.
> I have no idea whats wrong.

> The user is called xerox2.

> smb.conf:
>         log level = 3
>         log file = /var/log/samba/%m.log
>         max log size = 1000
>         socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096
SO_RCVBUF=4096
>         wins support = Yes
>         hosts allow = 192.168.0.3 192.168.0.180 192.168.0.181
192.168.0.182
> 192.168.0.183 192.168.0.184 192.168.0.185 192.168.0.186 192.168.0
> 192.168.2. 192.168.3. 129.0.0. EXCEPT 192.168.2.100 192.168.2.200
>         browsable = Yes
>         logon script = xerox2.cmd
Only .bat files will work with NT4. I read it somewhere in the docu,
don't ask me where. Try a .bat file.

--
Regards,
 Ben Liesfeld                            mailto:ben.liesfeld at gmx.de








More information about the samba-ntdom mailing list