[Samba] Adding users with ldif file

RhineDevil tanyadegurechaff at disroot.org
Thu Jul 16 10:24:01 UTC 2020


Thu, 16 Jul 2020 10:56:58 +0100 Rowland penny via samba <samba at lists.samba.org>:
> 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
> 
AFAIK doesn't allow full 1:1 export about gecos, shell and various things from /etc/ flat files
We're talking about Unix users and groups, but made in a way that they're both available in the AD and in NIS. This obviously takes as requirement that RFC2307 was enabled during installation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: Firma digitale OpenPGP
URL: <http://lists.samba.org/pipermail/samba/attachments/20200716/12016c71/attachment.sig>


More information about the samba mailing list