LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Samba Logon script not mapping Drives automatically! (https://www.linuxquestions.org/questions/linux-software-2/samba-logon-script-not-mapping-drives-automatically-74635/)

kofi 07-21-2003 03:06 PM

Samba Logon script not mapping Drives automatically!
 
Hello folks,

This is driving me crazy. So i had Samba installed on RH 7.3 and it worked great.


I just upgraded the server to RH9 and I have the server set up to be a PDC. I can login Ok and authenticate the user with no hassles.

However the Logon script is acting weird.

Below are the relevant section of my SMB.CONF and logon Script files
____________________________________________________
SMB.CONF

[netlogon]
path = /export/samba/netlogon
read only = yes
public = no

[homes]
comment = home directory of user for %u
path = %H
read only = no

[software]
comment = software folder
path = /export/software
read only = no




Also in the file i have the link that says

logon script = logon.bat


LOGON.BAT:

@echo off
echo Connecting to your Share drives...
net use I: \\machine\homes
net use J: \\machine\software
____________________________________________________


When I log in from a client WIndows 98 machine, sometiems I have the I-drive show up correctly and the J drive does not show. Other times the J shows and oth I does not show.

By not shjowing I mean it is not mapping the drives automatically. I can issue the normal net use command and connect to the shares OK as I can browse to the samba server and access the shares.

But I would be damn if I have to go to over 50 computers to manually map drives to the correct share.

I thought i I had a corrupted version of the samba install so I downloaded a copy of the new beta version 3.0 and installed that to replace the version 2.27 that comes with RH9. No go

Anyone experienced this? Please lt me know as I ave spent far too much time troubleshooting this.

Thanks people.


All times are GMT -5. The time now is 01:21 PM.