search for: getgrent

Displaying 20 results from an estimated 65 matches for "getgrent".

2000 Jan 04
0
two-level getgrent bug in samba-2.0.6 (PATCH#11)
leon@eatworms.swmed.edu wrote: > > I ran into a bug in samba-2.0.6: an infinite loop caused by two-level > getgrent calls. validate_group, in the middle of a getgrent loop, may > indirectly call user_in_group_list, which resets getgrent. As a result, > validate_group never exits. The attached patch works around this. It's a > quick and dirty patch which I'm including only to illustrate the p...
2004 Jan 21
0
AD Primary Group Masked by Local Primary Group
...to the solaris wrapper function nss_winbind_getgroupsbymember_solwrap. With the patch from Bug 972, this returns all local and AD groups, including both the local primary group, localgrp, and the AD primary group, globalgrp. Other functions, like "id -a <username>", go through the getgrent cycle, and only return localgrp. This is due to the user not being an explicit group member. The getgrent cycle does not "see" a user's primary group. Parallels exist in other systems, like NIS, when a local primary group overloads a directory's primary group. In those cases, onl...
2010 Jun 29
0
winbindd GETGRENT results in trusted domains environment
...named them TEST.LOCAL and CHILD.TEST.LOCAL respectively and made a trust relationships between them. 2. We have installed Samba 3.5.3 on Ubuntu 9.10, kernel 2.6.31-14 and configured it for using winbindd. We have encountered a problem with results that winbind returns upon a command GETGRENT. We have obtained those results with the command "getent group". In a case if both domain controllers are turned on everything works well and we can get groups of users from both domains, for example: root at ubuntu:/home/user# getent group root:x:0: daemon:x:1: bin:x:2:...
2010 Oct 21
1
getent group fails on member server after upgrade to 3.5.5
...6:13.918006, 3] winbindd/winbindd_misc.c:352(winbindd_interface_version) [16709]: request interface version [2010/10/21 14:06:13.918103, 3] winbindd/winbindd_misc.c:385(winbindd_priv_pipe_dir) [16709]: request location of privileged pipe [2010/10/21 14:06:13.918288, 3] winbindd/winbindd_getgrent.c:51(winbindd_getgrent_send) [16709]: getgrent [2010/10/21 14:06:14.618332, 5] winbindd/winbindd_getgrent.c:149(winbindd_getgrent_recv) getgrent failed: NT_STATUS_NONE_MAPPED Relevant parts of smb.conf security = domain ldap ssl = Off idmap backend = ldap:ldap://170.130.105.39...
2016 Jan 22
3
[cfe-dev] [3.8 Release] RC1 has been tagged
...-Unit :: Support/SupportTests/ThreadPoolTest.PoolDestruction > MemorySanitizer :: Linux/obstack.cc > MemorySanitizer :: Linux/process_vm_readv.cc > MemorySanitizer :: fork.cc > MemorySanitizer :: iconv.cc > MemorySanitizer-Unit :: Msan-x86_64-Test/MemorySanitizer.fgetgrent_r > MemorySanitizer-Unit :: Msan-x86_64-Test/MemorySanitizer.getgrent > MemorySanitizer-Unit :: Msan-x86_64-Test/MemorySanitizer.getgrent_r > MemorySanitizer-Unit :: Msan-x86_64-Test/MemorySanitizer.getpwent > MemorySanitizer-Unit :: Msan-x86_64-Test/MemorySanitizer.getp...
2009 Aug 27
3
ldap? Samba? Nss?
...same thing the students are seeing when logging into the domain. I just wanted to leave any profile copying out of the equation so I just did it this way. I noticed this first on my batch user add program for adding users to ldap/samba. The program reads in the users and groups with getpwent and getgrent and it really takes a long time. Any suggestions of what to start looking for would be appreciated. -- Scott Mayo - System Administrator Bloomfield Schools PH: 573-568-5669 FA: 573-568-4565 Question: Because it reverses the logical flow of conversation. Answer: Why is putting a reply at the t...
2005 Oct 07
1
User list
I have a samba server setup with LDAP. Before I was using LDAP, I could get a list of users and groups with my perl script by using the getgrent and getpwent routines. I cannot use this anymore, because for some reason, these routines do not see all of my users. They only see up to a certain point. If I do a 'getent passwd' from the command line, it only shows up to certain number of users. The others are there though and they w...
2017 Aug 22
2
Setup of Samba with Solaris 11.3 to provide Unix File Shares to Windows Users
...: SID_NAME_DOM_GRP (2) name : * name : 'Exchange All Hosted Organizations' winbindd_getgrsid: My domain -- rejecting getgrsid() for S-1-5-21-1585417398-3384821309-2524188735-2571 getgrent failed: NT_STATUS_NO_SUCH_GROUP wb_request_done[13813:GETGRENT]: NT_STATUS_NO_SUCH_GROUP winbind_client_response_written[13813:GETGRENT]: delivered response to client process_request: Handling async request 13813:ENDGRENT This is the current smb.conf: [global] workgroup = MYDOM realm = MY...
2013 May 09
2
idmap ad group lookup
...: schema_mode = rfc2307 idmap config * : range = 10000 - 300000000 admin users = int\administrators Winbind Trace output: accepted socket 24 [ 3851]: request interface version [ 3851]: request location of privileged pipe accepted socket 27 closing socket 24, client exited [ 3851]: getgrent child daemon request 59 Finished processing child request 59 child daemon request 59 Current tickets expire in 35986 seconds (at 1368130999, time is now 1368095013) Search for (&(|(sAMAccountType=805306368)(sAMAccountType=805306369)(sAMAccountType=805306370)(sAMAccountType=268435456)(sAMAccount...
2023 Feb 17
1
previous working smb.conf without winbind, now fails with samba 4.15.8 and winbind running
...e breaks when I try to move to SLES15 SP4, kernel 5.14.21, > samba-4.15.8. > > Apparently winbind is required to be running. Once winbind is running, > samba reports failing to convert SID XXXXX to a UID. It seems samba is > unable to offload uid/gid lookups to the kernel getpwent/getgrent functions. Well it wouldn't, you need to add the 'idmap config' lines to your smb.conf , so winbind knows what to map the Windows users to. > > What smb.conf parameters should I consider in order to get samba-4.15.8 > working in a similar fashion as samba-4.10.5 on sles12sp...
2023 Feb 17
1
previous working smb.conf without winbind, now fails with samba 4.15.8 and winbind running
...ba_node_2, etc. The above breaks when I try to move to SLES15 SP4, kernel 5.14.21, samba-4.15.8. Apparently winbind is required to be running. Once winbind is running, samba reports failing to convert SID XXXXX to a UID. It seems samba is unable to offload uid/gid lookups to the kernel getpwent/getgrent functions. What smb.conf parameters should I consider in order to get samba-4.15.8 working in a similar fashion as samba-4.10.5 on sles12sp5? Thank you
2016 Dec 04
2
[Release-testers] 3.9.1-rc2 is ready for testing
...onMarkers.cpp LLVM :: tools/llvm-cov/showTemplateInstantiations.cpp LLVM :: tools/llvm-cov/universal-binary.c LLVM :: tools/llvm-cov/warnings.h These ^^ fail with "std::future_error / No associated state" as well. MemorySanitizer-Unit :: Msan-x86_64-Test/MemorySanitizer.fgetgrent_r MemorySanitizer-Unit :: Msan-x86_64-Test/MemorySanitizer.getgrent MemorySanitizer-Unit :: Msan-x86_64-Test/MemorySanitizer.getgrent_r These don't confess why they failed in the log. MemorySanitizer-Unit :: Msan-x86_64-Test/MemorySanitizer.gethostbyname_r_bad_host_name This one...
2017 Aug 21
2
Setup of Samba with Solaris 11.3 to provide Unix File Shares to Windows Users
Dear Rowland, our windows admin assured me that they have set uidNumber and gidNumber in the range. I have requested screenshots for confirmation. Now we are one step further: "getent passwd | grep mdecker" now lists the AD account. mdecker:*:13667:7142:Decker, Martin:/home/MYDOM/mdecker:/bin/false With "getent passwd mdecker" however, it shows
2006 Oct 17
1
winbind: wbinfo -g sees "domain users", getent group does not
...st interface version [2006/10/17 14:08:48, 3] nsswitch/winbindd_misc.c:winbindd_priv_pipe_dir(297) [10927]: request location of privileged pipe [2006/10/17 14:08:48, 3] nsswitch/winbindd_group.c:winbindd_setgrent(431) [10927]: setgrent [2006/10/17 14:08:48, 3] nsswitch/winbindd_group.c:winbindd_getgrent(619) [10927]: getgrent [2006/10/17 14:08:48, 1] nsswitch/winbindd_group.c:fill_grent_mem(134) could not lookup membership for group rid S-1-5-21-2127695773-367946666-646806464-513 in domain SECGEN (error: NT_STATUS_UNSUCCESSFUL) [2006/10/17 14:08:48, 0] nsswitch/winbindd_group.c:winbindd_getgre...
2004 Feb 20
24
[Bug 787] Minor security problem due to use of deprecated NGROUPS_MAX in uidswap.c (sshd)
http://bugzilla.mindrot.org/show_bug.cgi?id=787 ------- Additional Comments From openssh_bugzilla at hockin.org 2004-02-20 13:01 ------- Created an attachment (id=548) --> (http://bugzilla.mindrot.org/attachment.cgi?id=548&action=view) NGROUPS patch ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
2003 Dec 02
2
Problem with , in Common Name when running samba3 as ADS Member (Problem with Group-Contents)
...entries in the samba-Log when resolving Group-Memberships using "getent group" (sure, winbindd is running). ----------------------------- debug level 99 winbindd ----------------------------- [2003/12/02 12:24:24, 10] nsswitch/winbindd.c:process_request(305) process_request: request fn GETGRENT [2003/12/02 12:24:24, 3] nsswitch/winbindd_group.c:winbindd_getgrent(608) [13241]: getgrent [2003/12/02 12:24:24, 10] nsswitch/winbindd_group.c:winbindd_getgrent(645) entry_index = 0, num_entries = 0 [2003/12/02 12:24:24, 10] nsswitch/winbindd_cache.c:refresh_sequence_number(342) refresh_sequ...
2016 Jan 19
8
[3.8 Release] RC1 has been tagged
(cc'ing non-legacy llvm-dev this time; apologies if you get this twice. Please don't reply-all to the first one.) On Tue, Jan 19, 2016 at 3:47 PM, Hans Wennborg <hans at chromium.org> wrote: > Dear testers, > > Start your engines; 3.8.0-rc1 was just tagged from the 3.8 branch at > r258223. (It took a little longer than I'd planned, sorry about that.) > > There
2005 Sep 07
1
[Bug 1081] AIX port does not support group allow/ deny via nss_ldap
...latform: PPC OS/Version: AIX Status: NEW Severity: normal Priority: P2 Component: sshd AssignedTo: bitbucket at mindrot.org ReportedBy: paul.moore at centrify.com if the platform does not support getgrouplist directly then sshd uses getgrent to enumerate group membership (for group allow / deny). The AIX version of this API only supports /etc/group and NIS and so the group features do not work with other naming providers (nss_ldap say). The AIX port should use getuserattr(user, S_GROUPS, ..), this uses NSS. We can provide a candid...
2003 Jun 13
0
Problem with large NIS groups - Samba 2.2.8
...;ve tried to write some additional code to do a lookup by gid, but this involves a sequential search and it turns out to be unacceptably expensive: struct sys_userlist *get_users_in_group_by_gid(gid_t gid) { struct sys_userlist *list_head = NULL; struct group *gptr; setgrent(); while((gptr = getgrent()) != NULL) { if (gid == gptr->gr_gid) { list_head = add_members_to_userlist(list_head, gptr); if (list_head == NULL) return NULL; } } endgrent(); return list_head; } It all comes down to the fact that matches are not done against an instantiated user context with all...
2006 Jan 12
0
[Fwd: Re: -- SOLVED -- "valid users" + ldap on Solaris 10 problems]
...By default, when you compile samba with solaris support, samba uses "getgrnam" function because of the "BROKEN_GETRNAM=1" in Makefile. This function is what's making samba going wrong. The soluction was to undefine "BROKEN_GETRNAM" in order to make samba use " getgrent()" funtcion instead. Thanks for all your help guys! bye! > On Thu, 12 Jan 2006, Miki Monguilod wrote: > >> Hi Gerald, >> >> We have Solaris 10 completely updated up today. >> About samba and libraries, we have compiled Samba againt OpenLdap libraries >&...