tdb_wrap: prevent tdbs called ".ntdb" or without extensions.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 20 Feb 2013 04:29:42 +0000 (14:59 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 20 Feb 2013 04:31:19 +0000 (05:31 +0100)
commite201033e84b54b13acc751db2b67cff159e12a0e
treedb4bf7e6c250802dbb957b8fa8973697f475a2d0
parent53aac0bc9384db68c5ff469b07ae757ca1051cec
tdb_wrap: prevent tdbs called ".ntdb" or without extensions.

This is another belt-and-braces check in case someone decides to turn
on the fancy new .ntdb extension, and we haven't converted it to ntdb.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/tdb_wrap/tdb_wrap.c