An attempt to compile pdbsql-0.3.1 with samba-3.4.3 results in errors like this:
cc -g -I/usr/local/mysql/include/mysql -YP,/usr/ccs/lib:/usr/lib -xO4 -xstrconst -mt -I../samba-3.4.3/source3 -I../samba-3.4.3/source3/include -I../samba-3.4.3/source3/ubiqx -I../samba-3.4.3/source3/popt -I../samba-3.4.3/source3/lib/replace -I../samba-3.4.3/source3/tdb/include -I../samba-3.4.3/source3/librpc -fPIC -c pdb_multi.c
"../samba-3.4.3/source3/include/includes.h", line 28: cannot find include file: "../replace/replace.h"
"../samba-3.4.3/source3/include/includes.h", line 33: #error: "make sure you have removed all config.h files from standalone builds!"
cc: acomp failed for pdb_multi.c
gmake: *** [pdb_multi.o] Error 2
With attached patches it compiles and permits a domain login with a Windows XP Pro client. Most of the changes are to accomodate
the different source layout and changed symbols in samba-3.4.3. Changed .c files should compile with older samba versions, but
changes to Makefile.in are specific to samba-3.4.3. Somebody who understands configure will need to arrange for it to generate a
Makefile.in for each samba version. I'd also appreciate it if a few other people could test this patched version of pdbsql-0.3.1.
Patch for pdbsql-0.3.1-samba-3.4.3