<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: NIS Migration - Problem with auto.export in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-migration-problem-with-auto-export/m-p/3738158#M550437</link>
    <description>Hi Peter,&lt;BR /&gt;&lt;BR /&gt;Yes it is with Tab. Attaching my Makefile.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Manoj</description>
    <pubDate>Sun, 26 Feb 2006 01:40:49 GMT</pubDate>
    <dc:creator>Manoj Sivan</dc:creator>
    <dc:date>2006-02-26T01:40:49Z</dc:date>
    <item>
      <title>NIS Migration - Problem with auto.export</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-migration-problem-with-auto-export/m-p/3738154#M550433</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am on the way of migrating NIS user from one NIS server to another. The usrer which i am migrating are having their home directory in the old NIS server which dont have home directory exported from their workstation.I would like to continue using that home directory of the old NIS server. The directory is exported and i am able to mount it through fstab.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I tried to add the following lines in the new servers Makefile for mapping of those directories.&lt;BR /&gt;====================================================================================================&lt;BR /&gt;$(YPDBDIR)/$(DOM)/auto_export.time: $(DIR)/auto_export&lt;BR /&gt;        @(sed -e "s/^[ |        ]*//g" -e "/^#/d" -e s/#.*$$// &amp;lt; $(DIR)/auto_export $(CHKPIPE))| \&lt;BR /&gt;                $(MAKEDBM) - $(YPDBDIR)/$(DOM)/auto.export;&lt;BR /&gt;        @touch $(YPDBDIR)/$(DOM)/auto_export.time;&lt;BR /&gt;        @echo "updated auto.export";&lt;BR /&gt;        @if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOM) auto.export; fi&lt;BR /&gt;        @if [ ! $(NOPUSH) ]; then echo "pushed auto.export"; fi&lt;BR /&gt; &lt;BR /&gt;$(YPDBDIR)/$(DOM)/auto_Direct.time: $(DIR)/auto_Direct&lt;BR /&gt;        @(sed -e "s/^[ |        ]*//g" -e "/^#/d" -e s/#.*$$// &amp;lt; $(DIR)/auto_Direct $(CHKPIPE))| \&lt;BR /&gt;                $(MAKEDBM) - $(YPDBDIR)/$(DOM)/auto.Direct;&lt;BR /&gt;        @touch $(YPDBDIR)/$(DOM)/auto_Direct.time;&lt;BR /&gt;        @echo "updated auto.Direct";&lt;BR /&gt;        @if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOM) auto.Direct; fi&lt;BR /&gt;        @if [ ! $(NOPUSH) ]; then echo "pushed auto.Direct"; fi&lt;BR /&gt;====================================================================================================&lt;BR /&gt;auto.export:&lt;BR /&gt;        @if [ ! $(NOPUSH) ]; then $(MAKE) $(MFLAGS) -k \&lt;BR /&gt;                $(YPDBDIR)/$(DOM)/auto_export.time DOM=$(DOM) DIR=$(DIR); \&lt;BR /&gt;        else $(MAKE) $(MFLAGS) -k $(YPDBDIR)/$(DOM)/auto_export.time \&lt;BR /&gt;                DOM=$(DOM) DIR=$(DIR) NOPUSH=$(NOPUSH);fi&lt;BR /&gt;auto.Direct:&lt;BR /&gt;        @if [ ! $(NOPUSH) ]; then $(MAKE) $(MFLAGS) -k \&lt;BR /&gt;                $(YPDBDIR)/$(DOM)/auto_Direct.time DOM=$(DOM) DIR=$(DIR); \&lt;BR /&gt;        else $(MAKE) $(MFLAGS) -k $(YPDBDIR)/$(DOM)/auto_Direct.time \&lt;BR /&gt;                DOM=$(DOM) DIR=$(DIR) NOPUSH=$(NOPUSH);fi&lt;BR /&gt;====================================================================================================&lt;BR /&gt;&lt;BR /&gt;and when do a make at /var/yp i am getting following error.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Bad character | (octal 174), line 239Make: .  Stop.&lt;BR /&gt;&lt;BR /&gt;(line 239 is : $(MAKEDBM) - $(YPDBDIR)/$(DOM)/auto.export;)&lt;BR /&gt;&lt;BR /&gt;So kindly guide me, whether i am doing any wrong step. What i have done so far is to replicate the entries in the  passwd, group, auto_user, netgroup entries domainypsrc directory.&lt;BR /&gt;&lt;BR /&gt;Waiting for the expert comments.&lt;BR /&gt;&lt;BR /&gt;With Regards&lt;BR /&gt;&lt;BR /&gt;manoj</description>
      <pubDate>Thu, 23 Feb 2006 10:48:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-migration-problem-with-auto-export/m-p/3738154#M550433</guid>
      <dc:creator>Manoj Sivan</dc:creator>
      <dc:date>2006-02-23T10:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: NIS Migration - Problem with auto.export</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-migration-problem-with-auto-export/m-p/3738155#M550434</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;if I compare this against similar entries in my Makefile, I see this difference:&lt;BR /&gt;Yours:&lt;BR /&gt; @(sed -e "s/^[ | ]*//g" -e "/^#/d" -e s/#.*$$// &amp;lt; $(DIR)/auto_export $(CHKPIPE))| \&lt;BR /&gt;$(MAKEDBM) - $(YPDBDIR)/$(DOM)/auto.export;&lt;BR /&gt;&lt;BR /&gt;Mine:&lt;BR /&gt; @(sed -e "s/^[ | ]*//g" -e "/^#/d" -e s/#.*$$// &amp;lt; $(DIR)/auto_export $(CHKPIPE)) \&lt;BR /&gt;| $(MAKEDBM) - $(YPDBDIR)/$(DOM)/auto.export;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Nevertheless the first one seems syntactically correct as well for the Posix shell. If you have a&lt;BR /&gt;SHELL = ..&lt;BR /&gt;line in your Makefiles, check for its value.&lt;BR /&gt;&lt;BR /&gt;mfG Peter&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Feb 2006 05:18:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-migration-problem-with-auto-export/m-p/3738155#M550434</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2006-02-24T05:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: NIS Migration - Problem with auto.export</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-migration-problem-with-auto-export/m-p/3738156#M550435</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I verified the variables in the Makefile and seems no SHELL variable set.&lt;BR /&gt;&lt;BR /&gt;#DIR =/etc&lt;BR /&gt;DIR =/var/yp/sgp-nis_maps&lt;BR /&gt;DOM = `domainname`&lt;BR /&gt;NOPUSH = ""&lt;BR /&gt;ALIASES = /etc/mail/aliases&lt;BR /&gt;YPDIR=/usr/sbin&lt;BR /&gt;YPDBDIR=/var/yp&lt;BR /&gt;YPPUSH=$(YPDIR)/yppush&lt;BR /&gt;MAKEDBM=$(YPDIR)/makedbm&lt;BR /&gt;REVNETGROUP=$(YPDIR)/revnetgroup&lt;BR /&gt;STDETHERS=$(YPDIR)/stdethers&lt;BR /&gt;STDHOSTS=$(YPDIR)/stdhosts&lt;BR /&gt;MKNETID=$(YPDIR)/mknetid&lt;BR /&gt;MKALIAS=$(YPDIR)/mkalias&lt;BR /&gt;PWFILE=$(DIR)/passwd&lt;BR /&gt;&lt;BR /&gt;Also tried to match the with your setup. Unfortunately same error. Is anything additionaly i need to set since auto.export was not there in the new NIS Makefile.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Manoj</description>
      <pubDate>Sat, 25 Feb 2006 02:17:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-migration-problem-with-auto-export/m-p/3738156#M550435</guid>
      <dc:creator>Manoj Sivan</dc:creator>
      <dc:date>2006-02-25T02:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: NIS Migration - Problem with auto.export</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-migration-problem-with-auto-export/m-p/3738157#M550436</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;a simple question: is your makefile really correcttly formatted for make syntax?&lt;BR /&gt;The first character in a make rules has to be a &lt;TAB&gt; character:&lt;BR /&gt;&lt;TAB&gt;@if [ ! $(NOPUSH) ]; then $(MAKE) $(MFLAGS) ...&lt;/TAB&gt;&lt;/TAB&gt;</description>
      <pubDate>Sat, 25 Feb 2006 07:41:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-migration-problem-with-auto-export/m-p/3738157#M550436</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2006-02-25T07:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: NIS Migration - Problem with auto.export</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-migration-problem-with-auto-export/m-p/3738158#M550437</link>
      <description>Hi Peter,&lt;BR /&gt;&lt;BR /&gt;Yes it is with Tab. Attaching my Makefile.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Manoj</description>
      <pubDate>Sun, 26 Feb 2006 01:40:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-migration-problem-with-auto-export/m-p/3738158#M550437</guid>
      <dc:creator>Manoj Sivan</dc:creator>
      <dc:date>2006-02-26T01:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: NIS Migration - Problem with auto.export</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-migration-problem-with-auto-export/m-p/3738159#M550438</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I don't think, that the makefile format is correct:&lt;BR /&gt;The file in the attachment does NOT have a &lt;TAB&gt; as the first character in the make rule for auto_export.time .&lt;BR /&gt;Other makerules do not have this was well!&lt;BR /&gt;&lt;BR /&gt;Check again, correct this and the makefile will work.&lt;BR /&gt;&lt;BR /&gt;mfG Peter&lt;/TAB&gt;</description>
      <pubDate>Wed, 01 Mar 2006 13:37:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-migration-problem-with-auto-export/m-p/3738159#M550438</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2006-03-01T13:37:23Z</dc:date>
    </item>
  </channel>
</rss>

