|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
LDIF multiple 'account' classObjects?
I finally got LDAP working beyond just bind'ing - now I"m confused as to how I would go about adding multiple 'account' class objects.
Code:
dn: dc=myname objectclass: dcObject objectclass: account userid: company_abc dc: myname myname is the suffix set in the slapd.conf and the root DN is: Code:
cn=admin,dc=myname I am trying to get a list of accounts created under the root DN...basically so I have something like: Code:
myname company_abc company_xyz The above LDIF seems to allow one entry but when I add another, like so: Code:
dn: dc=myname objectclass: dcObject objectclass: account userid: company_xyz dc: myname I get a error about 'Object already exists' using phpLDAPAdmin as my LDAP client... ![]() Last edited by Hockey : February 27th, 2008 at 07:52 PM. Reason: No delete and this was a more pressing issue |
|
#2
|
|||
|
|||
|
Working script - LDAP the book on php
если кто знает русский отзовитесь ) I not the programmer, prompt how to make please in this script what data only with specified "department" were deduced download here gfx-group.info/downloads/script/php_ldap.zip Line of the filter here: PHP Code:
but I do not know as correctly to write: ( Last edited by GFXer : April 18th, 2008 at 03:25 AM. Reason: ошибка |
![]() |
| Viewing: Dev Shed Forums > Databases > LDAP Programming > LDAP and PHP problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|