Zitat von lixiang <[EMAIL PROTECTED]>:

Hi lixiang,

OK, now I see your Prob !!

It is somekind of loop that you configured:

See here:

slapd.conf:

--- snip
> suffix          "dc=koal,dc=com"
> rootdn          "cn=root,ou=people,dc=koal,dc=com"  <--- WRONG !!
--- snap

vldap.h
--- snip
> #define VLDAP_BASEDN "ou=people,dc=koal,dc=com"
> #define VLDAP_USER "cn=root,ou=people,dc=koal,dc=com"  <--- WRONG !!
--- snap

#######################################
You solution should look like this:

slapd.conf:

--- snip
> suffix          "dc=koal,dc=com"
> rootdn          "cn=root,dc=koal,dc=com"    <---- This is the difference
--- snap

vldap.h
--- snip
> #define VLDAP_BASEDN "ou=people,dc=koal,dc=com"
> #define VLDAP_USER "cn=root,dc=koal,dc=com"  <---- This is the difference

--- snap


The rootdn must _not_ be a ldap entry that is inside your trie !!! 
It is just an "internal" User !!

So you might try this.
And remenber ! Your organisation ( dc=koal,dc=com ) and your arganisational Unit
( ou=people, dc=koal, dc=com) must both exist !!

And please make sure yout BASEDN in vldap.h is used. 
E.g. like

#define VLDAP_BASEDN "ou=people,dc=koal,dc=com"

And delete the #if-def clause

Cheers
Jens




Reply via email to