diff --git a/ldap.go b/ldap.go index 84d1745..d2b372e 100644 --- a/ldap.go +++ b/ldap.go @@ -10,6 +10,7 @@ import ( func createLDAPAccount(uname string, pwd string, email string) error { if uname == "" || pwd == "" || email == "" { + log.Printf("error: missing field\n") return errors.New("Missing field") } url := Conf.Ldap.Url