LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-04-2005, 06:00 AM   #1
teeno
Member
 
Registered: Jul 2001
Posts: 72

Rep: Reputation: 15
Login Scripts don't MAP drives for win98 - Slackware 10 using Samba v3.0.5


Hi All,

I am unable to get any of my Windows 98 Clients to map the network drives when logging in to the Samba server. The login script runs and the time is set but the network drives aren't mapped.

Everything works fine for the Windows XP Clients though.

Please can someone take a look at my smb.conf and login.bat and tell me why it isn't working.

smb.conf
# Global parameters
[global]
log file = /var/log/samba.%m
logon drive = X:
domain master = Yes
time server = Yes
logon home = \\%L\%U\winprofile
passdb backend = tdbsam
dns proxy = No
netbios name = ELEDYNE
server string = Network Server
logon script = logon.bat
workgroup = MECS
logon path = \\%N\profiles\%U
os level = 127
add machine script = /usr/sbin/useradd -d /dev/null -g workstation -s /bin/false -M %u
max log size = 50
domain logons = Yes

[homes]
comment = Home Directories
browseable = no
writeable = yes
write list = root,@ntadmin

[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
write list = ntadmin
browseable = No
share modes = No

[Profiles]
path = /home/samba/profiles
read only = No
create mask = 0600
directory mask = 0700
profile acls = Yes
browseable = No
csc policy = disable

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[PUBLIC]
comment = Public Area for Eledyne
path = /MECS/PUBLIC
write list = @ntadmin

[TMP]
guest ok = Yes
comment = Temp files
writable = yes
create mask = 0777
path = /MECS/TMP
directory mask = 0777

[sys]
writeable = yes
create mode = 777
path = /MECS
write list = root
directory mode = 777

[Users]
comment = Homes
create mode = 777
path = /home
write list = @ntadmin,@users
directory mode = 777
###########################################

login.bat

@echo off
NET TIME \\eledyne /SET /YES
NET USE F: /DEL
NET USE Y: /DEL
NET USE X: /DEL
NET USE Z: /DEL
NET USE U: /DEL
NET USE F: \\eledyne\sys /YES
NET USE Y: \\eledyne\PUBLIC /YES
NET USE X: /HOME /YES
NET USE Z: \\eledyne\TMP /YES
NET USE U: \\eledyne\Users /YES

############################################



Thank you,

Peter
 
  


Reply



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 Login Scripts for Fedora? yellowbkpk Fedora 3 06-22-2005 02:13 PM
Map network drives jocast Linux - Networking 4 08-25-2004 06:38 PM
How to map network drives? (Mandrake 10.0) R00ts Linux - Newbie 12 04-01-2004 01:23 AM
Samba mapping drives from login script lion Linux - Newbie 0 10-08-2003 07:52 AM
How do I map drives? jimdaworm Linux - Newbie 7 08-18-2003 12:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:28 AM.

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
Open Source Consulting | Domain Registration