s3:idmap_tdb2: deprecate the idmap:script parameter and use "idmap config * : script...
commit7812ce547973a0ad5a69c64e8e708e1b9f3a8687
authorMichael Adam <obnox@samba.org>
Tue, 7 Jun 2011 16:00:36 +0000 (7 18:00 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 27 Jul 2011 18:04:23 +0000 (27 20:04 +0200)
tree6e542552472f948fe8976d0c2c8bbe63d01142a7
parent5f9bc1433738002acd9a93946955494908af9c05
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)
source3/winbindd/idmap_tdb2.c