mirror of
https://github.com/samba-team/samba.git
synced 2025-11-27 08:23:49 +03:00
BUG 417: fix %UuGg variables expansion in include lines setging the current_user_info struct in register_vuid() -- shouldn't be any more broken than we were
This commit is contained in:
@@ -283,6 +283,11 @@ struct passwd *Get_Pwnam(const char *user)
|
||||
fstring user2;
|
||||
struct passwd *ret;
|
||||
|
||||
if ( *user == '\0' ) {
|
||||
DEBUG(10,("Get_Pwnam: empty username!\n"));
|
||||
return NULL;
|
||||
}
|
||||
|
||||
fstrcpy(user2, user);
|
||||
|
||||
DEBUG(5,("Finding user %s\n", user));
|
||||
|
||||
Reference in New Issue
Block a user