Automount home directories from another computer

Hello,
after 2 days of work, I write here to find some help.
I have a well configured Leopard Server 10.5.8 which serves users accounts through Open Directory: network users can log to all my Mac OS X clients, home directories are well automounted in /Network/Servers/myserver.com/Users/user1. myserver.com is the server of user1 Home directory.
Now, I want that (let's say) host1 (Leopard Workstation) becomes the Home directory server of user1. So, I created a local account on host1 with network credentials (uid, gid and passwd) and configure /etc/exports to export his home on the network with NFS.
How to put in LDAP server that his home directory is not located on myserver.com but on host1 ? That is when user1 logs on host2, host2 automount host1:/Users/user1 on /Network/Servers/host1/Users/user1 or elsewhere.
Note: I already test manually the configuration and it works!
1. In WGW, I put /path/user1 as user1's default Home Directory
2. On the client (host2), I manually mount host1:/Users/user1 to /path/user1
3. user1 logs into host2, it works fine.
But I cannot do it for each clients and for each new such user! This is why I want to put this information (for each such user) in LDAP to automatically distribute the information to clients.
Thank you for your help,
Joan

Hello,
after 2 days of work, I write here to find some help.
I have a well configured Leopard Server 10.5.8 which serves users accounts through Open Directory: network users can log to all my Mac OS X clients, home directories are well automounted in /Network/Servers/myserver.com/Users/user1. myserver.com is the server of user1 Home directory.
Now, I want that (let's say) host1 (Leopard Workstation) becomes the Home directory server of user1. So, I created a local account on host1 with network credentials (uid, gid and passwd) and configure /etc/exports to export his home on the network with NFS.
How to put in LDAP server that his home directory is not located on myserver.com but on host1 ? That is when user1 logs on host2, host2 automount host1:/Users/user1 on /Network/Servers/host1/Users/user1 or elsewhere.
Note: I already test manually the configuration and it works!
1. In WGW, I put /path/user1 as user1's default Home Directory
2. On the client (host2), I manually mount host1:/Users/user1 to /path/user1
3. user1 logs into host2, it works fine.
But I cannot do it for each clients and for each new such user! This is why I want to put this information (for each such user) in LDAP to automatically distribute the information to clients.
Thank you for your help,
Joan

Similar Messages

  • Automounting home directories from Redhat Linux OpenLDAP server

    We have an existing, functioning autofs environment here. At least the linux boxes have no problem automounting user home directories.
    I am looking for a more comprehensive solution to getting our macs integrated into this environment.
    What should the ldap entries contain?
    What should the attribute mappings be set to.
    I have ldap authentication working - the only thing left is automounting.
    Also - is there a way to get the nfs client to work over secure ports by default? Or is this a BSD thing?
    Thanks

    http://rajeev.name/blog/2007/12/09/integrating-leopard-autofs-with-ldap/
    There's some additional LDAP schema stuff that has to be done; Apple seems to have gone with the most absolutely bleeding edge RFC for automounts - and then removed all legacy support.
    This covers most of the issues, however, there is one that I'm still unable to resolve:
    typically, a linux box does autofs using an entry like
    "* -fstype=nfs foo:/home/&"
    LDAP uses a slighty different entry, but it works.
    I haven't for the life of me been able to get auto.home mounting from LDAP as easily as if it is defined in the file.
    The frustrating part is that the post gives a really good example LDIF; but it still doesn't seem to work.
    So while I have other automounts working wonderfully, the wildcarded home directories are still a bust.
    So if you're willing to forgo using LDAP for autofs mounting home, then hard-coding /etc/auto_home will fit the bill.
    But since the link seems to imply that it works, I'm wondering what's gong on...
    Message was edited by: pariah0
    Trying to get the asterisk...

  • Automount Home Directories from LDAP

    I have a Red Hat Linux LDAP/kerberos Server (IPA Server) that i beside authentication also use as a NFS Server sharing users Home Directories.
    All information for Solaris machine is provided from a custom DUAProfile in LDAP.
    Relevant autofs information in DUAProfile:
    serviceSearchDescriptor: automount:cn=default,cn=automount,dc=example,dc=org
    serviceSearchDescriptor:auto_master:automountMapName=auto.master,cn=default,cn=automount,dc=example,dc=org
    All users on the network have their home directories under /home
    I have a auto.home map on the server with key:
    * -rw,soft ipaserver.example.org:/home/&
    This setup works perfect for our Linux clients but not for Solaris.
    In Solaris, autofs seems to look for local users home directories too in the LDAP tree and thus making them unavailable when logging in.
    Even though +auto_home is after the local usermappings.
    t4 LOOKUP REQUEST: Tue Dec 25 22:08:36 2012
    t4 name=localuser[] map=auto.home opts= path=/home direct=0
    t4 LOOKUP REPLY : status=2
    Removing autofs entries in DUAProfile and specifying every user directly in /etc/auto_home works with a delay in mount.
    This is however a less than satisfactory solution.
    I thought about just removing local user mounts to /home from /export/home but that does not seem to be a good idea.
    How could i make this work the way i want with wildcards?
    Regards,
    Johan.

    I have now tried with a different share and mountpoint (/nethome) on a different test server.
    Verified that i can mount it through krb5 and automount works for Red Hat Linux clients.
    ssh, su and console login works on Solaris 11 except for finding home directory through automount.
    root@solaris2:~# ldapclient list
    NS_LDAP_FILE_VERSION= 2.0
    NS_LDAP_BINDDN= uid=solaris,cn=sysaccounts,cn=etc,dc=example,dc=org
    NS_LDAP_BINDPASSWD= {XXX}XXXXXXXXXXXXXX
    NS_LDAP_SERVERS= server.example.org
    NS_LDAP_SEARCH_BASEDN= dc=example,dc=org
    NS_LDAP_AUTH= tls:simple
    NS_LDAP_SEARCH_REF= TRUE
    NS_LDAP_SEARCH_SCOPE= one
    NS_LDAP_SEARCH_TIME= 10
    NS_LDAP_CACHETTL= 6000
    NS_LDAP_PROFILE= solaris_authssl1
    NS_LDAP_CREDENTIAL_LEVEL= proxy
    NS_LDAP_SERVICE_SEARCH_DESC= passwd:cn=users,cn=accounts,dc=example,dc=org
    NS_LDAP_SERVICE_SEARCH_DESC= group:cn=groups,cn=compat,dc=example,dc=org
    NS_LDAP_SERVICE_SEARCH_DESC= netgroup:cn=ng,cn=compat,dc=example,dc=org
    NS_LDAP_SERVICE_SEARCH_DESC= ethers:cn=computers,cn=accounts,dc=example,dc=org
    NS_LDAP_SERVICE_SEARCH_DESC= automount:cn=default,cn=automount,dc=example,dc=org
    NS_LDAP_SERVICE_SEARCH_DESC= auto_master:automountMapName=auto.master,cn=default,cn=automount,dc=example,dc=org
    NS_LDAP_SERVICE_SEARCH_DESC= aliases:ou=aliases,ou=test,dc=example,dc=org
    NS_LDAP_SERVICE_SEARCH_DESC= printers:ou=printers,ou=test,dc=example,dc=org
    NS_LDAP_BIND_TIME= 5
    NS_LDAP_OBJECTCLASSMAP= shadow:shadowAccount=posixAccount
    NS_LDAP_OBJECTCLASSMAP= printers:sunPrinter=printerService
    root@solaris2:~# sharectl get autofs
    timeout=600
    automount_verbose=true
    automountd_verbose=true
    nobrowse=false
    trace=2
    environment=
    From /var/svc/log/system-filesystem-autofs\:default.log:
    t4 LOOKUP REQUEST: Wed Dec 26 12:28:43 2012
    t4 name=user02[] map=auto.nethome opts= path=/nethome direct=0
    t4 getmapent_ldap called
    t4 getmapent_ldap: key=[ user02 ]
    t4 ldap_match called
    t4 ldap_match: key =[ user02 ]
    t4 ldap_match: ldapkey =[ user02 ]
    t4 ldap_match: Requesting list for (&(objectClass=automount)(automountKey=user02)) in auto.nethome
    t4 ldap_match: __ns_ldap_list FAILED (2)
    t4 ldap_match: no entries found
    t4 ldap_match called
    t4 ldap_match: key =[ \2a ]
    t4 ldap_match: ldapkey =[ \2a ]
    t4 ldap_match: Requesting list for (&(objectClass=automount)(automountKey=\2a)) in auto.nethome
    t4 ldap_match: __ns_ldap_list FAILED (2)
    t4 ldap_match: no entries found
    t4 getmapent_ldap: exiting ...
    t4 do_lookup1: action=2 wildcard=FALSE error=2
    t4 LOOKUP REPLY : status=2
    The automount map is called auto.nethome
    key is: * -rw,soft server.example.org:/nethome/&
    Is it that Solaris automount dont like asterisk(*) in a automount key?
    At least now the local users home directories work when i am not trying to autofs mount to /home.
    Anyone know what is wrong here?
    Thank you for your help.
    Regards,
    Johan.

  • If I can't download ios 5 software at home, can I download it from another computer?

    If I can't dowload ios 5 software at home, Can i download it from another computer and save the backup and put it onto my computer?

    No, you cannot download IOS5.
    You have to connect your iPhone to computer iTunes and do a update.
    Anyway you are in the wrong forum if that's what you want.

  • If I imported a CD into my iTunes library from one computer how can I listen to it from another computer?

    If I imported a CD into my iTunes library from one computer how can I listen to it from another computer?  I imported music from a CD into my compter at work and when I got home and went to my iTunes account none of the songs were in my library.  I also noticed that on my Work computer there were a couple songs that I had to click on the little 'cloud' icon before I could listen to them (these were not songs I imported they were songs that were already in my library).  Not sure if this makes semse...help.

    jamie171 wrote:
    My question is since I have imported them into my iTunes library from one computer why can't I access them from my iTunes library from another computer that I have authorized to access whats in my library?  Is there no way to import songs only once into the library and then access them from all my authorized computers?
    Only if you have iTunes Match or of the computers are on the same local network.

  • Can't sync photos from ipad that I synced from another computer

    Can't sync photos from ipad that I synced from another computer... I want to have them on my computer.
    Why isn't there a way to do this? I don't get it. Sharing photos is such an important thing I don't understand why Apple makes it so hard to do this.
    OK here is my senario:
    Recently went on a trip Hong Kong with someone... we both had iphones and took hundreds of awesome photos. Now we want to share them with eachother. Too many photos for email and I don't wish to upload to flicker/facebook/etc...
    This is what I did thinking it should work...
    1) synced photos on her iphone with her computer
    2) synced photos on MY iphone with her computer
    3) put ALL the hong kong photos in one album
    4) connected my ipad to her computer... attempted to copy photos from iphoto to ipad -- NOPE, can't be done (***?!?!)
    5) so I synced the photos (and only the photos) in the hong kong album using itunes to my ipad -- this worked -- all photos now on my ipad
    6) drove home (5 hours away) and connected ipad to my computer and attempted to import with iphoto -- NOPE, can't be done (***!?!?) Won't even show the photos.
    7) itunes wants to replace all the photos on my ipad with the photos from my computer (***?!?!)
    How are you suppose to do this?! How are you suppose to be able to share lots of photos with people?

    Photos are not copied off the iPad via iTunes.
    For photos taken with the iPad, copied to it via the camera connection kit, or saved from emails/websites then see this page : http://support.apple.com/kb/HT4083
    For photos that were originally synced from a computer you will need a third-party app such as Simple Transfer (which has a free lite version called Simple Photo & Video Transfer) which can copy them off via your wifi network. But as photos are 'optimised' when they are synced to the iPad, any that you then copy back to a computer may not be exactly the same as they originally were on your computer.

  • Disable "This file comes from another computer"

    Hi, on all my adobe forms when i click on the properties, I see the message
       "This file came from another computer and might be blocked to help protect this computer"
     ever since i started getting this message, adobe forms don't work anymore and throws an error that the document properties have changed. I searched for a solution for this, but found many for fixing on Vista enterprise, but i run a vista home basic version. What do i need to do to resovle this issue that i can start using adobe forms again.
     any solution is highly appreciated.

    Describe the problem I am having in Detail. OK.
    IE10 will not download a file. END. Error given is, "bla bla bla file could not be downloaded."
    Wow...that tells me a lot??
    I have to agree with others here. I have also encountered this same issue today. Cannot even download a friggin PDF. Absolutely ridiculous. Stop with all this security crap, because all it does is slow down
    my workforce while they all try and figure out whats going on. We as users do not write this software, MS does. So why is it we the users have to jump through a zillion hoops to make your crap work. You (MS) should be doing this. 
    I used Chrome and guess what....it just works. Safari...just works......firefox../.just works.....MS IE whatever version never works right
    The ONLY reason I would still need IE, is if I need to get to some MS site where once again, MS has created the Monopoly situation where I can ONLY use IE to get to these sites. Utterly bogus. No wonder everyone is beginning to hate you.
    Another item is your new Compatibility view. Another nightmare to deal with. Managing my domain through various web interfaces, and I am always having to switch between modes depending on the application. Another huge waste of time.
    Think I'll be going the way of Russia, and completely remove any and all Windows systems from our environment forever. 
    MS HAS BECOME MY BIGGEST TIME WASTER AS I CONTINUALLY HAVE TO TROUBLESHOOT CRAP LIKE THIS.

  • How to view aperture library from another computer on network?

    Hi,
    I'd like to simply view (not edit) my aperture library from another computer on my home network. The aperture library resides on a mac pro, and I'd like to see the images on a macbook pro to show family members. On the surface, this seems like a simple concept - as Apple TV can do this with home sharing. Further, itunes can share it's library in this manner.  Is this possible?
    thank you,
    T

    You don't mention which OS you're using and I understand that Lion has changed some of the sharing features but  what you are looking to do is doable.
    Be warned that accessing an Aperture library over a network is slow and definitely not something you want to do if editing except in an emergency and you want to make triple sure that only one user is accessing the library at a time.  But I regularly access libraries over wireless when I'm to lazy to walk across the house and need to check somthing out.
    If you are using Snow Leopard go into System preferences->Sharing and tune on file sharing on the the Mac Pro. If you have the same user name on both systems you should have no problem accessing the library from the MBP.
    If you're on Lion, you'l need to lok up how to enable file sharing. I haven't swithced so I can;r help you there.
    good luck

  • Unable to open 10g Database Control Webpage from another computer

    Unable to open 10g Database Control Webpage from another computer
    Hi Gurus
    I have just installed Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 on my PC Windows XP , created database and configured DB control
    I can open Database Control Webpage on the database machine by typing
    http://USI2374993VND0.vlgdw2k.visteon.com:1158/em
    or
    http://136.18.70.189:1158/em
    But can not open it from another PC
    When I do following from another PC
    1. http://USI2374993VND0.vlgdw2k.visteon.com:1158/em
    Get error: [code=DNS_NO_DATA] The IP address was not found during the DNS lookup. Contact your system administrator.
    2. http://136.18.70.189:1158/em
    Get error:Can not display web page
    I can ping 136.18.70.189 but not USI2374993VND0.vlgdw2k.visteon.com
    On the other PC I also tried adding 136.18.70.189 to
    tools - internet options - security - local internet - sites - advanced - add this web
    site to the zone as http://136.18.70.189
    But it did not work
    Please help with any ideas
    Thanks a bunch
    New DBA

    Firewalls?
    DNS translation issues?

  • How do I stop my Macbook Air from transferring your information from another computer?

    Just purchased my Macbook Air. When I started it up, it asked if I wanted to tranfer information from my other computer. the first thing it started to download was the music and it suddenly froze when it had a 1hr and 46 mins left and now I can escape out of it. It is the only thing that is on my screen. I ended the transfer on my PC but it wont clear out on my Macbook Air. Is there a way to restart the computer so it will retry the tranfer without the music?

    Welcome to Apple Support Communities
    Hold the Power button until the Mac turns off, and turn it on again.
    Instead of transferring your files from another computer through the network, copy your data from your old PC or Mac to an external drive, connect the external drive to your MacBook Air and transfer your files

  • How do i use a Time Machine from another computer from Time Capsule with multibackups

    Can Iuse a Time Machine from another computer from Time Capsule with multibackups

    Not sure what you are asking here. 
    Time Machine is software on a Mac that is used to backup that Mac to a Time Capsule hard drive.
    Are you asking if another  Mac can backup to the same Time Capsule that other Macs are already using?
    Or, if not....please clarify on exactly what you want to do.

  • My ipod touch has a huge collection of music that I don't want to lose or replace but my computer has now crashed beyond recovery. How can I access my itunes account from another computer or transfer my playlists to another computer from my ipod?

    My ipod touch has a huge collection of music that I don't want to lose or replace but my computer has now crashed beyond recovery. How can I access my itunes account from another computer or transfer my playlists to another computer from my ipod?

    You can transfer iTunes purchases to your "new" computer by
    iTunes Store: Transferring purchases from your iPhone, iPad, or iPod to a computer
    You can transfer other stuff by:
    Best iPod to PC
    How to transfer or sync files from iPod to PC - Windows mac iPhone iPod software reviews - Software Wiki

  • How do i access my mac email account from another computer?

    How do I access my mac email account from another computer?

    Go to http://www.icloud.com/ and sign-in

  • How can I edit my website from another computer? and how can I create a new website next to the one, I have already? Can anyone help, please?

    How can I edit my website from another computer? and how can I create a new website next to the one, I already have? Can anyone help, please?

    Move the domain.sites file from one computer to the other.
    The file is located under User/Library/Application Support/iWeb/domain.sites.  Move this file to the same location on the other computer and double click and iWeb will open it.  Remember, it is your User Library that you want and not your System Library, as you will not find iWeb there.
    Just create a new site on the same domain file and it will appear below the other site.  If you want them side by side then duplicate your domain file and have one site per a domain file and they can then be side by side.

  • My XP machine is unable to load iTunes 10.5.1. It gets about halfway loaded then says it can't find Bonjour.msi. However, that file is on the computer. I tried loading the Bonjour.msi from another computer but it came up with the same message.

    My XP machine is unable to load iTunes 10.5.1. It gets about halfway loaded then says it can't find Bonjour.msi. However, that file is on the computer. I tried loading the Bonjour.msi from another computer but it came up with the same message. I also tried to remove iTunes from the add/remove sector on Control Panel but it also refused for the same reason. Help, please.

    Try:                                               
    - iOS: Not responding or does not turn on           
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable                     
    - Try on another computer                                                       
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar
    The missing apps could have been done by setting the Restrictions that can hid those apps. If the backup was made with those retrictions set the the Restrictions are also restored.
    Thus, if you get it to work restore to factory settings/new iPod, not from backup                               
    You can redownload most iTunes purchases by:        
      Downloading past purchases from the App Store, iBookstore, and iTunes Store

Maybe you are looking for

  • Controlling Blue Selection box - Adobe Acrobat X Pro

    Hello, I wonder if anyone may be able to help - (I am tearing my hair out trying to find a solution to this)!  When editing a PDF in Adobe Acrobat X Pro at times I only want to edit one word or date within a large amount of text. When I press edit do

  • Problems with RMI tutorials using Tomcat 4.1.24

    Hi I have some problem when I try the rmi Hello example tutorial (http://java.sun.com/j2se/1.4.2/docs/guide/rmi/getstart.doc.html) When I start rmi server as follows: java -Djava.rmi.server.useCodebaseOnly=true -Djava.security.policy=file:E:\Rmi\Hell

  • Problems deploying with SDM on SAP Netweaver Testdrive on Linux

    Hello, I tried to deploy the System Analyzer (see SAP-Note 770702) for NW 04 on the SAP Netweaver Testdrive on Linux (Technology Preview SAP NetWeaver 04 - SAP Web Application Server on Linux and MaxDB). When I try to deploy it with the RemoteGui, th

  • ORA-16038: log 1 sequence# 1292 cannot be archived ORA-19809: limit exceede

    I am getting this error when starting the database 10g ORA-16038: log 1 sequence# 1292 cannot be archived ORA-19809: limit exceeded for recovery files ORA-00312: online log 1 thread 1: '/usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/onlinelog/o

  • Lightroom won't work in facebook

    Im getting the "can't connect to Facebook " through my LR when I try and post to my Facebook through the LR i have gone through all the steps and setting in Facebook this has happened before