fix gateway filename
initial ldap stuff, need to add config files