diff options
author | Simo Sorce <idra@samba.org> | 2001-12-14 18:49:02 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2001-12-14 18:49:02 +0000 |
commit | d0614b2e660122c57a660977f554799d08b35ab6 (patch) | |
tree | 8bc883c705a1e255233d88b408ce23c0f5e5d19f /source/lib/username.c | |
parent | 84289a9bf42847981926e198ad36c050904fa9ed (diff) | |
download | samba-d0614b2e660122c57a660977f554799d08b35ab6.tar.gz samba-d0614b2e660122c57a660977f554799d08b35ab6.tar.xz samba-d0614b2e660122c57a660977f554799d08b35ab6.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
Diffstat (limited to 'source/lib/username.c')
-rw-r--r-- | source/lib/username.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/lib/username.c b/source/lib/username.c index 111a757e4ec..3562ab3b958 100644 --- 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)); |