Is there any function I can call which will authenticate a user? I'm looking for something like this $result = smb_auth($user,$pass,$pdc); so that I can check if a user/pass combination is a valid username/password on the windows network. Thanks Paul