patch for pdb_ldap.c (1.1.2.36)

Markus Schabel markus.schabel at chello.at
Fri Jul 5 03:23:43 GMT 2002


Yes, my fault. I thought the len is for parameter #3, but it actually is for
parameter #5 (start counting with 1)
so for example strlen(homedir) instead of sizeof(homedir) should work? At least
I'll try this...

Markus

----- Original Message -----
From: "Simo Sorce" <idra at samba.org>
To: "Markus Schabel" <markus.schabel at chello.at>
Cc: "Samba Technical" <samba-technical at samba.org>
Sent: Friday, July 05, 2002 11:03 AM
Subject: Re: patch for pdb_ldap.c (1.1.2.36)


> No zero will make it impossible to expand parameters.
>
> On Fri, 2002-07-05 at 10:52, Markus Schabel wrote:
> > so just putting a 0 instead of sizeof would be right here, because the
string is
> > always empty (the string is a hardcoded "")?
> >
> > Markus
> >
> > PS: should this be a samba-technical or a samba-cvs discussion?
> --
> Simo Sorce
> ----------
> Una scelta di liberta': Software Libero.
> A choice of freedom: Free Software.
> http://www.softwarelibero.it
>






More information about the samba-technical mailing list