1. I’ve added these 2 lines to smb.conf:
idmap config * : backend = tdb
idmap config * : range = 10000-30000
2. here is /etc/nsswitch.conf
(I’ve tried adding and removing ‘winbindd from shadow, no change at all):
# cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat winbind
group: compat winbind
shadow: compat
gshadow: files
hosts: files mdns4_minimal [NOTFOUND=return] dns wins
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
3. Vaja installida pack`id peale
get sure you installed all the necessary packages (the missing one was libnss-winbind):
apt-get install samba acl attr quota fam winbind libpam-winbind \
libpam-krb5 libnss-winbind krb5-config krb5-user ntp dnsutils ldb-tools
4. Tee serverile restart