[Samba] getent passwd works but all wbinfo commands fail

Gaiseric Vandal gaiseric.vandal at gmail.com
Wed Sep 24 12:41:20 MDT 2014

On 09/24/14 14:35, Rowland Penny wrote:
> On 24/09/14 18:30, rusking wrote:
>> hello.everyone.I am seeing a bizarre problem on one of my machines.  The
>> machine is running Samba 3.5.10-125 and is a member server in a Windows
>> Active Directory domain. getent passwd and getent group works just 
>> fine and
>> returns all users,and groups from the AD domain.  However, all wbinfo
>> commands (such as wbinfo -t or wbinfo -u) fail with the errors:
>> [root at testserver samba]# wbinfo -t
>> could not obtain winbind interface details!
>> could not obtain winbind domain name!
>> checking the trust secret for domain (null) via RPC calls failed
>> Could not check secret
>> [root at testserver samba]# wbinfo -u
>> Error looking up domain users
>> [root at testserver samba]# wbinfo -g
>> Error looking up domain groups
>> Has anyone else seen this?
>> Thanks in advance for any help.
>> -- 
>> View this message in context: 
>> http://samba.2283325.n4.nabble.com/getent-passwd-works-but-all-wbinfo-commands-fail-tp4673174.html
>> Sent from the Samba - General mailing list archive at Nabble.com.
> Hmm, interesting, this seems to be the opposite to what most people 
> complain about.
> But to try and help you, you are going to have to give us a lot more 
> info, smb.conf, OS, what AD server etc.
> Rowland

Are you sure winbind really is running?

Is your /etc/nsswitch.conf file configure to retrieve users from winbind 
?   Can you post nsswitch.conf  and maybe sssd.conf?

More information about the samba mailing list