C.Lee Taylor wrote: >> >>Seems I was wrong (left out ldap switch ...), it doesn't compile on >>cooker, here is the error: >> >>Compiling passdb/pdb_ldap.c >>passdb/pdb_ldap.c: In function `ldap_connect_system': >>passdb/pdb_ldap.c:289: warning: passing arg 2 of `ldap_set_rebind_proc' >>from incompatible pointer type >>passdb/pdb_ldap.c:289: too many arguments to function >>`ldap_set_rebind_proc' >>make: *** [passdb/pdb_ldap.o] Error 1 > > What the real problem, is that the ldap_set_rebind_proc now takes 2 > par instead of 3. On line 289 ( I think remove the ",NULL" from the > call and recompile. It should then recompile fine. > > I am testing this at the moment. I now wish I could figure out the > autoconf stuff so that it could be tested for. > > I hope this helps. Please let me know if it works for you.
Thanks, compiles (with warning): Compiling passdb/pdb_ldap.c passdb/pdb_ldap.c: In function `ldap_connect_system': passdb/pdb_ldap.c:289: warning: passing arg 2 of `ldap_set_rebind_proc' from incompatible pointer type Will see if I can actually get it working later today (if I can devise an easy method to test it without disturbing our production dc ...) Regards, Buchan -- |--------------Another happy Mandrake Club member--------------| Buchan Milne Mechanical 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 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba