1 Reply Latest reply on Jul 9, 2002 12:01 PM by Dylan Browne

    LdapLoginModule configuration

    Dylan Browne Newbie

      Hi,

      Can anyone tell me whats wrong with this? I get an error (below) when I try to pass this as my conf file to my login app:

      LoginDetails {
      org.jboss.security.auth.spi.LdapLoginModule required
      java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
      principalDNPrefix="cn="
      uidAttributeID="Manager"
      roleAttributeID="roles"
      principalDNSuffix=",dc=lanergy,dc=com"
      rolesCtxDN="cn=Manager,dc=lanergy,dc=com"
      java.naming.provider.url="ldap://xx.xx.xx.xx:389/"
      java.naming.security.authentication="simple"
      };

      Cannot create LoginContext. Configuration Error:
      Line 10: expected [option key]

      Line 10 is the last line of text of the file. Is there some sort of terminating char that needs to be added?

      Thanks in advance.