[Samba] Adding users with ldif file

Rowland penny rpenny at samba.org
Thu Jul 16 09:56:58 UTC 2020


On 16/07/2020 10:39, RhineDevil wrote:
> Thu, 16 Jul 2020 10:31:04 +0100 Rowland penny via samba <samba at lists.samba.org>:
>> On 16/07/2020 10:14, RhineDevil via samba wrote:
>>> How could I add users and groups using ldif files without interacting with samba-tool?
>> You will need to write your own scripts around ldapmodify or ldbmodify.
>>
>> Rowland
>>
> Yes but what fields are required and what autogenerated?
> Could I have a basic example?

It depends on whether we are talking about pure Windows users & groups 
or Unix users & groups. I suppose it also depends on where you are going 
to administrate them from.

Can I ask what is wrong with using samba-tool ?

Rowland





More information about the samba mailing list