I tried using portal-ext.properties
with values below.
Its still not allowing user to login.
I get authentication failed error.
When I check DB I do not see user imported.
portal-ext.properties:
company.security.auth.type=screenName
ldap.auth.enabled=true ldap.auth.required=true
ldap.auth.method=bind
ldap.import.enabled=false ldap.import.on.startup=false
ldap.import.method=userldap.password.policy.enabled=false
ldap.import.user.password.enabled=true
ldap.import.user.password.autogenerated=false
ldap.export.enabled=false
ldap.base.provider.url.0=ldap://host:port
ldap.base.dn.0=DC=companyName,DC=com
ldap.security.principal.0=domainname/myusername
ldap.security.credentials.0=mypassword
ldap.auth.search.filter.0=(&(objectclass=person)(sAMAccountName=@screen_name@))
ldap.user.mappings.0=emailAddress=mail\nfirstName=givenName\nlastName=sn\npassword=userPassword\nscreenName=sAMAccountName\n
ldap.import.user.search.filter.0=(objectClass=organizationalPerson)
users.screen.name.allow.numeric=true
users.screen.name.validator=com.liferay.portal.security.auth.DefaultScreenNameValidator