[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: LDAP adduser/deluser



On Mon, 26 May 2003, Zed Pobre wrote:

> I have written code (in Perl) that replicates much of the behaviour of
> adduser and deluser (down to command-line switch compatibility), but
> modifies user information in a LDAP database instead of flat files
> like /etc/passwd.

Erm, did you check over the open adduser bugs?  There was a request for this
some time ago, and I've come up with patches to integrate all of the
necessary functionality into LDAP.  I'm just giving it some time for people
to test and report breakages before I give the patch to Roland for inclusion
in the official adduser package.

> It's nowhere near complete (it is missing most notably group handling,
> system account handling, documentation, config file parsing, and
> sanity checking on option combinations), but the portions that
> actually add and delete users are finished and in some cases actually
> work better than the original adduser, so I'm contemplating making it

Could you elaborate on what ways yours works better than the original
adduser?  I'm sure Roland would love to hear about functionality
improvements, and I'd certainly be keen for any improvements to the
LDAP-specific code...

> public as it is and inviting patches.  I could make an entirely
> separate package out of it (ldapusertools, or some such), but I
> thought I'd ask here first if the project would rather have me work
> with either the adduser or ldap-utils folks to merge these scripts

It's an adduser thing, best to keep it there.

There's no need for totally separate adduser and adduser-ldap programs - the
two co-exist quite nicely.


-- 
-----------------------------------------------------------------------
#include <disclaimer.h>
Matthew Palmer, Geek In Residence
http://ieee.uow.edu.au/~mjp16




Reply to: