smbd: remove redundant comment (with typo) from token_contains_name()
authorMichael Adam <obnox@samba.org>
Wed, 3 Aug 2016 22:13:31 +0000 (00:13 +0200)
committerMichael 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

index fa56063ca2bd71c05569eed71b268cf36b20ffd4..3cbf7f318a27b90a46466c233f65134ec2c1fc9f 100644 (file)
@@ -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 );