git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65268f4
)
s3:net_idmap_dump remove obsolete support for tdb:idmap2.tdb parameter
author
Christian Ambach
<ambi@samba.org>
Mon, 3 Dec 2012 13:15:40 +0000
(14:15 +0100)
committer
Michael Adam
<obnox@samba.org>
Tue, 29 Jan 2013 11:56:31 +0000
(12:56 +0100)
this one got removed from idmap_tdb2 a while ago
Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/utils/net_idmap.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_idmap.c
b/source3/utils/net_idmap.c
index 6e6f2055969f029b88799ed11875de04e5159fe0..5be57cc9223f30611830471b3a35ce2fd5f97883 100644
(file)
--- a/
source3/utils/net_idmap.c
+++ b/
source3/utils/net_idmap.c
@@
-86,12
+86,8
@@
static const char* net_idmap_dbfile(struct net_context *c)
d_fprintf(stderr, _("Out of memory!\n"));
}
} else if (strequal(backend, "tdb2")) {
- dbfile = lp_parm_talloc_string(talloc_tos(),
- -1, "tdb", "idmap2.tdb", NULL);
- if (dbfile == NULL) {
- dbfile = talloc_asprintf(talloc_tos(), "%s/idmap2.tdb",
- lp_private_dir());
- }
+ dbfile = talloc_asprintf(talloc_tos(), "%s/idmap2.tdb",
+ lp_private_dir());
if (dbfile == NULL) {
d_fprintf(stderr, _("Out of memory!\n"));
}