#1  
Old 29th January 2007, 06:54
pinguingilo pinguingilo is offline
Member
 
Join Date: Jun 2006
Location: indonesia
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to pinguingilo
 
Default LDAP Problem

hai all... I have Problem when configuration, error like this :
Code:
# ldapadd -x -D cn=admin,dc=ngoprek,dc=com -W -f /etc/openldap/ngoprek.com.ldif 
Enter LDAP Password: 
ldap_bind: Invalid DN syntax (34)
        additional info: invalid DN
Here my ngoprek.com.ldif config :
Code:
dn: dc=ngoprek,dc=com
objectclass: dcObject
objectclass: organization
o: Dk
dc: ngoprek

dn: cn=admin,dc=ngoprek,dc=com
objectclass: organizationalRole
cn: admin
Here my slapd.conf :
Code:
include         /etc/openldap/schema/core.schema
include         /etc/openldap/schema/cosine.schema
include         /etc/openldap/schema/inetorgperson.schema
include         /etc/openldap/schema/nis.schema

include         /etc/openldap/schema/samba.schema
index sambaSID                                  eq
index sambaPrimaryGroupSID              eq
index sambaDomainName                    eq
index default                                        sub

# Allow LDAPv2 client connections.  This is NOT the default.
allow bind_v2

# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral       ldap://root.openldap.org

pidfile         /var/run/openldap/slapd.pid
argsfile        /var/run/openldap/slapd.args

database        bdb
suffix          "dc=ngoprek,dc=com"
rootdn          "cn=admin,dc=ngoprek,dc=com"
rootpw          {SSHA}79oAuaTbdmiLS9vWM4RxUBTHqNtvF0EJ
directory       /var/lib/ldap/ngoprek.com
# Indices to maintain for this database
index objectClass                       eq,pres
index ou,cn,mail,surname,givenname      eq,pres,sub
index uidNumber,gidNumber,loginShell    eq,pres
index uid,memberUid                     eq,pres,sub
index nisMapName,nisMapEntry            eq,pres,sub
# Indices to maintain for this database
index objectClass                       eq,pres
index ou,cn,mail,surname,givenname      eq,pres,sub
index uidNumber,gidNumber,loginShell    eq,pres
index uid,memberUid                     eq,pres,sub
index nisMapName,nisMapEntry            eq,pres,sub
here my ldap.conf
Code:
BASE   dc=example, dc=com
URI    ldap://localhost

#SIZELIMIT      12
#TIMELIMIT      15
#DEREF          never
any solutions...
__________________
Pinguingilo Was Here
I Don't Love Linux But Linux Love Me
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 18:58
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 13:20
LDAP Problem pinguingilo Installation/Configuration 4 22nd December 2007 22:32
LDAP SuSE 10.1 AboGassir Server Operation 2 22nd June 2007 09:50
Postfix+MySQL Problem jasutton Installation/Configuration 1 15th June 2006 17:06


All times are GMT +2. The time now is 01:07.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.