config PHP code (work) host = "127.0.0.1"; port = 389; bindDN = "cn=directory manager"; bindPW = "xptopassword!"; baseDN = "dc=empresa";
no metodo findUser userContainer = "ou=Users,dc=empresa"; domainSID = "S-1-5-21-266806700-2237704003-2603971549"; return method find user [dn:User:private] => uid=uiduser,ou=Users,dc=empresa [objectClass:User:private] => Array ( [0] => inetOrgPerson [1] => posixAccount [2] => sambaSamAccount [3] => organizationalPerson [4] => top [5] => person ) [cn:User:private] => uiduser [uid:User:private] => uiduser [sn:User:private] => surn [mail:User:private] => uidu...@example.com [telephoneNumber:User:private] => [uidNumber:User:private] => 13597 [gidNumber:User:private] => 513 [homeDirectory:User:private] => /home/nusr [sambaSID:User:private] => S-1-5-21-266806700-2237704003-2603971549-13597 [sambaHomePath:User:private] => [sambaHomeDrive:User:private] => [sambaLogonScript:User:private] => [employeeNumber:User:private] => [o:User:private] => 4234252 [sambaAcctFlags:User:private] => [U] [userPassword:User:private] => [sambaNTPassword:User:private] => 31D6CFE0D16AE931B73C59D7E0C089C0 [sambaLMPassword:User:private] => AAD3B435B51404EEAAD3B435B51404EE my config gitlab.rb gitlab_rails['ldap_enabled'] = true gitlab_rails['ldap_servers'] = YAML.load <<-EOS # remember to close this block with 'EOS' below main: # 'main' is the GitLab 'provider ID' of this LDAP server label: 'Login Bellinati' host: '192.168.200.35' port: 389 uid: 'sAMAccountName' method: 'plain' # "tls" or "ssl" or "plain" bind_dn: 'cn=derectory manager,ou=Users,dc=bellinatiperez' password: '_vF27ck8!' active_directory: true allow_username_or_email_login: false base: 'uid=root,ou=Users,dc=bellinatiperez' user_filter: '' # ## EE only # group_base: '' # admin_group: '' # sync_ssh_keys: false # secondary: # 'secondary' is the GitLab 'provider ID' of second LDAP server # label: 'LDAP' # host: '_your_ldap_server' # port: 636 # uid: 'sAMAccountName' # method: 'ssl' # "tls" or "ssl" or "plain" # bind_dn: '_the_full_dn_of_the_user_you_will_bind_with' # password: '_the_password_of_the_bind_user' # active_directory: true # allow_username_or_email_login: false # base: '' # user_filter: '' # ## EE only # group_base: '' # admin_group: '' # sync_ssh_keys: false no have SSL -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/074de8d8-d40a-4a24-b9fa-62eb2868cae3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.