Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-21-2003, 03:06 PM   #1
Registered: Aug 2002
Location: Atlanta
Distribution: Redhat Linux 7.2 & 7.3 + 8.0
Posts: 59

Rep: Reputation: 15
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

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

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

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

Also in the file i have the link that says

logon script = 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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba and mapping drives Veteq Linux - Newbie 1 03-08-2004 04:56 PM
Samba mapping drives from login script lion Linux - Newbie 0 10-08-2003 07:52 AM
samba logon script win xp synfield Linux - Networking 3 08-20-2003 10:24 AM
mapping a SAMBA share with a login script Drizzt420 Linux - Software 2 07-19-2003 02:08 PM
samba logon script question kcourser Linux - Networking 2 04-24-2003 12:45 PM

All times are GMT -5. The time now is 11:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration