git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83e7c62
)
s3: Cache the result of the username map script
author
Volker Lendecke
<vl@samba.org>
Mon, 12 Apr 2010 08:34:29 +0000
(10:34 +0200)
committer
Volker Lendecke
<vl@samba.org>
Tue, 13 Apr 2010 06:57:25 +0000
(08:57 +0200)
source3/smbd/map_username.c
patch
|
blob
|
history
diff --git
a/source3/smbd/map_username.c
b/source3/smbd/map_username.c
index c305a9e3d6023e333cf51c10a7f97485b53d881e..468e20ad129f6b6aff377984b6b77c813976df41 100644
(file)
--- a/
source3/smbd/map_username.c
+++ b/
source3/smbd/map_username.c
@@
-125,6
+125,7
@@
bool map_username(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] );
}