Lines Matching refs:ConfigIface
57 std::string&& ldapBindDNPassword, ConfigIface::SearchScope ldapSearchScope, in Config()
58 ConfigIface::Type ldapType, bool ldapServiceEnabled, in Config()
80 ConfigIface::ldapServerURI(ldapServerURI); in Config()
81 ConfigIface::ldapBindDN(ldapBindDN); in Config()
82 ConfigIface::ldapBaseDN(ldapBaseDN); in Config()
83 ConfigIface::ldapSearchScope(ldapSearchScope); in Config()
84 ConfigIface::ldapType(ldapType); in Config()
86 ConfigIface::userNameAttribute(userNameAttr); in Config()
87 ConfigIface::groupNameAttribute(groupNameAttr); in Config()
111 ConfigIface::Type ldapType, ConfigMgr& parent) : in Config()
129 ConfigIface::ldapType(ldapType); in Config()
215 case ConfigIface::SearchScope::sub: in writeConfig()
218 case ConfigIface::SearchScope::one: in writeConfig()
221 case ConfigIface::SearchScope::base: in writeConfig()
250 if (ldapType() == ConfigIface::Type::ActiveDirectory) in writeConfig()
252 if (ConfigIface::userNameAttribute().empty()) in writeConfig()
254 ConfigIface::userNameAttribute("sAMAccountName"); in writeConfig()
256 if (ConfigIface::groupNameAttribute().empty()) in writeConfig()
258 ConfigIface::groupNameAttribute("primaryGroupID"); in writeConfig()
266 << ConfigIface::userNameAttribute() << "\n"; in writeConfig()
270 << ConfigIface::groupNameAttribute() << "\n"; in writeConfig()
277 << ConfigIface::userNameAttribute() << "\n"; in writeConfig()
280 else if (ldapType() == ConfigIface::Type::OpenLdap) in writeConfig()
282 if (ConfigIface::userNameAttribute().empty()) in writeConfig()
284 ConfigIface::userNameAttribute("cn"); in writeConfig()
286 if (ConfigIface::groupNameAttribute().empty()) in writeConfig()
288 ConfigIface::groupNameAttribute("gidNumber"); in writeConfig()
294 << ConfigIface::userNameAttribute() << "\n"; in writeConfig()
296 << ConfigIface::groupNameAttribute() << "\n"; in writeConfig()
386 val = ConfigIface::ldapServerURI(value); in ldapServerURI()
433 val = ConfigIface::ldapBindDN(value); in ldapBindDN()
476 val = ConfigIface::ldapBaseDN(value); in ldapBaseDN()
501 ConfigIface::SearchScope Config::ldapSearchScope(ConfigIface::SearchScope value) in ldapSearchScope()
503 ConfigIface::SearchScope val; in ldapSearchScope()
511 val = ConfigIface::ldapSearchScope(value); in ldapSearchScope()
533 ConfigIface::Type Config::ldapType(ConfigIface::Type /*value*/) in ldapType()
587 val = ConfigIface::userNameAttribute(value); in userNameAttribute()
619 val = ConfigIface::groupNameAttribute(value); in groupNameAttribute()
663 ConfigIface::ldapServerURI(str); in load()
666 ConfigIface::ldapBindDN(str); in load()
669 ConfigIface::ldapBaseDN(str); in load()
671 ConfigIface::SearchScope scope; in load()
673 ConfigIface::ldapSearchScope(scope); in load()
679 ConfigIface::userNameAttribute(str); in load()
682 ConfigIface::groupNameAttribute(str); in load()