Falsche Laufwerkszuordnung für logon drive



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





.



Relevant Pages

  • Re: VB NetAPI User Account Validation
    ... LogonUser does a local logon for a user. ... > (ByVal lpszUsername As String, ByVal lpszDomain As String, ByVal ... > rtn = NetUserChangePassword(StrConv(Domain, vbUnicode), StrConv(UserName, ...
    (microsoft.public.vb.winapi)
  • Re: openSUSE 11 as PDC with Samba and LDAP
    ... I have openSUSE 10.3 with Samba and LDAP as a PDC working perfect. ... a workstation and it gives an error "The system cannot log you on now ... When I logon on to the ...
    (alt.os.linux.suse)
  • Re: URGENT: Samba Wont Substitute %u In "Logon *" When LDAP Is Used
    ... Part of that involved updating Samba to use that same directory ... I traced this to the "logon path" configuration item. ... within the LDAP directory; I just want to use the default generated one. ... in this server for every user accessing the server. ...
    (Debian-User)
  • openSUSE 11 as PDC with Samba and LDAP
    ... I have openSUSE 10.3 with Samba and LDAP as a PDC working perfect. ... When I logon on to the ...
    (alt.os.linux.suse)
  • Re: Slow XP logon times
    ... Insalled a few XP machines and they are taking up to four ... minutes to logon to the network using roaming profiles. ... new 2003R2 server and moved FSMO roles. ...
    (microsoft.public.windows.server.active_directory)