git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14a2096
)
smbd: remove redundant comment (with typo) from token_contains_name()
author
Michael Adam
<obnox@samba.org>
Wed, 3 Aug 2016 22:13:31 +0000
(
00:13
+0200)
committer
Michael Adam
<obnox@samba.org>
Thu, 4 Aug 2016 16:26:07 +0000
(18:26 +0200)
The code says it all.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/smbd/share_access.c
patch
|
blob
|
history
diff --git
a/source3/smbd/share_access.c
b/source3/smbd/share_access.c
index fa56063ca2bd71c05569eed71b268cf36b20ffd4..3cbf7f318a27b90a46466c233f65134ec2c1fc9f 100644
(file)
--- a/
source3/smbd/share_access.c
+++ b/
source3/smbd/share_access.c
@@
-91,8
+91,6
@@
static bool token_contains_name(TALLOC_CTX *mem_ctx,
smb_panic("substitutions failed");
}
- /* check to see is we already have a SID */
-
if ( string_to_sid( &sid, name ) ) {
DEBUG(5,("token_contains_name: Checking for SID [%s] in token\n", name));
return nt_token_check_sid( &sid, token );