Samba4 getent Broken???

Matthieu Patou mat at matws.net
Fri Jun 29 21:52:06 MDT 2012


On 06/28/2012 02:14 PM, Scott Jordahl wrote:
> I'm having issues trying to get getent to show domain users/groups. 
> This, consequently, means I cannot see actual user name/groups when 
> doing an "ls -l" on the Samba host (just the assigned idmap number).
>
> Here is my setup:
> Host: Ubuntu x64 10.04 LTS
> Samba compiled from: samba-4.0.0beta2.tar.gz
>
> Here is what I have done:
> o Appended "winbind" to the passwd and group entries in nsswitch.conf
> o Copied libnss_winbind.so.2 to /lib and created the symlink 
> /lib/libnss_winbind.so ->  /lib/libnss_winbind.so.2
> o Misc: apparmor has been removed
> o ldconfig -v shows "libnss_winbind.so.2 -> libnss_winbind.so.2"
>
> When I execute wbinfo with any of the options, it works perfectly and 
> outputs what is expected.
> When I execute getent, I only get a dump of the local users/groups. I 
> also tried: "getent passwd "DOM\user", and it returns an empty string.
> I'm not getting any error messages and nothing is showing up in any of 
> the logs. Am I suppose to include an option with "configure" to enable 
> this function before building Samba?
>
Can you strace the getent and see if it's talking to the same unix 
socket as wbinfo does ?

Thanks.
Matthieu.



More information about the samba-technical mailing list