git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59ccfac
)
s3:net idmap dump: report correct database file when failed to open idmap db.
author
Michael Adam
<obnox@samba.org>
Wed, 9 Feb 2011 12:47:21 +0000
(13:47 +0100)
committer
Michael Adam
<obnox@samba.org>
Wed, 9 Feb 2011 13:00:35 +0000
(14:00 +0100)
source3/utils/net_idmap.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_idmap.c
b/source3/utils/net_idmap.c
index 347cbbf8a512b729e2fb1cb5a1934e3819d3c07b..d042c16ec40b91454bb12526dc705090422f75aa 100644
(file)
--- a/
source3/utils/net_idmap.c
+++ b/
source3/utils/net_idmap.c
@@
-124,7
+124,7
@@
static int net_idmap_dump(struct net_context *c, int argc, const char **argv)
db = db_open(mem_ctx, dbfile, 0, TDB_DEFAULT, O_RDONLY, 0);
if (db == NULL) {
d_fprintf(stderr, _("Could not open idmap db (%s): %s\n"),
-
argv[0]
, strerror(errno));
+
dbfile
, strerror(errno));
goto done;
}