diff --git a/main.go b/main.go index 23c921a..0d20340 100644 --- a/main.go +++ b/main.go @@ -13,6 +13,7 @@ func main() { baseDN := flag.String("baseDN", "OU=Users,DC=example,DC=com", "Base DN to use when attempting to bind to AD") username := flag.String("username", "user", "Username to use when attempting to bind to AD") password := flag.String("password", "pass", "Password to use when attempting to bind to AD") + flag.Parse() config := &auth.Config{ Server: *server,