fixed issue 1704, groups in ldap, thanks Peter Gastinger