Computing.Net > Forums > Linux > cannot map drive from xp to samba

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

cannot map drive from xp to samba

Reply to Message Icon

Name: thas
Date: May 10, 2007 at 00:06:48 Pacific
OS: Linux
CPU/Ram: 1
Product: s
Comment:

I have a Samba server with LDAP (in Fedora Core 4) and numbers of XP
client in a domain. After client login to domain, it runs a logon
script to map drive. Each client has own home directory in samba
server. Sometimes there are some clients cannot map the drive to shared
folder in samba server after they login (At the same time, Some
clients can map the drive successfully)


My Samba version: 3.0.14a

smb.conf:

# Global parameters

[global]
unix charset = big5
dos charset= big5
workgroup = GROUP1
netbios name = Server1
log level = 2
syslog = 0
log file = /var/log/samba/%m
max log size = 50
name resolve order = wins bcast hosts
time server = no
#printcap name = CUPS
#show add printer wizard = No
interfaces = eth2, lo
bind interfaces only = yes
passdb backend = ldapsam:ldap://127.0.0.1
add user script = /usr/local/sbin/smbldap- useradd.pl -a -m '%u'
delete user script = /usr/local/sbin/smbldap-userdel.pl '%u'
add group script = /usr/local/sbin/smbldap-groupadd.pl -p '%g'
delete group script = /usr/local/sbin/smbldap- groupdel.pl '%g'
add user to group script = /usr/local/sbin/smbldap-groupmod.pl -m '%u' '%g'
delete user from group script = /usr/local/sbin/smbldap-groupmod.pl -x '%u' '%g'
#set primary group script = /usr/local/sbin/smbldap-usermod.pl -g '%g' '%u'
add machine script = /usr/local/sbin/smbldap-useradd.pl -w '%u'
logon script = scripts\%U.bat
logon path = \\%L\profiles\%U
logon drive = X:
logon home = \\%L\%U
domain logons = Yes
preferred master = Yes
ldap suffix = dc=GROUP1,dc=net
ldap machine suffix = ou=People
ldap user suffix = ou=People
ldap group suffix = ou=Groups
wins support = Yes
ldap idmap suffix = ou=Idmap
ldap admin dn = cn=Manager,dc=GROUP1,dc=net
idmap backend = ldap:ldap://127.0.0.1
idmap uid = 10000-20000
idmap gid = 10000-20000
map acl inherit = Yes

security = user
template shell = /bin/false
winbind use default domain = no
ldap passwd sync = Yes
deadtime=15

[homes]
comment = Home Directories
valid users = %S
read only = No
browseable = No

[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
guest ok = Yes
locking = No
browseable = No

[profiles]
comment = Profile Share
path = /var/lib/samba/profiles
writable = yes
create mask = 0600
directory mask = 0700
browseable = no
read only = No
profile acls = Yes

[Shared]
path = /Shared
writeable = no
valid users = @domain_administrators, @domain_users
browseable = no
read only = yes

The logon script:

net use y: /delete
net use y: \\Server1\Shared /persistent:no

In XP client, type "net use y: \\Server1\Shared /persistnet:no", it
prompts something like "Network Path could not found"


is there anyone what the problem is and how to solve it?



Sponsored Link
Ads by Google

Response Number 1
Name: jefro
Date: May 11, 2007 at 21:11:16 Pacific
Reply:

Can a domain admin log on to each system and have it work correctly or is it each computer?


Are clients using ntp to adjust time? Wild guess says that some clients are almost at the 5 minute mark off.

I read it wrong and answer it wrong too. So get off my case you goober.


0
Reply to Message Icon

Related Posts

See More


Need help with Sound on L... Ubuntu. LTS or current?



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: cannot map drive from xp to samba

Cannot map Samba drive from Win2k www.computing.net/answers/linux/cannot-map-samba-drive-from-win2k/9317.html

Dial Up required to map drives with samb www.computing.net/answers/linux/dial-up-required-to-map-drives-with-samb/4394.html

should i change to linux from xp www.computing.net/answers/linux/should-i-change-to-linux-from-xp/15825.html