elecharny commented on pull request #46:
URL: https://github.com/apache/directory-server/pull/46#issuecomment-831742771


   Making progress. Still a few errors in server-integ tests.
   
   I have some concern about the {{SaslBindIT.testSaslGssApiBind}} which expect 
the Kerberos server to be up and running:
   
   {code:java}
       /**
        * Tests to make sure GSS-API binds below the RootDSE work.
        */
       @Test
       public void testSaslGssApiBind() throws Exception
       {
           Dn userDn = new Dn( "uid=hnelson,ou=users,dc=example,dc=com" );
           LdapNetworkConnection connection = new LdapNetworkConnection( 
Network.LOOPBACK_HOSTNAME, getLdapServer().getPort() );
   
           kdcServer.getConfig().setPaEncTimestampRequired( false );
   
           SaslGssApiRequest request = new SaslGssApiRequest();
           request.setUsername( userDn.getRdn().getValue() );
           request.setCredentials( "secret" );
           request.setRealmName( ldapServer.getSaslRealms().get( 0 
).toUpperCase( Locale.ROOT ) );
           request.setKdcHost( Network.LOOPBACK_HOSTNAME );
           request.setKdcPort( 6088 );
           BindResponse resp = connection.bind( request );
           assertEquals( ResultCodeEnum.SUCCESS, 
resp.getLdapResult().getResultCode() );
   
           Entry entry = connection.lookup( userDn );
           assertEquals( "hnelson", entry.get( "uid" ).getString() );
   
           connection.close();
       }
   {code}
   
   atm, I can @Ignore this test, but this is quite a interesting test to have. 
Is there a way to have Kerby used instead ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to