svn commit: samba r15925 - in trunk/source: include rpc_server
vlendec at samba.org
vlendec at samba.org
Sun May 28 16:24:39 GMT 2006
Author: vlendec
Date: 2006-05-28 16:24:37 +0000 (Sun, 28 May 2006)
New Revision: 15925
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15925
Log:
In the last commit I errnoneously removed setting pipe_user_name. But I think
3 debug messages don't justify keeping this around.
Volker
Modified:
trunk/source/include/ntdomain.h
trunk/source/rpc_server/srv_samr_nt.c
Changeset:
Modified: trunk/source/include/ntdomain.h
===================================================================
--- trunk/source/include/ntdomain.h 2006-05-28 16:06:56 UTC (rev 15924)
+++ trunk/source/include/ntdomain.h 2006-05-28 16:24:37 UTC (rev 15925)
@@ -237,7 +237,6 @@
* Unix user name and credentials used when a pipe is authenticated.
*/
- fstring pipe_user_name;
struct current_user pipe_user;
DATA_BLOB session_key;
Modified: trunk/source/rpc_server/srv_samr_nt.c
===================================================================
--- trunk/source/rpc_server/srv_samr_nt.c 2006-05-28 16:06:56 UTC (rev 15924)
+++ trunk/source/rpc_server/srv_samr_nt.c 2006-05-28 16:24:37 UTC (rev 15925)
@@ -2498,7 +2498,8 @@
}
DEBUG(5, ("_samr_create_user: %s can add this account : %s\n",
- p->pipe_user_name, can_add_account ? "True":"False" ));
+ uidtoname(p->pipe_user.ut.uid),
+ can_add_account ? "True":"False" ));
/********** BEGIN Admin BLOCK **********/
@@ -3366,7 +3367,8 @@
}
DEBUG(5, ("_samr_set_userinfo: %s does%s possess sufficient rights\n",
- p->pipe_user_name, has_enough_rights ? "" : " not"));
+ uidtoname(p->pipe_user.ut.uid),
+ has_enough_rights ? "" : " not"));
/* ================ BEGIN SeMachineAccountPrivilege BLOCK ================ */
@@ -3518,7 +3520,8 @@
}
DEBUG(5, ("_samr_set_userinfo2: %s does%s possess sufficient rights\n",
- p->pipe_user_name, has_enough_rights ? "" : " not"));
+ uidtoname(p->pipe_user.ut.uid),
+ has_enough_rights ? "" : " not"));
/* ================ BEGIN SeMachineAccountPrivilege BLOCK ================ */
More information about the samba-cvs
mailing list