s3:auth: fix header comment for user_sid_in_group_sid()
authorMichael Adam <obnox@samba.org>
Mon, 10 Dec 2012 13:48:43 +0000 (14:48 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 11 Dec 2012 08:05:08 +0000 (09:05 +0100)
This function was created in 1c3c5e2156d9096f60bd53a96b88c2f1001d898a
and the header comment contained copy'n'paste errors from the original
function user_in_group_sid() that took the user name.

Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 0770a4c01bef26ec51321cd5b97aea4eab9e00a8)

source3/auth/token_util.c

index aad34cbfbc2ccf1872601c7a35bad8f5a56a5527..af10b24dcb9308af141cf8437111c3cf5abf5148 100644 (file)
@@ -845,9 +845,9 @@ done:
 }
 
 /***************************************************************************
- Build upon create_token_from_username:
+ Build upon create_token_from_usersid:
 
- Expensive helper function to figure out whether a user given its name is
+ Expensive helper function to figure out whether a user given its sid is
  member of a particular group.
 ***************************************************************************/