From Redhat, 1 Year ago, written in Plain Text.
This paste is a reply to Linux from Redhat - view diff
  1. [root@sal-lnx01 ~]# ldapsearch -xLLL uid=maheshwar.reddy ++
  2. dn: uid=maheshwar.reddy,ou=users,o=redhot,dc=redhot,dc=com
  3.  
  4.  
  5. [root@sal-lnx01 ~]# ldapsearch -x -b cn=ldap_writers,ou=access_control,o=redhot,dc=redhot,dc=com
  6. # extended LDIF
  7. #
  8. # LDAPv3
  9. # base <cn=ldap_writers,ou=access_control,o=redhot,dc=redhot,dc=com> with scope subtree
  10. # filter: (objectclass=*)
  11. # requesting: ALL
  12. #
  13.  
  14. # ldap_writers, access_control, redhot, redhot.com
  15. dn: cn=ldap_writers,ou=access_control,o=redhot,dc=redhot,dc=com
  16. cn: ldap_writers
  17. objectClass: organizationalRole
  18. description: Grants full LDAP write access
  19. roleOccupant: uid=maheshwar.reddy,ou=users,o=redhot,dc=redhot,dc=com
  20.  
  21. # search result
  22. search: 2
  23. result: 0 Success
  24.  
  25. # numResponses: 2
  26. # numEntries: 1
  27.  
  28.  
  29. [root@sal-lnx01 ~]# slapcat -n0 | tail -n15
  30. creatorsName: cn=config
  31. createTimestamp: 20161008143649Z
  32. olcRootPW:: e1NTSEF9QWlkZmJSeS8vb0NEVmJ0KzdlNDFIbVcxUmc3WFhBbHk=
  33. olcAccess: {0}to attrs=userPassword,shadowLastChange by dn="cn=Manager,dc=re
  34.  dhot,dc=com" write by anonymous auth by self write by * none
  35. olcAccess: {1}to dn.base="" by * read
  36. olcAccess: {2}to * by dn="cn=Manager,dc=redhot,dc=com" write by * read
  37. olcAccess: {3}to * by group/organizationalRole/roleOccupant="cn=ldap_writers
  38.  ,ou=access_control,o=redhot,dc=redhot,dc=com" write
  39. olcSuffix: dc=redhot,dc=com
  40. olcRootDN: cn=Manager,dc=redhot,dc=com
  41. entryCSN: 20161017124350.966527Z#000000#000#000000
  42. modifiersName: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
  43. modifyTimestamp: 20161017124350Z
  44.  
  45.  
  46. [root@sal-lnx01 ~]# cat org-grant.ldif
  47. dn: olcDatabase={2}bdb,cn=config
  48. changetype: modify
  49. add: olcAccess
  50. olcAccess: to * by group/organizationalRole/roleOccupant="cn=ldap_writers,ou=access_control,o=redhot,dc=redhot,dc=com" write
  51.  
  52.  

Replies to Re: Linux rss

Title Name Language When
Re: Re: Linux Redhat text 1 Year ago.
captcha