/*
Authors:
Sumit Bose <sbose@redhat.com>
Copyright (C) 2014 Red Hat
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program 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, see <http://www.gnu.org/licenses/>.
*/
#include <nss.h>
#include <pwd.h>
#include <string.h>
#include <strings.h>
#include <errno.h>
#include <krb5/localauth_plugin.h>
const char *lname)
{
char *princ_str;
int nss_errno;
int ret;
if (kerr != 0) {
goto done;
}
ret = 0;
goto done;
}
goto done;
}
&nss_errno);
if (nss_status != NSS_STATUS_SUCCESS) {
if (nss_status == NSS_STATUS_NOTFOUND) {
} else {
}
goto done;
}
if (nss_status != NSS_STATUS_SUCCESS) {
if (nss_status == NSS_STATUS_NOTFOUND) {
} else {
}
goto done;
}
goto done;
}
ret = 0;
done:
if (ret != 0) {
return KRB5_PLUGIN_NO_HANDLE;
}
return ret;
}
{
char *princ_str;
int nss_errno;
int ret;
char *str;
if (kerr != 0) {
return kerr;
}
goto done;
}
&nss_errno);
if (nss_status != NSS_STATUS_SUCCESS) {
if (nss_status == NSS_STATUS_NOTFOUND) {
} else {
}
goto done;
}
goto done;
}
goto done;
}
ret = 0;
done:
return ret;
}
{
}
{
return KRB5_PLUGIN_VER_NOTSUPP;
}
return 0;
}