landscape.py : fix old format in cmd
ldap.py : remove unneeded def setup
fix small misses following refactoring