Re: [PacketFence-users] Empty NTLM redis cache

2021-04-30 Thread Cristian Mammoli via PacketFence-users
[root@srvpf conf]# cat domain.conf [APRA] ntlm_cache_filter=(&(samAccountName=*)(!(|(lockoutTime=>0)(userAccountControl:1.2.840.113556.1.4.803:=2 ntlm_cache=enabled registration=1 ntlm_cache_expiry=2592000 dns_name=APRA.IT dns_servers=192.168.0.7,192.168.0.76 ou=Computers ntlm_cache_on_connect

Re: [PacketFence-users] Empty NTLM redis cache

2021-04-30 Thread Quiniou-Briand, Nicolas via PacketFence-users
Hello Cristian, Could you send me content of: - domain.conf (please remove any personal information) ? - authentication.conf (only source use for NTLM cache) I opened several issues this morning related to NTLM cache in PacketFence but I don't think you are concerned. Thanks Nicolas Quiniou-Br

Re: [PacketFence-users] Empty NTLM redis cache

2021-04-27 Thread Cristian Mammoli via PacketFence-users
It works, i tried clearing my user and loggin in reconnecting via wifi and it's populated again. What is the purpose of the redis cache then?? The initial bulk load anyway is not working... cat /usr/local/pf/var/cache/ntlm_cache_users/APRA.valid-users.txt|wc -l 1643 [root@srvpf ~]# /usr/local/p

Re: [PacketFence-users] Empty NTLM redis cache

2021-04-27 Thread Quiniou-Briand, Nicolas via PacketFence-users
Hello, > Maybe you mean /usr/local/pf/bin/pfcmd cache ntlm_cache_username_lookup list? Yes, sorry. > I get a bunch of user and computer accounts (215 total) in the format DOMAIN.sAMAccountName and DOMAIN.userPrincipalName I think it means that your NTLM cache is working. You can try to clear ca

Re: [PacketFence-users] Empty NTLM redis cache

2021-04-26 Thread Quiniou-Briand, Nicolas via PacketFence-users
Hello Cristian, What is the output of: #v+ /usr/local/pf/bin/pfcmd cache ntlm_cache_username_lookup_list #v- ? Regards, Nicolas Quiniou-Briand Product Support Engineer [cid:image001.png@01D73A98.A84DA5E0] Office: +33156696210 Akamai Technologies 145 Broadway Cambridge, MA 02142 C

Re: [PacketFence-users] Empty NTLM redis cache

2021-04-26 Thread Cristian Mammoli via PacketFence-users
[root@srvpf pf]# /usr/local/pf/bin/pfcmd cache ntlm_cache_username_lookup_list invalid arguments Maybe you mean /usr/local/pf/bin/pfcmd cache ntlm_cache_username_lookup list? [root@srvpf pf]# /usr/local/pf/bin/pfcmd cache ntlm_cache_username_lookup list I get a bunch of user and computer a

[PacketFence-users] Empty NTLM redis cache

2021-04-26 Thread Cristian Mammoli via PacketFence-users
Hi, I configured the ntlm cache feature years ago and never looked back. Today I checked the redis instance that should hold the nt hashes and it is empty: [root@srvpf ~]# redis-cli -h localhost -p 6383 localhost:6383> keys * (empty list or set) localhost:6383> But I have no errors in the log: