Re: Connect Solaris ldapclient to a Oracle internet directory
Date: Mon, 23 Jun 2008 03:37:06 -0700 (PDT)
On 19 Jun., 16:07, Chris Ridd <chrisr..._at_mac.com> wrote:
> On 2008-06-18 15:28:01 +0100, denis <Denis.Nick..._at_googlemail.com> said:
> > As far as I know the native Solaris ldap client doesn't have this
> > commands.
> > I found only:
> > ldapadd ldapaddent ldapclient ldapdelete ldaplist
> > ldapmodify ldapmodrdn ldapsearch
> You should first test whether NSS is working against your Oracle
> directory - test using tools like id. The ldaplist tool is specific to
> NSS as well, and a useful test tool.
> Once you're happy all that's working, *then* go and fight PAM. If
> memory serves, the objectclasses present on directory entries is
> important for pam_ldap.
Thanks for all your answers.
Here is an intermediate state:
Thanks to shakespeare I found the Oracle® Authentication Services for Operating Systems Administrator’s Guide. In which I have learned that oracle provides client setup scripts (sslConfig_OIDclient.sh). I trying to find a test environment. I will post the results.
According to Chris' advice I got ldaplist up and running but not id.
The Sol version I am using is 10.
NS_LDAP_SERVICE_AUTH_METHOD is added by using the ldapclient -v mod - a "serviceSearchDescriptor=..." command
I found another very interesting thread: http://forum.java.sun.com/thread.jspa?threadID=5176398&messageID=9682137
At the Moment I get the following error:
Jun 23 12:02:46 sun1 sshd: [ID 285619 auth.debug] ldap pam_sm_authenticate(sshd-kbdint user1), flags = 0 Jun 23 12:02:46 sun1 sshd: [ID 647000 auth.debug] ldap pam_sm_authenticate(sshd-kbdint user1), AUTHTOK not set Jun 23 12:03:10 sun1 sshd: [ID 800047 auth.info] Keyboardinteractive (PAM) userauth failed while authenticating: Authentication failed
Denis Received on Mon Jun 23 2008 - 05:37:06 CDT