Falsche Laufwerkszuordnung für logon drive
- From: Torsten Geile <heinzelrumpel@xxxxxx>
- Date: Wed, 24 Oct 2007 09:57:05 +0200
Hallo,
es läuft ein Samba-Server Version: 3.0.24-6etch4 als PDC mit Open-LDAP
[global]
dos charset = 850
unix charset = ISO-8859-15
display charset = ISO-8859-15
workgroup = RHHU
server string = PDC
update encrypted = Yes
obey pam restrictions = Yes
passdb backend = ldapsam:ldap://127.0.0.1/
pam password change = Yes
passwd chat debug = Yes
log level = 1
log file = /var/log/samba/log.%m
large readwrite = No
time server = Yes
socket options = SO_KEEPALIVE IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
add user script = /usr/sbin/smbldap-useradd .m .a .%u.
delete user script = /usr/sbin/smbldap-userdel .%u.
add group script = /usr/sbin/smbldap-groupadd .p .%g.
delete group script = /usr/sbin/smbldap-groupdel .%g.
add user to group script = /usr/sbin/smbldap-groupmod .m .%u. .%g.
delete user from group script = /usr/sbin/smbldap-groupmod .x ..%u..%g.
set primary group script = /usr/sbin/smbldap-usermod .g .%u. .%g.
add machine script = /usr/sbin/smbldap-useradd .w .%u.
logon script = %U.cmd
logon path = \\samba-pdc\profile\%U\profile
logon drive = P:
logon home = \\%L\%U
domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
ldap admin dn = cn=admin,dc=rhhu,dc=local
ldap delete dn = Yes
ldap group suffix = ou=Groups
ldap machine suffix = ou=Machines
ldap passwd sync = Yes
ldap suffix = dc=rhhu,dc=local
ldap ssl = no
ldap user suffix = ou=Users
admin users = root, Administrator
profile acls = Yes
[homes]
comment = Homedrive
path = /home/%U
valid users = %S
read only = No
create mask = 0700
directory mask = 0700
inherit permissions = Yes
inherit acls = Yes
inherit owner = Yes
browseable = No
Es wird partout das Homeverzeichnis nach z: gemountet, so als ob "logon drive = z " irgendwo stünde. Dem ist nicht so.
In der /etc/smbldap-tools/smbldap.conf steht in dem relevanten Abschnitt
# The UNC path to home drives location (%U username substitution)
# Just set it to a null string if you want to use the smb.conf 'logon home'
# directive and/or disable roaming profiles
# Ex: userSmbHome="\\PDC-SMB3\%U"
userSmbHome=""
# The UNC path to profiles locations (%U username substitution)
# Just set it to a null string if you want to use the smb.conf 'logon path'
# directive and/or disable roaming profiles
# Ex: userProfile="\\PDC-SMB3\profiles\%U"
#userProfile=""
# The default Home Drive Letter mapping
# (will be automatically mapped at logon time if home directory exist)
# Ex: userHomeDrive="H:"
#userHomeDrive=""
# The default user netlogon script name (%U username substitution)
# if not used, will be automatically username.cmd
# make sure script file is edited under dos
# Ex: userScript="startup.cmd" # make sure script file is edited under dos
#userScript="logon.bat"
Dort wird nicht eingetragen, da dies in der smb.conf geschieht. Selbst wenn ich dort userHomeDrive="z" eintrage, wird dies ingnoriert.
Es ist mir ein absolutes Rätsel, warum die Konfiguration so überaus undurchsichtigt "funktioniert". Auch das Abschalten der Roaming Profiles durch auskommentieren der relevanten Abschnitte funktioniert nicht. Dont'know why.
Selbst das schöne und offizielle Samba Buch stellt keine Erleuchtung zur Verfügung.
Gibt es noch weitere, von mir übersehene, Konfigurationsdateien, die diese Parameter beeinflussen? Hoffe, dasss mir da jemand einen guten Tipp zuschustern kann. Danke.
Gruß, Torsten
.
- Follow-Ups:
- Re: Falsche Laufwerkszuordnung für logon drive
- From: Alexander Tomschy
- Re: Falsche Laufwerkszuordnung für logon drive
- Prev by Date: Re: samba-PDC in "groesseren" Umgebungen?
- Next by Date: Re: Falsche Laufwerkszuordnung für logon drive
- Previous by thread: Re: Smbpasswd
- Next by thread: Re: Falsche Laufwerkszuordnung für logon drive
- Index(es):
Relevant Pages
|