- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Ldap Authentication with HPUX
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
тАО10-06-2008 09:19 AM
тАО10-06-2008 09:19 AM
Ldap Authentication with HPUX
I'm using Sun one Directory Server with many PosixAccounts already provisioned.
I'm using this directory server to authenticate users across many systems (Linux, solaris, AIX), now I want add ldap authentication on HP-UX systems.
I found in internet the software LDAPUX to configure HPUX ldap authentication is there anyway to cofigure auth without it?
I noticed LDAPUX use posixDUAProfile and posixNamingProfile objectclass to manage profile. But i don't have this objectclass in my ldap.
If i run the LDAPUX setup, i have:
PFMERR 25: ou=Profile,dc=xx,dc=xxxxx,dc=xxxxxx does not exist
in the Directory Server!
Please create it before you create the Profile Entry!
But in my ldap there is this entry.
If i see the ldap log:
[06/Oct/2008:19:06:32 +0200] conn=347267 op=-1 msgId=-1 - fd=203 slot=203 LDAP connection from xxx.xxx.xxx.xxx:55518 to xx.xxx.xxx.xxx
[06/Oct/2008:19:06:32 +0200] conn=347267 op=0 msgId=1 - BIND dn="cn=Directory Manager" method=128 version=3
[06/Oct/2008:19:06:32 +0200] conn=347267 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=directory manager"
[06/Oct/2008:19:06:32 +0200] conn=347267 op=1 msgId=2 - SRCH base="ou=profile,dc=xxx,dc=xxxx,dc=xxxxx" scope=0 filter="(objectClass=*)" attrs="dn"
[06/Oct/2008:19:06:32 +0200] conn=347267 op=1 msgId=2 - RESULT err=0 tag=101 nentries=1 etime=0
[06/Oct/2008:19:06:32 +0200] conn=347267 op=2 msgId=3 - UNBIND
[06/Oct/2008:19:06:32 +0200] conn=347267 op=2 msgId=-1 - closing from xxx.xxx.xxx.xxx:55518 - U1 - Connection closed by unbind client -
[06/Oct/2008:19:06:32 +0200] conn=347267 op=-1 msgId=-1 - closed.
It found one entry.
Thanks and sorry in advance for my bad English.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2008 09:37 AM
тАО10-06-2008 09:37 AM
Re: Ldap Authentication with HPUX
ldap-ux is the only viable option. I've tried an openldap port for HP-UX and find it does not have the ability to do proper integration.
The ldap-ux setup script has two orientations, windows or Linux Unix based. admin access to the ldap master is required for the setup cript.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2008 02:51 PM
тАО10-06-2008 02:51 PM
Re: Ldap Authentication with HPUX
[06/Oct/2008:19:06:32 +0200] conn=347267 op=1 msgId=2 - SRCH base="ou=profile,dc=xxx,dc=xxxx,dc=xxxxx" scope=0 filter="(objectClass=*)" attrs="dn"
[06/Oct/2008:19:06:32 +0200] conn=347267 op=1 msgId=2 - RESULT err=0 tag=101 nentries=1 etime=0
It finds one entry but ldapux doen't go.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2008 02:28 AM
тАО10-07-2008 02:28 AM
Re: Ldap Authentication with HPUX
# ldapsearch -h 127.0.0.1 -p 389 -s base -D "cn=Directory Manager" -w xxxxxxxxx -b "ou=profile,dc=xxxxx,dc=xxxxxxx,dc=xxxxxx" 'objectclass=*' dn
It find one entry:
version: 1
dn: ou=Profile, dc=xxxxx,dc=xxxxxx,dc=xxxxxxx
But for LDAPUX the entry doesn't exists:
PFMERR 25: ou=Profile,dc=xx,dc=xxxxx,dc=xxxxxx does not exist
in the Directory Server!
Please create it before you create the Profile Entry!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2008 09:46 AM
тАО10-07-2008 09:46 AM
Re: Ldap Authentication with HPUX
We believe this is a known bug in how Sun DS has changed how it reports search results. This change caused parsing issues in our setup utility. Could you confirm? Please re-do your /opt/ldapux/bin/ldapsearch command and examine the output for "ldap_simple_bind: Success" in the output. If you see that then that is likely the problem. It is being addressed for our next release.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2008 10:17 AM
тАО10-07-2008 10:17 AM
Re: Ldap Authentication with HPUX
If i do:
# cd /opt/ldapux/bin/
# mv ldapsearch ldapsearch.test
# vi ldapsearch
#!/bin/sh
/opt/ldapux/bin/ldapsearch.test "$@" |grep -v '^ldap_simple_bind'
exit 0;
# chmod +x ldapsearch
Should it work?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2008 01:01 PM
тАО10-07-2008 01:01 PM
Re: Ldap Authentication with HPUX
Note, however, setup stills need to install the profile and the duaConfigProfile schema. I wasn't clear from your above message if you wanted to prevent installing this schema and profile, or if you were just mentioning that setup would not work properly and thus not allow you install them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2008 05:17 AM
тАО10-09-2008 05:17 AM
Re: Ldap Authentication with HPUX
I modify ldapsearch and ldapmodify with -g option.
# cd /opt/ldapux/bin/
# mv ldapsearch ldapsearch.ori
# vi ldapsearch
#!/bin/sh
/opt/ldapux/bin/ldapsearch.ori -g "$@"
exit $?;
# chmod +x ldapsearch
# mv ldapmodify ldapmodify.ori
# vi ldapmodify
#!/bin/sh
/opt/ldapux/bin/ldapmodify.ori -g "$@"
exit $?;
# chmod +x ldapmodify
Thanks for support