login should cache primarygroupid and memberof
Open
@butonic is already working on this.
Since Apr 12, 2018.
- Dominant language
- PHP
- Stars
- 17
- Forks
- 19
- Avg merge
- 11h 40m
- Merged PRs (30d)
- 2
Description
or rather we should not need to fetch them subsequently:
bin ./devldap -d ~/go/src/github.com/butonic/devldap/data-ad-multi-base-dn.json -l :10389 2>&1 | grep "Request "
grep User=
2018/04/12 15:12:02 <<< 1 - BindRequest - hex=&{302b0201016026020103041a636e3d61646d696e2c64633d6578616d706c652c64633d6f7267800561646d696e}
2018/04/12 15:12:02 <<< 1 - SearchRequest - hex=&{3081ce0201026381c8041a6f753d75736572732c64633d6578616d706c652c64633d6f72670a01020a0100020100020100010100a030a31c040b6f626a656374636c617373040d696e65744f7267506572736f6ea3100402636e040a7a6f6d6269653130303030690402646e0403756964040e73616d6163636f756e746e616d6504086d656d6265726f6604046d61696c040b646973706c61794e616d6504066f63686f6d650402636e040a6f626a6563746775696404096a70656770686f746f040e7468756d626e61696c70686f746f}
2018/04/12 15:12:02 Request BaseDn=ou=users,dc=example,dc=org
2018/04/12 15:12:02 Request Filter=[{objectclass inetOrgPerson} {cn zombie1000}]
2018/04/12 15:12:02 Request FilterString=(&(objectclass=inetOrgPerson)(cn=zombie1000))
2018/04/12 15:12:02 Request Attributes=[dn uid samaccountname memberof mail displayName ochome cn objectguid jpegphoto thumbnailphoto]
2018/04/12 15:12:02 Request TimeLimit=0
2018/04/12 15:12:02 Request Controls=<nil>
2018/04/12 15:12:02 <<< 2 - BindRequest - hex=&{303702010160320201030428636e3d7a6f6d626965313030302c6f753d75736572732c64633d6578616d706c652c64633d6f72678003313233}
2018/04/12 15:12:02 <<< 2 - UnbindRequest - hex=&{30050201024200}
2018/04/12 15:12:02 <<< 1 - SearchRequest - hex=&{30818302010363580428636e3d7a6f6d626965313030302c6f753d75736572732c64633d6578616d706c652c64633d6f72670a01000a0100020100020100010100870b6f626a656374436c6173733010040e7072696d61727967726f75706964a02430220416312e322e3834302e3131333535362e312e342e33313904083006020201f40400}
2018/04/12 15:12:02 Request BaseDn=cn=zombie1000,ou=users,dc=example,dc=org
2018/04/12 15:12:02 Request Filter=objectClass
2018/04/12 15:12:02 Request FilterString=(objectClass=*)
2018/04/12 15:12:02 Request Attributes=[primarygroupid]
2018/04/12 15:12:02 Request TimeLimit=0
2018/04/12 15:12:02 Request Controls=&[{controlType:1.2.840.113556.1.4.319 criticality:false controlValue:0xc42010a0c0}]
2018/04/12 15:12:02 <<< 1 - SearchRequest - hex=&{307d02010463520428636e3d7a6f6d626965313030302c6f753d75736572732c64633d6578616d706c652c64633d6f72670a01000a0100020100020100010100870b6f626a656374436c617373300a04086d656d6265726f66a02430220416312e322e3834302e3131333535362e312e342e33313904083006020201f40400}
2018/04/12 15:12:02 Request BaseDn=cn=zombie1000,ou=users,dc=example,dc=org
2018/04/12 15:12:02 Request Filter=objectClass
2018/04/12 15:12:02 Request FilterString=(objectClass=*)
2018/04/12 15:12:02 Request Attributes=[memberof]
2018/04/12 15:12:02 Request TimeLimit=0
2018/04/12 15:12:02 Request Controls=&[{controlType:1.2.840.113556.1.4.319 criticality:false controlValue:0xc4201799c0}]
2018/04/12 15:12:02 <<< 1 - SearchRequest - hex=&{30818002010563550428636e3d686f726465313030302c6f753d67726f7570732c64633d6578616d706c652c64633d6f72670a01000a0100020100020100010100a314040b6f626a656374636c617373040567726f757030040402636ea02430220416312e322e3834302e3131333535362e312e342e33313904083006020201f40400}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.