[Samba] Inconsistant winbind and getent results

Norman Zhang norman.zhang at rd.arkonnetworks.com
Mon Jun 28 17:52:23 GMT 2004

Marcel de Riedmaten wrote:
> Le mer 23/06/2004 à 00:53, Norman Zhang a écrit :
>># getent passwd nzhang
>>The last command displays nothing. Why?
> Last time i got that i had 2 users with the same numeric uid  (this is
> counting local users) or, i am not quite sure, 2 users or group with the
> same SID. To much playing !  So i would double check stuff like that. 

I don't have a local user nzhang on my Linux box. I added winbind enum 
users/groups, but testparm seems to ignore them. Below is my conf file, 
could you see if I'm doing something stupid?


# wbinfo -u | grep nzhang
# grep nzhang /etc/passwd
# grep nzhang /etc/group

         workgroup = MYDOMAIN
         netbios name = Proxy
         server string = Samba Server %v
         security = DOMAIN
         encrypt passwords = Yes
         password server = BAKSERVER
         log file = /var/log/samba/log.%m
         max log size = 50
         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
#       character set = ISO8859-15
         os level = 18
         local master = No
         preferred master = No
         domain master = No
         dns proxy = No
         idmap uid = 10000-20000
         idmap gid = 10000-20000
         winbind separator = /
         template homedir = /home/%D/%U
         template shell = /bin/bash
         winbind enum users = yes
         winbind enum groups = yes
         winbind use default domain = yes

More information about the samba mailing list