1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

r15101: Little step towards getting Samba4 tdb into 3: tdb_lock_bystring does not

have the timeout argument in Samba4. Add a new routine
tdb_lock_bystring_with_timeout.

Volker
(This used to be commit b9c6e3f556)
This commit is contained in:
Volker Lendecke
2006-04-17 11:49:06 +00:00
committed by Gerald (Jerry) Carter
parent 76a2ac3ac3
commit e17302200c
12 changed files with 32 additions and 24 deletions

View File

@ -55,7 +55,7 @@ BOOL share_info_db_init(void)
}
/* handle a Samba upgrade */
tdb_lock_bystring(share_tdb, vstring, 0);
tdb_lock_bystring(share_tdb, vstring);
/* Cope with byte-reversed older versions of the db. */
vers_id = tdb_fetch_int32(share_tdb, vstring);