From aa9d28df0c1d5127a336a1dea8a8929fffd285e0 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Aug 05 2008 08:12:51 +0000 Subject: Do not call domainname when run with --nostart (#457697) --- diff --git a/authconfig.spec.in b/authconfig.spec.in index 0623dc9..32b052e 100644 --- a/authconfig.spec.in +++ b/authconfig.spec.in @@ -95,6 +95,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/pixmaps/* %changelog +* Tue Aug 5 2008 Tomas Mraz - 5.4.4-1 +- do not call domainname when run with --nostart (#457697) + * Fri Jun 6 2008 Tomas Mraz - 5.4.3-1 - remove the --enableldapssl alias and add some help to GUI tooltips to clear up some confusion (#220973) diff --git a/authinfo.py b/authinfo.py index ac55036..dec9e3b 100644 --- a/authinfo.py +++ b/authinfo.py @@ -493,7 +493,8 @@ def toggleCachingService(enableCaching, nostart): def toggleNisService(enableNis, nisDomain, nostart): if enableNis and nisDomain: - os.system("/bin/domainname " + nisDomain) + if not nostart: + os.system("/bin/domainname " + nisDomain) try: os.stat(PATH_PORTMAP) os.system("/sbin/chkconfig --add portmap") @@ -515,7 +516,8 @@ def toggleNisService(enableNis, nisDomain, nostart): except OSError: pass else: - os.system("/bin/domainname \"(none)\"") + if not nostart: + os.system("/bin/domainname \"(none)\"") try: os.stat(PATH_YPBIND) if not nostart: diff --git a/configure.in b/configure.in index 1fff800..5cc3dc3 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -AC_INIT(authconfig,5.4.3) +AC_INIT(authconfig,5.4.4) AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip]) AC_PREFIX_DEFAULT(/usr) AC_PROG_CC