Searched refs:ntsid (Results 1 - 15 of 15) sorted by relevance

/macosx-10.10/smb-759.0/lib/librpc/
H A DLsarLookup.h39 NTSTATUS GetNetworkAccountSID(const char *ServerName, char **account, char **domain, ntsid_t **ntsid);
H A DLsarLookup.cpp146 ntsid_t **ntsid, rpc_binding *binding)
236 SMBLogInfo("Couldn't allocate ntsid", ASL_LEVEL_DEBUG);
252 *ntsid = sid;
286 NTSTATUS GetNetworkAccountSID(const char *ServerName, char **account, char **domain, ntsid_t **ntsid) argument
343 nt_status = GetAccountNameSID(UTF16ServerName, &FullyQualified, ntsid, &binding);
354 nt_status = GetAccountNameSID(UTF16ServerName, AccountName, ntsid, &binding);
145 GetAccountNameSID(WCHAR * ServerName, PRPC_UNICODE_STRING AccountName, ntsid_t **ntsid, rpc_binding *binding) argument
/macosx-10.10/smb-759.0/rpcwrappers/
H A DSetNetworkAccountSID.cpp76 ntsid_t *ntsid = NULL; local
97 status = GetNetworkAccountSID(properties.serverName, &account, &domain, &ntsid);
101 print_ntsid(ntsid, account, domain);
106 (void)SMBSetNetworkIdentity(serverConnection, ntsid, account, domain);
114 if (ntsid) {
115 free(ntsid);
/macosx-10.10/Libinfo-459/membership.subproj/
H A Dmembership.h27 #include <ntsid.h>
H A DmembershipPriv.h27 #include <ntsid.h>
/macosx-10.10/smb-759.0/kernel/smbfs/
H A Dsmbfs_subr_2.h141 struct ntsid *owner, struct ntsid *group,
167 struct ntsid *owner, struct ntsid *group,
H A Dsmbfs_security.c65 #define sdowner(s, s_len) (struct ntsid *)smb_sdoffset(s, s_len, OWNER_SECURITY_INFORMATION)
66 #define sdgroup(s, s_len) (struct ntsid *)smb_sdoffset(s, s_len, GROUP_SECURITY_INFORMATION)
314 sd_len = (int32_t)sizeof(struct ntsid);
318 sd_len = (int32_t)sizeof(struct ntsid);
361 smb_printsid(struct ntsid *sidptr, char *sidendptr, const char *printstr,
370 uint32_t *subauthptr = (uint32_t *)((char *)sidptr + sizeof(struct ntsid));
525 * ntsid structure, but we need to protect ourself from going pass the size
526 * of the ntsid structure and any values contain inside the ntsid structure.
532 smb_sid2sid16(struct ntsid *sidpt
[all...]
H A Dsmbfs_subr.h286 uint16_t ControlFlags, struct ntsid *owner,
287 struct ntsid *group, struct ntacl *sacl, struct ntacl *dacl,
H A Dsmbfs_smb_2.c6847 struct ntsid *owner, struct ntsid *group,
6903 struct ntsid *owner, struct ntsid *group,
H A Dsmbfs_smb.c6090 uint16_t ControlFlags, struct ntsid *owner, struct ntsid *group,
/macosx-10.10/smb-759.0/kernel/netsmb/
H A Dsmb_rq_2.h311 struct ntsid *owner;
312 struct ntsid *group;
H A Dsmb.h802 #define acesid(a) ((struct ntsid *)((char *)(a) + sizeof(struct ntace)))
859 struct ntsid { struct
865 #define sidlen(s) (sizeof(struct ntsid) + (sizeof(uint32_t) * (s)->sid_subauthcount))
866 #define MAXSIDLEN (sizeof(struct ntsid) + (sizeof(uint32_t) * KAUTH_NTSID_MAX_AUTHORITIES))
/macosx-10.10/smb-759.0/lib/smbclient/
H A Dutil.c327 ntsid_t *ntsid = (ntsid_t *)network_sid; local
337 ntwrkID.ioc_ntsid_len = sizeof(*ntsid);
338 ntwrkID.ioc_ntsid = *ntsid;
/macosx-10.10/Libinfo-459/xcodescripts/
H A Dinstall_files.sh20 membership.subproj/ntsid.h
/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dkern_credential.c240 static int kauth_identity_find_ntsid(ntsid_t *ntsid, struct kauth_identity *kir, char *getname);
1730 * Parameters: ntsid Pointer to NTSID to find
1744 kauth_identity_find_ntsid(ntsid_t *ntsid, struct kauth_identity *kir, char *getname) argument
1750 if ((kip->ki_valid & KI_VALID_NTSID) && (kauth_ntsid_equal(ntsid, &kip->ki_ntsid))) {

Completed in 365 milliseconds