]> git.ipfire.org Git - thirdparty/sarg.git/commit
Accept any number of user id in the LDAP filter string
authorFrédéric Marchal <fmarchal@users.sourceforge.net>
Mon, 31 Jan 2011 20:17:25 +0000 (20:17 +0000)
committerFrédéric Marchal <fmarchal@users.sourceforge.net>
Mon, 31 Jan 2011 20:17:25 +0000 (20:17 +0000)
commitd1d8390c7f4bbf31ed78d5236c65700e951f1fd0
treee7a726d5720b8244cb301d88e229611e38c0ff37
parent0ee7618ef935e4d4432d24d56463087ac533a53b
Accept any number of user id in the LDAP filter string

The previous code would only accept up to five %s in the LDAP search
string. It is sufficient in most cases but we can do better than that
and accept any number of occurences as long as the resulting filter
string can fit in the fixed size buffer hard coded in sarg.
usertab.c