summaryrefslogtreecommitdiff
path: root/kdc.go
diff options
context:
space:
mode:
Diffstat (limited to 'kdc.go')
-rw-r--r--kdc.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/kdc.go b/kdc.go
index 6ccccff..52ed0de 100644
--- a/kdc.go
+++ b/kdc.go
@@ -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