diff options
Diffstat (limited to 'source/nsswitch')
-rw-r--r-- | source/nsswitch/idmap.c | 1 | ||||
-rw-r--r-- | source/nsswitch/idmap_ad.c | 5 |
2 files changed, 1 insertions, 5 deletions
diff --git a/source/nsswitch/idmap.c b/source/nsswitch/idmap.c index 104be86777f..1bd93affac8 100644 --- a/source/nsswitch/idmap.c +++ b/source/nsswitch/idmap.c @@ -407,6 +407,7 @@ NTSTATUS idmap_init(void) /* check the set_mapping function exists otherwise mark the module as readonly */ if ( ! dom->methods->set_mapping) { + DEBUG(5, ("Forcing to readonly, as ithis module can't store arbitrary mappings.\n")); dom->readonly = True; } diff --git a/source/nsswitch/idmap_ad.c b/source/nsswitch/idmap_ad.c index 3fb893d94b7..5ec543819ef 100644 --- a/source/nsswitch/idmap_ad.c +++ b/source/nsswitch/idmap_ad.c @@ -194,11 +194,6 @@ static NTSTATUS idmap_ad_initialize(struct idmap_domain *dom, const char *params } } - if ( !dom->readonly ) { - DEBUG(1, ("WARNING: forcing to readonly, as idmap_ad can't write on AD.\n")); - dom->readonly = true; - } - dom->private_data = ctx; talloc_free(config_option); |