summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/auth_unix.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/source4/auth/auth_unix.c b/source4/auth/auth_unix.c
index 97c941a2a5..f49a92a35f 100644
--- a/source4/auth/auth_unix.c
+++ b/source4/auth/auth_unix.c
@@ -564,30 +564,6 @@ static NTSTATUS password_check(const char *username, const char *password,
#endif /* HAVE_BIGCRYPT && HAVE_CRYPT && USE_BOTH_CRYPT_CALLS */
}
-/**
- Does a string have any lowercase chars in it?
-**/
-static BOOL strhaslower(const char *s)
-{
- while (*s) {
- if (islower(*s)) return True;
- s++;
- }
- return False;
-}
-
-/**
- Does a string have any uppercase chars in it?
-**/
-static BOOL strhasupper(const char *s)
-{
- while (*s) {
- if (isupper(*s)) return True;
- s++;
- }
- return False;
-}
-
static NTSTATUS check_unix_password(TALLOC_CTX *ctx, const struct auth_usersupplied_info *user_info)
{
char *username;