summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-05-15 23:20:15 +0000
committerGerald Carter <jerry@samba.org>2002-05-15 23:20:15 +0000
commit82bc3a9520ae477584bcc6ff4b7e4bdd6356fd81 (patch)
treed4c175a96c15ed141501b240d9066cfbac23cadc /source3
parent8bcdb4849baea4753eb74dbf2f49847bc43754e5 (diff)
downloadsamba-82bc3a9520ae477584bcc6ff4b7e4bdd6356fd81.tar.gz
samba-82bc3a9520ae477584bcc6ff4b7e4bdd6356fd81.tar.bz2
samba-82bc3a9520ae477584bcc6ff4b7e4bdd6356fd81.zip
merges from SAMBA_2_2
(This used to be commit 91f569a691be893e1a02c659a8f0753970fadbae)
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/status.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/status.c b/source3/utils/status.c
index 6f4b9eb28c..7755ce9ab4 100644
--- a/source3/utils/status.c
+++ b/source3/utils/status.c
@@ -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)