Make the  logon script OS specific and add try
net use z: \\servername\share /persistent:no
to map the NT shares. Also make sure that your profiles are set up
correctly.

Dale Owens
owens at gradtech.com

-----Original Message-----
From: tclug-list-admin at mn-linux.org
[mailto:tclug-list-admin at mn-linux.org]On Behalf Of Rick Phillips
Sent: Friday, February 01, 2002 3:33 PM
To: tclug-list at mn-linux.org
Subject: [TCLUG] Samba and W2K Netlogon


Does anyone have a suggestion on getting drives to map on a Win2K computer
that is logging into a domain controlled by a Samba box?

I have set up a test network with a Win98, Win2K and a RedHat 7.1 computer
running Samba 2.2.2. I have successfully created a machine account for my
W2K machine, and can log into the domain/computer with both my Win98 and
Win2K computers. However, I can't seem to get a netlogon file to run on the
Win2K machine, but can get it to work on the Win98 computer (i.e. map drives
and set the time).

I have created a directory /home/netlogon, and have put files called:
logon.bat, logon.cmd, phillips.bat, and phillips.cmd in that share with 777
permissions. (I know that is not proper, but at least for testing, I know
that I don't have a permission issue).

Anyhow, the Win2K machine looks like it is running the scripts, but the
drives do not get mapped. However, if I browse to that directory via samba,
I am able to double-click on the file and the scripts run just fine. I have
tried setting the logon script = to all of the above files, including
%U.bat.

Any ideas?

FYI - There is a good article on this subject in the recent issue of Linux
Magazine.

Rick Phillips
Churchill Capital / Churchill Industries
(612) 673-6738
phillips at churchillnet.com

_______________________________________________
Twin Cities Linux Users Group Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org
tclug-list at mn-linux.org
https://mailman.mn-linux.org/mailman/listinfo/tclug-list