s3:idmap_tdb2: deprecate the idmap:script parameter and use "idmap config * : script...
commit76722304182a07ef6dae5ee873999456063b68ed
authorMichael Adam <obnox@samba.org>
Tue, 7 Jun 2011 16:00:36 +0000 (7 18:00 +0200)
committerKarolin Seeger <kseeger@samba.org>
Sun, 7 Aug 2011 19:01:43 +0000 (7 21:01 +0200)
treec055b35c5093d6d01980974879d9f591d1b03d6d
parente4428a50959cde0d199b6da7082e47b9e914c955
s3:idmap_tdb2: deprecate the idmap:script parameter and use "idmap config * : script" instead

With this patch, "idmap config * : script" will override "idmap : script".
If "idmap : script" is present, a deprecation warning will be printed in any
case. If "idmap config * : script" is not set, then the value of "idmap :script"
will be used for backwards compatibility.
(cherry picked from commit b6c82f18f17cdded771d285930566c1d104686aa)
(cherry picked from commit 7812ce547973a0ad5a69c64e8e708e1b9f3a8687)
source3/winbindd/idmap_tdb2.c