projects
/
pve-access-control.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
396034e
)
use correct connection string for AD auth (use encryption and port info).
author
Dietmar Maurer
<dietmar@proxmox.com>
Thu, 22 May 2014 05:12:25 +0000
(07:12 +0200)
committer
Dietmar Maurer
<dietmar@proxmox.com>
Thu, 22 May 2014 05:12:25 +0000
(07:12 +0200)
PVE/Auth/AD.pm
patch
|
blob
|
blame
|
history
diff --git
a/PVE/Auth/AD.pm
b/PVE/Auth/AD.pm
index eb502f7bbf3a3348dc8fb44568fe5c1af641ea04..35396b937c77f2efffc5d93c18d8740827204c0f 100755
(executable)
--- a/
PVE/Auth/AD.pm
+++ b/
PVE/Auth/AD.pm
@@
-80,7
+80,7
@@
my $authenticate_user_ad = sub {
my $scheme = $config->{secure} ? 'ldaps' : 'ldap';
my $conn_string = "$scheme://${server}:$port";
- my $ldap = Net::LDAP->new($
server
) || die "$@\n";
+ my $ldap = Net::LDAP->new($
conn_string
) || die "$@\n";
$username = "$username\@$config->{domain}"
if $username !~ m/@/ && $config->{domain};