mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
parent
a60f81d1e0
commit
142f5604b5
@ -619,8 +619,6 @@ BOOL winbind_delete_group( const char *group )
|
||||
}
|
||||
|
||||
/***********************************************************************/
|
||||
#if 0 /* not needed currently since winbindd_acct was added -- jerry */
|
||||
|
||||
/* Call winbindd to convert SID to uid. Do not allocate */
|
||||
|
||||
BOOL winbind_sid_to_uid_query(uid_t *puid, const DOM_SID *sid)
|
||||
@ -691,7 +689,5 @@ BOOL winbind_sid_to_gid_query(gid_t *pgid, const DOM_SID *sid)
|
||||
return (result == NSS_STATUS_SUCCESS);
|
||||
}
|
||||
|
||||
#endif /* JERRY */
|
||||
|
||||
/***********************************************************************/
|
||||
|
||||
|
@ -29,7 +29,7 @@
|
||||
struct cldap_netlogon_reply {
|
||||
uint32 type;
|
||||
uint32 flags;
|
||||
GUID guid;
|
||||
UUID_FLAT guid;
|
||||
|
||||
char forest[MAX_DNS_LABEL];
|
||||
char domain[MAX_DNS_LABEL];
|
||||
@ -241,8 +241,8 @@ static int recv_cldap_netlogon(int sock, struct cldap_netlogon_reply *reply)
|
||||
reply->type = IVAL(p, 0); p += 4;
|
||||
reply->flags = IVAL(p, 0); p += 4;
|
||||
|
||||
memcpy(&reply->guid.info, p, GUID_SIZE);
|
||||
p += GUID_SIZE;
|
||||
memcpy(&reply->guid.info, p, UUID_FLAT_SIZE);
|
||||
p += UUID_FLAT_SIZE;
|
||||
|
||||
p += pull_netlogon_string(reply->forest, p, (const char *)os3.data);
|
||||
p += pull_netlogon_string(reply->domain, p, (const char *)os3.data);
|
||||
@ -316,8 +316,8 @@ int ads_cldap_netlogon(ADS_STRUCT *ads)
|
||||
d_printf("0x%x\n", reply.type);
|
||||
break;
|
||||
}
|
||||
d_printf("GUID: ");
|
||||
print_guid(&reply.guid);
|
||||
d_printf("GUID: %s\n",
|
||||
smb_uuid_string_static(smb_uuid_unpack_static(reply.guid)));
|
||||
d_printf("Flags:\n"
|
||||
"\tIs a PDC: %s\n"
|
||||
"\tIs a GC of the forest: %s\n"
|
||||
|
Loading…
Reference in New Issue
Block a user