Greetings, I've got a Fedora 42, proftpd-1.3.9, server with LDAPUsers setup for auth, but don't use the LDAPGroups option for anything. All users are forced to use the same GID after authenticating. This is working fine, but logs a message to systemd journal every time a user logs in saying LDAPGroups is not configured. This isn't causing any impact aside from confusing some people, so I'd say priority is low.
Would it be possible to change the loglevel to warning instead of notice?
Install info:
$ cat /etc/redhat-release
Fedora release 42 (Adams)
$ rpm -qa | grep proftpd
proftpd-1.3.9-1.fc42.x86_64
proftpd-ldap-1.3.9-1.fc42.x86_64
proftpd-utils-1.3.9-1.fc42.x86_64
Config info:
$ grep -v '#' /etc/sysconfig/proftpd
PROFTPD_OPTIONS=""
$ sudo grep -i syslog /etc/proftpd.conf
$ sudo grep -i syslog /etc/proftpd.conf/conf.d/*
Logs:
$ sudo journalctl -u proftpd --since '1 hour ago' | wc -l
75
$ sudo journalctl -u proftpd --since '1 hour ago' | grep -c LDAPGroups
60
$ sudo journalctl -u proftpd --since '1 hour ago' | grep LDAPGroups | tail -2
Oct 31 14:22:16 proftpd[1842325]: mod_ldap/2.9.5: LDAPGroups not configured, skipping LDAP-based group memberships
Oct 31 14:23:44 proftpd[1842354]: mod_ldap/2.9.5: LDAPGroups not configured, skipping LDAP-based group memberships
Looking at contrib/mod_ldap.c, the log message for missing LDAPUsers happens at warning level:
|
pr_log_pri(PR_LOG_WARNING, MOD_LDAP_VERSION |
But the one for LDAPGroups happens at notice:
|
pr_log_pri(PR_LOG_NOTICE, MOD_LDAP_VERSION |
Please let me know if you need any additional info from me. Thanks!
Greetings, I've got a Fedora 42, proftpd-1.3.9, server with
LDAPUserssetup for auth, but don't use theLDAPGroupsoption for anything. All users are forced to use the same GID after authenticating. This is working fine, but logs a message to systemd journal every time a user logs in sayingLDAPGroupsis not configured. This isn't causing any impact aside from confusing some people, so I'd say priority is low.Would it be possible to change the loglevel to warning instead of notice?
Install info:
Config info:
Logs:
Looking at contrib/mod_ldap.c, the log message for missing
LDAPUsershappens at warning level:proftpd/contrib/mod_ldap.c
Line 3805 in 5194296
But the one for
LDAPGroupshappens at notice:proftpd/contrib/mod_ldap.c
Line 3810 in 5194296
Please let me know if you need any additional info from me. Thanks!