Searched refs:tdb_path (Results 1 - 18 of 18) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/lib/
H A Dtdb_validate.h59 int tdb_validate_open(const char *tdb_path,
76 int tdb_validate_and_backup(const char *tdb_path,
H A Dtdb_validate.c188 int tdb_validate_open(const char *tdb_path, tdb_validate_data_func validate_fn) argument
193 DEBUG(5, ("tdb_validate_open called for tdb '%s'\n", tdb_path));
195 tdb = tdb_open_log(tdb_path, 0, TDB_DEFAULT, O_RDWR, 0);
197 DEBUG(1, ("Error opening tdb %s\n", tdb_path));
435 int tdb_validate_and_backup(const char *tdb_path, argument
452 tdb_path_backup = talloc_asprintf(ctx, "%s%s", tdb_path, backup_suffix);
454 ret = tdb_validate_open(tdb_path, validate_fn);
457 DEBUG(1, ("tdb '%s' is valid\n", tdb_path));
458 ret = tdb_backup_with_rotate(ctx, tdb_path, tdb_path_backup, 0,
462 tdb_path));
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source3/lib/
H A Dtdb_validate.h59 int tdb_validate_open(const char *tdb_path,
76 int tdb_validate_and_backup(const char *tdb_path,
H A Dtdb_validate.c188 int tdb_validate_open(const char *tdb_path, tdb_validate_data_func validate_fn) argument
193 DEBUG(5, ("tdb_validate_open called for tdb '%s'\n", tdb_path));
195 tdb = tdb_open_log(tdb_path, 0, TDB_DEFAULT, O_RDWR, 0);
197 DEBUG(1, ("Error opening tdb %s\n", tdb_path));
435 int tdb_validate_and_backup(const char *tdb_path, argument
452 tdb_path_backup = talloc_asprintf(ctx, "%s%s", tdb_path, backup_suffix);
454 ret = tdb_validate_open(tdb_path, validate_fn);
457 DEBUG(1, ("tdb '%s' is valid\n", tdb_path));
458 ret = tdb_backup_with_rotate(ctx, tdb_path, tdb_path_backup, 0,
462 tdb_path));
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source3/lib/
H A Dtdb_validate.h59 int tdb_validate_open(const char *tdb_path,
76 int tdb_validate_and_backup(const char *tdb_path,
H A Dtdb_validate.c188 int tdb_validate_open(const char *tdb_path, tdb_validate_data_func validate_fn) argument
193 DEBUG(5, ("tdb_validate_open called for tdb '%s'\n", tdb_path));
195 tdb = tdb_open_log(tdb_path, 0, TDB_DEFAULT, O_RDWR, 0);
197 DEBUG(1, ("Error opening tdb %s\n", tdb_path));
435 int tdb_validate_and_backup(const char *tdb_path, argument
452 tdb_path_backup = talloc_asprintf(ctx, "%s%s", tdb_path, backup_suffix);
454 ret = tdb_validate_open(tdb_path, validate_fn);
457 DEBUG(1, ("tdb '%s' is valid\n", tdb_path));
458 ret = tdb_backup_with_rotate(ctx, tdb_path, tdb_path_backup, 0,
462 tdb_path));
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.0.25b/testsuite/printing/
H A Dpsec.c164 fstring keystr, sidstr, tdb_path; local
172 slprintf(tdb_path, sizeof(tdb_path) - 1, "%s/ntdrivers.tdb",
175 tdb = tdb_open(tdb_path, 0, 0, O_RDONLY, 0600);
266 fstring line, keystr, tdb_path; local
276 slprintf(tdb_path, sizeof(tdb_path) - 1, "%s/ntdrivers.tdb",
279 tdb = tdb_open(tdb_path, 0, 0, O_RDWR, 0600);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.0.25b/testsuite/printing/
H A Dpsec.c164 fstring keystr, sidstr, tdb_path; local
172 slprintf(tdb_path, sizeof(tdb_path) - 1, "%s/ntdrivers.tdb",
175 tdb = tdb_open(tdb_path, 0, 0, O_RDONLY, 0600);
266 fstring line, keystr, tdb_path; local
276 slprintf(tdb_path, sizeof(tdb_path) - 1, "%s/ntdrivers.tdb",
279 tdb = tdb_open(tdb_path, 0, 0, O_RDWR, 0600);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/testsuite/printing/
H A Dpsec.c163 fstring keystr, sidstr, tdb_path; local
171 slprintf(tdb_path, sizeof(tdb_path) - 1, "%s/ntdrivers.tdb",
174 tdb = tdb_open(tdb_path, 0, 0, O_RDONLY, 0600);
265 fstring line, keystr, tdb_path; local
275 slprintf(tdb_path, sizeof(tdb_path) - 1, "%s/ntdrivers.tdb",
278 tdb = tdb_open(tdb_path, 0, 0, O_RDWR, 0600);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/testsuite/printing/
H A Dpsec.c163 fstring keystr, sidstr, tdb_path; local
171 slprintf(tdb_path, sizeof(tdb_path) - 1, "%s/ntdrivers.tdb",
174 tdb = tdb_open(tdb_path, 0, 0, O_RDONLY, 0600);
265 fstring line, keystr, tdb_path; local
275 slprintf(tdb_path, sizeof(tdb_path) - 1, "%s/ntdrivers.tdb",
278 tdb = tdb_open(tdb_path, 0, 0, O_RDWR, 0600);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/testsuite/printing/
H A Dpsec.c163 fstring keystr, sidstr, tdb_path; local
171 slprintf(tdb_path, sizeof(tdb_path) - 1, "%s/ntdrivers.tdb",
174 tdb = tdb_open(tdb_path, 0, 0, O_RDONLY, 0600);
265 fstring line, keystr, tdb_path; local
275 slprintf(tdb_path, sizeof(tdb_path) - 1, "%s/ntdrivers.tdb",
278 tdb = tdb_open(tdb_path, 0, 0, O_RDWR, 0600);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.0.25b/testsuite/printing/
H A Dpsec.c164 fstring keystr, sidstr, tdb_path; local
172 slprintf(tdb_path, sizeof(tdb_path) - 1, "%s/ntdrivers.tdb",
175 tdb = tdb_open(tdb_path, 0, 0, O_RDONLY, 0600);
266 fstring line, keystr, tdb_path; local
276 slprintf(tdb_path, sizeof(tdb_path) - 1, "%s/ntdrivers.tdb",
279 tdb = tdb_open(tdb_path, 0, 0, O_RDWR, 0600);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/groupdb/
H A Dmapping_ldb.c31 static bool mapping_upgrade(const char *tdb_path);
47 const char *db_path, *tdb_path; local
101 tdb_path = state_path("group_mapping.tdb");
102 if (file_exist(tdb_path) && !mapping_upgrade(tdb_path)) {
634 static bool mapping_upgrade(const char *tdb_path) argument
639 tdb = tdb_open_log(tdb_path, 0, TDB_DEFAULT, O_RDWR, 0600);
656 const char *old_path = tdb_path;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source3/groupdb/
H A Dmapping_ldb.c31 static bool mapping_upgrade(const char *tdb_path);
47 const char *db_path, *tdb_path; local
101 tdb_path = state_path("group_mapping.tdb");
102 if (file_exist(tdb_path) && !mapping_upgrade(tdb_path)) {
634 static bool mapping_upgrade(const char *tdb_path) argument
639 tdb = tdb_open_log(tdb_path, 0, TDB_DEFAULT, O_RDWR, 0600);
656 const char *old_path = tdb_path;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source3/groupdb/
H A Dmapping_ldb.c31 static bool mapping_upgrade(const char *tdb_path);
47 const char *db_path, *tdb_path; local
101 tdb_path = state_path("group_mapping.tdb");
102 if (file_exist(tdb_path) && !mapping_upgrade(tdb_path)) {
634 static bool mapping_upgrade(const char *tdb_path) argument
639 tdb = tdb_open_log(tdb_path, 0, TDB_DEFAULT, O_RDWR, 0600);
656 const char *old_path = tdb_path;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/winbindd/
H A Dwinbindd_cache.c4022 const char *tdb_path = cache_path("winbindd_cache.tdb"); local
4029 tdb = tdb_open_log(tdb_path,
4043 ret = tdb_validate_and_backup(tdb_path, cache_traverse_validate_fn);
4047 DEBUGADD(10, ("removing tdb %s.\n", tdb_path));
4048 unlink(tdb_path);
4064 const char *tdb_path = cache_path("winbindd_cache.tdb"); local
4071 ret = tdb_validate_open(tdb_path, cache_traverse_validate_fn);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source3/winbindd/
H A Dwinbindd_cache.c4022 const char *tdb_path = cache_path("winbindd_cache.tdb"); local
4029 tdb = tdb_open_log(tdb_path,
4043 ret = tdb_validate_and_backup(tdb_path, cache_traverse_validate_fn);
4047 DEBUGADD(10, ("removing tdb %s.\n", tdb_path));
4048 unlink(tdb_path);
4064 const char *tdb_path = cache_path("winbindd_cache.tdb"); local
4071 ret = tdb_validate_open(tdb_path, cache_traverse_validate_fn);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source3/winbindd/
H A Dwinbindd_cache.c4022 const char *tdb_path = cache_path("winbindd_cache.tdb"); local
4029 tdb = tdb_open_log(tdb_path,
4043 ret = tdb_validate_and_backup(tdb_path, cache_traverse_validate_fn);
4047 DEBUGADD(10, ("removing tdb %s.\n", tdb_path));
4048 unlink(tdb_path);
4064 const char *tdb_path = cache_path("winbindd_cache.tdb"); local
4071 ret = tdb_validate_open(tdb_path, cache_traverse_validate_fn);

Completed in 115 milliseconds