LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-08-2003, 08:52 AM   #1
lion
LQ Newbie
 
Registered: Oct 2003
Location: Enschede, Netherlands
Distribution: Gentoo, FreeBSD
Posts: 1

Rep: Reputation: 0
Samba mapping drives from login script


I'm using Samba to replace an old Novell 3.11 server.
Everything works fine, except for mapping network drives from the login script.

net use p: \\infotronic-2\p /y
works when called from the login script,
net use z: \\infotronic_2\z /y
doesnt. That is, the script announces that the command completed correctly, but Z: is not connected to the network share afterwards.

My suspicion is that this happens because the netlogon share is mounted temporarily on Z: while executing the script, and is dismounted afterwards, effectively unmounting the newly-mounted Z:.

My smb.conf looks like this:
[global]
netbios name = INFOTRONIC-2
interfaces = pcn0 lo0
bind interfaces only = Yes
encrypt passwords = Yes
unix password sync = Yes
logon script = Logon.bat
logon drive = J:
domain logons = Yes
os level = 64
preferred master = Yes
domain master = Yes
wins support = Yes
create mask = 0770
directory mask = 0770

[home]
path = /export/Infotronic/USER/%U
browseable = yes
writeable = yes

[Z]
path = /export/Infotronic
read only = No

[P]
path = /export/Infotronic/PROJ
read only = No

[Faxes]
comment = Ontvangen faxen
path = /var/spool/hylafax/recvq
read only = No

[U]
path = /export/Infotronic/USER
read only = No

[netlogon]
comment = Network Logon Service
path = /home/netlogon
guest ok = Yes
share modes = No

Who has any idea?

Last edited by lion; 10-08-2003 at 08:56 AM.
 
  


Reply


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
Automatic mapping of Samba shares at login on Fedora chaan Linux - Software 2 05-14-2004 12:43 PM
problem with samba script - not mapping all letters in some computers schneider Linux - Networking 0 05-07-2004 01:42 PM
Samba and mapping drives Veteq Linux - Newbie 1 03-08-2004 05:56 PM
Samba Logon script not mapping Drives automatically! kofi Linux - Software 0 07-21-2003 04:06 PM
mapping a SAMBA share with a login script Drizzt420 Linux - Software 2 07-19-2003 03:08 PM


All times are GMT -5. The time now is 06:47 PM.

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