summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2003-05-01 14:32:24 +0000
committerSimo Sorce <idra@samba.org>2003-05-01 14:32:24 +0000
commit6a10e99fb1a7333f4897170e1f99c2a35aba43ed (patch)
treee645cc6670c4d53ac93f5056ecb1bf94eed3d4fd /source3/utils
parent7264b9df8fd2cfae2db4aca82ac737f47fdd5936 (diff)
downloadsamba-6a10e99fb1a7333f4897170e1f99c2a35aba43ed.tar.gz
samba-6a10e99fb1a7333f4897170e1f99c2a35aba43ed.tar.bz2
samba-6a10e99fb1a7333f4897170e1f99c2a35aba43ed.zip
init wellknown in pdbedit too
add group mapping mappings to idmap at startup (This used to be commit 62365023db61d5a4fa32845af3db73bce6cb94ea)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/pdbedit.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c
index 4cb3db52b7..13f35e8880 100644
--- a/source3/utils/pdbedit.c
+++ b/source3/utils/pdbedit.c
@@ -610,6 +610,12 @@ int main (int argc, char **argv)
if (!init_names())
exit(1);
+ if (!idmap_init())
+ exit(1);
+
+ if (!idmap_init_wellknown_sids())
+ exit(1);
+
setparms = (backend ? BIT_BACKEND : 0) +
(verbose ? BIT_VERBOSE : 0) +
(spstyle ? BIT_SPSTYLE : 0) +