John Fawcett wrote:

> @@ -4713,7 +4793,7 @@
> -               result = dm_sock_compare(clientsock, "", sockno);
> +               result = dm_sock_compare(clientsock, sockok, sockno);

don't do that. You won't be able to use the usermap's best-row-matches-best
weighing feature that determines which row to use for the actual mapping.

The idea is that any match on a sock_deny will deny access, but the actual
usermapping used is determined by the row whose sock_allow matches best with the
socket the client is connecting on.

check out the patch in my other mail.

-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to