HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HPUX & OpenLDAP
Operating System - HP-UX
1833437
Members
3452
Online
110052
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
04-03-2002 07:16 AM
04-03-2002 07:16 AM
HPUX & OpenLDAP
Hi:
I have successfully compiled and installed OpenLDAP on HPUX 11i. I would like to use the nis.schema so that we can integrate LDAP and PAM. I have attached a copy of our slapd.conf file.
When I try and add a entry to the server I get the following errors :
adding new entry "uid=ldaptest,ou=People,dc=unix,dc=dcfs-uk-int,dc=com"
ldap_add: No such object
additional info: parent does not exist
ldif_record() = 32
In the LDIF I have the following information :
dn: uid=ldaptest,ou=People,dc=unix,dc=dcfs-uk-int,dc=com
uid: ldaptest
cn: LDAP Test User
objectClass: top
objectClass: account
objectClass: posixAccount
userPassword: {crypt}*
loginShell: /bin/ksh
uidNumber: 6000
gidNumber: 20
homeDirectory: /home/ldaptest
gecos: LDAP Test User, Development
Any ideas what I am doing wrong?
I have successfully compiled and installed OpenLDAP on HPUX 11i. I would like to use the nis.schema so that we can integrate LDAP and PAM. I have attached a copy of our slapd.conf file.
When I try and add a entry to the server I get the following errors :
adding new entry "uid=ldaptest,ou=People,dc=unix,dc=dcfs-uk-int,dc=com"
ldap_add: No such object
additional info: parent does not exist
ldif_record() = 32
In the LDIF I have the following information :
dn: uid=ldaptest,ou=People,dc=unix,dc=dcfs-uk-int,dc=com
uid: ldaptest
cn: LDAP Test User
objectClass: top
objectClass: account
objectClass: posixAccount
userPassword: {crypt}*
loginShell: /bin/ksh
uidNumber: 6000
gidNumber: 20
homeDirectory: /home/ldaptest
gecos: LDAP Test User, Development
Any ideas what I am doing wrong?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 07:57 AM
04-03-2002 07:57 AM
Re: HPUX & OpenLDAP
Its telling you the parent entry is missing (most likely the ou=People entry).
Try adding the following entry to the start of your ldif file:
dn: ou=People,dc=unix,dc=dcfs-uk-int,dc=com
ou: People
cn: UNIX users accounts
objectClass: top
objectClass: organizationalUnit
If that still fails have a closer read of the administrators guide:
http://www.openldap.org/doc/admin/index.html
Particularly chapter 7 which deals with database creation.
Regards,
Steve
Try adding the following entry to the start of your ldif file:
dn: ou=People,dc=unix,dc=dcfs-uk-int,dc=com
ou: People
cn: UNIX users accounts
objectClass: top
objectClass: organizationalUnit
If that still fails have a closer read of the administrators guide:
http://www.openldap.org/doc/admin/index.html
Particularly chapter 7 which deals with database creation.
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 08:27 AM
04-03-2002 08:27 AM
Re: HPUX & OpenLDAP
I now get the following :(
adding new entry "ou=People,dc=unix,dc=dcfs-uk-int,dc=com "
ldap_add: Invalid syntax
additional info: objectClass: value #0 invalid per syntax
ldif_record() = 21
adding new entry "ou=People,dc=unix,dc=dcfs-uk-int,dc=com "
ldap_add: Invalid syntax
additional info: objectClass: value #0 invalid per syntax
ldif_record() = 21
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 08:47 AM
04-03-2002 08:47 AM
Re: HPUX & OpenLDAP
Oops, my mistake, its been a few months since I played with this stuff - the organizationalUnit object class does not have a 'common name' or cn attribute. Remove this line from the ou=People entry so you have:
dn: ou=People,dc=unix,dc=dcfs-uk-int,dc=com
ou: People
objectClass: top
objectClass: organizationalUnit
You can add a 'description' attribute instead if you like. RFC 2256 describes all these classes and attributes if you need more detail.
Regards,
Steve
dn: ou=People,dc=unix,dc=dcfs-uk-int,dc=com
ou: People
objectClass: top
objectClass: organizationalUnit
You can add a 'description' attribute instead if you like. RFC 2256 describes all these classes and attributes if you need more detail.
Regards,
Steve
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP