ldap_server: Log access without a bind
commitf4a4522d1f8c19fdf142e12760160b15de1557ec
authorAndrew Bartlett <abartlet@samba.org>
Thu, 2 Mar 2017 23:53:06 +0000 (3 12:53 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 29 Mar 2017 00:37:27 +0000 (29 02:37 +0200)
treec24d82860260f28395d0e7d6d0f7b5657133bc97
parent9a96f901f5e7369b33c839844d5a2286d4d44b6d
ldap_server: Log access without a bind

This can be over the privileged ldapi socket, or just as the implicit anonymous access

However, do not log for setting up StartTLS, or a rootDSE search.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Pair-Programmed-by: Gary Lockyer <gary@catalyst.net.nz>
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
source4/ldap_server/ldap_backend.c
source4/ldap_server/ldap_bind.c
source4/ldap_server/ldap_server.h
source4/ldap_server/wscript_build