svn commit: samba r12315 - in trunk/source/smbd: .

vlendec at samba.org vlendec at samba.org
Sun Dec 18 21:00:48 GMT 2005


Author: vlendec
Date: 2005-12-18 21:00:47 +0000 (Sun, 18 Dec 2005)
New Revision: 12315

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12315

Log:
Fix comments
Modified:
   trunk/source/smbd/share_access.c


Changeset:
Modified: trunk/source/smbd/share_access.c
===================================================================
--- trunk/source/smbd/share_access.c	2005-12-18 18:17:46 UTC (rev 12314)
+++ trunk/source/smbd/share_access.c	2005-12-18 21:00:47 UTC (rev 12315)
@@ -134,10 +134,12 @@
 /*
  * Check whether a user is contained in the list provided.
  *
- * Please note that the user name and share names passed in here only for the
- * substitution routines that expand the parameter values, the decision
+ * Please note that the user name and share names passed in here mainly for
+ * the substitution routines that expand the parameter values, the decision
  * whether a user is in the list is done after a lookup_name on the expanded
  * parameter value, solely based on comparing the SIDs in token.
+ *
+ * The other use is the netgroup check when using @group or &group.
  */
 
 BOOL token_contains_name_in_list(const char *username,
@@ -174,10 +176,12 @@
  *
  * This looks at "invalid users", "valid users" and "only user/username"
  *
- * Please note that the user name is passed in here only for the substitution
- * routines that expand the parameter values, the decision whether a user is
- * allowed access is done after a lookup_name on the expanded parameter value,
- * solely based on comparing the SIDs in token.
+ * Please note that the user name and share names passed in here mainly for
+ * the substitution routines that expand the parameter values, the decision
+ * whether a user is in the list is done after a lookup_name on the expanded
+ * parameter value, solely based on comparing the SIDs in token.
+ *
+ * The other use is the netgroup check when using @group or &group.
  */
 
 BOOL user_ok_token(const char *username, struct nt_user_token *token, int snum)
@@ -223,10 +227,12 @@
  *
  * This looks at "invalid users", "valid users" and "only user/username"
  *
- * Please note that the user name is passed in here only for the substitution
- * routines that expand the parameter values, the decision whether a user is
- * allowed access is done after a lookup_name on the expanded parameter value,
- * solely based on comparing the SIDs in token.
+ * Please note that the user name and share names passed in here mainly for
+ * the substitution routines that expand the parameter values, the decision
+ * whether a user is in the list is done after a lookup_name on the expanded
+ * parameter value, solely based on comparing the SIDs in token.
+ *
+ * The other use is the netgroup check when using @group or &group.
  */
 
 BOOL is_share_read_only_for_token(const char *username,



More information about the samba-cvs mailing list