diff --git a/awit-ssh b/awit-ssh index 2dfc2882aa899c37a3ee1e6bfd404d334c7fa0f9..778c3e3883b4321b042684dc90f5fd1a7968fa70 100755 --- a/awit-ssh +++ b/awit-ssh @@ -54,7 +54,7 @@ use User::pwent; my $NAME = "AWIT-SSH-Client"; -our $VERSION = "0.7.1"; +our $VERSION = "0.7.2"; print(STDERR "$NAME v$VERSION - Copyright (c) 2016, AllWorldIT\n\n"); @@ -258,7 +258,7 @@ my $mesg = $ldap->bind("cn=$username,ou=Users,$ldapBase",password => $password); # Search $mesg = $ldap->search( base => "ou=Servers,$ldapBase", - filter => "(|(cn=$loginHost)(awitLoginHost=$loginHost)(awitLoginHostAlias=$loginHost))", + filter => "(|(cn=$loginHost)(awitLoginHostAlias=$loginHost))", ); # Check for error if (my $mesgCode = $mesg->code()) {