The Samba-Bugzilla – Attachment 5584 Details for
Bug 7304
provisioning fails with OpenLDap backend
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
0001-s4-dsdb-Handle-INVALID_DN_SYNTAX-from-OpenLDAP-in-ds.patch (text/plain), 942 bytes, created by
Endi Sukma Dewata
on 2010-03-31 17:16:47 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Endi Sukma Dewata
Created:
2010-03-31 17:16:47 UTC
Size:
942 bytes
patch
obsolete
>From 5a8f2865ef202e399da54107d64d213cef5ec477 Mon Sep 17 00:00:00 2001 >From: Endi S. Dewata <edewata@redhat.com> >Date: Sat, 27 Mar 2010 21:46:27 -0500 >Subject: [PATCH] s4:dsdb - Handle INVALID_DN_SYNTAX from OpenLDAP in dsdb_module_load_partition_usn(). > >--- > source4/dsdb/samdb/ldb_modules/util.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/source4/dsdb/samdb/ldb_modules/util.c b/source4/dsdb/samdb/ldb_modules/util.c >index 7ff5e16..e957774 100644 >--- a/source4/dsdb/samdb/ldb_modules/util.c >+++ b/source4/dsdb/samdb/ldb_modules/util.c >@@ -675,7 +675,7 @@ int dsdb_module_load_partition_usn(struct ldb_module *module, struct ldb_dn *dn, > ret = ldb_wait(req->handle, LDB_WAIT_ALL); > } > >- if (ret == LDB_ERR_NO_SUCH_OBJECT) { >+ if (ret == LDB_ERR_NO_SUCH_OBJECT || ret == LDB_ERR_INVALID_DN_SYNTAX) { > /* it hasn't been created yet, which means > an implicit value of zero */ > *uSN = 0; >-- >1.6.6.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 7304
: 5584