[Samba] How can I have new users/groups to include posixAccount/posixGroup schema automatically?
Rowland Penny
rowlandpenny at googlemail.com
Thu Apr 9 09:22:24 MDT 2015
On 08/04/15 22:01, Andrey Repin wrote:
> Greetings, All!
>
> I've added a few domain users/groups for test, but they don't have ?idNumber,
> even though the relevant schema is loaded?
> How can I tell it to include relevant schema for all newly created
> users/groups?
>
>
Well, you could try walking up to the DC and giving it a good talking to
:-D
But seriously, your choices are a bit limited, you can use ADUC on a
windows machine, this involves creating a user and then adding the
required attributes with the UNIX attributes tab. You could create your
users with samba-tool, but you will need the latest samba 4 to get all
the required attributes and you will still have to keep a record of the
uidNumbers & gidNumbers you have used, samba-tool will not do this.
Other than this, you can write your own scripts in your favourite
computer language.
Rowland
More information about the samba
mailing list