diff options
Diffstat (limited to 'source3/lib/username.c')
-rw-r--r-- | source3/lib/username.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/username.c b/source3/lib/username.c index ecfd5fef9e..7d66b320ad 100644 --- a/source3/lib/username.c +++ b/source3/lib/username.c @@ -716,9 +716,9 @@ static struct passwd *uname_string_combinations2(char *s,int offset,struct passw for (i=offset;i<(len-(N-1));i++) { char c = s[i]; - if (!islower((int)c)) + if (!islower_ascii((int)c)) continue; - s[i] = toupper(c); + s[i] = toupper_ascii(c); ret = uname_string_combinations2(s,i+1,fn,N-1); if(ret) return(ret); |