Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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.14asmb.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 = Yessecurity = 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 = yesThe logon script:
net use y: /delete
net use y: \\Server1\Shared /persistent:noIn 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?

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.

![]() |
Need help with Sound on L...
|
Ubuntu. LTS or current?
|

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