Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> LDAP jak skonfigurwać
amii
post 15.07.2014, 13:03:51
Post #1





Grupa: Zarejestrowani
Postów: 728
Pomógł: 76
Dołączył: 12.06.2009

Ostrzeżenie: (0%)
-----


Orientuje się ktoś może jak skonfigurować LDAP
Próbuje to odpalić na Symfony2 korzystając z tego bundla ale coś nie bangla. Tzn. wyrzuca mi bad credentials w formularzu.

Fragment z pliku security.yml dotyczący konfiguracji bundla. Dane do host, user base_dn i role base_dn są dodane przeze mnie
  1. imag_ldap:
  2. client:
  3. host: 10.0.100.2
  4. port: 389
  5. # version: 3 # Optional
  6. # username: foo # Optional
  7. # password: bar # Optional
  8. # network_timeout: 10 # Optional
  9. # referrals_enabled: true # Optional
  10. # bind_username_before: true # Optional
  11. # skip_roles: false # Optional
  12.  
  13. user:
  14. base_dn: CN=Users,dc=domain,dc=local
  15. # filter: (&(foo=bar)(ObjectClass=Person)) #Optional
  16. name_attribute: uid
  17. role:
  18. base_dn: CN=Users, dc=domain, dc=local
  19. # filter: (ou=group) #Optional
  20. name_attribute: cn
  21. user_attribute: member
  22. user_id: dn
  23. #[ dn or username ]



--------------------
gry flash online
Dobry hosting i tanie odnowienia domen firma: masternet.
Zarabianie bez wysiłku na domenach bez ruchu: prolink.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 14.08.2025 - 06:20