I have enabled it and now I can see more.
It complains it cannot bind; however I can bind doing a ldapsearch:
ldapsearch -D "cn=Directory Manager" -w ##### -h localhost -b "cn=users,cn=accounts,dc=netdevops,dc=com" "(&(objectClass=posixaccount)(memberOf=cn=sysadmins,cn=groups,cn=accounts,dc=netdevops,dc=com))"
# extended LDIF
#
# LDAPv3
# base <cn=users,cn=accounts,dc=netdevops,dc=com> with scope subtree
# filter: (&(objectClass=posixaccount)(memberOf=cn=sysadmins,cn=groups,cn=accounts,dc=netdevops,dc=com))
# requesting: ALL
#
dn: uid=guillem.liarte,cn=users,cn=accounts,dc=netdevops,dc=com
displayName: Guillem Liarte
cn: Guillem Liarte
objectClass: top
objectClass: person
objectClass: organizationalperson
objectClass: inetorgperson
objectClass: inetuser
objectClass: posixaccount
objectClass: krbprincipalaux
objectClass: krbticketpolicyaux
objectClass: ipaobject
objectClass: ipasshuser
objectClass: ipaSshGroupOfPubKeys
objectClass: mepOriginEntry
loginShell: /bin/sh
sn: Liarte
gecos: Guillem Liarte
homeDirectory: /home/guillem.liarte
krbPwdPolicyReference: cn=sysadmins,cn=
NETDEVOPS.COM,cn=kerberos,dc=netdevops,
dc=com
givenName: Guillem
uid: guillem.liarte
initials: GL
[ ... ] lots of output omitted [. . .]
# search result
search: 2
result: 0 Success
# numResponses: 3
# numEntries: 2
___
When I do the same test from scm:
16:32:08.442 [qtp1255548706-14] TRACE sonia.scm.web.filter.BasicAuthenticationFilter - user is allready authenticated
16:32:08.443 [qtp1255548706-14] TRACE sonia.scm.security.AuthorizationCollector - retrieve AuthorizationInfo for user scmadmin from cache
16:32:08.445 [qtp1255548706-14] DEBUG sonia.scm.auth.ldap.LDAPConnection - create context for dn cn=Directory Manager
16:32:08.445 [qtp1255548706-14] DEBUG sonia.scm.auth.ldap.LDAPConnection - use follow as referral strategy
16:32:08.446 [qtp1255548706-14] DEBUG sonia.scm.auth.ldap.LDAPAuthenticationContext - using scope object for user search
16:32:08.446 [qtp1255548706-14] DEBUG sonia.scm.auth.ldap.LDAPAuthenticationContext - search-filter for user search: (&(objectClass=posixaccount)(memberOf=cn=sysadmins,cn=groups,cn=accounts,dc=netdevops,dc=com)(uid=guillem.liarte))
16:32:08.446 [qtp1255548706-14] DEBUG sonia.scm.auth.ldap.LDAPAuthenticationContext - search base for user search: cn=users,cn=accounts,dc=netdevops,dc=com
16:32:08.447 [qtp1255548706-14] WARN sonia.scm.auth.ldap.LDAPAuthenticationContext - no user with username guillem.liarte found
16:32:08.447 [qtp1255548706-14] TRACE sonia.scm.auth.ldap.LDAPAuthenticationContext - return authentication result: user: null, state: NOT_FOUND
____
I have tried starting the search in different parts of the tree, but it always fails the same way.
The IPA and smc-manager are running in the same machine at the moment.
I can carry out the ldapsearch remotely, so that is not the problem here.
At the moment I am puzzled about what to do.
If I wanted to look at a plugin for IPA, or to modify the current ldap pluguin so it can take it, where could I start? is it written in java (I never done any java, only python and ruby).
Thanks,
G