Permalink
Browse files

Fix wrong auth parameters display

  • Loading branch information...
1 parent 1198e68 commit 4b9c93a4fd895897e3f50ae57102e95a19164c08 @cdujeu cdujeu committed Jul 12, 2016
@@ -88,7 +88,7 @@ public function logoutCallback(\Psr\Http\Message\ServerRequestInterface $request
public function checkPassword($login, $pass, $seed)
{
if (!defined('SMB4PHP_SMBCLIENT')) {
- define('SMB4PHP_SMBCLIENT', $this->pluginConf["SMBCLIENT"]);
+ define('SMB4PHP_SMBCLIENT', $this->options["SMBCLIENT"]);
}
require_once(AJXP_INSTALL_PATH . "/" . AJXP_PLUGINS_FOLDER . "/access.smb/smb.php");
@@ -8,7 +8,7 @@
<server_settings>
<param name="REPOSITORY_ID" type="select" choices="json_list:list_all_repositories_json" label="CONF_MESSAGE[Workspace]" description="CONF_MESSAGE[ID of the workspace used to validate credentials]" mandatory="true"/>
<param name="ADMIN_USER" type="string" label="CONF_MESSAGE[Admin user]" description="CONF_MESSAGE[The ID of an existing admin for Pydio (using conf.serial)]" mandatory="true"/>
- <global_param name="SMBCLIENT" type="string" label="CONF_MESSAGE[Smbclient]" description="CONF_MESSAGE[Path to smbclient executable, considered to be in the path by default.]" mandatory="true" default="smbclient"/>
+ <param name="SMBCLIENT" type="string" label="CONF_MESSAGE[Smbclient]" description="CONF_MESSAGE[Path to smbclient executable, considered to be in the path by default.]" mandatory="true" default="smbclient"/>
</server_settings>
<class_definition filename="plugins/auth.smb/SmbAuthDriver.php" classname="Pydio\Auth\Driver\SmbAuthDriver"/>
<registry_contributions>
@@ -380,6 +380,13 @@ public function listChildrenGroups($baseGroup = "/")
}
/**
+ * @return string
+ */
+ public function getStats(){
+ return $this->getId();
+ }
+
+ /**
* @param UserInterface $userObject
*/
public function updateUserObject(&$userObject)

0 comments on commit 4b9c93a

Please sign in to comment.