https://issues.apache.org/bugzilla/show_bug.cgi?id=53480

--- Comment #5 from Felix Schumacher <[email protected]> ---
Created attachment 30401
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30401&action=edit
configurations used for tests

The configurations are splitted into three directories.

One for apacheds, one for tomcat and one for jmeter. To test I have used three
virtual machines called client.example.com, www.example.com and
kerberos.example.com.

On kerberos.example.com I extracted the apacheds-2.0.0M3 tar.gz, copied
instances/default to instances/example.com and applied the example.com.diff.
Than I started the example.com instance by running bin/apacheds example.com
(you might have to chmod +x ).

When started the example.com.ldif can be applied by running 
  ldapadd -x -h kerberos.example.com:10389 -D uid=admin,ou=system -W -f
example.com.ldif
and giving the password 'secret' when asked.

On the machine www.example.com I extracted a tomcat-7.0.40 and applied the
server.xml.diff to conf/server.xml.
I copied the file jaas.conf and krb5.ini into conf. Then you will have to
generate the conf/www.example.com.keytab with ktutil.
Run ktutil and enter at the prompt
 addent -password -p HTTP/[email protected] -k 1 -e
aes256-cts-hmac-sha1-96
Again enter password 'secret'
Now enter
  wkt conf/www.example.com.keytab
and lastly enter
  quit
Now you should have a keytab in conf called conf/www.example.com.keytab
You should be able to start tomcat by calling ./bin/startup.sh

Now compile jmeter go into the jmeter-testplan directory and start jmeter.
Openn the kerberos.jmx testplan and run it.

If I haven't forgotten a step in this short howto, it should take two samples
without one error.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to