Re: LDAP/nss_ldap adduser script

2005-08-17 Thread Matt Juszczak
Primarily, my aim is to keep it simple, do the basics, thats the itch that needs scratching for me at the moment. It could be the base of a more encompassing management system, but that would be a different project. Count me in on helping you with this. A nice command line utility for ldap is

Re: LDAP/nss_ldap adduser script

2005-08-02 Thread martin
On Wed, Jul 27, 2005 at 10:39:14AM +0100, [EMAIL PROTECTED] wrote: I've had a look at the adduser script and it should be straight forward enough to tailer to this purpose, and I can't see any difficulties in writing them - check /etc/ldap.conf for the location of the users groups, pops

Re: LDAP/nss_ldap adduser script

2005-08-02 Thread Joerg Pulz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 2 Aug 2005, [EMAIL PROTECTED] wrote: On Wed, Jul 27, 2005 at 10:39:14AM +0100, [EMAIL PROTECTED] wrote: I've had a look at the adduser script and it should be straight forward enough to tailer to this purpose, and I can't see any

Re: LDAP/nss_ldap adduser script

2005-08-02 Thread Andrey Simonenko
On Tue, Aug 02, 2005 at 02:24:26PM +0200, Joerg Pulz wrote: user_base=`awk '/nss_base_passwd/ {print $2}' /etc/ldap.conf | cut -f1 -d?` get_next_uid() { lastuid=`ldapsearch -LLL -b $user_base objectclass=posixAccount |\ awk '/uidNumber/ {print $2}' | sort | tail -n1`

LDAP/nss_ldap adduser script

2005-07-27 Thread martin
Hi all, I've been using an ldap directory for quite a while now for my network logins, and love it. Problem is, it can be quite cumbersome to work with, any ldap clients I have looked at are either very sketchy or overly cumbersome for simple tasks (adding/removing users etc.), and ldif file

Re: LDAP/nss_ldap adduser script

2005-07-27 Thread Ruben de Groot
On Wed, Jul 27, 2005 at 10:39:14AM +0100, [EMAIL PROTECTED] typed: Hi all, I've been using an ldap directory for quite a while now for my network logins, and love it. Problem is, it can be quite cumbersome to work with, any ldap clients I have looked at are either very sketchy or overly

Re: LDAP/nss_ldap adduser script

2005-07-27 Thread martin
On Wed, Jul 27, 2005 at 10:39:14AM +0100, [EMAIL PROTECTED] typed: Hi all, I've been using an ldap directory for quite a while now for my network logins, and love it. Problem is, it can be quite cumbersome to work with, any ldap clients I have looked at are either very sketchy or overly