3/24 How do I add new users to a LDAP server (I'm using openldap)?
Right now I have the rootdn, but I would like to have a couple
of other users, esp. one that has read-only access.
\_ man ldap
\_ people like you are the reason "unix" should be spelled with
a ch and an e. E-U-N-I-C-H-S.
\_ "Unix is ready for the desktop" == "Unix weenies aren't
ready for the human population"
\_ You stupid fuck, it's in my man pages. Just because you
lack man page fu doesn't mean all of us have shitty man
pages. Like I said, man ldap. Get better pages if it isn't
there but don't insult your betters. It only shows how
utterly and completely self absorbed and stupid you are.
\_ i wasn't the original poster, and i couldn't care less
about ldap or whatever. i just think alot of unix
people are assholes, and that one of their most annoying
traits ins their "rtfm" attitude. fuck you.
\_ If you don't rtfm you won't solve your problem. They
tell you to rtfm because that's where the answer is.
There's no spoon feeding possible. You want to be
spoon fed? Go ask yermom. Smart people can manage to
type one simple command and skim forward to the examples
section to find the answer or something really damned
close. You are not only a stupid fuck and an asshole,
but your smearing "alot of unix people" in one nice big
easily smearable group is ridiculous. If providing the
only real answer makes me an annoying asshole, then so
fucking be it. --annoying asshole who gave right answer
\_ man ldap on Sol2.7 didn't have anything about adding users.
Anyone have a better idea. I already looked on http://www.openldap.org
and they explain how to do ACLs, but not how to add users that
the ACLs apply to. It seems like I'm missing something obvious.
\_It's my _guess_ that OpenLDAP doesn't have a cool like app or
GUI to create users (unlike Netscape or other directory servers).
But since LDAP users are just entries in the directory, the
common way to do it is to use your favorite text editor to create
a LDIF file and use some utility to read the LDIF and place the
entries into the directory. (LDIF is also much better for adding a
lot of entries (users), you'll be sick of the GUI really fast.)
See http://www.openldap.org/faq/data/cache/182.html for some more
info. You may need to dig into the schema and the documentaton
for the LDIF format (on web somewhere) if you want something
fancier. -lcddave
\_ Yeah, openldap doesn't have a nice gui to add data, but
I don't care about that. I'm accessing it all via JNDI
from a set of servlets. The part that I was missing is
that any valid dn can be used as a user. I just need
to add the userPassword field for that record.
\_ You want him to read the faq? What are you? Some kind of
annoying asshole? God, I hate it when people provide a real
answer and cite their source. You unix people all suck! |