git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84289a9
)
I see no reasons why we should limit username lenght while checking
author
Simo Sorce
<idra@samba.org>
Fri, 14 Dec 2001 18:49:02 +0000
(18:49 +0000)
committer
Simo Sorce
<idra@samba.org>
Fri, 14 Dec 2001 18:49:02 +0000
(18:49 +0000)
see bug 22130
jeremy, probably this should be fixed also in 2_2
source/lib/username.c
patch
|
blob
|
history
diff --git
a/source/lib/username.c
b/source/lib/username.c
index 111a757e4ec97eba2dd0e31ec90897e53d1db710..3562ab3b958a68f57a114c83b645f488fe10bfc3 100644
(file)
--- a/
source/lib/username.c
+++ b/
source/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));