LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-02-2007, 04:54 AM   #1
trinite
LQ Newbie
 
Registered: Mar 2007
Posts: 3

Rep: Reputation: 0
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
 
Old 03-02-2007, 06:28 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,165
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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.
 
Old 03-02-2007, 07:32 AM   #3
trinite
LQ Newbie
 
Registered: Mar 2007
Posts: 3

Original Poster
Rep: Reputation: 0
[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..
 
Old 03-02-2007, 07:38 AM   #4
trinite
LQ Newbie
 
Registered: Mar 2007
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LDAP Problem Invalid DN Syntax (34) steve007 Linux - Newbie 3 08-24-2009 07:53 AM
LDAP , SASL and Invalid REALM mesh2005 Linux - Networking 0 12-14-2005 07:29 AM
LDAP Problem Invalid DN syntax (34) steve007 Linux - Newbie 3 10-18-2005 05:03 AM
ldap invalid credentials johond Linux - Networking 1 12-14-2004 04:31 AM
ldap: invalid credentials johond Debian 0 12-14-2004 04:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration