Bugfixes: o Address a bug in the oplock code which may cause clients to stall when multiple users are accessing a share concurrently o Missing groups in a user's token when logging in via kerberos o Incompatibilities with newer MS Windows hotfixes and embedded OS platforms o Portability and crash bugs. o Performance issues in winbindd. Additions: o Complete NTLMv2 support by consolidating authentication mechanism used at the CIFS and RPC layers. o The capability to manage Unix services using the Win32 Service Control API. o The capability to view external Unix log files via the Microsoft Event Viewer. o New libmsrpc share library for application developers. o Rewrite of CIFS oplock implementation. o Performance Counter external daemon. o Winbindd auto-detection query methods when communicating with a domain controller. o The ability to enumerate long share names in libsmbclient applications.
34 lines
1.3 KiB
Text
34 lines
1.3 KiB
Text
$NetBSD: patch-bh,v 1.2 2006/01/02 22:33:36 jlam Exp $
|
|
|
|
--- registry/reg_db.c.orig 2005-10-17 22:45:06.000000000 -0400
|
|
+++ registry/reg_db.c
|
|
@@ -205,12 +205,12 @@ BOOL regdb_init( void )
|
|
if ( tdb_reg )
|
|
return True;
|
|
|
|
- if ( !(tdb_reg = tdb_open_log(lock_path("registry.tdb"), 0, TDB_DEFAULT, O_RDWR, 0600)) )
|
|
+ if ( !(tdb_reg = tdb_open_log(state_path("registry.tdb"), 0, TDB_DEFAULT, O_RDWR, 0600)) )
|
|
{
|
|
- tdb_reg = tdb_open_log(lock_path("registry.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
|
|
+ tdb_reg = tdb_open_log(state_path("registry.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
|
|
if ( !tdb_reg ) {
|
|
DEBUG(0,("regdb_init: Failed to open registry %s (%s)\n",
|
|
- lock_path("registry.tdb"), strerror(errno) ));
|
|
+ state_path("registry.tdb"), strerror(errno) ));
|
|
return False;
|
|
}
|
|
|
|
@@ -252,11 +252,11 @@ WERROR regdb_open( void )
|
|
|
|
become_root();
|
|
|
|
- tdb_reg = tdb_open_log(lock_path("registry.tdb"), 0, TDB_DEFAULT, O_RDWR, 0600);
|
|
+ tdb_reg = tdb_open_log(state_path("registry.tdb"), 0, TDB_DEFAULT, O_RDWR, 0600);
|
|
if ( !tdb_reg ) {
|
|
result = ntstatus_to_werror( map_nt_error_from_unix( errno ) );
|
|
DEBUG(0,("regdb_open: Failed to open %s! (%s)\n",
|
|
- lock_path("registry.tdb"), strerror(errno) ));
|
|
+ state_path("registry.tdb"), strerror(errno) ));
|
|
}
|
|
|
|
unbecome_root();
|