[Samba] samba 3.5.6, winbindd and getent/id

Eugene M. Zheganin emz at norma.perm.ru
Thu Dec 2 07:09:47 MST 2010


On 02.12.2010 15:02, Christopher Chan wrote:
> wbinfo -u/-g should work if the configuration is correct. At least
> they work for me on 3.5.4.
Yeah, at least for me it used to work on 3.0.x and 3.4.9. So the 
configuration was correct and I guess it's highly unlikely that it 
became incorrect after an upgrade.

> What are your idmap settings?
I guess they are mostly set to default. I also have the

idmap uid = 20000-30000
idmap gid = 20000-30000

settings. I added the

idmap alloc backend = tdb

but nothing changed.
Nothing about idmap except these string in my config file. And this is 
proved to work on earlier versions.

> You might want to look in/tail log.winbindd, log.winbindd-idmap and
> see what is going on when you issue a winbind -u/-g.
Well, it states only this:

[2010/12/02 18:58:27.644357,  1] ../librpc/ndr/ndr.c:395(ndr_pull_error)
   ndr_pull_error(1): String terminator not present or outside string 
[2010/12/02 18:58:27.644446, 10] 
   Domain SOFTLAB returned 29 users
[2010/12/02 18:58:27.644471, 10] 
   list_groups for domain SOFTLAB failed
[2010/12/02 18:58:27.644498, 10] winbindd/winbindd.c:655(wb_request_done)
   wb_request_done[65824:LIST_GROUPS]: NT_STATUS_OK
[2010/12/02 18:58:27.644549, 10] 
   winbind_client_response_written[65824:LIST_GROUPS]: deliverd response 
to client
[2010/12/02 18:58:27.644656,  6] 
   closing socket 50, client exited

There are much more users in SOFTLAB. Much more than 29. Actually, they 
are about 2000.
And this is the log level 10.

Sometimes winbind thinks that there probably are much more users in my 

[2010/12/02 19:06:13.750270, 10] 
   Domain SOFTLAB returned 21924496 users

Although the wbinfo -g output is still empty.


More information about the samba mailing list