<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Feb 13, 2010, at 8:33 AM, John A. Sullivan III wrote:</div><blockquote type="cite"><div><font class="Apple-style-span" color="#000000">...</font></div></blockquote><blockquote type="cite"><div>Thank you for such a swift reply.  No, the groups are not duplicated.  What should I look at next? Thanks - John<br></div></blockquote></div><div><br></div>You can run cupsd with the LogLevel set to "debug2", which will yield lines with "cupsdCheckGroup" in the error_log file - verify that the username and group name are coming through properly.<div><br></div><div>If so, you could try a short program to verify that getgrnam returns something, e.g.:</div><div><br></div><div>    #include <stdio.h></div><div>    #include <grp.h></div><div><br></div><div>    int main(void)</div><div>    {</div><div>      struct group *group = getgrnam("yourgroupname");</div><div><br></div><div>      if (group)</div><div>      {</div><div>        int i;</div><div>        printf("gr_name=\"%s\"\n", group->gr_name);</div><div>        printf("gr_passwd=\"%s\"\n", group->gr_passwd);</div><div>        printf("gr_gid=%d\n", (int)group->gr_gid);</div><div>        puts("gr_mem=");</div><div>        for (i = 0; group->gr_mem[i]; i ++)</div><div>          printf("  \"%s\"\n", group->gr_mem[i]);</div><div>      }</div><div>      else</div><div>        puts("NOT FOUND");</div><div><br></div><div>      return (0);</div><div>    }</div><div><div><br class="webkit-block-placeholder"></div><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div>___________________________________________________</div><div>Michael Sweet, Senior Printing System Engineer</div><div><br></div></span><br class="Apple-interchange-newline">
</div>
<br></div></body></html>