diff options
Diffstat (limited to 'net/samba/patches/patch-bd')
-rw-r--r-- | net/samba/patches/patch-bd | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net/samba/patches/patch-bd b/net/samba/patches/patch-bd new file mode 100644 index 00000000000..d56cfc8c8b2 --- /dev/null +++ b/net/samba/patches/patch-bd @@ -0,0 +1,13 @@ +$NetBSD: patch-bd,v 1.1 2005/11/14 08:05:28 jlam Exp $ + +--- lib/account_pol.c.orig 2005-10-12 13:03:31.000000000 -0400 ++++ lib/account_pol.c +@@ -47,7 +47,7 @@ BOOL init_account_policy(void) + + if (tdb) + return True; +- tdb = tdb_open_log(lock_path("account_policy.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600); ++ tdb = tdb_open_log(state_path("account_policy.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600); + if (!tdb) { + DEBUG(0,("Failed to open account policy database\n")); + return False; |