[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Does everybody end up writing their own directory management programs?
- To: "openldap-technical@openldap.org" <openldap-technical@openldap.org>
- Subject: Re: Does everybody end up writing their own directory management programs?
- From: John Lewis <oflameo2@gmail.com>
- Date: Sun, 18 Sep 2016 21:19:59 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=8lLd3T2C90mzfTe5LkYp1gf9Puxanmf49WzlbRvWjNw=; b=SxF8rVwX1Hmmg6/Dsr0Pzj3SLasIHRHNUwT6d6TnZ3ObyJKBDuJRSXvwCl7HUjWlT4 aF+DI7grIa7D4Xl1yEU9MYtLum98z5PZnrAvuyW52qYNGBYG8qGf+mhVj3dzg8GNxPQ4 CJWOOPJVe8jYH85tTm0lMIpRVqDJS87AdG0pg8BGh0Zek+3u3hl7gq9h4emS/op2n9oh l3oPcfaxZ2r1ibUaLUyCEbaX0dEgyUDGxSfA543BCviKriuq92U1vzB02klh8R+3rGFM TZcPRS83vhojGcjh+v+aCbdV4LaA7c1Af6q6KRCcy0xmPirZCpsnO2U9rmBr9Tmy3jPW KAXA==
- In-reply-to: <71356e9c-3078-c770-5fd9-ecfe42cee625@gmail.com>
- References: <71356e9c-3078-c770-5fd9-ecfe42cee625@gmail.com>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.2.0
Right now I think I have a preference to option c.
It is no more difficult than orchestrating a local user account using
the ansible user module with the added benefit that all of the users are
in only one database.
It also reduces everything that can go wrong that is ldap related to one
file and one command. It probably isn't a good idea to reduce it any
further because it probably would have been done already by now.
On 09/18/2016 03:25 PM, John Lewis wrote:
> Right now I am trying to weigh my options for maintaining my POSIX
> accounts on an OpenLDAP tree.
>
> I learned today that ldap templates in ldapscripts really don't work, so
> if I want to go on using ldapscripts, I would have to run ldapmodify
> after every account is created to get the gecos configured properly and
> have a kerberos principal configured.
>
> I could:
>
> a. run ldapmodify after every account is created to get the gecos
> configured properly and have a kerberos principle configured
>
> b. reverse engineer ldapscripts and patch it and then maintain a branch
>
> c. manage users with ldapmodify and have to deal with not having default
> options for either the account creation or the ldapmodify switch statements
>
> d. write and maintain another tool that creates and executes the ldif
> but has options that would be the same for my directory filled in
>
>
> Every single one of these options seem to be pretty time consuming or
> error prone. I don't know which way I should go with this one.
>
>
>