checkpassword-reply.c revision 6838cf40d72a712c5381cf966a56c6299afe1b74
/* simple checkpassword wrapper to send userdb data back to dovecot-auth */
#include "lib.h"
#include "str.h"
#include "write-full.h"
#include <stdlib.h>
#include <unistd.h>
int main(void)
{
lib_init();
i_error("checkpassword: USER contains TAB");
return 1;
}
}
i_error("checkpassword: HOME contains TAB");
return 1;
}
}
}
}
}
if (!uid_found)
if (!gid_found)
i_error("checkpassword: write_full() failed: %m");
exit(111);
}
return 0;
}