Each line of the LDAP server module of the properties file must begin with "CSI.loginModule." followed by a module number. The module number in this sample is 8, however you should use an index value that places the LDAP login module before the PreconfiguredUser login module. The module number must be unique in the properties file, and you must use the same number in every line of the module.
For example, this module configures an LDAP provider module using Active Directory, so that administrators can log in to Sybase Control Center with their Windows user name.
Notice that the controlFlag attribute is also set to sufficient, and the debug attribute is set to true.
===================================================
CSI.loginModule.8.options.AuthenticationSearchBase=ou=sup,dc=mycompany,dc=com
CSI.loginModule.8.options.BindDN=CN=suppad,ou=sup,dc=mycompany,dc=com
CSI.loginModule.8.options.BindPassword=mybindpassword
CSI.loginModule.8.options.DefaultSearchBase=ou=sup,dc=mycompany,dc=com
CSI.loginModule.8.options.AuthenticationFilter=(&(sAMAccountName={uid})(objectclass=user))
CSI.loginModule.8.options.RoleFilter=(&(objectclass=groupofnames) (objectclass=group))
CSI.loginModule.8.options.RoleScope=subtree
CSI.loginModule.8.options.AuthenticationScope=subtree
CSI.loginModule.8.options.ProviderURL=ldap://msadserver:389
CSI.loginModule.8.options.RoleSearchBase=ou=sup,dc=mycompany,dc=com
CSI.loginModule.8.options.ServerType=msad2k
CSI.loginModule.8.options.moduleName=SUP LDAP Login Module
CSI.loginModule.8.controlFlag=sufficient
CSI.loginModule.8.provider=com.sybase.ua.services.security.ldap.LDAPWithRoleLoginModule
CSI.loginModule.8.debug=true
=====================================================