LDAP_RESTORE_DIR
#define DOMAINNAME_BACK LDAP_RESTORE_DIR "/" DOMAINNAME_FILE
#define NSSWITCH_BACK LDAP_RESTORE_DIR "/" NSSWITCH_FILE
stat_ret = stat(LDAP_RESTORE_DIR, &buf);
(void) strlcpy(ldap_file_back, LDAP_RESTORE_DIR "/", BUFSIZE);
(void) strlcpy(ldap_cred_back, LDAP_RESTORE_DIR "/", BUFSIZE);
if (strlen(name) >= (BUFSIZE - strlen(LDAP_RESTORE_DIR)))
(void) strlcpy(yp_dir_back, LDAP_RESTORE_DIR "/", BUFSIZE);
retcode = rmdir(LDAP_RESTORE_DIR);
LDAP_RESTORE_DIR);
restore_stat = stat(LDAP_RESTORE_DIR, &buf);
(void) system("/bin/rm -fr " LDAP_RESTORE_DIR);
restore_stat = stat(LDAP_RESTORE_DIR, &buf);
LDAP_RESTORE_DIR);
retcode = mkdir(LDAP_RESTORE_DIR, 0755);
LDAP_RESTORE_DIR, retcode);
(void) strlcpy(yp_dir_back, LDAP_RESTORE_DIR "/",
(void) strlcpy(ldap_file_back, LDAP_RESTORE_DIR "/", BUFSIZE);
(void) strlcpy(ldap_cred_back, LDAP_RESTORE_DIR "/", BUFSIZE);