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

Ilia Chipitsine ilia at paramon.ru
Fri Feb 18 05:59:33 GMT 2005


> 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.

>
> I tried "net group [add]" but it does nothing. Also "net groupmap list" shows 
> no entries, which I don't think is correct.
>
> I've read all the howto and googled a lot, but found no answer.
> Any hint?
>
> bye & Thanks
> 	av.
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>


More information about the samba mailing list