summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/map_username.c1
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] );
}