Madhu, I believe :bind_type => 'openldap', is incorrect. If can be either "regular" or "simple"
https://scalr-wiki.atlassian.net/wiki/display/docs/Advanced+Configuration I used regular, but I also am connecting to MS Active Directory. On Tuesday, March 22, 2016 at 11:03:41 PM UTC-6, Madhu wrote: > > My LDAP config settings in scalr > > > > > app[:configuration] = { >> :scalr => { >> # Tells Scalr to use LDAP for authentication >> :auth_mode => 'ldap', >> >> :connections => { >> :ldap => { >> # Tells Scalr what LDAP server to connect to >> :bind_type => 'openldap', >> :host => 'localhost', >> :port => '389', >> >> # Tells Scalr where to look at for users and groups >> :base_dn => 'ou=people,dc=example,dc=com', >> >> :user => 'cn="Directory Manager"', >> :pass => 'password', >> >> :base_dn_groups => 'ou=groups,dc=example,dc=com', >> >> # Tells Scalr what attributes to look at >> :username_attribute => 'cn', >> :groupname_attribute => 'cn', >> >> # Tells Scalr how group membership is represented >> :group_member_attribute_type => 'memberUid', >> >> # Tells Scalr to use filters to speed up queries >> :filter => { >> :users => '(&(objectClass=posixAccount))', >> :groups => '(&(objectClass=posixGroup))', >> }, >> >> # Uncomment for debug output if you can't login >> :debug => 1, >> } >> } >> } >> } >> >>> >>> > > > > > On Wednesday, 23 March 2016 10:25:17 UTC+5:30, madhusudan kh wrote: >> >> >> Hi, >> We are trying to implement LDAP auth with scalr, weare using 389 >> Directory server, I enabled debug for LDAP in scalr config, everything says >> "ok", but after that nothing happens!, have anyone got working with 389 >> Directory server..? please need help here. >> Well I am able to login with local credentials, do i need to disable >> local auth..?, does scalr supports only AD or it supports other open source >> LDAP server too..? >> >> >> -- You received this message because you are subscribed to the Google Groups "scalr-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
