X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Fpasstest.c;fp=util%2Fpasstest.c;h=0000000000000000000000000000000000000000;hb=736d28749cda5e336fbdd7751e55be385d2db7d4;hp=6a36a0ffe3796d7d886866d17322ac5dc166bd62;hpb=06fa4578d2a5938d5ba073168661f25670465750;p=idzebra-moved-to-github.git diff --git a/util/passtest.c b/util/passtest.c deleted file mode 100644 index 6a36a0f..0000000 --- a/util/passtest.c +++ /dev/null @@ -1,45 +0,0 @@ -/* $Id: passtest.c,v 1.8 2006-08-14 10:40:34 adam Exp $ - Copyright (C) 1995-2006 - Index Data ApS - -This file is part of the Zebra server. - -Zebra is free software; you can redistribute it and/or modify it under -the terms of the GNU General Public License as published by the Free -Software Foundation; either version 2, or (at your option) any later -version. - -Zebra is distributed in the hope that it will be useful, but WITHOUT ANY -WARRANTY; without even the implied warranty of MERCHANTABILITY or -FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - - - -#include - -int main (int argc, char **argv) -{ - Passwd_db db; - - db = passwd_db_open(); - - passwd_db_file_plain(db, "/etc/passwd"); - passwd_db_auth(db, "adam", "xtx9Y="); - passwd_db_close(db); - return 0; -} -/* - * Local variables: - * c-basic-offset: 4 - * indent-tabs-mode: nil - * End: - * vim: shiftwidth=4 tabstop=8 expandtab - */ -