Hello, I'm trying to automount home dirs from an OpenBSD 4.4:
# amq -v amd 1.1.1.1 of 1995/10/18 08:47:13 bsd44. # uname -a OpenBSD ablvpn01.internal.novero.com 4.4 GENERIC#1021 i386 And have the problem that the amd doesn't seem to understand the NIS format here in our RHEL 3,4,5 + Solaris 10 + HP-UX environment: [EMAIL PROTECTED]:root# amd -l /dev/stderr -x all -p -a /tmp_mnt /home auto.home 27633 Nov 11 15:37:12 ablvpn01 amd[27633]/info: file server localhost type local starts up Nov 11 15:37:12 ablvpn01 amd[27633]/map: Trying mount of auto.home on /home fstype toplvl Nov 11 15:37:12 ablvpn01 amd[844]/info: defeating nfs window computation Nov 11 15:37:12 ablvpn01 amd[27633]/info: auto.home mounted fstype toplvl on /home Nov 11 15:37:29 ablvpn01 amd[27633]/user: key afarber: No value component in "ablnas02:/vol/ablhom01/home/&" Nov 11 15:37:29 ablvpn01 amd[27633]/user: No fs type specified (key = "afarber", map = "auto.home") Nov 11 15:37:29 ablvpn01 amd[27633]/map: Map entry ablnas02:/vol/ablhom01/home/& for /home/afarber failed to match # amq / root "root" ablvpn01:(pid27633) /home toplvl auto.home /home /home/afarber error . //nil// When I look at the auto.home served by our NIS server (at RHEL 5): [EMAIL PROTECTED]:root# ypcat -k auto.home * ablnas02:/vol/ablhom01/home/& and then compare it to the function eval_opts() in the http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/amd/amd/opts.c then it seems to me that amd looks for an equal sign "=", i.e. probably some amd-specific format. Has anybody managed to find a way to let OpenBSD's amd understand the Linux autofs format? While searching I only found Mr. Bensend having same problem: http://openbsd.monkey.org/misc/200405/msg00610.html Thank you for any suggestions Alex PS: Here are my config files (and BTW hardmounting ablnas02:/vol/ablhom01/home/afarber to /mnt works ok): # cat /etc/rc.conf.local rdate_flags=NO httpd_flags=NO amd=YES pf=NO portmap=YES check_quotas=YES yppasswdd_flags=NO lockd=YES # tail -1 /etc/group +:*:: # tail -1 /etc/passwd +:*:0:0::: OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Xeon(R) CPU E5345 @ 2.33GHz ("GenuineIntel" 686-class) 2.34 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,SSE3 real mem = 133722112 (127MB) avail mem = 120881152 (115MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 07/22/08, BIOS32 rev. 0 @ 0xfd880, SMBIOS rev. 2.4 @ 0xe0010 (45 entries) bios0: vendor Phoenix Technologies LTD version "6.00" date 07/22/2008 bios0: VMware, Inc. VMware Virtual Platform apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xfd880/0x780 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf30/176 (9 entries) pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB ISA" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1e00! 0xca000/0x1000 0xdc000/0x4000! 0xe0000/0x4000! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x01 ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x01 pci1 at ppb0 bus 1 piixpcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x08 pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets, initiator 7 cd0 at scsibus0 targ 0 lun 0: <NECVMWar, VMware IDE CDR00, 1.00> ATAPI 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 ignored (disabled) piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x08: SMBus disabled vga1 at pci0 dev 15 function 0 "VMware Virtual SVGA II" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) drm at vga1 unsupported mpi0 at pci0 dev 16 function 0 "Symbios Logic 53c1030" rev 0x01: irq 9 scsibus1 at mpi0: 16 targets, initiator 7 sd0 at scsibus1 targ 0 lun 0: <VMware, Virtual disk, 1.0> SCSI2 0/direct fixed sd0: 8192MB, 1044 cyl, 255 head, 63 sec, 512 bytes/sec, 16777216 sec total mpi0: target 0 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1 vic0 at pci0 dev 17 function 0 "AMD 79c970 PCnet-PCI" rev 0x10: irq 11, address 00:0c:29:d0:be:7d isa0 at piixpcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pmsi0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pmsi0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec biomask e765 netmask ef65 ttymask ffff mtrr: Pentium Pro MTRR support softraid0 at root root on sd0a swap on sd0b dump on sd0b syncing disks... done rebooting... OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Xeon(R) CPU E5345 @ 2.33GHz ("GenuineIntel" 686-class) 2.34 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,SSE3 real mem = 133722112 (127MB) avail mem = 120881152 (115MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 07/22/08, BIOS32 rev. 0 @ 0xfd880, SMBIOS rev. 2.4 @ 0xe0010 (45 entries) bios0: vendor Phoenix Technologies LTD version "6.00" date 07/22/2008 bios0: VMware, Inc. VMware Virtual Platform apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xfd880/0x780 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf30/176 (9 entries) pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB ISA" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1e00! 0xca000/0x1000 0xdc000/0x4000! 0xe0000/0x4000! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x01 ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x01 pci1 at ppb0 bus 1 piixpcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x08 pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets, initiator 7 cd0 at scsibus0 targ 0 lun 0: <NECVMWar, VMware IDE CDR00, 1.00> ATAPI 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 ignored (disabled) piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x08: SMBus disabled vga1 at pci0 dev 15 function 0 "VMware Virtual SVGA II" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) drm at vga1 unsupported mpi0 at pci0 dev 16 function 0 "Symbios Logic 53c1030" rev 0x01: irq 9 scsibus1 at mpi0: 16 targets, initiator 7 sd0 at scsibus1 targ 0 lun 0: <VMware, Virtual disk, 1.0> SCSI2 0/direct fixed sd0: 8192MB, 1044 cyl, 255 head, 63 sec, 512 bytes/sec, 16777216 sec total mpi0: target 0 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1 vic0 at pci0 dev 17 function 0 "AMD 79c970 PCnet-PCI" rev 0x10: irq 11, address 00:0c:29:d0:be:7d isa0 at piixpcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pmsi0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pmsi0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec biomask e765 netmask ef65 ttymask ffff mtrr: Pentium Pro MTRR support softraid0 at root root on sd0a swap on sd0b dump on sd0b