- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Openldap configuration with ldap-ux
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
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
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
тАО06-25-2008 04:39 AM
тАО06-25-2008 04:39 AM
Openldap configuration with ldap-ux
Hello,
I am having some problem configuring an ldapux (HPUX 11.23) client with openldap (redhat)
I am following the guide for doing this but I am having problems adding the profile schema.
This is the a default ldif profile schema I have to add to the RedHat server:
*********************************************
dn: cn=ldapuxprofile, ou=profiles,ou=ldap-ux,dc=acme,dc=com
objectClass: top
objectClass: duaconfigprofile
cn: ldapuxprofile
preferredserverlist: 192.1.1.1:389 192.1.1.2:444
defaultsearchbase: ou=ldap-ux,dc=acme,dc=com
searchtimelimit: 45
bindtimelimit: 5
authenticationmethod: simple
profilettl: 86400
credentiallevel: proxy anonymous
attributemap: passwd:userpassword=*NULL*
attributemap: shadow:userpassword=*NULL*
servicesearchdescriptor: passwd:ou=ldap-ux,dc=acme,dc=com?sub?(objectclass=posixaccount)
servicesearchdescriptor: shadow:ou=ldap-ux,dc=acme,dc=com?sub?(objectclass=shadowaccount)
servicesearchdescriptor: group:ou=ldap-ux,dc=acme,dc=com?sub?(objectclass=posixgroup)
servicesearchdescriptor: pam:ou=ldap-ux,dc=acme,dc=com?sub?(objectclass=posixaccount)
servicesearchdescriptor: rpc:ou=ldap-ux,dc=acme,dc=com?sub?(objectclass=oncrpc)
servicesearchdescriptor: protocols:ou=ldap-ux,dc=acme,dc=com?sub?(objectclass=ipprotocol)
servicesearchdescriptor: networks:ou=ldap-ux,dc=acme,dc=com?sub?(objectclass=ipnetwork)
servicesearchdescriptor: hosts:ou=ldap-ux,dc=acme,dc=com?sub?(objectclass=iphost)
servicesearchdescriptor: services:ou=ldap-ux,dc=acme,dc=com?sub?(objectclass=ipservice)
servicesearchdescriptor: netgroup:ou=ldap-ux,dc=acme,dc=com?sub?(objectclass=nisnetgroup)
********************************************
Could anyone give me a valid suffix at slapd.conf which could work with this profile, with the
dn: cn=ldapuxprofile, ou=profiles,ou=ldap-ux,dc=acme,dc=com?
Thank you in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2008 05:56 AM
тАО06-25-2008 05:56 AM
Re: Openldap configuration with ldap-ux
So, your problems is extending the schema?
>>> Could anyone give me a valid suffix at slapd.conf which could work with this profile, with the dn: cn=ldapuxprofile, ou=profiles,ou=ldap-ux,dc=acme,dc=com?
I did not understand that question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2008 11:29 PM
тАО06-25-2008 11:29 PM
Re: Openldap configuration with ldap-ux
Yes, sorry Ivan.
The file I posted before was the duaconfig.ldif
I added the schema successfully (duaconfig.schema) with an include at /usr/local/etc/openldap/schema/duaconfig.schema
which works properly when running the /usr/local/libexec/slapd
My slapd.conf file has these relevant lines:
database bdb
suffix "dc=acme,dc=com"
rootdn "cn=Manager,dc=acme,dc=com"
rootpw secret
directory /usr/local/var/openldap-data
index objectClass eq
And I have to do something like:
#ldapadd -x -D "cn=Manager,dc=acme,dc=com" -w secret -f duaconfig.ldif
This returns:
ldap_bind: Invalid credentials(49)
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2008 06:09 AM
тАО06-26-2008 06:09 AM
Re: Openldap configuration with ldap-ux
That normally means that the password for the BIND DN is not correct.
Try with a simple ldapsearch specifying the DN and password used, same error should be returned.
Are you sure that your DN is "cn=Manager,dc=acme,dc=com" and your password is secret?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2008 03:48 AM
тАО07-02-2008 03:48 AM
Re: Openldap configuration with ldap-ux
I discovered the problem. The password in the slapd.conf file MUST BE encrypted, if not it will return an Invalid credentials error.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2008 03:49 AM
тАО07-02-2008 03:49 AM