> That answers making the switch from the client end, but how do I go
> about configuring the LDAP server with the necessary user info?

You need to decide which schema you want to use.  Look in
/etc/openldap/schemas/ for definitions of the schemas.

You can mix and match schemas to your liking, and offhand, I think that
there's a setting in slapd.conf to turn off dependencies.

The attributes will be (and this may be an incomplete list, and further
may have dependencies -- depending on your slapd.conf):

uid
cn
userPassword

To get the attributes loaded into your database, you can use slapadd to
import a text file (ldif format).

So your text file would look something like this:

cn: Joe User
uid: 2103
userPassword:  somehash(crypt,md5, etc.)

[...] for each user.

Then, as root, you can do:  slapadd -l /path/to/ldif.file

I know just enough LDAP to be semi-dangerous.  I use it more as an address
book than an authentication structure, so take everything I say with a
pound of salt!  :)

+---------------------------------------------------------------+
| Craig Sprout              |  "Send lawyers, guns and money    |
| Billings, MT              |  to get me out of this.  Quick!"  |
| http://www.mtsprouts.net  |  --Warren Zevon                   |
+---------------------------------------------------------------+


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to