Amila Suriarachchi wrote:
I tried to do the authentication with the following values. (after following the given tutorial )

Bind DN or user : [email protected] <mailto:[email protected]>
Bind Password : secret

At kerborose settings

set : Obtain TGT from KDC
set : Use Native System Configuration

That's ok.

Then tried to Authenticate and got the following exception at client side

The authentication failed
 - Request: 1 cancelled
  javax.naming.CommunicationException: Request: 1 cancelled
snip
And following at server side.

[18:41:16] WARN [org.apache.directory.server.kerberos.protocol.KerberosProtocolHandler] - Additional pre-authentication required (25) [18:41:16] WARN [org.apache.directory.server.kerberos.shared.store.operations.StoreUtils] - No server entry found for kerberos principal name ldap/[email protected]

Sorry, there was a small bug in the server.xml. Please set the searchBaseDn of ldapServer:

  <ldapServer ...
            saslHost="localhost"
            saslPrincipal="ldap/[email protected]"
            searchBaseDn="ou=users,dc=example,dc=com"
            ...>


Kind Regards,
Stefan



Reply via email to