- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: i can not run openldap in RH with RPM installa...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 04:08 AM
09-06-2002 04:08 AM
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
objectclass:organization
o: mydomain
dc: mydomain
dn: cn=Manager,dc=mydomain,dc=com
objectClass:organizationalRole
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 10:20 PM
09-06-2002 10:20 PM
Solutionldap_add: Undefined attribute type
ldap_add: additional info: attribute type undefined
Reason:
You've defined attribute which doesn't exist in any schema currently used.
Suggestions:
Missing or mispelled attribute name.
* Check both input LDIF and schema for misspelling attribute name.
* Check slapd.conf, if schema you use is activated in slapd.conf(5) ( by usage include
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2002 06:18 AM
09-07-2002 06:18 AM
Re: i can not run openldap in RH with RPM installation
could you tell me where to find the infomation of the openldap schema?
thanks very much
frederick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2002 08:50 PM
09-08-2002 08:50 PM
Re: i can not run openldap in RH with RPM installation
OpenLDAP documentation has to improve. Still
some are ok.
http://www.openldap.org/doc/admin/schema.html
First of all , Read general LDAP documents and
RFCs more to understand the idea of LDAP.
http://www.umich.edu/~dirsvcs/ldap/doc/
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2002 09:11 PM
09-08-2002 09:11 PM
Re: i can not run openldap in RH with RPM installation
the website of http://www.umich.edu/~dirsvcs/ldap/doc/
seems is not available