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)
committerVolker Lendecke <vl@samba.org>
Mon, 10 Dec 2012 15:34:22 +0000 (16:34 +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>
source3/auth/token_util.c

index a618e214cf760b15fbcad52d0001d945bcb31043..7c79ef630b23232cef30b665a22be5e0da8fa5e3 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.
 ***************************************************************************/