search for: initgroups

Displaying 20 results from an estimated 165 matches for "initgroups".

2002 Jul 26
1
Mac OS X -- Unable to initgroups. on every anonymous connection.
I'm using Samba 2.2.5 on Mac OS X 10.1.5 Connecting to the share "public" with no username or password works fine, but, this error message appears in the log every time: [2002/07/26 15:15:54, 0] smbd/sec_ctx.c:initialise_groups(229) Unable to initgroups. Error was Input/output error What am I doing wrong? smb.conf file: [global] workgroup = OSXGROUP log file = /var/log/samba.log max log size = 50 ; maximum of 50Kb in log file encrypt passwords = yes guest account = unknown [homes] guest ok = no read...
2003 Oct 31
0
HELP! initialise_groups/initgroups input/output error
...in at a high level these days. Anyhow, thanks for any help. Original Message: Hello everyone, I did a little searching and didn't come up with much on this. I just upgraded our Samba server from 2.2.3a to 2.2.8a to get it running on the latest 2.2.x release. After doing this, "Unable to initgroups, Error was Input/output error" messages are showing up in all the smbd log files (except log.smbd) regularly. We've never had this problem before with 2.2.3a. Example: [2003/10/30 07:54:16, 0] smbd/sec_ctx.c:initialise_groups(244) Unable to initgroups. Error was Input/output error [2003...
2005 Nov 05
5
[Bug 1113] Add Interix authentication support
http://bugzilla.mindrot.org/show_bug.cgi?id=1113 Summary: Add Interix authentication support Product: Portable OpenSSH Version: 4.2p1 Platform: Other OS/Version: other Status: NEW Severity: enhancement Priority: P2 Component: sshd AssignedTo: bitbucket at mindrot.org ReportedBy: tv at
2002 Aug 20
1
winbind initgroups problem with 2.2.5 on RH 7.2
..., I am trying to get winbind up and working for logins. Here is my error message from /var/messages: Aug 20 20:59:51 aslan pam_winbind[32713]: user 'lisa.snow' granted acces Aug 20 20:59:51 aslan pam_winbind[32713]: user 'lisa.snow' granted acces Aug 20 20:59:51 aslan login[32713]: initgroups: Operation not permitted Here is my pam.d/login file: #%PAM-1.0 # orginal before winbind # auth required /lib/security/pam_securetty.so # auth required /lib/security/pam_stack.so service=system-auth # auth required /lib/security/pam_nologin.so # added for winbind auth...
1998 Jul 14
0
Slackware Shadow Insecurity (fwd)
...are Shadow Insecurity Discovered by Ted Hickman: Recently I noticed something rather "insecure" about the slackware 3.4 /bin/login (and probably other versions). If the /etc/group file does not exist, any user who logs into the system is given uid 0 gid 0. buglord login: meek Password: initgroups: No such file or directory Linux 2.0.34. Last login: Fri Jul 10 20:56:17 on tty6. You have mail. buglord:~# id uid=0(root) gid=0 The following is recorded in the syslog: Jul 10 22:28:42 buglord login[25795]: initgroups failed for user `meek`: No such file or directory Analysis by Richard Thom...
2002 Jul 23
0
Unable to initgroups. Error was Operation not permitted
I keep getting the following message in the Samba Logs. I am running Samba V2.5 with Windbind. Does anyone know what these messages mean? Thanks. [2002/07/23 08:57:44, 0] smbd/sec_ctx.c:initialise_groups(229) Unable to initgroups. Error was Operation not permitted -------------- next part -------------- HTML attachment scrubbed and removed
2002 Sep 03
0
Unable to initgroup!
Hello all, Help!! Am running Unix 2.4 and Samba allowing windows clients to map the Unix server. Some users have been unable to connect to mapped drives and having looked at the logs I see the message: Unable to initgroup! this is probably a problem with the account nobody This message appears in all the user logs, however, only some users have the problem of connecting. I have looked at the
2007 Dec 21
17
[Bug 1412] New: Support for users in more than 16 groups on Mac OS X.
https://bugzilla.mindrot.org/show_bug.cgi?id=1412 Summary: Support for users in more than 16 groups on Mac OS X. Classification: Unclassified Product: Portable OpenSSH Version: 4.7p1 Platform: Other OS/Version: Mac OS X Status: NEW Severity: normal Priority: P2 Component: scp AssignedTo:
2001 Apr 11
1
$HOME/.shosts and setegid()
..."by group permission"; for example in the following (as I guess quite common) case: drwxr-x--- root mygroup 512 Apr 10 12:09 mygroup And my personal homedirectory would now be one level below: /home/mygroup/myhome So my question: is there a particular reason that setegid() and initgroups() are not used? Regards, -Luzian -- University of Zurich, Centre for Computing Services Luzian Scherrer <luzian.scherrer at zi.unizh.ch> Winterthurerstrasse 190, CH-8057 Zurich Tel: +41 1 63 56778 Fax: +41 1 63 54505 Office: Y11-F-76
2002 Oct 31
1
initialise groups winbind making samba useless
...ith samba, winbindd and groups. If a users is in a large number of groups i get the following error when they try to connect to the samba server Oct 31 18:00:44 localhost smbd[11086]: [2002/10/31 18:00:44, 0] smbd/sec_ctx.c:initialise_groups(244) Oct 31 18:00:44 localhost smbd[11086]: Unable to initgroups. Error was Operation not permitted Oct 31 18:03:17 localhost smbd[11091]: [2002/10/31 18:03:17, 0] smbd/sec_ctx.c:initialise_groups(244) Oct 31 18:03:17 localhost smbd[11091]: Unable to initgroups. Error was Operation not permitted Oct 31 18:03:19 localhost smbd[11091]: [2002/10/31 18:03:19, 0...
2019 Feb 11
2
sshd and pam_winbind (Samba)
...ucture. If the gets authenticated using PAM through pam_winbind we authencticate the user against our DC, get correct access token and cache it. However the openssh server doesn't update the passwd structure after a successful PAM authentication, it sets up the user context (setuid, setgid, initgroups) using the outdated information stored in the session structure. The openssh server should update the passwd structure using getpwuid() before it sets up the users context (setuid, setgid, initgroups)! This is probably easy to fix, the question is when you want to call getpwuid() directly afte...
2005 Jan 05
3
[Bug 969] early setpcred() stomps on PAM
...Severity: normal Priority: P2 Component: sshd AssignedTo: openssh-bugs at mindrot.org ReportedBy: dleonard at vintela.com The early call to setpcred() in do_setusercontext() seems to drop the euid to the user's uid on AIX5.1. This stops the future call to initgroups() from working if setpcred() doesn't get the supplementary group list right. Which it doesn't with PAM. The symptoms are a 'successful' login, but the session exits immediately, with sshd logging "initgroups: Permission denied". setpcred() must still be called at some st...
2007 Jan 19
1
One User Cannot Log In
Attempting to log in through Squirrelmail. Jan 19 09:34:07 montreal dovecot: imap-login: Login: user=<steve>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured Jan 19 09:34:07 montreal dovecot: IMAP(steve): initgroups(steve, 15) failed: Invalid argument This entry appears nowhere else in the log. montreal# id steve uid=268(steve) gid=15(users) groups=15(users), 626(moodleCreators), 80(www), 98(ident), 28(saweb), 303(helpdeskweb), 53(bind), 86(cgi), 206(oacmail), 70(shakes), 43(xfs), 83(acweb), 10(wheel), 208(n...
2007 Jun 04
8
Bug in Configurator.change_privilege?
...nd group is correctly activated, all the other groups that are associated with this user are not enabled and the group permissions remain the same as the caller (i.e. root). This problem (and solution) is discussed in the Ruby Forum: http://www.ruby-forum.com/topic/110492 It seems that Process.initgroups needs to be called in order for the user''s group permissions to be properly activated. I have a fix that involves making a slight addition to mongrel-1.0.1/lib/mongrel/configurator.rb as follows: --- configurator.rb.orig 2007-05-28 04:22:11.000000000 -0400 +++ configurator.rb...
2005 Oct 27
4
Dovecot Alpha 4
...r. We could store index files on the NFS device, but this would affect performance (and might cause locking problems). A better solution would be to make the uid one of the variables available in default_mail_env. By naming index files by uid rather than username, this wouldn't be an issue. 2. initgroups() We use an nss-mysql to store all non-administrative system users in a mysql database. We often encounter problems with applications that use the initgroups() function, since this returns all users and groups - which in our case returns masses of data from mysql. When using mysql (or ldap etc) fo...
2019 Jun 30
2
Possibly Missing Syscalls from Seccomp Filter
...- 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->initgroups->setgroups 3. unlink - do_authentication2->ssh_dispatch_run_fatal->sshpkt_fatal->logdie->cleanup_exit->do_cleanup->auth_sock_cleanup_proc->unlink 4. rmdir - do_authentication2->ssh_dispatch_run_fatal->sshpkt_fatal->logide->cleanup_exit->do_cleanup->...
2003 Dec 10
1
samba3.0.1.pre3 and samba3.0.1rc1
...m to you: I have the following problem: The smbd and winbindd start fine, everthing seems to be okay, all users can be authenticated. But a few minutes later the winbindd is suddenly unable to authenticate some users against the Domain. You can see it in the snapshot. Messages like "Unable to initgroups" or "make_server_info_info3: pdb_init_sam failed!" don't look fine. I tried it with samba3.0.1.pre3 and samba3.0.1rc1 Maybe you can help me... Of course you can have my smb.conf, or any other information you need, if you want, but i don't want to send too much text at firs...
2002 May 09
2
Samba 2.2.4 and SCO Openserver 5.0.6
...ran "./configure" fine. I get an error " line 664: Syntax error " when I run "make". If I run " ./configure --with-winbind", then run "make", I get the error "Compiling smbd/server.c include/includes.h, line 885:error: identifier redeclared: initgroups *** Error code 1 (bu21)" I have installed the same release on SCO Unixware 7.1.0 by running "./configure --with-winbind", " make" and finally "make install". This works. Regards, Michael
2001 Apr 25
0
NeXT // Broken _POSIX_SAVED_ID patch
...ITH_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", pw->pw_name, - strerror(errno)); - user_groupslen = getgroups(NGROUPS_MAX, user_groups); - if (user_groupslen < 0) - fatal("getgroups: %.100s", strerror(errno)); - } - /* Set the e...
2003 Mar 04
3
number of groups of NT account causes authentication problems
...ng with 'TestGroup' (Total number of TestUser's group = 11) With the above settings 'TestUser' can't access the share '\\server\test', and the following message shows up in the Client.log: [2003/03/04 13:31:52, 0] smbd/sec_ctx.c:initialise_groups(244) Unable to initgroups. Error was Not owner [2003/03/04 13:31:52, 0] smbd/sec_ctx.c:initialise_groups(247) This is probably a problem with the account domain\testuser [2003/03/04 13:31:52, 0] smbd/service.c:make_connection(599) client (10.81.105.121) Can't change directory to /export/SMB/test (Permission denied)...