search for: getgroup

Displaying 20 results from an estimated 354 matches for "getgroup".

Did you mean: getgroups
2003 May 22
1
basic question on getGroups for lme analyses
...evels) and two random effects for "Individuals" (four of them) within "treatment" and "replicate -2 levels-" within "individual" within "treatment". For doing so, I´ve been trying to create a factor for Individual%in%Treatment, say IT by Hongos$IT=getGroups(~1|Treatment/Individual, data=hongos1, level=4) but I got the following error: Error in getGroups(~1 | Treatment/Individual, data = hongos1, level = 4) : no applicable method for "getGroups" I've been trying some other things but nothing seem to work, probably because I...
2004 Feb 20
1
NGROUPS_MAX on Linux
...rily_use_uid_effective = 0; -static gid_t saved_egroups[NGROUPS_MAX], user_groups[NGROUPS_MAX]; +static gid_t *saved_egroups, *user_groups; static int saved_egroupslen = -1, user_groupslen = -1; /* @@ -68,17 +68,27 @@ privileged = 1; temporarily_use_uid_effective = 1; - saved_egroupslen = getgroups(NGROUPS_MAX, saved_egroups); + + saved_egroupslen = getgroups(0, NULL); if (saved_egroupslen < 0) fatal("getgroups: %.100s", strerror(errno)); + saved_egroups = xrealloc(saved_egroups, + saved_egroupslen * sizeof(*saved_egroups)); + if (getgroups(saved_egroupslen, saved_egrou...
2004 Jun 26
1
S4 group "Math", "getGroupMembers", "genericForPrimitive"
...'t work. See example code below. Moreover, what about 'genericForPrimitive' which is used in 'getGeneric'. It seems that this method is not included in the R Version 1.9.1 (also 1.9.0). See the example code of John Chambers at the end of this email. Why not add the method 'getGroupMembers' as proposed by John Chambers to the methods package? (see reply to mail: "Missing 'getGroupMembers()'" from Sat May 31 2003 - 15:18:18 EDT) Thanks for your attention, Matthias ################################################### ## Example Code #####################...
2003 Jul 01
1
crossed random effects
...ct) pop (fixed effect) mum (random effect nested within population) iheight (covariate) plot (random effect- whole plot factor for split-plot design). I want to see if moist or sub interacts with mum for any of the pops, but I am getting an error message. This is the formula I used: fm$pmu <- getGroups(fm, ~1|pop/mum, level=2) fm$grp = as.factor(rep(1,nrow(fm))) fm$pl <- getGroups(fm, ~1|plot) fm$mo <- getGroups(fm, ~1|moist) fm$su <- getGroups(fm, ~1|sub) > fm1 <- lme(sqrt(mass) ~ iheight + moist*sub*pop, data=fm, random=list(grp=pdBlocked(list(pdIdent(~pl - 1), pdIdent(~pmu - 1)...
2005 Apr 20
0
Habituation model : several sequences in several sessions, should I use getGroups?
...new to R and stats but I am learning... I don't have any R-guru around me so maybe I am really doing it the wrong way... As I measure the same dog several times, I am doing a repeated measures so I use the nlme package. The minute factor is nested in the session factor so I use the function getGroups. Here is my script : treadmill$Time=getGroups (treadmill,form=~1|Session/Minute, level=2) Habituation <- lme (fixed=Peak~Time,data=treadmill,random=~1|Dog/Session/Minute) This seems to work as I get the random effects of Dog, Session in Dog, Minute in Session in Dog and the fixed effects of...
2001 Apr 25
0
NeXT // Broken _POSIX_SAVED_ID patch
...w->pw_gid, saved_euid); - if (saved_euid != 0) { - privileged = 0; - return; - } - privileged = 1; - temporarily_use_uid_effective = 1; + /* Save the current euid, and egroups. */ +#ifdef SAVED_IDS_WORK_WITH_SETEUID + saved_euid = geteuid(); saved_egid = getegid(); - saved_egroupslen = getgroups(NGROUPS_MAX, saved_egroups); - if (saved_egroupslen < 0) - fatal("getgroups: %.100s", strerror(errno)); - - /* set and save the user's groups */ - if (user_groupslen == -1) { - if (initgroups(pw->pw_name, pw->pw_gid) < 0) - fatal("initgroups: %s: %.100s&quo...
2003 Jan 16
1
Possible patch for Irix Makefile problem
...--- old/rsync/Makefile.in Thu Jan 16 16:06:00 2003 +++ new/rsync/Makefile.in Thu Jan 16 16:14:29 2003 @@ -43,8 +43,13 @@ OBJS=$(OBJS1) $(OBJS2) $(OBJS3) $(DAEMON TLS_OBJ = tls.o syscall.o lib/permstring.o # Programs we must have to run the test cases -CHECK_PROGS = rsync$(EXEEXT) tls$(EXEEXT) getgroups$(EXEEXT) \ - trimslash$(EXEEXT) t_unsafe$(EXEEXT) +RSYNC_EXE=rsync$(EXEEXT) +TLS_EXE=tls$(EXEEXT) +GETGROUPS_EXE=getgroups$(EXEEXT) +TRIMSLASH_EXE=trimslash$(EXEEXT) +T_UNSAFE_EXE=t_unsafe$(EXEEXT) +CHECK_PROGS=$(RSYNC_EXE) $(TLS_EXE) $(GETGROUPS_EXE) \ + $(TRIMSLASH_EXE) $(T_UNSAFE_EXE)...
2019 Jun 30
2
Possibly Missing Syscalls from Seccomp Filter
Hi! I'm investigating the seccomp filter in openssh and I wanted to know whether the following system calls should be added to the filter: 1. getgroups - do_authentication2->dispatch_run_fatal->sshpkt_fatal->logdie->cleanup_exit->do_cleanup->temporarily_use_uid->getgroups 2. setgroups - do_authentication2->ssh_dispatch_run_fatal->sshpkt_fatal->logdie->cleanup_exit->do_cleanup->temporarily_use_uid-&gt...
2019 Oct 03
0
Samba winbind getgroups lookup
...throwing call to winbind to retrieve > the groups for "root" user. I wonder why it does and what can be done > to make it stop doing that. I believe it should do the lookup only for > the domain/AD users. > > [2019/10/02 17:00:01.952225, 3] > ../source3/winbindd/winbindd_getgroups.c:60(winbindd_getgroups_send) > getgroups root > > > samba-winbind-4.4.4-14.el7_3.x86_64 > > > # cat /etc/nsswitch.conf | grep winbind > passwd: files winbind > shadow: files winbind > group: files winbind > > > > > cat /etc/samba/smb.conf > [global]...
2003 May 22
0
getGroups, nested mixed model
...nce, /Jose hongos1=read.table("c:/temp/hongos1.txt", header=T) > attach(hongos1) > Tra=factor(Tra) > Ind=factor(Ind) > Rep=factor(Rep) > names(hongos1) [1] "Esp" "Tra" "Ind" "Rep" "Are" "Cre" > hongos1$TraInd= getGroups(hongos1, form = ~1|Tra/Ind, level = 2) > model=lme(Cre~Tra,random=~1|Tra/Ind/Rep) > summary(model) Linear mixed-effects model fit by REML Data: NULL AIC BIC logLik 30.88467 41.5423 -7.442334 Random effects: Formula: ~1 | Tra (Intercept) StdDev: 0.07849531 Formu...
2011 Feb 28
0
lme error message: Error in getGroups.data.frame(dataMix, groups) :
Windows XP R 2.10 I am trying to run lme and get the following error: > fitRandom <- lme(values ~ subject, + data=withindata) Error in getGroups.data.frame(dataMix, groups) : Invalid formula for groups my data follows, below which is a copy of all my code > > print(withindata) subject values 1 1 2.3199639 2 1 -8.5795802 3 1 -4.1901241 4 1 0.4588128 5 1 16.9128232 6 1 8...
2000 Mar 14
1
Error in lme? (PR#488)
Full_Name: Simon Frost Version: 1.0.0 OS: Windows Submission from: (NULL) (129.215.60.79) Hi everyone, I've just installed R for Windows - I've previously been using it on Linux - and I've run into a problem when using lme. The lme routine throws up an error in the getGroups.data.frame command, complaining about an error in the formula: Error in getGroups.data.frame(dataMix, groups) : Invalid formula for groups getGroups works just fine, and I haven't run into this problem previously. Any ideas? Best wishes Simon -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-...
2008 Sep 23
1
Create groups from data to compute lm?
...FRAC PROX_MN ENN_MN CONTAG pfor purban 1 1.440 319.6529 114.8314 62.0965 69.4891 12.3124 2 1.467 396.1949 105.3712 52.9186 38.1179 15.1906 I tried using: all.lm <- (pfor~PD, data = all, subset=(ex_bin==250)) but this resulted in a bogus analysis filed with 'NAs'. I then tried to use getGroups. > all.group <- getGroups(data=all, ex_bin ='250') Error in getGroups(data = all, ex_bin = "250") : unused argument(s) (ex_bin = "250") Again, no success. I am approaching this correctly? Thank you kindly, Regards, M Just [[alternative HTML version de...
2005 Apr 25
1
wbinfo -t fails but other wbinfo and getent items work.
.../04/25 14:40:01, 3] nsswitch/winbindd_misc.c:winbindd_interface_version(261) [27086]: request interface version [2005/04/25 14:40:01, 3] nsswitch/winbindd_misc.c:winbindd_priv_pipe_dir(297) [27086]: request location of privileged pipe [2005/04/25 14:40:01, 3] nsswitch/winbindd_group.c:winbindd_getgroups(1004) [27086]: getgroups root [2005/04/25 14:40:01, 3] nsswitch/winbindd_misc.c:winbindd_interface_version(261) [27087]: request interface version [2005/04/25 14:40:01, 3] nsswitch/winbindd_misc.c:winbindd_priv_pipe_dir(297) [27087]: request location of privileged pipe [2005/04/25 14:40:01,...
2002 Mar 13
2
Dark Secret of Winbind
First of all hello to everybody on this list. Question 1: I?m having a little (?) problem with winbind. To be short here is the situation: Runnign w2k AD on native mode. Linux box is Red Hat 7.2 with 2.4 kernel. Authentication from my W2K Active Directory server fails. I get following outputs with commands--> wbinfo -t --> secret is bad 0x000001 wbinfo -u --> Error looking up domain
2019 Oct 03
2
Samba winbind getgroups lookup
...the logs, I see that NSS is throwing call to winbind to retrieve the groups for "root" user. I wonder why it does and what can be done to make it stop doing that. I believe it should do the lookup only for the domain/AD users. [2019/10/02 17:00:01.952225, 3] ../source3/winbindd/winbindd_getgroups.c:60(winbindd_getgroups_send) getgroups root samba-winbind-4.4.4-14.el7_3.x86_64 # cat /etc/nsswitch.conf | grep winbind passwd: files winbind shadow: files winbind group: files winbind cat /etc/samba/smb.conf [global] workgroup = DOMAIN realm = DOMAIN.COM preferred master = no server str...
2002 Jun 18
2
OpenSSH and Solaris groups
...now unable to log in. Previously the extra groups over 16 were ignored and things were fine, but it seems like now that the system is recognizing membership to these groups ssh is failing. The error that appears in the log file and when connecting to a port running a debugging server reports that getgroups failed with an invalid argument. This is happening from all machines... except one which is the strange thing. If the user connects via ssh from one certain machine, the error still appears in the log file, however the login is successful. Has anyone ever run into something like this before? A...
2019 Oct 03
0
Samba winbind getgroups lookup
On 03/10/2019 15:46, Satay Epic wrote: > Thank you Rowland for your reply. My knowledge is limited with Samba > so please forgive me for any basic mistakes :) > This is something was setup by a previous admin. > > We have had issues where "winbind" will just "give up" and won't let > anyone login into the host not even from the console. > I would like
2019 Oct 04
1
Samba winbind getgroups lookup
Ok. Wondering if it fix by changing the idmap backend to "ad" ? Is "ad" backend a better option than "rid" since we have MS AD or otherwise ? My next task is to ensure PAM is setup correctly with winbind. I'm going to validate the PAM configs. Do you have any recommendations of PAM / winbind settings? We also having "nscd" running for the DNS host
2004 Nov 05
0
Q: winbind getgroups errors?
...idmap gid = 10000-20000 winbind separator = _ </snip> This seems to work fine (at least all users can access shares and printers, though sometimes rather slow), but /var/log/samba/winbindd.log is filled with LOTS of messages like: <snip> nsswitch/winbindd_group.c:winbindd_getgroups(1059) user 'local_user' does not exist </snip> Such a message seems to be generated for any local user (i.e. not listed in AD) which logs in, or for each process started using "su" etc. Might this come from pam? Any way to suppress it (as it clutters the logs)? Tia,...