PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Samba4-clients



julhem
13.03.13, 08:54
Hallo zusammen,
ich möchte meinen Ubuntu-Rechner
in eine Windows 2003 Domäne integrieren, dazu benutze ich das Paket
samba4-clients. Dies klappt auch soweit... jedoch bekommt mein
Benutzeraccount nicht die gleiche uid wie die, die im Active-Directoy
eingetragen ist. Wenn ich die idmap range passent einstelle ist meine
uid zwar korrekt, jedoch alle anderen nicht.
Wie schaffe ich es also, das mein PC sich die uid aus dem AD holt?

Anbei meine smb.conf...


[global]
workgroup = Kurzer Domänen Name
realm = Domänen Name
# server string = %h 000a5e075b5e
security = ads
obey pam restrictions = Yes
password server = Domain-Controller
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 10000
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = No
domain master = No
preferred master = No
# Adressen der WINS Server
wins server = Wins-Server
panic action = /usr/share/samba/panic-action %d
idmap backend = rid
idmap uid = 9998805-199999999
idmap gid = 10000000-50000
template shell = /bin/bash
template homedir = /home/%D/%U
winbind enum users = no
winbind enum groups = no
winbind use default domain = Yes
winbind nss info = rfc2307
idmap config * : range = 9998805-199999999
idmap config * : backend = rid
winbind separator = /
client use spnego = yes
client ntlmv2 auth = yes
restrict anonymous = 2
os level = 2
encrypt passwords = yes

PS: bin auf dem Linuxgebiet noch anfänger ;)