mirror of
https://github.com/samba-team/samba.git
synced 2025-11-21 12:23:50 +03:00
r18271: Big change:
* autogenerate lsa ndr code * rename 'enum SID_NAME_USE' to 'enum lsa_SidType' * merge a log more security descriptor functions from gen_ndr/ndr_security.c in SAMBA_4_0 The most embarassing thing is the "#define strlen_m strlen" We need a real implementation in SAMBA_3_0 which I'll work on after this code is in.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
2047e2a985
commit
3da9f80c28
@@ -110,7 +110,7 @@ NT_USER_TOKEN system_token = { 1, system_sid_array, SE_ALL_PRIVS };
|
||||
****************************************************************************/
|
||||
|
||||
static const struct {
|
||||
enum SID_NAME_USE sid_type;
|
||||
enum lsa_SidType sid_type;
|
||||
const char *string;
|
||||
} sid_name_type[] = {
|
||||
{SID_NAME_USER, "User"},
|
||||
@@ -123,7 +123,7 @@ static const struct {
|
||||
{SID_NAME_UNKNOWN, "UNKNOWN"},
|
||||
{SID_NAME_COMPUTER, "Computer"},
|
||||
|
||||
{(enum SID_NAME_USE)0, NULL}
|
||||
{(enum lsa_SidType)0, NULL}
|
||||
};
|
||||
|
||||
const char *sid_type_lookup(uint32 sid_type)
|
||||
|
||||
Reference in New Issue
Block a user