Page 2 of 2

Re: Help with understanding the LDAP/AD intergration

PostPosted:Wed Mar 23, 2011 1:08 pm
by svrbjgu
The Userrole was already gone (read another post about it)

The debug line is added and a reboot on the service is done.
But no change.

No ldap/LDAP/error/Authentication can be grept from the server.log

Running a tail -f on the server.log and during the boot a lot is written but when i try to login no new lines are written.

Re: Help with understanding the LDAP/AD intergration

PostPosted:Wed Mar 23, 2011 1:19 pm
by Catscratch
Maybe you could extend your search to everything like "exception".

Re: Help with understanding the LDAP/AD intergration

PostPosted:Wed Mar 23, 2011 1:25 pm
by svrbjgu
Here is the compleet server.log

http://untangle.nu/upl/S8H6NEA/server.log

Re: Help with understanding the LDAP/AD intergration

PostPosted:Wed Mar 23, 2011 1:33 pm
by Catscratch
You got an error in your /opt/jboss-4.2.3.GA/server/default/conf/login-config.xml
org.jboss.xb.binding.JBossXBException: Failed to parse source: The element type "module-option" must be terminated by the matching end-tag "</module-option>". @ *unknown*[164,62]
Or is this an old log message? Maybe you should remove the server.log before starting the server again and post the logfile again.

Re: Help with understanding the LDAP/AD intergration

PostPosted:Wed Mar 23, 2011 2:02 pm
by svrbjgu
Here is a new server.log and the login-config.xml (somewhat censured)

http://untangle.nu/upl/MLVEXN6/server.log
http://untangle.nu/upl/DU954K2/login-config.xml

Thanks for all the help!

Re: Help with understanding the LDAP/AD intergration

PostPosted:Wed Mar 23, 2011 2:05 pm
by Catscratch
There is an error in the login-config.xml in line 153:
Code: Select all
<module-option name="searchScope">SUBTREE_SCOPE</module-opion>
should be:
Code: Select all
<module-option name="searchScope">SUBTREE_SCOPE</module-option>

Re: Help with understanding the LDAP/AD intergration

PostPosted:Wed Mar 23, 2011 2:15 pm
by svrbjgu
Thanks!!
Some times i hate having tree monitors and text all over them ;)

Now i see error logs:
Code: Select all
DEBUG [org.jboss.security.auth.spi.LdapExtLoginModule] Bad password for username=username javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 525, vece]
So now i should be able to get it working.