[Samba] Samba 4 WBC_ERR_DOMAIN_NOT_FOUND

Matthieu Patou mat at samba.org
Sun Dec 18 15:40:16 MST 2011


On 18/12/2011 22:26, steve wrote:
> On 12/18/2011 09:28 PM, Matthieu Patou wrote:
>> On 18/12/2011 14:57, steve wrote:
>>> Hi everyone
>>>
>>> Ubuntu 11.10
>>> Version 4.0.0alpha18-GIT-23a0343
>>>
>>> Added a user called steve2. The first time I used winbind, no 
>>> problems: wbinfo -i steve2 gave me the info I needed for user and 
>>> group.
>>>
>>> But now it doesn't work:
>>> wbinfo -i steve2
>>> failed to call wbcGetpwnam: WBC_ERR_DOMAIN_NOT_FOUND
>>> Could not get info for user steve2
>>>
>> Are you using the wbinfo of samba 4 ?
>>
>>
>> Matthieu.
>>
> Yes
> I have nothing from Samba 3 installed.
>
> BTW, the error is the same on openSUSE 12.1, same GIT.
>
> wbinfo works OK first time but fails thereafter.
>
> Both installations pass the tests outlined in the wiki for dns and 
> kerberos.
>
For me it's ok unless I ask for an unknown user:

mat at ares:/usr/local/src/samba4$ ./bin/wbinfo -i administrator
TEST\Administrator:*:0:100::/home/TEST/Administrator:/bin/false

mat at ares:/usr/local/src/samba4$ ./bin/wbinfo -i ares
failed to call wbcGetpwnam: WBC_ERR_DOMAIN_NOT_FOUND
Could not get info for user ares

mat at ares:/usr/local/src/samba4$ ./bin/wbinfo -i administrator
TEST\Administrator:*:0:100::/home/TEST/Administrator:/bin/false

mat at ares:/usr/local/src/samba4$ ./bin/wbinfo -u
Administrator
Guest
krbtgt
dns-ares

mat at ares:/usr/local/src/samba4$ ./bin/wbinfo -i Guest
TEST\Guest:*:3000013:3000014::/home/TEST/Guest:/bin/false

mat at ares:/usr/local/src/samba4$ ./bin/wbinfo -i dns-ares
TEST\dns-ares:*:3000015:100::/home/TEST/dns-ares:/bin/false


what wbinfo -u gives on your domain ?


> Steve
>


-- 
Matthieu Patou
Samba Team
http://samba.org



More information about the samba mailing list