Prevent segv in winbindd running on a DC using the "idmap backend" syntax.
authorGerald (Jerry) Carter <jerry@samba.org>
Tue, 20 Nov 2007 19:24:03 +0000 (13:24 -0600)
committerGerald (Jerry) Carter <jerry@samba.org>
Tue, 20 Nov 2007 19:27:14 +0000 (13:27 -0600)
commit99b75cada2c4caaec5d30c8351080f0a41e44bd1
tree7d62984125c34ae74b2fea32ab4c44bc8a59e4fd
parentae7885711f504f1442335f09088cbe149a7e00f9
Prevent segv in winbindd running on a DC using the "idmap backend" syntax.

The number of domains should be counted as they are added and not assumed
to match the loop counter.

manually cherry-picked 8ad2826c48a0d4d26abc3bb209860c776f55822f
source/winbindd/idmap.c