PDA

View Full Version : SLES 12 autofs domain name not set



mikenash
09-Dec-2015, 21:54
Received the following message: automount[1662]: lookup_init:136: lookup(yp): map auto.master: Local domain name not set

cat /etc/sysconfig/network/config | grep NETCONFIG_NIS_SETDOMAINNAME
NETCONFIG_NIS_SETDOMAINNAME="yes"
domainname
(none)
How do you set the domainname?

smflood
09-Dec-2015, 23:41
mikenash Wrote in message:

> Received the following message: automount[1662]: lookup_init:136:
> lookup(yp): map auto.master: Local domain name not set
>
> Code:
> --------------------
> cat /etc/sysconfig/network/config | grep NETCONFIG_NIS_SETDOMAINNAME
> NETCONFIG_NIS_SETDOMAINNAME="yes"
> domainname
> (none)
> --------------------
>
> How do you set the domainname?

The easy way is to add a single line to /etc/defaultdomain.

HTH.
--
Simon Flood
SUSE Knowledge Partner


----Android NewsGroup Reader----
http://usenet.sinaapp.com/

mikenash
10-Dec-2015, 14:55
Good morning Simon, thank you for this reply.