Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I set up my CentOS 5.3 server to authenticate off of LDAP and am able to add users manually through Apache Directory Studio 1.4. Now that this is setup, is there a preferred "CentOS Way" of managing users in LDAP? There is another thread that talks about general ways to do this, but none of those solutions are available in the default CentOS package repository.

share|improve this question
add comment

2 Answers

up vote 5 down vote accepted

No, there isn't an official "CentOS way" for managing users in LDAP. Which is a bit infuriating, since the default useradd/usermod/etc. tools only work with the default /etc/passwd scheme. The official LDAP server is openldap, and there are some basic command line tools available, but nothing that is out-of-the-box easy to use for user management. We use a web-based system called Gosa, another popular option is home-grown scripts built on top of the command-line LDAP tools.

share|improve this answer
    
Ok, this is what I feared, but I wanted to make sure. I will check out the 3rd party tools like phpldapadmin and gosa. –  rancidfishbreath Oct 5 '09 at 14:18
    
+1 for Gosa .. for the curious its at oss.gonicus.de/labs/gosa –  Tim Post Oct 18 '09 at 5:10
add comment

If looking up the next uid/gid is the only problem you can look at phpldapadmin. Personally I have a custom python script that does it for me...

share|improve this answer
    
phpldapadmin is not in the default repository. I am looking for the "CentOS way" (which may not exist). I'll revise the question to make that more clear. –  rancidfishbreath Oct 2 '09 at 17:00
    
Revised title and question. This answer made sense before changes occurred. –  rancidfishbreath Oct 2 '09 at 17:07
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.