search for: nss_status_success

Displaying 7 results from an estimated 7 matches for "nss_status_success".

2003 Oct 28
0
compiling samba 3.0
...t 7.2. My errors are the following Compiling nsswitch/wb_client.c nsswitch/wb_client.c: In function `winbind_lookup_name': nsswitch/wb_client.c:44: storage size of `result' isn't known nsswitch/wb_client.c:58: invalid use of incomplete typedef `NSS_STATUS' nsswitch/wb_client.c:58: `NSS_STATUS_SUCCESS' undeclared (first use in this function) nsswitch/wb_client.c:58: (Each undeclared identifier is reported only once nsswitch/wb_client.c:58: for each function it appears in.) nsswitch/wb_client.c: In function `winbind_lookup_sid': nsswitch/wb_client.c:75: storage size of `result' isn...
2011 Feb 05
3
wbinfo ok, but getent nothing
...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 called. Code: # net ads info LDAP server: 192.16...
2007 Feb 05
0
[SAMBA-SECURITY] CVE-2007-0453: Buffer overrun in nss_winbind.so.1 on Solaris
...gt;key.name, strlen(argp->key.name)) ; + strncpy(request.data.winsreq, argp->key.name, sizeof(request.data.winsreq) - 1); + request.data.winsreq[sizeof(request.data.winsreq) - 1] = '\0'; if( (ret = winbindd_request_response(WINBINDD_WINS_BYNAME, &request, &response)) == NSS_STATUS_SUCCESS ) { @@ -515,7 +516,8 @@ ZERO_STRUCT(response); ZERO_STRUCT(request); - strncpy(request.data.winsreq, argp->key.name, strlen(argp->key.name)); + strncpy(request.data.winsreq, argp->key.name, sizeof(request.data.winsreq) - 1); + request.data.winsreq[sizeof(request.data.winsreq) - 1] =...
2007 Feb 05
0
[SAMBA-SECURITY] CVE-2007-0453: Buffer overrun in nss_winbind.so.1 on Solaris
...gt;key.name, strlen(argp->key.name)) ; + strncpy(request.data.winsreq, argp->key.name, sizeof(request.data.winsreq) - 1); + request.data.winsreq[sizeof(request.data.winsreq) - 1] = '\0'; if( (ret = winbindd_request_response(WINBINDD_WINS_BYNAME, &request, &response)) == NSS_STATUS_SUCCESS ) { @@ -515,7 +516,8 @@ ZERO_STRUCT(response); ZERO_STRUCT(request); - strncpy(request.data.winsreq, argp->key.name, strlen(argp->key.name)); + strncpy(request.data.winsreq, argp->key.name, sizeof(request.data.winsreq) - 1); + request.data.winsreq[sizeof(request.data.winsreq) - 1] =...
2024 Nov 29
1
pam_winbind Appears to need a Network Connection to Succeed at Offline Authentication
...t honor winbindd's offline status? It appears that it may not be--and it appears that that may be a bug. It seems central to my offline authentication issue that ??? terra ~ # getent passwd SAMDOM\\jgraham ??? [29645]: getpwnam_r SAMDOM\jgraham ??? [29645]: getpwnam SAMDOM\jgraham returns NSS_STATUS_SUCCESS (1) ??? SAMDOM\jgraham:*:10000:11001:John Graham:/home/jgraham:/bin/bash works when the network interface is up, but when the network interface is down, ??? terra ~ # getent passwd SAMDOM\\jgraham ??? [ 4156]: getpwnam_r SAMDOM\jgraham ??? [ 4156]: getpwnam SAMDOM\jgraham returns NSS_STATUS_...
2002 Aug 30
4
Enhancement of wbinfo in samba2.2.6pre2
Hi, Most of the samba-commands takes a option for smb.conf file exept for wbinfo. It should be nice to have that functionallity in wbinfo also. /Patrik -- "In a world without fences who needs Gates" Patrik Gustavsson, Senior Technical Consultant patrik.gustavsson@sun.com Telephone: +46 60 671540 http://glen.sweden Mobile: +46 70 3551040 SUN MICROSYSTEMS
2024 Nov 27
1
pam_winbind Appears to need a Network Connection to Succeed at Offline Authentication
On 11/27/24 12:38, Rowland Penny via samba wrote: >> Hmm, PAM on Gentoo appears to be very different to Debian. For >> instance on Debian, to include lines from another file you use >> '@include' and it includes the entire contents of the file, Gentoo >> appears to just include the lines referred to in the first column, >> which, if correct, means that your