If it is decided that the group command line switch should work, it look like we need a way of checking if a user is in a group before setting the group.
I started playing around with this. It doesn't look like the AOLserver C API has the right group functions. It looks like the grp.h file would ne
Brett,
I think you would have to factor in the problem of parsing the attribute
name out of the array element name, plus you can't easily search for an
element by name either.
Ns_set supports mulitple attributes with the same name, as well as
attribute order. Arrays mess up the order, that is why
My OS is RedHat linux 8.0. Yes, "ps -eafm" shows all the nsd threads
that I am used to seeing.
Thanks
Nate
Scott S. Goodwin wrote:
What OS are you running on? I believe the more recent versions of Linux have
stopped showing multiple threads as separate entries in ps by default.
Try doing a '
I was messing around writing a small module that retrieved results
differently than the standard way that AS does. I believe that it is
quite a bit quicker than the standard way (i.e. ns_set), but this is the
first time that I have written anything for AS at the C level, so I am
not sure if I am mi
What OS are you running on? I believe the more recent versions of Linux have
stopped showing multiple threads as separate entries in ps by default.
Try doing a 'ps -eafm'. The 'm' tells it to show threads.
/s.
---
Scott S. Goodw
Using garg, the gid is obtained. If this is less than zero, it is
possible that a group number was provided on the command line. This is
converted to an int with atoi. Only if the garg didn't correspond to a
gid is the gid then tested to see if it is the root group (gid == 0), or
as Jim said, atoi
So far things look good. The server continues to respond even after
being up for 12+ hours. It used to stop responding after a day or so.
There is still only one nsd process running. Should there only be one
nsd process when I am running mulptiple threads?! I am used to having a
seperate nsd8x
In a message dated 12/24/2002 11:45:10 AM Eastern Standard Time, [EMAIL PROTECTED] writes:
I'm looking at nsmain.c for the fun of it on Christmas Eve. I don't
understand the difference in the code between the gid and the uid. It
seems like the gid has to be less than zero before it is converted t
The root of what's going on here is that both uarg and garg MAY be a username string or a groupname string. If a username was supplied in uarg, then the name is translated to an int. Also, a username will also yield a groupid (Ns_GetUserGid). If it wasn't a name, Ns_GetUid returns -1, and the co
I'm looking at nsmain.c for the fun of it on Christmas Eve. I don't
understand the difference in the code between the gid and the uid. It
seems like the gid has to be less than zero before it is converted to an
int using atoi. Then it is compared to zero. In the uid case, the uid is
always compare
On Monday 23 December 2002 23:51, Marc Spitzer wrote:
> Lamar Owen <[EMAIL PROTECTED]> wrote:
> > Having been no bug reports on 3.5beta1, 3.5 is now released. The only
> > change from 3.5beta1 is to comments, the README, and the ChangeLog.
> > No code has changed.
> will this work with the aolser
11 matches
Mail list logo