[Freeipa-devel] [PATCH] 034 Do not use LDAP_DEPRECATED in plugins and client

Jan Zelený jzeleny at redhat.com
Fri Jan 7 09:00:06 UTC 2011


Jakub Hrozek <jhrozek at redhat.com> wrote:
> On Thu, Jan 06, 2011 at 01:27:50PM +0100, Jan Zelený wrote:
> > Jakub Hrozek <jhrozek at redhat.com> wrote:
> > > Remove the LDAP_DEPRECATED constant and do not use functions that are
> > > marked as deprecated in recent OpenLDAP releases. Also always define
> > > WITH_{MOZLDAP,OPENLDAP} since there are conditional header includes
> > > that depend on that constant.
> > > 
> > > A related question - since we only support Fedora 14 now and we always
> > > compile with --with-openldap on that platform, should we remove the
> > > mozldap code altogether? I don't think it would cause any harm,
> > > realistically, there should be no users.
> > > 
> > > https://fedorahosted.org/freeipa/ticket/576
> > 
> > Nack,
> > 
> > please unify whitespaces in indentation.
> 
> Done. In this version, the whitespaces are the the same as in the
> original file (mostly spaces, one of them tabs).
> 
> > Also I'm curious about adding those
> > includes in ipapwd.h - does this have any (positive/or negative) impact?
> > They seem a little redundant.
> 
> Harmless, but no positive effect, so I removed them. They were probably
> a result of refactoring or testing..
> 
> > Note: I think another patch changing whitespaces to correspond with our
> > coding policy is in order after this one is pushed.
> 
> Agreed that we should unify the code w.r.t. whitespace used (die
> tabs, die..) This could be a cleanup task later on.

Please file the ticket.

The patch is ok now. ACK

Jan




More information about the Freeipa-devel mailing list