The file libnet_samsync_ldif.c does not compile because mod_name is #defined in <stropts.h>. name space pollution ;-( Error message is: "libnet/libnet_samsync_ldif.c", line 60.15: 1506-277 (S) Syntax error: possible missing ';' or ','? Please apply patch to 3.4.7 (it seems to be need even in samba-3.5.x and master)
Created attachment 5693 [details] patch to undef mod_name
The way to deal with these things so far has been to rename the offending variable. I would recommend "module_name" instead of "mod_name" here. Thanks, Volker
Comment on attachment 5693 [details] patch to undef mod_name As said in an earlier comment: Please rename mod_name. You might also propose something similar for source4/lib/com/tables.c.
Created attachment 5694 [details] patch for samba 3.4.x
Added tested patch
Comment on attachment 5694 [details] patch for samba 3.4.x Looks good to me
Comment on attachment 5694 [details] patch for samba 3.4.x Andrew, this touches source4/. Please review and ack. Thanks, Volker
Created attachment 5695 [details] Patch for master/3.5 Patch for master and 3.5
What a weird and annoying bug! The patches are fine. Please apply.
Karolin, please pull the patches into the relevant branches. Thanks, Volker
Pushed to v3-5-test and v3-4-test. Closing out bug report. Thanks!