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" <[EMAIL PROTECTED]> To: "Markus Schabel" <[EMAIL PROTECTED]> Cc: "Samba Technical" <[EMAIL PROTECTED]> 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 >
