diff options
Diffstat (limited to 'kdc.go')
-rw-r--r-- | kdc.go | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -44,15 +44,6 @@ func checkKerberosDuplicatePw(suffix, username, password string) error { return fmt.Errorf("Password already used with: %s account", suffix) } -func containsEither(what string, substr ...string) bool { - for _, str := range substr { - if strings.Contains(what, str) { - return true - } - } - return false -} - func ChangeKerberosPw(suffix, username, new_password string) error { kerberos_uid := fmt.Sprintf("%s%s", username, suffixMap[suffix]) // call script |