PHP 8.3.22 Released!

Voting

: max(nine, one)?
(Example: nine)

The Note You're Voting On

bau at kg-fds dot de
19 years ago
Hello, I've tried another, more easier way to check passwords than checking it to a pop3-server. If you are running a samba-server or a Windows PDC, so you can try to connect with the username/password you want to check to the netlogon of this server:

if (exec('echo "exit"|smbclient //server/netlogon -U'.$user.' '.$pass)=="") { ... }

If the username/password doesn't match, then the exec-command under LINUX returns an error.

Good luck
Baumg?rtner

<< Back to user notes page

To Top