Guest User

Untitled

a guest
Nov 20th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. Here is an example of user in database:
  2.  
  3. ```
  4. MariaDB [owncloud]> select * from oc_ldap_user_mapping where ldap_dn like 'uid=cle-jehan,%' limit 10\G
  5. *************************** 1. row ***************************
  6. ldap_dn: uid=cle-jehan,ou=personnels en,ou=ac-versailles,ou=education,o=gouv,c=fr
  7. owncloud_name: 8891ce57-1dd211b2-80000000-00000000
  8. directory_uuid: 8891ce57-1dd211b2-80000000-00000000
  9. 1 row in set (0.00 sec)
  10. ```
  11.  
  12. And here is the LDAP search seen in the log of LDAP server:
  13.  
  14. ```cfg
  15. [20/Nov/2018:11:43:47 +0100] conn=154634333 op=25 msgId=26 -
  16. SRCH base="ou=ac-versailles,ou=education,o=gouv,c=fr"
  17. scope=2 filter="(uid=8891ce57-1dd211b2-80000000-00000000)" ### <===== Instead of uid=cle-jehan?!?
  18. attrs="dn uid samaccountname memberOf cloudQuotaVrs mail cn jpegPhoto thumbnailphoto"
  19. ```
  20. Why the uid is not used during the LDAP search?
Add Comment
Please, Sign In to add comment