mirror of
https://github.com/samba-team/samba.git
synced 2025-08-24 21:49:29 +03:00
s3: Cache the result of the username map script
This commit is contained in:
@ -125,6 +125,7 @@ bool map_username(struct smbd_server_connection *sconn, fstring user)
|
||||
|
||||
if (numlines && qlines) {
|
||||
DEBUG(3,("Mapped user %s to %s\n", user, qlines[0] ));
|
||||
set_last_from_to(user, qlines[0]);
|
||||
fstrcpy( user, qlines[0] );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user