Displaying 2 results from an estimated 2 matches for "member_list".
2000 Jan 04
0
two-level getgrent bug in samba-2.0.6 (PATCH#11)
...&& *member) {
+ if (strequal(gptr->gr_name,group))
+ break;
+ }
+
+ /*
+ * As user_ok can recurse doing a getgrent(), we must
+ * copy the member list into a pstring on the stack before
+ * use. Bug pointed out by leon@eatworms.swmed.edu.
+ */
+
+ if (gptr) {
+ pstring member_list;
+ char *member;
+ size_t copied_len = 0;
+ int i;
+
+ *member_list = '\0';
+ member = member_list;
+
+ for(i = 0; gptr->gr_mem && gptr->gr_mem[i]; i++) {
+ size_t member_len = strlen(gptr->gr_mem[i]) + 1;
+ if( copied_len + member_len < sizeof(pstring)...
2006 Jan 13
2
Select multiple question
I''ve got the following code in my view:
<select name="user[member_list][]" multiple="multiple">
<%= options_from_collection_for_select @someUsers, "id", "username" %>
</select>
I have a few other fields, textboxes, etc. within the form. When I go
to save the info, the textboxes all save with their content, but the...