summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-bi
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba/patches/patch-bi')
-rw-r--r--net/samba/patches/patch-bi18
1 files changed, 7 insertions, 11 deletions
diff --git a/net/samba/patches/patch-bi b/net/samba/patches/patch-bi
index 59305cfb427..f410d13c855 100644
--- a/net/samba/patches/patch-bi
+++ b/net/samba/patches/patch-bi
@@ -1,17 +1,13 @@
-$NetBSD: patch-bi,v 1.3 2006/04/01 04:55:35 jlam Exp $
+$NetBSD: patch-bi,v 1.4 2007/02/11 18:39:04 tron Exp $
---- rpc_server/srv_srvsvc_nt.c.orig 2006-01-24 18:46:36.000000000 -0500
-+++ rpc_server/srv_srvsvc_nt.c
-@@ -158,10 +158,10 @@ BOOL share_info_db_init(void)
-
- if (share_tdb && local_pid == sys_getpid())
+--- lib/sharesec.c.orig 2006-04-20 03:29:23.000000000 +0100
++++ lib/sharesec.c 2007-02-11 17:46:13.000000000 +0000
+@@ -47,7 +47,7 @@
return True;
+ }
+
- share_tdb = tdb_open_log(lock_path("share_info.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
+ share_tdb = tdb_open_log(state_path("share_info.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
if (!share_tdb) {
DEBUG(0,("Failed to open share info database %s (%s)\n",
-- lock_path("share_info.tdb"), strerror(errno) ));
-+ state_path("share_info.tdb"), strerror(errno) ));
- return False;
- }
-
+ lock_path("share_info.tdb"), strerror(errno) ));