adamhjk / adduser-ldap

Create LDAP users from the command line

This URL has Read+Write access

adduser-ldap / README
100644 20 lines (10 sloc) 0.466 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
h2. To use adduser-ldap
 
You will need the ruby-ldap and highline libraries.
 
Ruby LDAP can be found at:
 
http://ruby-ldap.sourceforge.net/
 
Highline can be installed through rubygems:
 
$ gem install highline
 
Stick the config.yml in /etc/adduser-ldap, and edit it for your site.
 
Then, use ./adduser-ldap like you would any regular adduser program.
 
By default, it will bind as the user running it, so they should have
administrative privileges to the directory.