Hi, Is there an equivalent of a useradd for systems that are using LDAP user management? I know I can build an LDIF file and import it, but it is a bit of a pain to do it manually all the time. Is there not an easier / faster way? Thanks, Eric
> Is there an equivalent of a useradd for systems that are using LDAP user > management? I know I can build an LDIF file and import it, but it is a bit > of a pain to do it manually all the time. > > Is there not an easier / faster waySmbldap-tools https://gna.org/projects/smbldap-tools/
Hi, On Mon, Aug 17, 2009 at 15:00, Eric B.<ebenze at hotmail.com> wrote:> Is there an equivalent of a useradd for systems that are using LDAP user > management? ?I know I can build an LDIF file and import it, but it is a bit > of a pain to do it manually all the time.You can try "libuser", it's available in CentOS 5 (yum install libuser) and apparently has support for LDAP. "libuser" is an attempt to generalize the useradd/mod/del, groupadd/mod/del commands to work with generic backends. The implementation includes a module to work with an LDAP backend, I just don't know how functional/stable it is... You can start by installing the package and having a look at /etc/libuser.conf, and at the commands luseradd, lgroupadd, ... (the same ones you already use, only with the "l" prefix.) For more information: https://fedorahosted.org/libuser/ HTH, Filipe
On Mon, 2009-08-17 at 15:00 -0400, Eric B. wrote:> Hi, > > Is there an equivalent of a useradd for systems that are using LDAP user > management? I know I can build an LDIF file and import it, but it is a bit > of a pain to do it manually all the time. > > Is there not an easier / faster way?---- Webmin http://www.webmin.com Use the LDAP Users and Groups module I use this everywhere I go Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.