Hi all,

I have a requirement to creat Active Directory in JBoss.  This is my 
Login-cofig.xml for the same.  Please can anyone correct the same, as i am 
reporting errors on connection.  

 <application-policy name="LdapToActiveDirectory">
        
            <login-module code="org.jboss.security.auth.spi.LdapExtLoginModule" 
flag="sufficient" >
                <module-option 
name="java.naming.provider.url">ldap://cscadc001:1389/</module-option>
                <module-option 
name="rolesCtxDN">cn=Senthilkumar_Ponnusami,ou=Users,ou=csc,ou=chn,ou=india,dc=corp,dc=satyam,dc=ad</module-option>
                <module-option name="matchOnUserDN">false</module-option>
                <module-option 
name="principalDNSuffix">@corp.satyam.ad</module-option>
                <module-option name="uidAttributeID">sp48553</module-option>
                <module-option name="roleAttributeID">memberOf</module-option>
                <module-option name="roleAttributeIsDN">true</module-option>
                <module-option name="roleNameAttributeID">name</module-option>
                <module-option name="defaultRole">AuthUser</module-option>
            </login-module>
        
    </application-policy>

   


I am getting the following exception while using the above configuration.

16:20:50,617 WARN  [UDP] packet from /172.18.94.230:1137 has different version (
0227?) from ours (02271). This may cause problems
16:20:50,617 ERROR [UDP] exception=java.io.StreamCorruptedException: invalid str
eam header
        at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:737
)
        at java.io.ObjectInputStream.(ObjectInputStream.java:253)
        at org.jgroups.protocols.UDP.handleIncomingUdpPacket(UDP.java:670)
        at org.jgroups.protocols.UDP.run(UDP.java:249)
        at java.lang.Thread.run(Thread.java:534)

Along with the invalid Authentication error.  Can anyone come up with a 
solution for the above issue.

Thanks
Raj



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994186#3994186

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994186
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to