Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help with automount



I have a network with a machine running updated Leopard server and a few client machines also running Leopard. The server is "od.misfits.org" and runs OD, DNS (is its own primary, forwarding unknowns to OpenDNS), DHCP, and AFP.

I'm having a lot of trouble with automount. I've tried demoting the server to standalone and then making it a master, with the idea that I'm creating the most vanilla configuration possible. I'm pulling my hair out and was hoping for some help or at least insight from the group. I have googled, read Apple's documentation and discussion boards, and looked at afp548. Not saying the solution isn't out there, but I can't find it.

Incidentally, I'm also having the "OD and password server get out of sync" problem, but I don't think that's coming into play here.

Here's what I have:

On od.misfits.org, it looks like forward and reverse DNS are okay, and did before this machine was made OD master:

od:~ heath$ host od.misfits.org
od.misfits.org has address 10.0.0.2
od:~ heath$ host 10.0.0.2
2.0.0.10.in-addr.arpa domain name pointer od.misfits.org.

and changeip agrees:

od:~ heath$ sudo changeip -checkhostname

Primary address     = 10.0.0.2

Current HostName    = od.misfits.org
DNS HostName        = od.misfits.org

The names match. There is nothing to change.

If I log into a client machine (I've tried more than one, but this is typical), I get an error 118 trying to cd into my home directory:

downstairs-mac-mini:/ heath$ cd
-bash: cd: /Network/Servers/od.misfits.org/Volumes/RAIDA/Users/heath: Unknown error: 118
downstairs-mac-mini:/ heath$ cd /Network/Servers/od.misfits.org/Volumes/RAIDA/
downstairs-mac-mini:RAIDA heath$ cd Users
-bash: cd: Users: Unknown error: 118

Here's what my user record looks like:

downstairs-mac-mini:/ heath$  dscl /LDAPv3/od.misfits.org -read /Users/heath
dsAttrTypeNative:apple-generateduid: F0F90CE6-B259-48AE-938A-4B6B343B2DA3
dsAttrTypeNative:apple-mcxflags:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
       <key>simultaneous_login_enabled</key>
       <true/>
</dict>
</plist>

dsAttrTypeNative:apple-user-homeurl: <home_dir><url>afp://od.misfits.org/Users</url><path>heath</path></home_dir>
dsAttrTypeNative:authAuthority:
;ApplePasswordServer;0x482a0a86271bb2300000000700000007,1024 35 115280715808186216688032021129249591838076329834171162823342565673085053109637638508962034102484176146121266437154428114182921645595596258559008020443062942150337649873129577050849321550915453245487847413984674507636964414936651307979897637310012733631654941036088974350124591579947512044559698031007968602619 email@hidden:10.0.0.2
;Kerberosv5;0x482a0a86271bb2300000000700000007;email@hidden;OD.MISFITS.ORG;1024 35 115280715808186216688032021129249591838076329834171162823342565673085053109637638508962034102484176146121266437154428114182921645595596258559008020443062942150337649873129577050849321550915453245487847413984674507636964414936651307979897637310012733631654941036088974350124591579947512044559698031007968602619 email@hidden:10.0.0.2
dsAttrTypeNative:cn:
Heath Roberts
dsAttrTypeNative:gidNumber: 20
dsAttrTypeNative:givenName: Heath
dsAttrTypeNative:homeDirectory: /Network/Servers/od.misfits.org/Volumes/RAIDA/Users/heath
dsAttrTypeNative:loginShell: /bin/bash
dsAttrTypeNative:objectClass: inetOrgPerson posixAccount shadowAccount apple-user extensibleObject organizationalPerson top person
dsAttrTypeNative:sn: Roberts
dsAttrTypeNative:uid: heath
dsAttrTypeNative:uidNumber: 1025
dsAttrTypeNative:userPassword: ********
AppleMetaNodeLocation: /LDAPv3/od.misfits.org
AuthenticationAuthority:
;ApplePasswordServer;0x482a0a86271bb2300000000700000007,1024 35 115280715808186216688032021129249591838076329834171162823342565673085053109637638508962034102484176146121266437154428114182921645595596258559008020443062942150337649873129577050849321550915453245487847413984674507636964414936651307979897637310012733631654941036088974350124591579947512044559698031007968602619 email@hidden:10.0.0.2
;Kerberosv5;0x482a0a86271bb2300000000700000007;email@hidden;OD.MISFITS.ORG;1024 35 115280715808186216688032021129249591838076329834171162823342565673085053109637638508962034102484176146121266437154428114182921645595596258559008020443062942150337649873129577050849321550915453245487847413984674507636964414936651307979897637310012733631654941036088974350124591579947512044559698031007968602619 email@hidden:10.0.0.2
FirstName: Heath
GeneratedUID: F0F90CE6-B259-48AE-938A-4B6B343B2DA3
HomeDirectory: <home_dir><url>afp://od.misfits.org/Users</url><path>heath</path></home_dir>
LastName: Roberts
MCXFlags:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
       <key>simultaneous_login_enabled</key>
       <true/>
</dict>
</plist>

NFSHomeDirectory: /Network/Servers/od.misfits.org/Volumes/RAIDA/Users/heath
Password: ********
PrimaryGroupID: 20
RealName:
Heath Roberts
RecordName:
heath
Heath Roberts
RecordType: dsRecTypeStandard:Users
UniqueID: 1025
UserShell: /bin/bash

and here's what the mount record looks like for the "Users" share.
(I don't like that "Volumes/RAIDA/" is in there--that should be hidden from the end user, as far as I'm concerned--what if I want to move Users to RAIDC one day?, but that'll be a question for a different day.)

downstairs-mac-mini:/ heath$  dscl /LDAPv3/od.misfits.org -read /Mounts/od.misfits.org:/Volumes/RAIDA/Users
dsAttrTypeNative:cn: od.misfits.org:/Volumes/RAIDA/Users
dsAttrTypeNative:mountDirectory: /Network/Servers/
dsAttrTypeNative:mountOption: net url="" href="http://NO%20USER%email@hidden/Users">NO%20USER%email@hidden/Users
dsAttrTypeNative:mountType: url
dsAttrTypeNative:objectClass: mount top
AppleMetaNodeLocation: /LDAPv3/od.misfits.org
RecordName: od.misfits.org:/Volumes/RAIDA/Users
RecordType: dsRecTypeStandard:Mounts
VFSLinkDir: /Network/Servers/
VFSOpts: net url="" href="http://NO%20USER%email@hidden/Users">NO%20USER%email@hidden/Users
VFSType: url

I get the same 118 error if I try to access a directory that should be automounted as /Network/Shared

downstairs-mac-mini:/ heath$ dscl /LDAPv3/od.misfits.org -read /Mounts/od.misfits.org:/Volumes/RAIDA/Shared
dsAttrTypeNative:cn: od.misfits.org:/Volumes/RAIDA/Shared
dsAttrTypeNative:mountDirectory: /Network/Shared
dsAttrTypeNative:mountOption: url="" href="http://NO%20USER%email@hidden/Shared">NO%20USER%email@hidden/Shared
dsAttrTypeNative:mountType: url
dsAttrTypeNative:objectClass: mount top
AppleMetaNodeLocation: /LDAPv3/od.misfits.org
RecordName: od.misfits.org:/Volumes/RAIDA/Shared
RecordType: dsRecTypeStandard:Mounts
VFSLinkDir: /Network/Shared
VFSOpts: url="" href="http://NO%20USER%email@hidden/Shared">NO%20USER%email@hidden/Shared
VFSType: url

downstairs-mac-mini:/ heath$ df
Filesystem    512-blocks     Used Available Capacity  Mounted on
/dev/disk0s2   155629664 85969280  69148384    56%    /
devfs                213      213         0   100%    /dev
fdesc                  2        2         0   100%    /dev
map -hosts             0        0         0   100%    /net
map auto_home          0        0         0   100%    /home
map -fstab             0        0         0   100%    /Network/Servers
map -static            0        0         0   100%    /Network/Library
map -static            0        0         0   100%    /Network/Applications
map -static            0        0         0   100%    /Network/Shared
trigger                0        0         0   100%    /Network/Servers/od.misfits.org/Volumes
trigger                0        0         0   100%    /Network/Servers/od.misfits.org/Volumes/RAIDA
trigger                0        0         0   100%    /Network/Servers/od.misfits.org/Volumes/RAIDA/Users

So, it looks to me like it should work, but:

downstairs-mac-mini:/ heath$ cd /Network/Shared
-bash: cd: /Network/Shared: Unknown error: 118

Suggestions? Pointers? An outright fix?

Thanks in advance,
Heath


--
Heath Roberts
email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.