Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source3/winbindd/idmap_passdb.c

    r414 r745  
    55
    66   Copyright (C) Simo Sorce 2006
    7    
     7
    88   This program is free software; you can redistribute it and/or modify
    99   it under the terms of the GNU General Public License as published by
    1010   the Free Software Foundation; either version 3 of the License, or
    1111   (at your option) any later version.
    12    
     12
    1313   This program is distributed in the hope that it will be useful,
    1414   but WITHOUT ANY WARRANTY; without even the implied warranty of
    1515   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1616   GNU General Public License for more details.
    17    
     17
    1818   You should have received a copy of the GNU General Public License
    1919   along with this program.  If not, see <http://www.gnu.org/licenses/>.
     
    2121
    2222#include "includes.h"
     23#include "idmap.h"
     24#include "passdb.h"
    2325
    2426#undef DBGC_CLASS
     
    2931*****************************/
    3032
    31 static NTSTATUS idmap_pdb_init(struct idmap_domain *dom, const char *params)
     33static NTSTATUS idmap_pdb_init(struct idmap_domain *dom)
    3234{       
    3335        return NT_STATUS_OK;
     
    7779                enum lsa_SidType type;
    7880                union unid_t id;
    79                
     81
    8082                if (pdb_sid_to_id(ids[i]->sid, &id, &type)) {
    8183                        switch (type) {
     
    112114**********************************/
    113115
    114 static NTSTATUS idmap_pdb_close(struct idmap_domain *dom)
    115 {
    116         return NT_STATUS_OK;
    117 }
    118 
    119116static struct idmap_methods passdb_methods = {
    120117
     
    122119        .unixids_to_sids = idmap_pdb_unixids_to_sids,
    123120        .sids_to_unixids = idmap_pdb_sids_to_unixids,
    124         .close_fn =idmap_pdb_close
    125121};
    126122
Note: See TracChangeset for help on using the changeset viewer.