Dies ist eine alte Version des Dokuments!
Vorraussetzung: weiterer Rechner ist samba-pdc oder samba-ldap-pdc
samba
/etc/samba/smb.conf
:
[global] workgroup = kurs security = domain add user script = /usr/sbin/useradd -d /tmp %u [freigabe] path = /tmp writable = yes
Debian: samba winbind
CentOS: samba samba-common
/etc/samba/smb.conf
:
[global] workgroup = kurs security = domain idmap uid = 20000 - 30000 idmap gid = 20000 - 30000 template shell = /bin/bash winbind use default domain = Yes # ab samba 3.4 notwendig: ( gibts da noch ne andere Lösung? ) map untrusted to domain = no [freigabe] path = /tmp writable = yes
/etc/init.d/winbind restart
CentOS 5:
/etc/init.d/smb stop
Debian 5:
/etc/init.d/samba stop
net rpc join -U smbadmin
CentOS 5:
/etc/init.d/smb start
Debian 5:
/etc/init.d/winbind restart /etc/init.d/samba start
wbinfo --own-domain wbinfo -t wbinfo -u wbinfo -a kurs\\iw%villa
/etc/nsswitch.conf
:
passwd: compat winbind group: compat winbind shadow: compat winbind
getent passwd iw