support.h File Reference
#include <cstring>
Include dependency graph for support.h:

Go to the source code of this file.

Classes

struct  gdstruct
 
struct  ndstruct
 
struct  lsstruct
 
struct  main_args
 
struct  hstruct
 
struct  ldap_creds
 

Macros

#define KERBEROS_LDAP_GROUP_VERSION   "1.4.0sq"
 
#define KERBEROS_APPLE_DEPRECATED(x)
 
#define LDAP_DEPRECATED   1
 
#define PROGRAM   "kerberos_ldap_group"
 

Functions

void log (char *format,...)
 
void error (char *format,...)
 
void warn (char *format,...)
 
void init_args (struct main_args *margs)
 
void clean_args (struct main_args *margs)
 
const char * LogTime (void)
 
int check_memberof (struct main_args *margs, char *user, char *domain)
 
int get_memberof (struct main_args *margs, char *user, char *domain, char *group)
 
char * get_netbios_name (struct main_args *margs, char *netbios)
 
int create_gd (struct main_args *margs)
 
int create_nd (struct main_args *margs)
 
int create_ls (struct main_args *margs)
 
size_t get_ldap_hostname_list (struct main_args *margs, struct hstruct **hlist, size_t nhosts, char *domain)
 
size_t get_hostname_list (struct hstruct **hlist, size_t nhosts, char *name)
 
size_t free_hostname_list (struct hstruct **hlist, size_t nhosts)
 

Variables

SQUIDCEXTERN int log_enabled
 

Macro Definition Documentation

#define KERBEROS_APPLE_DEPRECATED (   x)

Definition at line 38 of file support.h.

#define KERBEROS_LDAP_GROUP_VERSION   "1.4.0sq"

Definition at line 33 of file support.h.

#define LDAP_DEPRECATED   1

Definition at line 64 of file support.h.

#define PROGRAM   "kerberos_ldap_group"

Definition at line 188 of file support.h.

Function Documentation

int check_memberof ( struct main_args margs,
char *  user,
char *  domain 
)
void clean_args ( struct main_args margs)
int create_gd ( struct main_args margs)
int create_ls ( struct main_args margs)
int create_nd ( struct main_args margs)
size_t free_hostname_list ( struct hstruct **  hlist,
size_t  nhosts 
)
size_t get_hostname_list ( struct hstruct **  hlist,
size_t  nhosts,
char *  name 
)
size_t get_ldap_hostname_list ( struct main_args margs,
struct hstruct **  hlist,
size_t  nhosts,
char *  domain 
)
int get_memberof ( struct main_args margs,
char *  user,
char *  domain,
char *  group 
)
char* get_netbios_name ( struct main_args margs,
char *  netbios 
)
void init_args ( struct main_args margs)
const char* LogTime ( void  )
inline

Definition at line 122 of file negotiate_kerberos.h.

References buf, and NULL.

void warn ( char *  format,
  ... 
)

Referenced by redirectHandleReply().

Variable Documentation

SQUIDCEXTERN int log_enabled

Definition at line 115 of file support.h.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors