You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by la...@apache.org on 1999/06/13 13:44:24 UTC

Re: general/2468: initgroups()

[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]


Synopsis: initgroups()

State-Changed-From-To: feedback-closed
State-Changed-By: lars
State-Changed-When: Sun Jun 13 04:44:23 PDT 1999
State-Changed-Why:
[This is a standard response.]
No response from submitter, assuming issue has been resolved.


Re: general/2468: initgroups()

Posted by Jeff Mahoney <jd...@osfmail.isc.rit.edu>.
	This problem still exists under Digital UNIX 4.0

	The initgroups() that is part of DU returns 1 on error, rather
than the -1 as expected in the source (http_main.c).

	The initgroups() included with the source isn't sufficient, since
the initgroups() that is part of DU uses SIA calls (similar to
Linux/Solaris PAM).

	Perhaps an if( initgroups( name, ap_group_id ) != 0 ) would be
more appropriate than the "if( initgroups( name, ap_group_id ) == -1 )"
already present in src/main/http_main.c.

	-Jeff

--
Jeffrey Mahoney
System Programmer
Information Systems and Computing
Rochester Institute of Technology
Rochester, NY
Ph: 716-475-2258

On Sun, 13 Jun 1999 lars@apache.org wrote:

> [In order for any reply to be added to the PR database, you need]
> [to include <ap...@Apache.Org> in the Cc line and make sure the]
> [subject line starts with the report component and number, with ]
> [or without any 'Re:' prefixes (such as "general/1098:" or      ]
> ["Re: general/1098:").  If the subject doesn't match this       ]
> [pattern, your message will be misfiled and ignored.  The       ]
> ["apbugs" address is not added to the Cc line of messages from  ]
> [the database automatically because of the potential for mail   ]
> [loops.  If you do not include this Cc, your reply may be ig-   ]
> [nored unless you are responding to an explicit request from a  ]
> [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]
> 
> 
> Synopsis: initgroups()
> 
> State-Changed-From-To: feedback-closed
> State-Changed-By: lars
> State-Changed-When: Sun Jun 13 04:44:23 PDT 1999
> State-Changed-Why:
> [This is a standard response.]
> No response from submitter, assuming issue has been resolved.
>