new schema initial commit
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-01-08 14:30:16 +11:00
parent 7ecf27f7dc
commit d1eecc5c4f
14 changed files with 631 additions and 149 deletions

View File

@@ -227,7 +227,8 @@ func LookupNamingContext(ldaps *ldap.Conn) string {
return defaultNamingContext
}
func GetLdapGroupMembership(username string, password string) ([]string, error) {
// LdapGetGroupMembership returns a list of distinguishedNames for groups that a user is a member of
func LdapGetGroupMembership(username string, password string) ([]string, error) {
var err error
username = CheckUsername(username)