autofs domain name not set

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?

mikenash Wrote in message:
[color=blue]

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?[/color]

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/

Good morning Simon, thank you for this reply.