s4-ldb: don't load modules from the same directory twice
authorAndrew Tridgell <tridge@samba.org>
Thu, 4 Nov 2010 09:13:17 +0000 (20:13 +1100)
committerAndrew Tridgell <tridge@samba.org>
Thu, 4 Nov 2010 09:35:44 +0000 (20:35 +1100)
commit1ab7bd1bfbfe5a27c91315d98c4e4949608d83e9
treef6079ff221bfc96ea2e6ae51baf77cf58e379d5e
parent6a22d8938c36de8e8a6e99eadca896bdb9802b1d
s4-ldb: don't load modules from the same directory twice

this prevents samba dying if you do a 'make install' while it is
running. Otherwise the make install changes the inode numbers of the
modules in the modules directory, causing them to reload, which causes
multiple modules of the same name to try and load
source4/lib/ldb/common/ldb_modules.c