NET_R_SAM_SYNC r;
NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
DOM_CRED clnt_creds;
- char sess_key[16];
+ uchar sess_key[16];
ZERO_STRUCT(q);
ZERO_STRUCT(r);
NET_R_SAM_DELTAS r;
NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
DOM_CRED clnt_creds;
- char sess_key[16];
+ uchar sess_key[16];
ZERO_STRUCT(q);
ZERO_STRUCT(r);
#include <grp.h>
#endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
+
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
int *num_gr_mem, char **gr_mem, int *gr_mem_len)
{
uint32 *rid_mem = NULL, num_names = 0;
- enum SID_NAME_USE *name_types = NULL;
+ uint32 *name_types = NULL;
int buf_len, buf_ndx, i;
char **names = NULL, *buf;
BOOL result = False;
memcpy(user_info.chal, state->request.data.auth_crap.chal, 8);
- user_info.lm_resp.buffer = state->request.data.auth_crap.lm_resp;
- user_info.nt_resp.buffer = state->request.data.auth_crap.nt_resp;
+ user_info.lm_resp.buffer = (uchar *)state->request.data.auth_crap.lm_resp;
+ user_info.nt_resp.buffer = (uchar *)state->request.data.auth_crap.nt_resp;
user_info.lm_resp.len = 24;
user_info.nt_resp.len = 24;
BOOL winbindd_lookup_groupmem(struct winbindd_domain *domain,
uint32 group_rid, uint32 *num_names,
uint32 **rid_mem, char ***names,
- enum SID_NAME_USE **name_types);
+ uint32 **name_types);
struct winbindd_domain *find_domain_from_name(char *domain_name);
struct winbindd_domain *find_domain_from_sid(DOM_SID *sid);
void free_getent_state(struct getent_state *state);
BOOL winbindd_lookup_groupmem(struct winbindd_domain *domain,
uint32 group_rid, uint32 *num_names,
uint32 **rid_mem, char ***names,
- enum SID_NAME_USE **name_types)
+ uint32 **name_types)
{
return wb_sam_query_groupmem(&domain->sam_dom_handle, group_rid,
num_names, rid_mem, names, name_types);
}
return result;
-};
+}
/* find the sequence number for a domain */
ignore the details and always return True. It is here
only as a placeholder --jerry */
return True;
-
+
+#if _NOT_YET_
/* load another module? */
if (reload && pdb_handle)
{
return (pdb_handle != NULL);
+#endif
}
/*************************************************************
static fstring name;
if (!name_status_find(0x1d, ip_list[i], name))
- return False;
+ continue;
if (!find_master_ip(name, server_ip))
- return False;
+ continue;
pstrcpy(workgroup, name);