summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-11-09 09:16:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:45:56 -0500
commit5b28800103f4fd286d3698348fdab12e5fb3150a (patch)
tree480159ad0de07fad365305d6cfe4545e95f1e4a9 /source4
parent177a098731d040f83cef1153b6031fb5a4977e8b (diff)
downloadsamba-5b28800103f4fd286d3698348fdab12e5fb3150a.tar.gz
samba-5b28800103f4fd286d3698348fdab12e5fb3150a.tar.bz2
samba-5b28800103f4fd286d3698348fdab12e5fb3150a.zip
r11599: remove local (and broken) version of strhaslower() strhasupper()
metze (This used to be commit 35e17abb8763e4d90725d007fefa76965260c124)
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;