[Samba] user works on DC, not on DM
Stefan G. Weichinger
lists at xunil.at
Fri Sep 1 08:36:38 UTC 2017
Am 2017-09-01 um 10:32 schrieb Rowland Penny via samba:
> On Fri, 1 Sep 2017 10:09:43 +0200
> "Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote:
>> In general: why isn't that attribute added automatically?
>
> Because no one knows what to set the ID to and Samba doesn't have the
> 'counting' attributes by default.
aha ...
And how do *I* know what to set the ID to?
> Probably because the create command wasn't run correctly, to create a
> Unix user with samba-tool you need something like this:
>
> samba-tool user create User5 passw5rd --nis-domain=samdom
> --unix-home=/home/User5 --uid-number=10005 --login-shell=/bin/false
> --gid-number=10000
>
> Your user was probably created with this:
>
> samba-tool user create User5 passw5rd
>
> Which makes it just a windows user.
fine, will test that asap, thanks.
>>> If you want to add rfc2307 attributes, then you will have to write
>>> your own scripts, there are no Samba tools to do this.
>>
>> I expected things to get easier with ADS ;-)
>
> Once you get everything right, it is ;-)
:-P
More information about the samba
mailing list