git subrepo commit (merge) mailcow/src/mailcow-dockerized
subrepo: subdir: "mailcow/src/mailcow-dockerized"
merged: "02ae5285"
upstream: origin: "https://github.com/mailcow/mailcow-dockerized.git"
branch: "master"
commit: "649a5c01"
git-subrepo: version: "0.4.3"
origin: "???"
commit: "???"
Change-Id: I870ad468fba026cc5abf3c5699ed1e12ff28b32b
diff --git a/mailcow/src/mailcow-dockerized/data/web/inc/lib/vendor/adldap2/adldap2/src/Auth/BindException.php b/mailcow/src/mailcow-dockerized/data/web/inc/lib/vendor/adldap2/adldap2/src/Auth/BindException.php
new file mode 100644
index 0000000..aeef08b
--- /dev/null
+++ b/mailcow/src/mailcow-dockerized/data/web/inc/lib/vendor/adldap2/adldap2/src/Auth/BindException.php
@@ -0,0 +1,45 @@
+<?php
+
+namespace Adldap\Auth;
+
+use Adldap\AdldapException;
+use Adldap\Connections\DetailedError;
+
+/**
+ * Class BindException.
+ *
+ * Thrown when binding to an LDAP connection fails.
+ */
+class BindException extends AdldapException
+{
+ /**
+ * The detailed LDAP error.
+ *
+ * @var DetailedError
+ */
+ protected $detailedError;
+
+ /**
+ * Sets the detailed error.
+ *
+ * @param DetailedError|null $error
+ *
+ * @return $this
+ */
+ public function setDetailedError(DetailedError $error = null)
+ {
+ $this->detailedError = $error;
+
+ return $this;
+ }
+
+ /**
+ * Returns the detailed error.
+ *
+ * @return DetailedError|null
+ */
+ public function getDetailedError()
+ {
+ return $this->detailedError;
+ }
+}