Ignore:
Timestamp:
Nov 12, 2012, 7:10:02 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server 3.5: update branche to 3.5.18

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.5.x/source3/winbindd/idmap.c

    r596 r738  
    2828
    2929static_decl_idmap;
     30
     31static void idmap_init(void)
     32{
     33        static bool initialized;
     34
     35        if (initialized) {
     36                return;
     37        }
     38
     39        DEBUG(10, ("idmap_init(): calling static_init_idmap\n"));
     40
     41        static_init_idmap;
     42
     43        initialized = true;
     44}
    3045
    3146/**
     
    347362        char *params;
    348363
    349         DEBUG(10, ("idmap_init_default_domain: calling static_init_idmap\n"));
    350 
    351         static_init_idmap;
     364        idmap_init();
    352365
    353366        if (!parse_idmap_module(talloc_tos(), lp_idmap_backend(), &modulename,
     
    547560        NTSTATUS ret = NT_STATUS_NO_MEMORY;;
    548561
    549         static_init_idmap;
     562        idmap_init();
    550563
    551564        if (idmap_alloc_ctx != NULL) {
Note: See TracChangeset for help on using the changeset viewer.