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:
committed by
Stefan Metzmacher
parent
85679f3fc9
commit
150cf39fbd
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user