Changeset 228 for branches/samba-3.2.x/source/winbindd/idmap_tdb2.c
- Timestamp:
- May 26, 2009, 9:44:50 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/source/winbindd/idmap_tdb2.c
r133 r228 236 236 237 237 status = idmap_tdb2_open_perm_db(); 238 NT_STATUS_NOT_OK_RETURN(status); 238 if (!NT_STATUS_IS_OK(status)) { 239 return status; 240 } 239 241 240 242 /* Get current high water mark */ … … 298 300 uint32_t hwm; 299 301 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 } 300 308 301 309 /* Get current high water mark */ … … 553 561 TDB_DATA data; 554 562 char *keystr; 563 NTSTATUS status; 564 565 status = idmap_tdb2_open_perm_db(); 566 if (!NT_STATUS_IS_OK(status)) { 567 return status; 568 } 555 569 556 570 if (!ctx || !map) { … … 648 662 char *keystr; 649 663 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 } 650 670 651 671 if ((keystr = sid_string_talloc(ctx, map->sid)) == NULL) {
Note:
See TracChangeset
for help on using the changeset viewer.