LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 04-21-2013, 10:45 PM   #1
nobita1610
LQ Newbie
 
Registered: Nov 2009
Posts: 1

Rep: Reputation: 0
pls help me fix error LDAP


hey every body,
pls help me fix error LDAP on Centos 6.4 64 bit.
When I type command:
[root@ldap setldap]# ldapadd -Y EXTERNAL -H ldapi:/// -f backend.ldif
message error:
Quote:
[root@ldap setldap]# ldapadd -Y EXTERNAL -H ldapi:/// -f backend.ldif
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
ldapadd: attributeDescription "dn": (possible missing newline after line 7, entry "cn=module,cn=config"?)
adding new entry "cn=module,cn=config"
ldap_add: Undefined attribute type (17)
additional info: dn: attribute type undefined
config backend.ldif
PHP Code:
################################
dncn=module,cn=config
objectClass
olcModuleList
cn
module
olcModulepath
: /usr/lib64/openldap
olcModuleload
back_hdb
dn
olcDatabase=hdb,cn=config
objectClass
olcDatabaseConfig
objectClass
olcHdbConfig
olcDatabase
: {2}hdb
olcSuffix
dc=utech,dc=edu,dc=vn
olcDbDirectory
: /var/lib/ldap
olcRootDN
cn=Manager,dc=utech,dc=edu,dc=vn
olcRootPW
: {SSHA}esajGlHZpRmfKIPbXixO+X4pXs7Txshs
olcDbConfig
set_cachesize 0 2097152 0
olcDbConfig
set_lk_max_objects 1500
olcDbConfig
set_lk_max_locks 1500
olcDbConfig
set_lk_max_lockers 1500
olcDbIndex
objectClass eq
olcLastMod
TRUE
olcMonitoring
TRUE
olcDbCheckpoint
512 30
olcAccess
to attrs=userPassword by dn="cn=Manager,dc=utech,dc=edu,dc=vn" write by anonymous auth by self write by none
olcAccess
to attrs=shadowLastChange by self write by read
olcAccess
to dn.base="" by read
olcAccess
to by dn="cn=Manager,dc=utech,dc=edu,dc=vn" write by read 
 
Old 04-22-2013, 12:26 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,772

Rep: Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294
Quote:
ldapadd: attributeDescription "dn": (possible missing newline after line 7, entry "cn=module,cn=config"?)
adding new entry "cn=module,cn=config"
ldap_add: Undefined attribute type (17)
additional info: dn: attribute type undefined
You must leave a blank line between DNs:
Code:
<snip>
olcModuleload: back_hdb

dn: olcDatabase=hdb,cn=config
objectClass: olcDatabaseConfig 
<snip>
Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] LDAP authentication error [Can't contact LDAP server] from apache httpd jonathan_w_brown Linux - Server 6 12-28-2011 05:30 PM
Mayday, I need to fix fstab, pls help! Mail2me Linux - Newbie 5 01-20-2009 03:54 PM
Can't fix this checksum error ! Binary File ! My VERY FIRST Question ! help pls !!!! Zaher Programming 1 03-20-2006 09:35 PM
pls pls pls help me ! i'm tired with httpd config on fedora apache 2.0.48 AngelOfTheDamn Fedora 0 01-24-2004 05:12 PM
LDAP....iam about to give up.....Pls Help.. fableman Linux - Software 5 11-19-2003 08:18 AM


All times are GMT -5. The time now is 04:21 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration