search for: endpwent

Displaying 20 results from an estimated 63 matches for "endpwent".

2005 Jan 18
2
Winbind fails to connect to \PIPE\NETLOGON with 3.0.10 and 3.0.9
...c:winbind_client_read(475) read failed on sock 18, pid 22958: EOF [2005/01/18 10:45:50, 10] nsswitch/winbindd.c:winbind_client_read(470) client_read: read 1824 bytes. Need 0 more for a full request. [2005/01/18 10:45:50, 10] nsswitch/winbindd.c:process_request(321) process_request: request fn ENDPWENT [2005/01/18 10:45:50, 3] nsswitch/winbindd_user.c:winbindd_endpwent(375) [22958]: endpwent [2005/01/18 10:45:50, 10] nsswitch/winbindd.c:client_write(524) client_write: wrote 1300 bytes. [2005/01/18 10:45:50, 10] nsswitch/winbindd.c:winbind_client_read(470) client_read: read 0 bytes. Need 182...
2006 Aug 10
2
winbind nsswitch problem
...: accepted socket 16 process_request: request fn INTERFACE_VERSION [ 0]: request interface version process_request: request fn WINBINDD_PRIV_PIPE_DIR [ 0]: request location of privileged pipe accepted socket 17 process_request: request fn SETPWENT [ 0]: setpwent process_request: request fn ENDPWENT [ 0]: endpwent ... but no actual passwd data comes through. I got this working several years ago with samba 3.0.10 on Fedora Core 1. What on earth could I be doing wrong? Thanks in advance for any hints...
2003 Mar 04
0
Samba+Winbindd
...445 [2003/03/04 10:33:31, 1] nsswitch/winbindd_util.c:init_domain_list(148) Added domain SGTP (S-1-5-21-746137067-1767777339-682003330) [2003/03/04 10:33:31, 1] nsswitch/winbindd_util.c:init_domain_list(152) getting trusted domain list [2003/03/04 10:33:37, 3] nsswitch/winbindd_user.c:winbindd_endpwent(314) [ 4381]: endpwent [2003/03/04 10:33:37, 3] nsswitch/winbindd_user.c:winbindd_endpwent(314) [ 4381]: endpwent [2003/03/04 10:33:45, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(104) [ 3326]: getpwnam sgtp+dgk [2003/03/04 10:33:45, 3] libsmb/namequery.c:resolve_lmhosts(768) resolve_lmho...
2011 Apr 21
1
[Announce] Samba 3.4.13 Available for Download
...t;gd at samba.org> * BUG 8085: Fix incorrect timeout handling in ncacn_ip_tcp client code. o Volker Lendecke <vl at samba.org> * BUG 8086: Fix Winbind crash caused by null pointer reference. o Sergey Korsak <skif at 1plus1.net> * BUG 8099: setpwent() actually does endpwent() on FreeBSD. ================ Download Details ================ The uncompressed tarballs and patch files have been signed using GnuPG (ID 6568B7EA). The source code can be downloaded from: http://download.samba.org/samba/ftp/stable The release notes are available online at:...
2011 Apr 21
1
[Announce] Samba 3.4.13 Available for Download
...t;gd at samba.org> * BUG 8085: Fix incorrect timeout handling in ncacn_ip_tcp client code. o Volker Lendecke <vl at samba.org> * BUG 8086: Fix Winbind crash caused by null pointer reference. o Sergey Korsak <skif at 1plus1.net> * BUG 8099: setpwent() actually does endpwent() on FreeBSD. ================ Download Details ================ The uncompressed tarballs and patch files have been signed using GnuPG (ID 6568B7EA). The source code can be downloaded from: http://download.samba.org/samba/ftp/stable The release notes are available online at:...
2003 Jan 30
1
winbind and enum groups
Hi All I have been struggling with winbind for over to weeks now. I have searched nearly the whole Internet for info on my problems ;) Right now I can auth Windows NT users on my Linux box (RH-8.0) with samba-2.2.7a-1. But my big problem is that when a user i authorized it can't find a group name for eg. 100000. I have been considering the following debug method : 1. remove the
2011 Feb 05
3
wbinfo ok, but getent nothing
...etent passwd only return the local users: Code: group: files winbind #group_compat: ldap hosts: files dns networks: files passwd: files winbind #passwd: compat #passwd_compat: winbind shells: files services: files protocols: files rpc: files getend passwd returns: Code: # getent passwd [22522]: endpwent [22522]: endpwent returns NSS_STATUS_SUCCESS (1) ... list of local users [22522]: getpwent [22522]: getpwent returns NSS_STATUS_NOTFOUND (0) [22522]: setpwent [22522]: setpwent returns NSS_STATUS_SUCCESS (1) That is shows the debug information leads me to believe that nss_winbind is properly calle...
2009 Apr 07
3
CentOS 5.3 samba: getent does not return data from the active directory (ads)
...e version [17171]: request location of privileged pipe accepted socket 18 [17171]: setgrent [17171]: endgrent ("getent passwd" command issued) accepted socket 17 [17172]: request interface version [17172]: request location of privileged pipe accepted socket 18 [17172]: setpwent [17172]: endpwent (winbindd -i -d 9) 00a0 status: NT_STATUS_OK ("wbinfo -g" command issued) accepted socket 17 [17158]: request interface version [17158]: request location of privileged pipe accepted socket 18 [17158]: list groups get_sam_group_entries: BUILTIN or local domain; enumerating local gr...
2004 Sep 08
0
Postfix > sasl2 > pam > winbind
...p, setgrent, not found Apr 20 18:35:00 bert cron[2528]: NSSWITCH(nss_method_lookup): winbind, group, getgrent_r, not found Apr 20 18:35:00 bert cron[2528]: NSSWITCH(nss_method_lookup): winbind, group, endgrent, not found Apr 20 18:35:00 bert cron[2528]: NSSWITCH(nss_method_lookup): winbind, passwd, endpwent, not found Apr 20 18:35:22 bert -su: NSSWITCH(nss_method_lookup): winbind, passwd, endpwent, not found and maillog: Apr 20 18:34:57 bert postfix/smtpd[2525]: smtpd_sasl_authenticate: decoded response: michael Apr 20 18:34:57 bert postfix/smtpd[2525]: smtpd_sasl_authenticate: uncoded challenge: Pa...
2004 Sep 08
0
postfix > sasl > pam > winbind
...p, setgrent, not found Apr 20 18:35:00 bert cron[2528]: NSSWITCH(nss_method_lookup): winbind, group, getgrent_r, not found Apr 20 18:35:00 bert cron[2528]: NSSWITCH(nss_method_lookup): winbind, group, endgrent, not found Apr 20 18:35:00 bert cron[2528]: NSSWITCH(nss_method_lookup): winbind, passwd, endpwent, not found Apr 20 18:35:22 bert -su: NSSWITCH(nss_method_lookup): winbind, passwd, endpwent, not found and maillog: Apr 20 18:34:57 bert postfix/smtpd[2525]: smtpd_sasl_authenticate: decoded response: michael Apr 20 18:34:57 bert postfix/smtpd[2525]: smtpd_sasl_authenticate: uncoded challenge: Pa...
2015 Apr 23
2
Samba 4.1 Member Server and Winbind
...800676+10:00 filetest1.vv.fda sshd[98179]: NSSWITCH(nsparser): /etc/nsswitch.conf line 16: 'compat' used with sources, other than 'cache' but the later does not work either. 2015-04-23T12:05:31.804932+10:00 filetest1.vv.fda sshd[99725]: NSSWITCH(_nsdispatch): winbind, passwd, endpwent, not found, and no fallback provided "getent passwd" and "id pross" do not bother to ask winbind, it seems. Only "winbind -u" initiates network traffic to the AD server, to ask for the list. The name of the NSS library bothers me, really "nss_winbind.so.1&quo...
2009 May 21
1
reg static build
...braries from the glibc version used for linking editline/libedit.a(readline.o_a): In function `username_completion_function': ?warning: Using 'setpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking warning: Using 'endpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking utils.o: In function `ast_gethostbyname': Thanks Cricket on your mind? Visit the ultimate cricket website. Enter http://beta.cricket.yahoo.com -------------- next...
2002 Jun 26
5
[PATCH] improved chroot handling
...======================== RCS file: /home/ncvs/src/crypto/openssh-portable/sshd.c,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 sshd.c --- sshd.c 24 Jun 2002 22:46:20 -0000 1.1.1.1 +++ sshd.c 26 Jun 2002 18:00:25 -0000 @@ -545,14 +545,9 @@ memset(pw->pw_passwd, 0, strlen(pw->pw_passwd)); endpwent(); - /* Change our root directory*/ - if (chroot(_PATH_PRIVSEP_CHROOT_DIR) == -1) - fatal("chroot(\"%s\"): %s", _PATH_PRIVSEP_CHROOT_DIR, - strerror(errno)); - if (chdir("/") == -1) - fatal("chdir(\"/\"): %s", strerror(errno)); - - /* Drop...
2002 Sep 10
0
Samba 2.2.5-10, W2K PDC and Winbind - Authentication issues
...omain+adonaldson [2002/09/10 15:13:18, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(103) [ 1924]: getpwnam domain+adonaldson [2002/09/10 15:13:18, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(103) [ 1924]: getpwnam domain+adonaldson [2002/09/10 15:13:59, 3] nsswitch/winbindd_user.c:winbindd_endpwent(313) [ 1926]: endpwent [2002/09/10 15:13:59, 3] nsswitch/winbindd_user.c:winbindd_endpwent(313) [ 1926]: endpwent [2002/09/10 15:14:42, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(103) [ 1927]: getpwnam +nobody Here is my current smb.conf: # Global parameters [global] passwo...
2016 Jul 21
4
Openssh use enumeration
...tpwent()) != NULL) { + passwd = shadow_pw(pw); + if (passwd[0] == '$' && (p = strrchr(passwd+1, '$')) != NULL) { + typelen = p - passwd + 1; + strlcpy(salt, passwd, MIN(typelen, sizeof(salt))); + explicit_bzero(passwd, strlen(passwd)); + goto out; + } + } + out: + endpwent(); return salt; } -- Darren Tucker (dtucker at zip.com.au) GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860 37F4 9357 ECEF 11EA A6FA (new) Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
2016 Apr 19
2
wbinfo -u, wbinfo -g not working after samba update from 4.2.3 to 4.2.10
...ten) winbind_client_response_written[3673:GETPWENT]: delivered response to client [2016/04/19 15:04:41.367900, 10, pid=3634, effective(0, 0), real(0, 0), class=winbind] ../source3/winbindd/winbindd.c:725(process_request) process_request: Handling async request 3673:ENDPWENT [2016/04/19 15:04:41.367916, 10, pid=3634, effective(0, 0), real(0, 0), class=winbind] ../source3/winbindd/winbindd.c:787(wb_request_done) wb_request_done[3673:ENDPWENT]: NT_STATUS_OK I think that the issue is similar to the issues described by L.P.H. van Bell...
1998 Jul 02
1
Synchronize Unix/SMB passwords with 'synchpasswd'
...of Unix users:\n"); setpwent; # Initialize the scan while (@list = getpwent) { # Fetch the next entry ($login,$uid) = @list[0,2]; # Grab login name and uid if ($uid <= $system_id) { printf ("\tOmmitting $login ...\n"); } else { @USERS = (@USERS, "$login"); } } endpwent; # End of scan # # Add the users # printf ("\nMerging new users ...\n"); unless (fork) { exec "$add_script @USERS < $smb_passwd > synch.tmp" } wait; # Parent waits for child to complete # # Remove all invalid entries from 'synch.tmp'. I check the uid again...
2016 Apr 19
0
wbinfo -u, wbinfo -g not working after samba update from 4.2.3 to 4.2.10
...3673:GETPWENT]: delivered response > to client > > > [2016/04/19 15:04:41.367900, 10, pid=3634, effective(0, 0), real(0, > 0), class=winbind] > ../source3/winbindd/winbindd.c:725(process_request) > > > process_request: Handling async request 3673:ENDPWENT > > > [2016/04/19 15:04:41.367916, 10, pid=3634, effective(0, 0), real(0, > 0), class=winbind] > ../source3/winbindd/winbindd.c:787(wb_request_done) > > > wb_request_done[3673:ENDPWENT]: NT_STATUS_OK > > > > > > I think th...
2002 Apr 18
3
privsep no user fatal message
...++ sshd.c 18 Apr 2002 13:36:04 -0000 @@ -536,7 +536,7 @@ demote_sensitive_data(); if ((pw = getpwnam(SSH_PRIVSEP_USER)) == NULL) - fatal("%s: no user", SSH_PRIVSEP_USER); + fatal("no user: %s", SSH_PRIVSEP_USER); memset(pw->pw_passwd, 0, strlen(pw->pw_passwd)); endpwent();
2003 Aug 16
0
sftp-server (secure) chroot patch, comment fix
...et[1]; + struct passwd *pw; + struct stat st; + + /* Sanity checking before chroot */ + if ((pw = getpwuid(getuid())) == NULL) + fatal("getpwuid failed for %u", (u_int)pw->pw_uid ); + + /* Sets passwd pointer to null */ + memset(pw->pw_passwd, 0, strlen(pw->pw_passwd)); + endpwent(); + + if (geteuid() != 0) + fatal("must be SUID root to use chroot feature"); + + if ((stat(pw->pw_dir, &st)) == -1) + fatal("cannot stat chroot directory %s: %s", pw->pw_dir, strerror(errno)); + + if (!S_ISDIR(st.st_mode)) + fatal("%s is not a directory: %s&q...