Compiling nsswitch/winbindd_rpc.c cc-1515 cc: ERROR File = nsswitch/winbindd_rpc.c, Line = 726 A value of type "int" cannot be assigned to an entity of type "LDAP *". if ((ldp = ldap_open_with_timeout(server, port, lp_ldap_timeout())) == NULL) ^ 1 error detected in the compilation of "nsswitch/winbindd_rpc.c". *** Error code 2 (bu21)
Created attachment 566 [details] manually declare ldap_open_with_timeout() This is a problem with proto.h. ldap_open_with_timeout() does in fact return LDAP* but is not being included in proto.h so as to prevent build problems on platforms without LDAP headers.
checked in for 3.0.5 final.
Created attachment 572 [details] mkprot pick this declaration up if the whitespace is right
originally against 3.0.5rc1 (which was 34.0.6rc1 due to the security release).
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.