Menu

#482 afp.conf line size limited to 1024

open
nobody
None
1
2023-04-11
2012-12-19
No

The iniparser uses multiple static char buffers when parsing afp.conf. These are sized at compile time, the size is defined to be 1024.
Certain parameters may requiere longer config strings, eg 'valid users' in large AD environments.
In order to fix this we need to rework the iniparser to use allocated buffers.

Discussion

  • Shiun

    Shiun - 2017-03-20

    I have the same issue with iniparser error.
    Is there any workaround solution in afp.conf to solve the problem?

     
  • Daniel Markstedt

    Would it make a difference to bump the value used in this macro? (dictionary.c)

    /** Maximum value size for integers and doubles. */
    #define MAXVALSZ 1024
    
     

Log in to post a comment.