Operating System - HP-UX
1826190 Members
2412 Online
109691 Solutions
New Discussion

Downloading Profile ploblem ldap-ux client-services with OpenLDAP server

 
yusuke yokoyama
New Member

Downloading Profile ploblem ldap-ux client-services with OpenLDAP server

Hi,
I want to use the ldap-ux client-services with openldap server.

I have extended schema on openldap server for 'DUAConfigProfile' objectClass and any Attributes.
I have entried 'profile' on server manually.
The execution result in a client is shown below.

# ldapsearch -h 192.168.5.23 -b 'dc=nectss,dc=co,dc=jp' '(cn=uxprofile2)'

dn: cn=uxprofile2,ou=profile,dc=nectss,dc=co,dc=jp
cn: uxprofile2
objectClass: DUAConfigProfile
defaultServerList: 192.168.5.23
defaultSearchBase: dc=nectss,dc=co,dc=jp
defaultSearchScope: one
serviceSearchDescriptor: passwd:ou=People,dc=nectss,dc=co,dc=jp
serviceSearchDescriptor: rpc:ou=Rpc,dc=nectss,dc=co,dc=jp
serviceSearchDescriptor: group:ou=Group,dc=nectss,dc=co,dc=jp
serviceSearchDescriptor: networks:ou=Networks,dc=nectss,dc=co,dc=jp
serviceSearchDescriptor: netgroup:ou=Netgroup,dc=nectss,dc=co,dc=jp
serviceSearchDescriptor: hosts:ou=Hosts,dc=nectss,dc=co,dc=jp
serviceSearchDescriptor: services:ou=Services,dc=nectss,dc=co,dc=jp
serviceSearchDescriptor: fstab:ou=Mounts,dc=nectss,dc=co,dc=jp
serviceSearchDescriptor: aliases:ou=Aliases,dc=nectss,dc=co,dc=jp
serviceSearchDescriptor: protocols:ou=Protocols,dc=nectss,dc=co,dc=jp

I have configured '/etc/opt/ldapux/ldapux_client.conf',below.

Service:NSS
LDAP_HOSTPORT="192.168.5.23:389" PROFILE_ENTRY_DN="cn=uxprofile2,ou=profile,dc=nectss,dc=co,dc=jp" PROGRAM="/opt/ldapux/config/create_profile_cache"
$

I tried to get profile, but couldn't.
# /opt/ldapux/config/get_profile_entry -s nss
PFMERR 5: Downloading profile entry failed!

Why does download fail ?
Plese tell me , this problem.
yusuke yokoyama
3 REPLIES 3
ricard_3
New Member

Re: Downloading Profile ploblem ldap-ux client-services with OpenLDAP server

Hi, I do the same steps as you and I arrive to the same problem.

Do you arrange the problem in this time?

Thank's for your colaboration.
Joan Cambras
Occasional Advisor

Re: Downloading Profile ploblem ldap-ux client-services with OpenLDAP server


We have exactly the same problem !

Is this a bug in ldapux ?
Is ldapux and openldap working for anyone ?
Is there anyway to trace this ?

Thanks in advance,
Joan Cambras
jcambras@cesca.es
ricard_3
New Member

Re: Downloading Profile ploblem ldap-ux client-services with OpenLDAP server

Hi, we worked more with this and find the problem. The solution is adding the user and the password of the administrator like this:

get_profile_entry -D "cn=root,o=.." -w "pwadmin" -s nss

This works's ok in my machine.

But... in the other hand, we have another problem. Now the connection is refused, and I don't know why.

I write:

ldapmodify -D "cn=root,o=..." -w "pwadmin" -f ../ricarduser

and the system response is:

ldap_bind: Can't connect to the LDAP server - Connection refused

The ricarduser file contain this information:
dn: cn=ricard,ou=accounts,o=...
cn: ricard
objectClass: posixAccount
objectClass: top
uid: ricard
uidNumber: 22
homeDirectory: /home/ricard
gidNumber: 17
userPassword: ricard

Can you help we about this new problem?

Thanks

Ricard de la Vega
rdelavega@cesca.es