Hi Everyone,
I have set LDAP config already done. When I have test with test_ldap script
I can use administrator account to test successfully but when I test with
account store in OU that can't login
AD Server
|__Builtin
|__CORP
| |_____HQ
| |_____IT
| | |_____Dev
| | | User1 ====> can't login
| | | User2 ====> can't login
| | |_____Infra
| | User3 ====> can't login
| | User4 ====> can't login
| |_____TRAINEE
| User 5 ======> can't login
|__Computers
|__Domain Controller
|__GROUPS
|__Users
Administrator ====> Login success
This is authentication.yml
production:
disable_default: false
enable_openid: false
methods:
- adapter: Gitorious::Authentication::LDAPAuthentication
host: 192.168.1.1
port: 389
base_dn: DC=tarad,DC=corp
group_search_dn: OU=groups,DC=tarad,DC=corp
distinguished_name_template: "{}@company.corp"
attribute_mapping:
displayName: fullname
mail: email
encryption: none
bind_user:
username: [email protected]
password: ldapsearchsecret
user_filter:
username_attribute: sAMAccountName
# membership_attribute_name: memberOf
# members_attribute_name: ITInfrastructureGroup
cache_expiry: 0
-----------
Please help me.
--
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
---
You received this message because you are subscribed to the Google Groups
"Gitorious" 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/groups/opt_out.