1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-16 20:23:50 +03:00

r26593: - More work on the python versions of samba3dump and the samba3sam tests.

- Initial work converting the upgrade code to Python.
- Removed the old EJS upgrade code because it has been broken for a long time.
This commit is contained in:
Jelmer Vernooij
2007-12-25 16:36:31 -06:00
committed by Stefan Metzmacher
parent 85679f3fc9
commit 150cf39fbd
10 changed files with 128 additions and 964 deletions

View File

@@ -140,7 +140,7 @@ struct ldb_context *ldb_wrap_connect(TALLOC_CTX *mem_ctx,
return NULL;
}
if (strcmp(lp_sam_url(lp_ctx), url) == 0) {
if (lp_ctx != NULL && strcmp(lp_sam_url(lp_ctx), url) == 0) {
dsdb_set_global_schema(ldb);
}