On 1/11/18 9:49 AM, Dominik Csapak wrote: > this was missing and lead to 'use of unitialized value $realm...' > and a not working second server if a bindpw was defined > > Signed-off-by: Dominik Csapak <d.csa...@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lampre...@proxmox.com> > --- > PVE/Auth/LDAP.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/PVE/Auth/LDAP.pm b/PVE/Auth/LDAP.pm > index 310234a..9f08504 100755 > --- a/PVE/Auth/LDAP.pm > +++ b/PVE/Auth/LDAP.pm > @@ -145,7 +145,7 @@ sub authenticate_user { > my $err = $@; > return 1 if !$err; > die $err if !$config->{server2}; > - &$authenticate_user_ldap($config, $config->{server2}, $username, > $password); > + &$authenticate_user_ldap($config, $config->{server2}, $username, > $password, $realm); > } > > 1; > _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel