We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
use ldap with tls to change user password get error,but chang user attribute no problem.
conn, err = ldap.DialURL(fmt.Sprintf("ldap://%s:%d", ldap_host, ldap_port)) if err != nil { log.Fatalf("dial connection error::::%v", err) return } err = conn.StartTLS(&tls.Config{ InsecureSkipVerify: true, }) if err != nil { log.Fatalf("ldap tls error::::%v", err) } err = conn.Bind(ldap_admin, ldap_pwd) if err != nil { log.Fatalf("bind admin user error::::%v", err) } searchrequest := ldap.NewSearchRequest( baseDN, ldap.ScopeWholeSubtree, ldap.NeverDerefAliases, 0, 0, false, fmt.Sprintf(Filter, search_name, search_name), []string{}, []ldap.Control{}) res, err := conn.Search(searchrequest) if err != nil { log.Fatalf("search error::::%v", err) } if len(res.Entries) != 1 { log.Fatalf("search username error::::%v", search_name) }
error is
LDAP Result Code 2 "Protocol Error": 0000203D: LdapErr: DSID-0C0911AA, comment: Unknown extended request OID, data 0, v3839
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
use ldap with tls to change user password get error,but chang user attribute no problem.
error is
The text was updated successfully, but these errors were encountered: