<?php # test.php # Brian Shire <shire@tekrat.com> # Tests smbauth php module // See README.PHP for details, may require adjustments... dl("smbauth.so"); $res = smbauth_validate("user", "pass", "pdc", "bdc", "domain"); echo smbauth_err2str($res) . "\n"; ?>