Ignore:
Timestamp:
May 26, 2009, 9:44:50 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.2 branch to 3.2.6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.2.x/source/winbindd/idmap_tdb2.c

    r133 r228  
    236236
    237237        status = idmap_tdb2_open_perm_db();
    238         NT_STATUS_NOT_OK_RETURN(status);
     238        if (!NT_STATUS_IS_OK(status)) {
     239                return status;
     240        }
    239241
    240242        /* Get current high water mark */
     
    298300        uint32_t hwm;
    299301        uint32_t high_hwm;
     302        NTSTATUS status;
     303
     304        status = idmap_tdb2_open_perm_db();
     305        if (!NT_STATUS_IS_OK(status)) {
     306                return status;
     307        }
    300308
    301309        /* Get current high water mark */
     
    553561        TDB_DATA data;
    554562        char *keystr;
     563        NTSTATUS status;
     564
     565        status = idmap_tdb2_open_perm_db();
     566        if (!NT_STATUS_IS_OK(status)) {
     567                return status;
     568        }
    555569
    556570        if (!ctx || !map) {
     
    648662        char *keystr;
    649663        unsigned long rec_id = 0;
     664        NTSTATUS status;
     665
     666        status = idmap_tdb2_open_perm_db();
     667        if (!NT_STATUS_IS_OK(status)) {
     668                return status;
     669        }
    650670
    651671        if ((keystr = sid_string_talloc(ctx, map->sid)) == NULL) {
Note: See TracChangeset for help on using the changeset viewer.