LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Invalid DN error at webin/ldap server (https://www.linuxquestions.org/questions/linux-server-73/invalid-dn-error-at-webin-ldap-server-533842/)

trinite 03-02-2007 04:54 AM

Invalid DN error at webin/ldap server
 
hello all,

I am trying to set up a ldap server and configure it with webmin 1.320.
when i go to LDAP users at groups, then i get the following error:

Failed to bind to LDAP server as supervisor : invalid DN. Maybe your module configuration is incorrect.

here is mys slapd.conf file:

---

include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema

#########################################################################
# ldmb and / or dbd database def. #
#########################################################################

database bdb
suffix "dc=trinite,dc=nunet"
directory /var/lib/ldap
rootdn "cn=supervisor,dc=trinite,dc=nunet"
rootpw secret

---

plz can somebody help me


grtz

mvs
acces * by * read

bathory 03-02-2007 06:28 AM

Are you sure that "cn=supervisor" exists and its' dn is correct? You can run:
Code:

ldapsearch -x -b "dc=trinite,dc=nunet" "(objectclass=*)"|grep supervisor
to verify it.

trinite 03-02-2007 07:32 AM

[root@mailsrv openldap]# ldapsearch -x -b "dc=trinite,dc=nunet" "(objectclass=*)"|grep supervisor

# supervisor, trinite.nunet
dn: cn=supervisor,dc=trinite,dc=nunet
cn: supervisor

yes..

trinite 03-02-2007 07:38 AM

the problem is now solved i use webmin to configure my LDAP server,
and i changed my ldap.conf,

but now when i try to add user or groups witch webmin i get the following error:

Failed to save group : Failed to add group to LDAP database : modifications require authentication

:S


All times are GMT -5. The time now is 02:27 PM.