Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set "referrals" and "controls" in response ? #33

Open
billy60324 opened this issue Nov 19, 2020 · 2 comments
Open

How to set "referrals" and "controls" in response ? #33

billy60324 opened this issue Nov 19, 2020 · 2 comments

Comments

@billy60324
Copy link

I used example code to implement search function, but the response have only "Entries". How can I set value into "Referrals" and "Controls". If anyone have solution, please tell me. Thanks.

@billy60324
Copy link
Author

I find that in funtion handleSearch, parameter m(*ldap,Nessage) had correct "controls" value but I got empty "contorls" value at LDAP client. Is that a bug about response writer did not write "controls" value into response ?

@billy60324
Copy link
Author

In client.go at LINE 79, your msg will always recieve nil "controls" value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant