mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
merges from SAMBA_2_2
(This used to be commit 91f569a691be893e1a02c659a8f0753970fadbae)
This commit is contained in:
parent
8bcdb4849b
commit
82bc3a9520
@ -544,7 +544,6 @@ static int traverse_sessionid(TDB_CONTEXT *tdb, TDB_DATA kbuf, TDB_DATA dbuf, vo
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
pstring fname;
|
||||
int c;
|
||||
static int profile_only = 0;
|
||||
static int new_debuglevel = -1;
|
||||
@ -626,10 +625,11 @@ static int traverse_sessionid(TDB_CONTEXT *tdb, TDB_DATA kbuf, TDB_DATA dbuf, vo
|
||||
|
||||
tdb = tdb_open_log(lock_path("connections.tdb"), 0, TDB_DEFAULT, O_RDONLY, 0);
|
||||
if (!tdb) {
|
||||
d_printf("connections.tdb not initialised\n");
|
||||
d_printf("%s not initialised\n", lock_path("connections.tdb"));
|
||||
d_printf("This is normal if an SMB client has never connected to your server.\n");
|
||||
} else {
|
||||
if (verbose) {
|
||||
d_printf("Opened status file %s\n", fname);
|
||||
d_printf("Opened %s\n", lock_path("connections.tdb"));
|
||||
}
|
||||
|
||||
if (brief)
|
||||
|
Loading…
x
Reference in New Issue
Block a user