Hi @all, in which version MAX_DEBUG_LEVEL in local.h and debug.h is available (not in 2.2.8a and not in 2.0.10a)? I want to get smaller binaries for the router system fli4l (router on a floppy) with reducing the amount of debugging informations. I have to use on of the above versions due last security fixes. I would prefere 2.0.10a, because it is smaller as 2.2.8a and has functionality enough for fli4l but as the subject stated: There is no define for this in this version and I'm not so an expert to add the nessary stuff in local.h and debug.h myself. I added /* the maximum debug level to compile into the code. This assumes a good optimising compiler that can remove unused code for embedded or low-memory systems set this to a value like 2 to get only important messages. This gives *much* smaller binaries */ #ifndef MAX_DEBUG_LEVEL #define MAX_DEBUG_LEVEL 2 #endif to local.h but without proper changings in debug.h this is not enough (no smaller binaries). Is anybody here, how can help me without breaking the security fix? BTW: I know, stripping with strip -R .comment -R .note will produce smaller binaries but they are not small enough... Thanks for your help der tom
I wrote:> in which version MAX_DEBUG_LEVEL in local.h and debug.h is available > (not in 2.2.8a and not in 2.0.10a)?hhmm. Seemed only available in samba 3 :( Think it is a hard work to change debug.c and smb.h from 2.0.10a to fit my needs (debug.h don't exists in 2.0.10a)? Thanks for your help der tom
On Thu, 2003-05-15 at 07:52, Thomas Bork wrote:> Hi @all, > > in which version MAX_DEBUG_LEVEL in local.h and debug.h is available > (not in 2.2.8a and not in 2.0.10a)? > I want to get smaller binaries for the router system fli4l (router on a > floppy) with reducing the amount of debugging informations. > I have to use on of the above versions due last security fixes. I would > prefere 2.0.10a, because it is smaller as 2.2.8a and has functionality > enough for fli4l but as the subject stated:If you want to stay with 2.0.10a, there is the security-rollup-fix available from the samba.org website. This applies to 2.0.10, as well as 2.2.8. Andrew Bartlett -- Andrew Bartlett abartlet@pcug.org.au Manager, Authentication Subsystems, Samba Team abartlet@samba.org Student Network Administrator, Hawker College abartlet@hawkerc.net http://samba.org http://build.samba.org http://hawkerc.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20030514/7ee42e53/attachment.bin