Ignore:
Timestamp:
Nov 14, 2012, 12:59:34 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to 3.6.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/groupdb/mapping.h

    r414 r740  
     1/*
     2 *  Unix SMB/CIFS implementation.
     3 *  RPC Pipe client / server routines
     4 *  Copyright (C) Andrew Tridgell              1992-2000,
     5 *  Copyright (C) Jean François Micouleau      1998-2001.
     6 *  Copyright (C) Volker Lendecke              2006.
     7 *  Copyright (C) Gerald Carter                2006.
     8 *
     9 *  This program is free software; you can redistribute it and/or modify
     10 *  it under the terms of the GNU General Public License as published by
     11 *  the Free Software Foundation; either version 3 of the License, or
     12 *  (at your option) any later version.
     13 *
     14 *  This program is distributed in the hope that it will be useful,
     15 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
     16 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     17 *  GNU General Public License for more details.
     18 *
     19 *  You should have received a copy of the GNU General Public License
     20 *  along with this program; if not, see <http://www.gnu.org/licenses/>.
     21 */
     22
    123#define DATABASE_VERSION_V1 1 /* native byte format. */
    224#define DATABASE_VERSION_V2 2 /* le format. */
     
    1941        bool (*init_group_mapping)(void);
    2042        bool (*add_mapping_entry)(GROUP_MAP *map, int flag);
    21         bool (*get_group_map_from_sid)(DOM_SID sid, GROUP_MAP *map);
     43        bool (*get_group_map_from_sid)(struct dom_sid sid, GROUP_MAP *map);
    2244        bool (*get_group_map_from_gid)(gid_t gid, GROUP_MAP *map);
    2345        bool (*get_group_map_from_ntname)(const char *name, GROUP_MAP *map);
    24         bool (*group_map_remove)(const DOM_SID *sid);
    25         bool (*enum_group_mapping)(const DOM_SID *domsid, enum lsa_SidType sid_name_use,
     46        bool (*group_map_remove)(const struct dom_sid *sid);
     47        bool (*enum_group_mapping)(const struct dom_sid *domsid, enum lsa_SidType sid_name_use,
    2648                                   GROUP_MAP **pp_rmap,
    2749                                   size_t *p_num_entries, bool unix_only);
    28         NTSTATUS (*one_alias_membership)(const DOM_SID *member,
    29                                          DOM_SID **sids, size_t *num);
    30         NTSTATUS (*add_aliasmem)(const DOM_SID *alias, const DOM_SID *member);
    31         NTSTATUS (*del_aliasmem)(const DOM_SID *alias, const DOM_SID *member);
    32         NTSTATUS (*enum_aliasmem)(const DOM_SID *alias, TALLOC_CTX *mem_ctx,
    33                                   DOM_SID **sids, size_t *num);
     50        NTSTATUS (*one_alias_membership)(const struct dom_sid *member,
     51                                         struct dom_sid **sids, size_t *num);
     52        NTSTATUS (*add_aliasmem)(const struct dom_sid *alias, const struct dom_sid *member);
     53        NTSTATUS (*del_aliasmem)(const struct dom_sid *alias, const struct dom_sid *member);
     54        NTSTATUS (*enum_aliasmem)(const struct dom_sid *alias, TALLOC_CTX *mem_ctx,
     55                                  struct dom_sid **sids, size_t *num);
    3456};
Note: See TracChangeset for help on using the changeset viewer.