[Samba] samba4 wbinfo failed to call wbcLookupName: WBC_ERR_DOMAIN_NOT_FOUND.

Nicolas Conde nicolas.conde at vera.com.uy
Sat Oct 1 14:02:47 UTC 2016


I have installed sernet-samba4 on CentOS 6.7 and provisioned a domain "VERDERA.BIZ" and "VERDERA" as workgroup, to which I can add a Windows 7 client (tried two times both worked fine). 

My problem comes with users/groups administration, I cannot add neither not even see info on them, look at this: 

[root at dc1 ~]# wbinfo -u 
[root at dc1 ~]# wbinfo -g 
[root at dc1 ~]# wbinfo --all-domains 
[root at dc1 ~]# wbinfo --trusted-domains 
[root at dc1 ~]# wbinfo --name-to-sid Administrator 
failed to call wbcLookupName: WBC_ERR_DOMAIN_NOT_FOUND 
Could not lookup name Administrator 
[root at dc1 ~]# wbinfo -i Administrator 
failed to call wbcGetpwnam: WBC_ERR_DOMAIN_NOT_FOUND 
Could not get info for user Administrator 

And here goes my relevant files: 

# Global parameters 
workgroup = VERDERA 
realm = VERDERA.BIZ 
netbios name = DC1 
server role = active directory domain controller 
dns forwarder = 
winbind enum users = Yes 
winbind enum groups = Yes 
winbind use default domain = Yes 
winbind offline logon = Yes 
# A ver si anda wbinfo y klist: 
winbind refresh tickets = Yes 
dedicated keytab file = /etc/krb5.keytab 
kerberos method = secrets and keytab 
client signing = if_required 

path = /var/lib/samba/sysvol/verdera.biz/scripts 
read only = No 

path = /var/lib/samba/sysvol 
read only = No 

comment = Archivos de la administracion 
path = /srv/admin 
read only = No 
writable = Yes 

# Generated by NetworkManager 
search verdera.biz 

passwd: files winbind 
shadow: files 
group: files winbind 

My installed packages: 

[root at dc1 ~]# rpm -qa | grep [s]amba 

I haven't set trusted domains, I even don't know how to do it yet. 

I need to get this DC up and running ASAP because I'm moving from samba3 domain to this. During all week I have been searching the web looking for a clue, but so far no success. 

Thanks in advance. Regards. 
Nicolás Conde González.- 

More information about the samba mailing list