Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 6th, 2002, 11:13 AM
zwwwxy zwwwxy is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Posts: 29 zwwwxy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
: i can not run openldap in RH with RPM installation

I edit the itmes in /etc/openldap/slapd.conf

suffix "dc=mydomain,dc=com"
rootdn "cn=Manager,dc=mydomain,dc=com"
rootpw secret
directory /var/lib/ldap
then run /sbin/slapd,with port 389 response for telnet£»

run command for basic search
ldapsearch -x -b '' -s base "dc=mydomain,dc=com" '(objectclass=*)' namingconectext
return;

output as:

version: 2

#
# filter: (objectclass=*)
# requesting: namingContexts
#

#
dn:
namingContexts: dc=mydomain,dc=com

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1

seems ok, then i edit Manager.ldif£º
dn: dc=mydomain,dc=com
objectClass: dcObject
objectclassrganization
o: mydomain
dc: mydomain
dn: cn=Manager,dc=mydomain,dc=com
objectClassrganizationalRole
cn: Manager
however, i can not found the program as ldif2ldbm£¬ anyway, i run :
ldapadd -x -D 'cn=Manager,dc=mydomain,dc=com' -W -f /root/Manager.ldif
Enter LDAP Password:
(once i enter the password as 'secret', it will quit, no enter then return, seems ok)
echo:
adding new entry "dc=mydomain,dc=com "
ldap_add: Undefined attribute type
additional info: dn: D?
ldif_record() = 17

seems add failure, that is all, i can not go any more, how i can continure? what is wrong?

i search follow throug in www.openldap.org, it is weak of beginner how-to
which gentleman can tell me where is my wrong?

thanks,
fredeirck

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > : i can not run openldap in RH with RPM installation


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway