pkgsrc/net/samba35/patches/patch-ao
adam aae3ec801d Samba provides file and print services for Microsoft Windows clients.
These services may be hosted off any TCP/IP-enabled platform.  The
Samba project includes not only an impressive feature set in file and
print serving capabilities, but has been extended to include client
functionality, utilities to ease migration to Samba, tools to aid
interoperability with Microsoft Windows, and administration tools.
2010-12-06 17:01:22 +00:00

13 lines
431 B
Text

$NetBSD: patch-ao,v 1.1.1.1 2010/12/06 17:01:23 adam Exp $
--- libsmb/samlogon_cache.c.orig 2010-12-05 21:01:38.000000000 +0000
+++ libsmb/samlogon_cache.c
@@ -217,7 +217,7 @@ struct netr_SamInfo3 *netsamlogon_cache_
if (!netsamlogon_cache_init()) {
DEBUG(0,("netsamlogon_cache_get: cannot open %s for write!\n",
NETSAMLOGON_TDB));
- return false;
+ return NULL;
}
/* Prepare key as DOMAIN-SID/USER-RID string */