1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/nsswitch/winbind_client.h
2010-01-23 19:14:50 +01:00

22 lines
821 B
C

#include "winbind_nss_config.h"
#include "winbind_struct_protocol.h"
void winbindd_free_response(struct winbindd_response *response);
NSS_STATUS winbindd_send_request(int req_type, int need_priv,
struct winbindd_request *request);
NSS_STATUS winbindd_get_response(struct winbindd_response *response);
NSS_STATUS winbindd_request_response(int req_type,
struct winbindd_request *request,
struct winbindd_response *response);
NSS_STATUS winbindd_priv_request_response(int req_type,
struct winbindd_request *request,
struct winbindd_response *response);
#define winbind_env_set() \
(strcmp(getenv(WINBINDD_DONT_ENV)?getenv(WINBINDD_DONT_ENV):"0","1") == 0)
#define winbind_off() \
(setenv(WINBINDD_DONT_ENV, "1", 1) == 0)
#define winbind_on() \
(setenv(WINBINDD_DONT_ENV, "0", 1) == 0)