Displaying 5 results from an estimated 5 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] =...
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