s3:winbindd:idmap_hash: skip domains that already have their own idmap configuration.
commit55be1ee69743c94d33f4244ade848517fc98e264
authorGünther Deschner <gd@samba.org>
Thu, 10 Mar 2016 09:39:15 +0000 (10 10:39 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 17 Mar 2016 00:08:32 +0000 (17 01:08 +0100)
tree7a44ee6d7728cfa7bf28d65785b20587287a6287
parentfb80e1158bb1a14f2602e65464909a213296cde1
s3:winbindd:idmap_hash: skip domains that already have their own idmap configuration.

Check if the domain from the list is not already configured to use another idmap
backend. Not checking this makes the idmap_hash module map IDs for *all* domains
implicitly. This is quite dangeorous in multi-idmap-config setups.

Guenther

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11786

Pair-Programmed-With: Michael Adam <obnox@samba.org>

Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/winbindd/idmap_hash/idmap_hash.c