go-ldap / ldap

Basic LDAP v3 functionality for the GO programming language.
Other
2.25k stars 355 forks source link

Request for more examples #150

Open atselvan opened 6 years ago

atselvan commented 6 years ago

Hi,

Could you please add more example on adding entries, deleting entries, adding a user to a group, etc.

Similar to:

Examples Conn.Bind Conn.Compare Conn.Modify Conn.PasswordModify (Admin) Conn.PasswordModify (GeneratedPassword) Conn.PasswordModify (SetNewPassword) Conn.Search Conn.StartTLS package (Beherappolicy) package (UserAuthentication) package (Vchuppolicy)

Regards, Allan Selvan

johnweldon commented 6 years ago

Agreed, this would be nice. Feel free to suggest some examples in a PR.

p0dalirius commented 1 day ago

Hi,

I am trying to provide a minimum working example on connecting to a Windows Server's LDAP using Kerberos (https://github.com/go-ldap/ldap/issues/536). Hopefully once it works it will be used as an example in the docs.