[Samba] Warning in logs: gid of user does not exist

Andrea Venturoli ml at netfence.it
Fri Feb 25 09:42:05 GMT 2005


Ilia Chipitsine wrote:
>> Hello.
>> I've setup a FreeBSD 4.x machine with Samba 2.x and and OpenLDAP backend.
>> I recently upgraded to Samba 3.0.10 and put "passdb 
>> backend=ldapsam_compat" in smb.conf.
>>
>> Now, everythings seems to work all right, but I see a lot of this 
>> entries in the logs:
>>
>> Feb 17 19:42:27 xxxxx smbd[44170]:   get_alias_user_groups: gid of 
>> user yyyyyyy
>> doesn't exist. Check your /etc/passwd and /etc/group files
>>
>> This happens always with yyyyyy ever changing and being either an user 
>> or machine account.
>>
>> I can't get to understand the reasons of this: /etc/passwd and 
>> /etc/group are correct.
>>
>> In OpenLDAP I only have user/machine accounts, not groups.
> 
>                                                  ^^^^^^^^^^
> 
> it is suspected that samba ldap code has an assumption that user/group 
> information should be in LDAP, I also saw something very strange with
> similar situation, but (LDAP but no ldap_nss at all), unfortunately I 
> didn't have enough time to make investigations.

Ok, thanks and sorry if it took me so long to try this.
I added all the relevant groups to LDAP (as PosixGroup), but nothing
changed.
Any other hint? How do I debug this?

  bye & Thanks
	av.



More information about the samba mailing list