kadmin_locl.h (78536) | kadmin_locl.h (90929) |
---|---|
1/* 2 * Copyright (c) 1997-2001 Kungliga Tekniska H�gskolan 3 * (Royal Institute of Technology, Stockholm, Sweden). 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 18 unchanged lines hidden (view full) --- 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 */ 33 34/* | 1/* 2 * Copyright (c) 1997-2001 Kungliga Tekniska H�gskolan 3 * (Royal Institute of Technology, Stockholm, Sweden). 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 18 unchanged lines hidden (view full) --- 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 */ 33 34/* |
35 * $Id: kadmin_locl.h,v 1.36 2001/05/07 05:32:04 assar Exp $ 36 * $FreeBSD: head/crypto/heimdal/kadmin/kadmin_locl.h 78536 2001-06-21 02:21:57Z assar $ | 35 * $Id: kadmin_locl.h,v 1.40 2001/08/22 20:30:24 assar Exp $ 36 * $FreeBSD: head/crypto/heimdal/kadmin/kadmin_locl.h 90929 2002-02-19 15:50:30Z nectar $ |
37 */ 38 39#ifndef __ADMIN_LOCL_H__ 40#define __ADMIN_LOCL_H__ 41 42#ifdef HAVE_CONFIG_H 43#include <config.h> 44#endif --- 26 unchanged lines hidden (view full) --- 71#endif 72#ifdef HAVE_NETINET6_IN6_H 73#include <netinet6/in6.h> 74#endif 75 76#ifdef HAVE_UTIL_H 77#include <util.h> 78#endif | 37 */ 38 39#ifndef __ADMIN_LOCL_H__ 40#define __ADMIN_LOCL_H__ 41 42#ifdef HAVE_CONFIG_H 43#include <config.h> 44#endif --- 26 unchanged lines hidden (view full) --- 71#endif 72#ifdef HAVE_NETINET6_IN6_H 73#include <netinet6/in6.h> 74#endif 75 76#ifdef HAVE_UTIL_H 77#include <util.h> 78#endif |
79#ifdef HAVE_LIBUTIL_H 80#include <libutil.h> 81#endif |
|
79#ifdef HAVE_NETDB_H 80#include <netdb.h> 81#endif 82#ifdef HAVE_SYS_UN_H 83#include <sys/un.h> 84#endif 85#include <err.h> 86#include <roken.h> | 82#ifdef HAVE_NETDB_H 83#include <netdb.h> 84#endif 85#ifdef HAVE_SYS_UN_H 86#include <sys/un.h> 87#endif 88#include <err.h> 89#include <roken.h> |
87#ifdef HAVE_OPENSSL_DES_H | 90#ifdef HAVE_OPENSSL |
88#include <openssl/des.h> 89#else 90#include <des.h> 91#endif 92#include <krb5.h> 93#include <krb5_locl.h> 94#include <hdb.h> 95#include <hdb_err.h> --- 45 unchanged lines hidden (view full) --- 141 142void deltat2str(unsigned t, char *str, size_t len); 143int str2deltat(const char *str, krb5_deltat *delta); 144int parse_deltat (const char *resp, krb5_deltat *value, int *mask, int bit); 145int edit_deltat (const char *prompt, krb5_deltat *value, int *mask, int bit); 146 147int edit_entry(kadm5_principal_ent_t ent, int *mask, 148 kadm5_principal_ent_t default_ent, int default_mask); | 91#include <openssl/des.h> 92#else 93#include <des.h> 94#endif 95#include <krb5.h> 96#include <krb5_locl.h> 97#include <hdb.h> 98#include <hdb_err.h> --- 45 unchanged lines hidden (view full) --- 144 145void deltat2str(unsigned t, char *str, size_t len); 146int str2deltat(const char *str, krb5_deltat *delta); 147int parse_deltat (const char *resp, krb5_deltat *value, int *mask, int bit); 148int edit_deltat (const char *prompt, krb5_deltat *value, int *mask, int bit); 149 150int edit_entry(kadm5_principal_ent_t ent, int *mask, 151 kadm5_principal_ent_t default_ent, int default_mask); |
152void set_defaults(kadm5_principal_ent_t ent, int *mask, 153 kadm5_principal_ent_t default_ent, int default_mask); |
|
149int set_entry(krb5_context context, 150 kadm5_principal_ent_t ent, 151 int *mask, 152 const char *max_ticket_life, 153 const char *max_renewable_life, 154 const char *expiration, 155 const char *pw_expiration, 156 const char *attributes); 157int 158foreach_principal(const char *exp, 159 int (*func)(krb5_principal, void*), 160 const char *funcname, 161 void *data); 162 | 154int set_entry(krb5_context context, 155 kadm5_principal_ent_t ent, 156 int *mask, 157 const char *max_ticket_life, 158 const char *max_renewable_life, 159 const char *expiration, 160 const char *pw_expiration, 161 const char *attributes); 162int 163foreach_principal(const char *exp, 164 int (*func)(krb5_principal, void*), 165 const char *funcname, 166 void *data); 167 |
163void get_response(const char *prompt, const char *def, char *buf, size_t len); 164 | |
165int parse_des_key (const char *key_string, 166 krb5_key_data *key_data, const char **err); 167 168/* server.c */ 169 170krb5_error_code 171kadmind_loop (krb5_context, krb5_auth_context, krb5_keytab, int); 172 --- 23 unchanged lines hidden --- | 168int parse_des_key (const char *key_string, 169 krb5_key_data *key_data, const char **err); 170 171/* server.c */ 172 173krb5_error_code 174kadmind_loop (krb5_context, krb5_auth_context, krb5_keytab, int); 175 --- 23 unchanged lines hidden --- |