[Samba] Re: winbind and enum groups

Rene Brask Soerensen brask at diku.dk
Thu Jan 30 12:28:19 GMT 2003


Rene Brask Soerensen <brask at diku.dk> writes:

> Hi All 
> 
> I have been struggling with winbind for over to weeks now. I have
> searched nearly the whole Internet for info on my problems ;)
> 
> Right now I can auth Windows NT users on my Linux box (RH-8.0) with
> samba-2.2.7a-1. But my big problem is that when a user i authorized it
> can't find a group name for eg. 100000. 
> 
> I have been considering the following debug method :
> 
> 1. remove the winbindd_cache.tdb in /var/cache/samba. But I'm not sure
>    if this is the only file I have to remove. Can anyone confirm ?
>    (I know that I'll lose all user info)
> 
> 2. restart smb nmb and winbindd. 
> 
> Can anyone please confirm this or give me a other solution ;)
> 
> Regards Rene 

Hi again 

I have now tried removing /var/cache/samba/locks/winbindd_cache.tdb
and winbindd_idmap.tdb 

but no change... Still can't resolve gid...

Here id part of my smb.conf : 

        winbind separator = +	
        winbind cache time = 300
        template shell = /bin/bash
        template homedir = /home/%U
        winbind uid = 10010-40000
        winbind gid = 10010-40000
        winbind enum users = yes
        winbind enum groups = yes

        workgroup = CORP
        security = domain
        password server = *

And some info from winbindd log : 

        [2003/01/30 13:22:41, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(105)
  [ 9956]: getpwnam CORP+supRBrS
[2003/01/30 13:22:42, 3] nsswitch/winbindd_user.c:winbindd_endpwent(314)
  [ 9960]: endpwent
[2003/01/30 13:22:42, 3] nsswitch/winbindd_user.c:winbindd_getpwuid(189)
  [ 9960]: getpwuid 10010
[2003/01/30 13:22:42, 3] nsswitch/winbindd_user.c:winbindd_endpwent(314)
  [ 9960]: endpwent
[2003/01/30 13:22:42, 3] nsswitch/winbindd_user.c:winbindd_getpwuid(189)
  [ 9967]: getpwuid 10010
[2003/01/30 13:22:45, 3] nsswitch/winbindd_user.c:winbindd_getpwuid(189)
  [ 9979]: getpwuid 10010
[2003/01/30 13:22:45, 3] nsswitch/winbindd_group.c:winbindd_getgrgid(270)
  [ 9979]: getgrgid 10001
[2003/01/30 13:22:45, 3] nsswitch/winbindd_group.c:winbindd_getgrgid(270)
  [ 9979]: getgrgid 10010
[2003/01/30 13:24:34, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(105)
  [ 9951]: getpwnam CORP+supRBrS
[2003/01/30 13:24:34, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(105)
  [ 9956]: getpwnam CORP+supRBrS


Can anyone please help ;)

Regards Rene



More information about the samba mailing list