1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-10 04:23:50 +03:00

r5976: SIDs can't have more then 5 subauths (caught by [validate] and

range())
This commit is contained in:
Jelmer Vernooij
2005-03-22 22:11:50 +00:00
committed by Gerald (Jerry) Carter
parent 28914c89dc
commit ec1eaa274b
3 changed files with 5 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
Common popt routines Common popt routines
Copyright (C) Tim Potter 2001,2002 Copyright (C) Tim Potter 2001,2002
Copyright (C) Jelmer Vernooij 2002,2003 Copyright (C) Jelmer Vernooij 2002,2003,2005
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by

View File

@@ -165,6 +165,9 @@ static const struct {
{ EPM_PROTOCOL_NCADG, EPM_PROTOCOL_IPX }, { EPM_PROTOCOL_NCADG, EPM_PROTOCOL_IPX },
}, },
{ "ncacn_spx", NCACN_SPX, 3, { "ncacn_spx", NCACN_SPX, 3,
/* I guess some MS programmer confused the identifier for
* EPM_PROTOCOL_UUID (0x0D or 13) with the one for
* EPM_PROTOCOL_SPX (0x13) here. -- jelmer*/
{ EPM_PROTOCOL_NCACN, EPM_PROTOCOL_NCALRPC, EPM_PROTOCOL_UUID }, { EPM_PROTOCOL_NCACN, EPM_PROTOCOL_NCALRPC, EPM_PROTOCOL_UUID },
}, },
}; };

View File

@@ -2894,7 +2894,7 @@ static BOOL test_RemoveMemberFromForeignDomain(struct dcerpc_pipe *p,
struct samr_RemoveMemberFromForeignDomain r; struct samr_RemoveMemberFromForeignDomain r;
r.in.domain_handle = domain_handle; r.in.domain_handle = domain_handle;
r.in.sid = dom_sid_parse_talloc(mem_ctx, "S-1-5-32-12-34-56-78-9"); r.in.sid = dom_sid_parse_talloc(mem_ctx, "S-1-5-32-12-34-56-78");
status = dcerpc_samr_RemoveMemberFromForeignDomain(p, mem_ctx, &r); status = dcerpc_samr_RemoveMemberFromForeignDomain(p, mem_ctx, &r);
if (!NT_STATUS_IS_OK(status)) { if (!NT_STATUS_IS_OK(status)) {