[Samba] wbinfo work getent passwd does
basti
mailinglist at unix-solution.de
Wed Apr 14 13:05:05 UTC 2021
On 14.04.21 13:53, Rowland penny via samba wrote:
> On 14/04/2021 12:07, basti via samba wrote:
>> users look like:
>>
>> id iustest
>> uid=7101(NET\iustest) gid=100(users) Gruppen=100(users)
>>
>> I think it should lokk like
>>
>> id iustest
>> uid=7101(NET\iustest) gid=30000(BUILTIN\users)
>> groups=30000(BUILTIN\users)
>>
>> I have no idea where the gid 100 come from.
>
yes the uid=100 is seen on AD DC.
On an dc in an other domain upgrade from nt4 it looks like:
gid=30000(BUILTIN\users) groups=30000(BUILTIN\users)
sorry my greylister delay your message.
yes all users has:
- uidNumber
- gidNumber
- msSFU30nisDomain
>
> Is this on a Samba AD DC ? That is usually where the '100' comes from.
> However, I asked (in another way) if you have given your users a
> uidNumber attribute and Domain Users a gidNumber attribute, which you
> haven't answered. So please answer that question.
>
> Do you have users in /etc/passwd with the same names as users in AD ?
no, /etc/passwd has a user with uid 1001 no more, all other has lower uid
>
> You could try changing these lines:
>
> idmap config SAMDM:backend = ad
> idmap config SAMDOM:schema_mode = rfc2307
> idmap config SAMDOM:range = 7000-20000
>
> For these:
>
> idmap config SAMDM:backend = rid
> idmap config SAMDOM:range = 7000-20000
>
> Restart Samba and see if 'getent passwd A_USERNAME' works, replace
> A_USERNAME with a valid AD user.
for now it works, I do not understand what was the problem before.
THX
>
> Rowland
>
>
>
More information about the samba
mailing list