krb5_keytab.c revision a0ab15ceb80290db80c2052520830a95390de385
/*
SSSD
Kerberos 5 Backend Module -- keytab related utilities
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 "util/sss_krb5.h"
char *inp_keytab_file,
char **_mem_name,
{
char keytab_name[MAX_KEYTAB_NAME_LEN];
char *sep;
char *keytab_file;
if (keytab_file == NULL) {
sizeof(default_keytab_name));
if (kerr != 0) {
return kerr;
}
}
if (kerr != 0) {
return kerr;
}
if (kerr != 0) {
goto done;
}
if (kerr != 0) {
goto done;
}
"Keytab name [%s] does not have delimiter[:] .\n", keytab_name);
goto done;
}
goto done;
}
kerr = 0;
goto done;
}
goto done;
}
if (kerr != 0) {
mem_name);
goto done;
}
if (kerr != 0) {
goto done;
}
if (kerr != 0) {
goto done;
}
if (kerr != 0) {
}
}
if (kerr != 0) {
goto done;
}
/* check if we got any errors from krb5_kt_next_entry */
goto done;
}
if (_mem_keytab != NULL) {
}
kerr = 0;
done:
if (kerr != 0) {
}
}
return kerr;
}