summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-ao
blob: a756d263dc4182a93ea07100325a6fb956ff423c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ao,v 1.3 2011/12/16 11:05:24 asau 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 */