29 require_once
"File/SMBPasswd.php";
33 require_once
"Auth/Container.php";
37 require_once
"PEAR.php";
86 $this->pwfile =
new File_SMBPasswd(
$filename,0);
88 if (!$this->pwfile->load()) {
108 return $this->pwfile->verifyAccount($username,
$password);
117 return $this->pwfile->getAccounts();
135 $res = $this->pwfile->addUser(
$user, $additional[
'userid'],
$pass);
137 return $this->pwfile->save();
153 $res = $this->pwfile->delUser($username);
155 return $this->pwfile->save();
171 $this->
log(
'Auth_Container_SMBPasswd::changePassword() called.',
AUTH_LOG_DEBUG);
174 return $this->pwfile->save();