fix build with -DNO_SM_CACHE (without NO_SM_CACHE ldapvcard broken after...

... HUP signal)