diff options
author | Luke Leighton <lkcl@samba.org> | 1998-05-05 09:04:49 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-05-05 09:04:49 +0000 |
commit | f601e6e0484d77d2c43eab05f80bccf28c9055aa (patch) | |
tree | 6fc8bd8fd79ec7f051b98740c4dc4007973ecdd4 /source3/rpc_server | |
parent | 20fa298e020027ee8e0a95d91398a18aaa56afff (diff) | |
download | samba-f601e6e0484d77d2c43eab05f80bccf28c9055aa.tar.gz samba-f601e6e0484d77d2c43eab05f80bccf28c9055aa.tar.bz2 samba-f601e6e0484d77d2c43eab05f80bccf28c9055aa.zip |
patches from jean francois: couple of minor bugs
(This used to be commit 532b3956c66eda1b7e787b1c6906bcf574f66216)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_util.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_util.c b/source3/rpc_server/srv_util.c index 90a811e490..898269dc4a 100644 --- a/source3/rpc_server/srv_util.c +++ b/source3/rpc_server/srv_util.c @@ -401,9 +401,8 @@ uint32 lookup_user_name(uint32 rid, char *user_name, uint32 *type) return 0x0; } - DEBUG(5,(" uid: %d", unix_uid)); - unix_uid = uid_to_user_rid(rid); + DEBUG(5,(" uid: %d", unix_uid)); /* ok, it's a user. find the user account */ become_root(True); |