Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon1.gif   Limit number of characters for "login user" parameter string ?, posted by Christine Quicot on Tue Jan 10 09:59:30 2017 
    icon2.gif   Re: Limit number of characters for "login user" parameter string ?, posted by Stefan Ritt on Tue Jan 10 11:13:02 2017 
Message ID: 68543     Entry time: Tue Jan 10 11:13:02 2017     In reply to: 68542
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: Linux  ELOG Version: 3.1.2 
Subject: Re: Limit number of characters for "login user" parameter string ? 

There is a limit of 100 options per line, so you probably run against that. This is defined in elogd.h with MAX_N_LIST and MAX_N_ATTR. You can try to increase these and recompile, but at some point you will hit the stack size limit of your operating system and elogd will crash.

Christine Quicot wrote:

Hello all,

I use ELOG for about 30 users, and I've listed their email adresses in the "login user" parameter, using the LDAP authentication.
As I had problems with the users from the end of the list (they couldn't log in the logbooks) I guessed that there is a max length for the string "login user" (or other parameter?). it seems to be a 1000 character limit.
How can I parameter this limit to another value? Is this value used for other parameters?

Thanks for your answer.

 

ELOG V3.1.5-fe60aaf