diff options
author | Volker Lendecke <vl@samba.org> | 2010-04-12 10:34:29 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-04-12 13:09:08 +0200 |
commit | 757766d5af54e116bb08f0d825e51741f3ee9e05 (patch) | |
tree | a61f071cd420e5597fb0621e171fb2cffa2c8eca | |
parent | 49d4dd530f3983de2e538e07b32e1c3df4efa649 (diff) | |
download | samba-757766d5af54e116bb08f0d825e51741f3ee9e05.tar.gz samba-757766d5af54e116bb08f0d825e51741f3ee9e05.tar.bz2 samba-757766d5af54e116bb08f0d825e51741f3ee9e05.zip |
s3: Cache the result of the username map script
-rw-r--r-- | source3/smbd/map_username.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/map_username.c b/source3/smbd/map_username.c index 47aa54d2ba..8b1e1dbd7c 100644 --- a/source3/smbd/map_username.c +++ b/source3/smbd/map_username.c @@ -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] ); } |