Lines Matching defs:domain
39 SERVICE = 'svc:/network/nis/domain'
66 VALUE_AUTH = 'solaris.smf.value.name-service.nis.domain'
74 Non-existent or empty domain name means no domain."""
77 domain = self.get_prop_val(prop=self.DOMNAME)
78 if domain == None or domain == '':
105 # Create domain directory
110 domdir = os.path.join(self.LEGACY_YPBINDDIR, domain)
111 if not os.path.isdir(domdir): # No domain dir
128 data = domain + '\n'
173 If the domainname files does not exists, there is no domain."""
181 # First check for nis/domain un-configuration
185 # Import default domain
189 domain = lines[0]
190 self.print_msg(' processed domain: ', domain)
199 domdir = os.path.join(self.LEGACY_YPBINDDIR, domain)
200 if os.path.isdir(domdir): # domain dir
254 self.traceit(' adding: domainname ', domain)
255 ret = self.add_prop_val(self.DEFPG, self.DOMNAME, self.DOMTYPE, domain)
302 # This Function is a bit different for nis/domain, because
305 # determining if nis/domain is configured or not.
319 domain = self.get_prop_val(prop=self.DOMNAME)
320 if domain == None:
331 if domain == '':
332 if not self.legacy_exists(): # [1] no domain / no legacy file
335 if not self.legacy_exists(): # [2] domain / no legacy file
338 lines = self.load_legacy() # domain / legacy file
340 if lines[0] == domain:
341 dom_is_conf = True # [3] domain / legacy file match
344 # Unless there is a configured domain, there cannot be anything else
358 domdir = os.path.join(self.LEGACY_YPBINDDIR, domain)
359 if not os.path.isdir(domdir): # domain dir must also exist