Koozali.org: home of the SME Server

netlogon.bat

Dan Elkins

netlogon.bat
« on: September 18, 2000, 06:36:18 AM »
Does anybody have any netlogon.bat files that work that I could use as an example.  I tried using the bat file with stuff like "net use E: \server\ibay" and it wouldn't work.  Also, how do you use variables like user?

Thanks,

Dan

Doyle Glaze

RE: netlogon.bat
« Reply #1 on: September 26, 2000, 06:30:24 AM »
Yes, Does anyone have the proper syntex for the netlogon.bat. The dos syntex does not work.

Thanks Doyle

Charlie Brady

RE: netlogon.bat
« Reply #2 on: September 26, 2000, 06:56:53 AM »
Doyle Glaze wrote:

> Yes, Does anyone have the proper syntex for the netlogon.bat.
> The dos syntex does not work.

The DOS syntax certainly should work. If it seems that it does not work, then the problem is probably in the line terminators. netlogon.bat lines must end with a carriage return-line feed pair to match the DOS convention - the normal linux line terminator of newline will not work.

An easy workaround is to prepare a file called netlogon.bat in one of your ibays using a DOS or windows text editor, then copy into the correct location for the netlogon share.

Charlie