1
0
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:
Volker Lendecke
2010-04-12 10:34:29 +02:00
parent 49d4dd530f
commit 757766d5af

View File

@ -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] );
}