Re: [PATCH 2.2.7a] was: Samba Referrals

2003-01-14 Thread C.Lee Taylor
Ignacio Coupeau wrote:
 http://www.unav.es/cti/ldap-smb/ldap-smb-2_2-howto.html#patches

 Tested the rebind  stuff with ldap in round robin (master/slave)
 Some fixes
Applied, compiled and will test ... Thanks.

 Tar and diff -uRn textfiles available:
 http://www.unav.es/cti/ldap-smb/patches-ldap.tar
Thanks, this makes life alot easier ...

 As two of the patches are for configure.in and configure.h.in, an
 autoconf is required before the configure.
Have done ...

Mailed
Lee

P.S. Sorry for the late reply ... I killed my mail server ...





Re: [PATCH 2.2.7a] was: Samba Referrals

2003-01-13 Thread Ignacio Coupeau
http://www.unav.es/cti/ldap-smb/ldap-smb-2_2-howto.html#patches

Tested the rebind  stuff with ldap in round robin (master/slave)
Some fixes
Tar and diff -uRn textfiles available:
	http://www.unav.es/cti/ldap-smb/patches-ldap.tar
	http://www.unav.es/cti/ldap-smb/patches-ldap/

As two of the patches are for configure.in and configure.h.in, an 
autoconf is required before the configure.

Tested in
Mandrake 8.2/9.0 (Buchan Milne, C.Lee Taylor) and RedHat 7.2, kernel 
2.4.x, OpenLDAP 2.0.25-27 and 2.1.7

Ignacio
--

Ignacio Coupeau, Ph.D. [EMAIL PROTECTED]
CTI, Director  [EMAIL PROTECTED]
University of Navarra  [EMAIL PROTECTED]
Pamplona, SPAINhttp://www.unav.es/cti/



Re: [PATCH 2.2.7a] was: Samba Referrals

2003-01-11 Thread C.Lee Taylor
Thanks for the work ...

	But I have a quick question ... is it needed to make two functions 
which look the same except for the function name ... is it not better 
just to have the two parm and three parm call #if def?

	I think that you might have this in if there is a problem and the 
functions need to be differant ...

Mailed
Lee



Re: [PATCH 2.2.7a] was: Samba Referrals

2003-01-11 Thread Buchan Milne
On Sat, 11 Jan 2003, C.Lee Taylor wrote:

 Ignacio Coupeau wrote:

 http://www.unav.es/cti/ldap-smb/ldap-smb-2_2-howto.html#patches
   I taken alook and see no differance, but then you could still be
 putting up the new patch ...


White space doesn't survive cutting-and-pasting from a web page, and patch
is sticky about white space in the first two characters in a patch file ..
I got malformed patch even with -l. I see you have put up a tar file,
but a single patch file for all the files would be fine. Best way to
extract the other two is probably to save the html and open it in an
editor :-(.

  I added a patch for rebind code in samba 2.2.7a. As I tested itonly with
  openldap, I need some feedback. Is based in the SAMBA_3 code, but in the
  2.2.x fashion.
   Okay, when the patch is up, I will apply and test, but that is only
 with Samba 2.2.7a and OpenLDAP 2.0.25 on a ReDHat 8.0 system ... I don't
 have much else to do complete tests with.


Same environment on Mandrake 8.2/9.0 ...

  the patch includes tree small ones:
 
  to configure.in (about 10 lines)
  to include/config.h.in (one line)
  to passdb/pdb_ldap.c (a bit long)
 
  As openLDAP don't have LDAP_SET_REBIND_PROC_ARGS definied in their .h
  (at leas t in te 2.0.25/21 and 2.1.7), the macros in the configure are
  required.
   Great, that is what I was not looking forward tring to figure out ...
 Thanks again.

Cool, thanks to both of you.

Regards,
Buchan

-- 
|Registered Linux User #182071-|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7




Re: [PATCH 2.2.7a] was: Samba Referrals

2003-01-11 Thread Buchan Milne
On Sat, 11 Jan 2003, C.Lee Taylor wrote:

   Okay, the problem I have run into now, is if I apply the patches, by
 hand sometimes, I still have to run autoconf before running configure
 ... now, this is not a show-stopper ... but for package compiling, which
 I am sure Buchan Miline is doing, as I am ... this is not a source patch
 ... or at least not for me ...


We already run autoconf, just BuildRequires: autoconf, then:

%build
(cd source
autoconf
%configure
etc ...


   Maybe after successful testing, we could get Jerry ( I am sorry if I
 get this wrong ... I always seem too ) to include this in Samba 2.2 as
 production code.


I am sure the patches will get into SAMBA_2_2 if the samba team thinks
there will be another 2.2.x release, but it would be nice to have them in
sooner so we can use official patches.

Buchan

-- 
|Registered Linux User #182071-|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7