[Samba] Samba4 and problem with winbind

Hervé Hénoch h.henoch at isc84.org
Thu Oct 27 00:40:51 MDT 2011


Hello

I've installed Samba4 from http://wiki.samba.org/index.php/Samba4/HOWTO
and everything listed works well, however wbinfo reports the following:

 > wbinfo -u : Error looking up domain users

 > wbinfo -g : failed to call wbcListGroups: WBC_ERR_DOMAIN_NOT_FOUND
Error looking up domain groups

 > wbinfo --own-domain : is ok and return the name of  domain (SAMDOM)

 > wbinfo -m : failed to call wbcListTrusts: WBC_ERR_DOMAIN_NOT_FOUND
Could not list trusted domains

 > wbinfo --name-to-sid herve (user created by "samba-tool user add herve")
failed to call wbcLookupName: WBC_ERR_DOMAIN_NOT_FOUND
Could not lookup name herve

The two last commands are taken from the WIKI "Step1 : Adding user into 
Samba 4 Active Directory"

Does anyone have suggestions ?

_/etc/resolv.conf _
domain example.com
search samdom.example.com
nameserver <pdc ip>

_/etc/nsswitch.conf_
passwd:         compat winbind
group:          compat winbind
shadow:         compat

hosts:          files dns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis

_ls -la /lib/libnss*_
-rw-r--r-- 1 root root 31616 Jan 23  2011 /lib/libnss_compat-2.11.2.so
lrwxrwxrwx 1 root root    23 Oct 25 10:48 /lib/libnss_compat.so.2 -> 
libnss_compat-2.11.2.so
-rw-r--r-- 1 root root 22928 Jan 23  2011 /lib/libnss_dns-2.11.2.so
lrwxrwxrwx 1 root root    20 Oct 25 10:48 /lib/libnss_dns.so.2 -> 
libnss_dns-2.11.2.so
-rw-r--r-- 1 root root 47616 Jan 23  2011 /lib/libnss_files-2.11.2.so
lrwxrwxrwx 1 root root    22 Oct 25 10:48 /lib/libnss_files.so.2 -> 
libnss_files-2.11.2.so
-rw-r--r-- 1 root root 18864 Jan 23  2011 /lib/libnss_hesiod-2.11.2.so
lrwxrwxrwx 1 root root    23 Oct 25 10:48 /lib/libnss_hesiod.so.2 -> 
libnss_hesiod-2.11.2.so
-rw-r--r-- 1 root root 43552 Jan 23  2011 /lib/libnss_nis-2.11.2.so
lrwxrwxrwx 1 root root    20 Oct 25 10:48 /lib/libnss_nis.so.2 -> 
libnss_nis-2.11.2.so
-rw-r--r-- 1 root root 51704 Jan 23  2011 /lib/libnss_nisplus-2.11.2.so
lrwxrwxrwx 1 root root    24 Oct 25 10:48 /lib/libnss_nisplus.so.2 -> 
libnss_nisplus-2.11.2.so
lrwxrwxrwx 1 root root    40 Oct 27 08:07 */lib/libnss_winbind.so -> 
/usr/local/samba/lib/libnss_winbind.so.2*
lrwxrwxrwx 1 root root    22 Oct 27 08:07 */lib/libnss_winbind.so.2 -> 
/lib/libnss_winbind.so*

-- 
Hervé Hénoch
Responsable informatique
Institut Sainte Catherine
1750, chemin du Lavarin, 84000 Avignon
Téléphone : 04.90.27.57.44
Messagerie : h.henoch at isc84.org




More information about the samba mailing list