search for: getgrnam

Displaying 20 results from an estimated 101 matches for "getgrnam".

2013 Dec 05
2
Dsync error: Couldn't drop privileges: getgrnam
...pop3_uidl_format = %v.%u } And the command I am using to (attempt) a mailbox sync: doveadm -o mail_fsync=never backup -R -u alantestuser at whatever.com imapc: Produces this output: dsync(alantestuser at whatever.com): Error: user alantestuser at whatever.com: Couldn't drop privileges: getgrnam(vmail) failed: No such file or directory (in mail_privileged_group setting) dsync(alantestuser at whatever.com): Fatal: User init failed mail.log shows this: Dec 5 21:10:54 newmailserver dovecot: auth: Debug: Loading modules from directory: /usr/lib/dovecot/modules/auth Dec 5 21:10:54 newmail...
2007 Sep 03
2
[git patch] minor fixes
hello hpa, have been sitting too long on them, nothing exciting, please pull: git pull git://brane.itp.tuwien.ac.at/~mattems/klibc.git maks with the following shortlog: maximilian attems (8): [klibc] grp.h: Add declaration of getgrgid(), getgrnam() [klibc] getgrgid, getgrnam include grp.h [klibc] getpwnam, getpwuid include pwd.h [klibc] ctype.h declare char classification functions [klibc] do_mounts_md.c include kinit.h [klibc] strtotimex include time.h [klibc] add some specific .gitignore [klibc] q...
2004 Aug 04
3
Winbind being flakey
...had this problem with samba 3.0.4 and samba 3.0.5, recently upgraded kerberos from 1.2.7 to 1.3.3 but see no difference. Running winbindd in debug doesn't seem to indicate any problem. Heres the output of winbindd anyway, with debug level 3 after a failed login attempt from windows: [ 2627]: getgrnam QG+TEST rpc: name_to_sid name=TEST name_to_sid [rpc] TEST for domain QG ads: dn_lookup ads: dn_lookup ads: dn_lookup ads: dn_lookup ads: dn_lookup ads lookup_groupmem for sid=S-1-5-21-842925246-1647877149-1417001333-57015 [ 2627]: getgrnam QG+TEST [ 2627]: getgrnam QG+TEST [ 2629]: request interfac...
2013 Oct 11
2
getent group by name fails
...10:01:31.288199, 3] winbindd/winbindd_misc.c:384(winbindd_interface_version) [31911]: request interface version [2013/10/11 10:01:31.288288, 3] winbindd/winbindd_misc.c:417(winbindd_priv_pipe_dir) [31911]: request location of privileged pipe [2013/10/11 10:01:31.288421, 3] winbindd/winbindd_getgrnam.c:56(winbindd_getgrnam_send) getgrnam domain users [2013/10/11 10:01:31.288520, 3] winbindd/winbindd_msrpc.c:252(msrpc_name_to_sid) msrpc_name_to_sid: name=DOMAIN\USERS [2013/10/11 10:01:31.288547, 3] winbindd/winbindd_msrpc.c:266(msrpc_name_to_sid) name_to_sid [rpc] DOMAIN\USERS for domain...
2015 May 18
1
Getent group don't work
...bindd/winbindd.c:822(new_connection) accepted socket 30 [2015/05/15 12:28:38.560682, 6] winbindd/winbindd.c:870(winbind_client_request_read) closing socket 23, client exited [2015/05/15 12:28:38.560948, 10] winbindd/winbindd.c:645(process_request) process_request: Handling async request 2718:GETGRNAM [2015/05/15 12:28:38.561267, 3] winbindd/winbindd_getgrnam.c:56(winbindd_getgrnam_send) getgrnam GSD-it [2015/05/15 12:28:38.561509, 1] ../librpc/ndr/ndr.c:284(ndr_print_function_debug) wbint_LookupName: struct wbint_LookupName in: struct wbint_LookupName domain...
2019 Feb 01
3
Managesieve problem
...gesieve (for RoundCube) - the sieve is works as well with dovecot (I mean my filters works perfectly). When I would try to connect to managesieve, I got an error, and mail.err contains: dovecot: managesieve(airween at mydomain.hu): Error: user airween at madomain.hu: Couldn't drop privileges: getgrnam(vmail) failed: Permission denied (in mail_privileged_group setting) Also I got it when I try to connect to port 4190 at localhost (with telnet), and send the generated AUTH string (with sieve-auth-command.pl). Could anybody helps me to explain this message? Thanks, a.
2017 Nov 06
5
Failed to find domain 'NT AUTHORITY'
...dd/winbindd_getpwnam.c:56(winbindd_getpwnam_send) getpwnam APAM-AD\134garvati [2017/11/06 14:58:04.890192, 5] ../source3/winbindd/winbindd_getpwnam.c:137(winbindd_getpwnam_recv) Could not convert sid S-0-0: NT_STATUS_NONE_MAPPED [2017/11/06 14:58:04.890485, 3] ../source3/winbindd/winbindd_getgrnam.c:56(winbindd_getgrnam_send) getgrnam BUILTIN\134administrators [2017/11/06 14:58:04.896378, 5] ../source3/winbindd/winbindd_getgrnam.c:157(winbindd_getgrnam_recv) Could not convert sid S-0-0: NT_STATUS_NONE_MAPPED [2017/11/06 14:58:04.896527, 3] ../source3/winbindd/winbindd_getgrnam.c:56...
2004 Nov 29
0
delay in winbindd user/group lookups with many users/groups in domain
Hi! I have the following problem: winbindd getgrnam/getpwnam/lookupname calls do not return for a long time (> 30 seconds) which is obviously quite annoying to the users. This usually happens at the "first" login, i.e. subsequent connections are not delayed until a (probably cache) timeout. I've failed to determine who is respon...
2015 May 18
0
Getent Group dont'work
...;/ [2015/05/15 12:28:38.560682, 6] > />/ winbindd/winbindd.c:870(winbind_client_request_read) > />/ closing socket 23, client exited > />/ [2015/05/15 12:28:38.560948, 10] winbindd/winbindd.c:645(process_request) > />/ process_request: Handling async request 2718:GETGRNAM > />/ [2015/05/15 12:28:38.561267, 3] > />/ winbindd/winbindd_getgrnam.c:56(winbindd_getgrnam_send) > />/ getgrnam GSD-it > />/ [2015/05/15 12:28:38.561509, 1] > />/ ../librpc/ndr/ndr.c:284(ndr_print_function_debug) > />/ wbint_LookupName: stru...
2017 Aug 18
2
Setup of Samba with Solaris 11.3 to provide Unix File Shares to Windows Users
...ne[1414:GETPWNAM]: NT_STATUS_NO_SUCH_USER winbind_client_response_written[1414:GETPWNAM]: delivered response to client closing socket 24, client exited getent group "MYDOM\\Domain Users" ... no output Winbind Trace: process_request: Handling async request 3067:GETGRNAM getgrnam MARABU\Domain Users wbint_LookupName: struct wbint_LookupName in: struct wbint_LookupName domain : * domain : 'MYDOM' name : * na...
2007 Jun 04
8
Bug in Configurator.change_privilege?
...02.000000000 -0400 @@ -55,6 +55,11 @@ # Change privilege of the process to specified user and group. def change_privilege(user, group) begin + if group && user + log "Initialising groups for {#user}:{#group}." + Process.initgroups(user,Etc.getgrnam(group).gid) + end + if group log "Changing group to #{group}." Process::GID.change_privilege(Etc.getgrnam(group).gid) To confirm this is an appropriate fix, I took a look at the source for the linux coreutils ''su'' command, which is...
2004 Nov 06
0
Re: Trusting and trusted domain (home mapping) problem
.../11/05 19:10:16, 3] nsswitch/winbindd_sid.c:winbindd_gid_to_sid(374) >> [29440]: gid to sid 10000 >> [2004/11/05 19:10:16, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(124) >> [29440]: getpwnam uwcstu\grade2 >> [2004/11/05 19:10:16, 3] nsswitch/winbindd_group.c:winbindd_getgrnam(243) >> [29440]: getgrnam grade2 >> [2004/11/05 19:10:16, 4] passdb/pdb_ldap.c:ldapsam_getgroup(2008) >> ldapsam_getgroup: Did not find group >> [2004/11/05 19:10:16, 1] nsswitch/winbindd_group.c:winbindd_getgrnam(298) >> group grade2 in domain STAFF does not exi...
2010 Sep 02
1
Strange provisioning error - I really expect an answer
...e "bin/python/samba/provision.py", line 1350, in provision users_gid = findnss_gid([users or "users", 'users', 'other', 'staff']) File "bin/python/samba/provision.py", line 333, in <lambda> findnss_gid = lambda names: findnss(grp.getgrnam, names)[2] File "bin/python/samba/provision.py", line 329, in findnss raise KeyError("Unable to find user/group in %r" % names) KeyError: "Unable to find user/group in ['users', 'users', 'other', 'staff']" Also when I issue "...
2017 Nov 06
0
Failed to find domain 'NT AUTHORITY'
...winbindd/winbindd_getpwuid.c:111(winbindd_getpwuid_recv) > > Could not convert sid S-1-5-18: NT_STATUS_NO_SUCH_USE wbinfo --sid-to-name S-1-5-32-544 BUILTIN\Administrators 4 Then more below in the logs. > > [2017/11/06 14:58:04.890485, 3] > > ../source3/winbindd/winbindd_getgrnam.c:56(winbindd_getgrnam_send) > > getgrnam BUILTIN\134administrators It somehow did resolve. I cant make any if it. (sorry) Greetz, Louis > -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Rowland Penny via samba > Verz...
2009 Aug 02
0
Disable networking
...clude <grp.h> #include <unistd.h> #ifndef _NONET_GROUP #define _NONET_GROUP "nonet" #endif int main(int argc, char *argv[]) { struct group *gr; if (argc <= 1) { fprintf(stderr, "Usage: %s command [ arg ... ]\n", argv[0]); exit(1); } if (!(gr = getgrnam(_NONET_GROUP))) { perror("getgrnam"); exit(1); } if (setgid(gr->gr_gid) == -1) { perror("setgid"); exit(1); } if (setuid(getuid()) == -1) { perror("setuid"); exit(1); } argv++; argc--; if (execvp(*argv, argv) == -1) {...
2014 Aug 27
1
pty_setowner and tty permissions
...$ ls -l `tty` crw--w--w- 1 user group 136, 2 Aug 27 13:06 /dev/pty2 Since Cygwin sets the permissions more tight to begin with, I was wondering why the permissions are this open. Turns out, sshd sets them like this: /* Determine the group to make the owner of the tty. */ grp = getgrnam("tty"); if (grp) { gid = grp->gr_gid; mode = S_IRUSR | S_IWUSR | S_IWGRP; } else { gid = pw->pw_gid; mode = S_IRUSR | S_IWUSR | S_IWGRP | S_IWOTH; } On Windows no group called "tty" exists, so sshd always sets the permissions to 0622 on Cygwin. My quest...
2019 Feb 03
2
Managesieve problem
...well with dovecot (I mean my filters works perfectly). > > > > When I would try to connect to managesieve, I got an error, and > > mail.err contains: > > > > dovecot: managesieve(airween at mydomain.hu): Error: user airween at madomain.hu: Couldn't drop privileges: getgrnam(vmail) failed: Permission denied (in mail_privileged_group setting) > > > > Also I got it when I try to connect to port 4190 at localhost > > (with telnet), and send the generated AUTH string (with > > sieve-auth-command.pl). > it can often help if you give versions of t...
2019 Feb 03
1
Managesieve problem
...works perfectly). > >>> > >>>When I would try to connect to managesieve, I got an error, and > >>>mail.err contains: > >>> > >>>dovecot: managesieve(airween at mydomain.hu): Error: user airween at madomain.hu: Couldn't drop privileges: getgrnam(vmail) failed: Permission denied (in mail_privileged_group setting) > >>> > >>>Also I got it when I try to connect to port 4190 at localhost > >>>(with telnet), and send the generated AUTH string (with > >>>sieve-auth-command.pl). > >>it can...
2012 Jul 25
0
Active Directory on OpenIndiana: cannot set group permission
...t wbint_QueryUserList in: struct wbint_QueryUserList [2012/07/25 14:06:36.610351, 10] winbindd/winbindd_cache.c:4807(wcache_fetch_ndr) Entry has timed out [snip] [2012/07/25 14:06:55.415407, 10] winbindd/winbindd.c:615(process_request) process_request: Handling async request 19778:GETGRNAM [2012/07/25 14:06:55.415494, 3] winbindd/winbindd_getgrnam.c:56(winbindd_getgrnam_send) getgrnam DOMAIN_NAME\testers [2012/07/25 14:06:55.415593, 1] ../librpc/ndr/ndr.c:284(ndr_print_function_debug) wbint_LookupName: struct wbint_LookupName in: struct wbint_LookupName...
2009 May 21
1
reg static build
...ed libraries from the glibc version used for linking asterisk.o: In function `cli_prompt': warning: Using 'getgrgid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking asterisk.o: In function `main': warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking editline/libedit.a(readline.o_a): In function `username_completion_function': warning: Using 'getpwent' in statically linked applications requires at runtime the share...