[Date Prev][Date Next] [Chronological] [Thread] [Top]

ldap_mod_add() (creating attributes)



Hello,

I'm in the process of writing a PHP web-based frontend
for our OpenLDAP server.

I realize that if I try to add an entry with an
attribute (such as firstname) it returns with an error
that that attribute doesn't exist.  

My question is can I create my own attributes, or am I
limited to what already exists.  I've tried to use
PHP's ldap_mod_add() but I can't seem to use the
proper value for the last arguement.  Could someone
give me an example (in PHP if possible) or tell me
what OpenLDAP itself looks for when adding an
attribute.

Any resources, LDAP/PHP examples, or basics of LDAP
itself would also be helpful.  

Thank you,

Hans Zauner
refuzun@yahoo.com



__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/