[Samba] getent doesn't works

Rowland penny rpenny at samba.org
Thu Nov 26 09:22:43 UTC 2020


On 26/11/2020 08:13, Piviul via samba wrote:
> Rowland penny via samba ha scritto il 25/11/20 alle 11:15:
>> [...]
>> You are using the winbind 'ad' backend, so have you given your users 
>> a uidNumber attribute containing a unique number inside the 
>> '10000-999999' range AND given them a gidNumber containing a valid 
>> group gidNumber ? Failing the latter, does Domain Users have a 
>> gidNumber attribute ?
> I think you are shoot my problem... in effect in ldap AD I have a 
> uidNumber and gidNumber but are not in the range 10000-999999. So 
> there is nothing to to: I have to use the rid backend isn't it?
>
> Thank you very much!
>
> Piviul
>
No, just change the range in your smb.conf to match what you do have in 
AD. Find the lowest uidNumber and gidNumber attribute and the highest 
and then set the range accordingly.

Rowland





More information about the samba mailing list