Failed to get name_resolve_order via s3 lpcfg wrapper and improving s3 ldap import
abartlet at samba.org
Mon Jul 16 03:05:27 MDT 2012
On Mon, 2012-07-16 at 07:57 +0200, Gémes Géza wrote:
> I've attached the patch. Under valgrind the whole samba-tool
> classicupgrade gives a lot of memory problems related messages, and even
> fails at initializing the ldb connection to the openldap directory. The
> output is:
A few thoughts on the patch.
Why do you build multiple ldbs? You should only need one - feel free to
walk the list of URLs if you think that one of the ldap hosts might be
down, but you should end up with just one ldb for posix attributes.
Use creds.set_bind_dn() rather than set_username() to set the simple
Also try applying this patch to the pytdb layer to see if we can trace
where this segfault comes from.
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2314 bytes
Desc: not available
More information about the samba-technical