summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2001-12-14 18:49:02 +0000
committerSimo Sorce <idra@samba.org>2001-12-14 18:49:02 +0000
commitee33b2d3e2197a701aa853c4239b68c292c44988 (patch)
treeb11c716aee4fe46a8b30cd531a4e16aa2e74267b
parent689144c631da01b4532ade7feb222e94bd8678ac (diff)
downloadsamba-ee33b2d3e2197a701aa853c4239b68c292c44988.tar.gz
samba-ee33b2d3e2197a701aa853c4239b68c292c44988.tar.bz2
samba-ee33b2d3e2197a701aa853c4239b68c292c44988.zip
I see no reasons why we should limit username lenght while checking
see bug 22130 jeremy, probably this should be fixed also in 2_2 (This used to be commit d0614b2e660122c57a660977f554799d08b35ab6)
-rw-r--r--source3/lib/username.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/lib/username.c b/source3/lib/username.c
index 111a757e4e..3562ab3b95 100644
--- a/source3/lib/username.c
+++ b/source3/lib/username.c
@@ -551,10 +551,6 @@ static struct passwd *uname_string_combinations2(char *s,int offset,struct passw
int i;
struct passwd *ret;
-#ifdef PASSWORD_LENGTH
- len = MIN(len,PASSWORD_LENGTH);
-#endif
-
if (N <= 0 || offset >= len)
return(fn(s));