Automount SMB volumes in Leopard (autofs)

Can someone give a brief example on how to automount SMB volumes in Leopard using the new autofs automounter? I have heard that /etc/fstab is no longer support in 10.5, correct? I ned the mounts to show up in the Finder. I dont care if the mount point is /Servers or not as long as I can see the volumes in Finder.
Im a tad confused. According to automount, /etc/fstab is still available, but doesnt exist.
Any suggestions?

Thanks VK
I currently push out all my SMB volumes to my Mac desktops via MCX and Open Directory. MCX basically sets the SMB volumes as Login Items as you suggested (but of course it automounts then for all my users based on computer and user/group policies which is great for centrally manging hundreds of computers). Example: users in the "Managers" group get a MCX login item for the "Managers" SMB volume, so they mount the "Mangers" share when they log into their Macs. If they are off the LAN/domain, then the Finder displays an error after x minutes attempting to connect. This works fine, but it gets clunky for users with laptops. When the laptop users aren't on the network (i.e.; on the road, etc) they get Finder errors when the login items fail ("the login item cant be found"). I cant figure out a way to suppress the Finder errors for the laptop users so my next workaround is to figure out a better way to dynamically mount the volumes and avoid the Finder from throwing login item errors that annoy my users.
Id love to figure out a way to tie autofs and OD together so that the Macs will mount the proper SMB volumes by simply reading OD groups and mounting the volumes as needed. Example: Users in the "Managers" group automount the "Managers" SMB share at login (if the domain can be reached and the Mac is on the LAN). Likewise, members in the IT group will automount the "IT Dept" SMB share at login , etc. This assumes the users have the proper memberships and permissions and that the Macs are able to query DS and find the SMB server etc.
Any ideas?

Similar Messages

  • Bug: NULL bytes being written to file on SMB volumes

    This is a 100% reproducable bug.
    When writing to files that are on a Samba (SMB) volume, if you are overwriting a file and making it smaller than it previously was, then OSX is writing NULL bytes to the end fo the file, which produce all sorts of problems, especially for software developers.
    How to reproduce:
    Open Terminal, navigate to a SMB volume and do the following:
    # echo "test" > test.txt
    # more test.txt
    test
    # echo "test test test test" > test.txt
    # more test.txt
    test test test test
    # echo "test" > test.txt
    # more test.txt
    "test.txt" may be a binary file.  See it anyway?
    test
    ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
    This is 100% reproducable every time.  As you can see, when you overwrite a file with a larger version, the NULL bytes are not written to the file.  But when you overwrite with a smaller version, NULL bytes are written to the end of the file.
    This problem is especially a problem for developers.  I came across this bug because I had a git repository on an SMB share/volume.  Whenever I would try to commit changes to the repository, if the git commit log file was shorter than it was in the previous commit, then git threw the error:
    error: a NULL byte in commit log message not allowed.
    fatal: failed to write commit object
    You can see this issue being discussed and reported in several places:
    http://stackoverflow.com/questions/20696643/how-do-i-keep-nul-bytes-from-appeari ng-throughout-my-git-repository-and-commit-m
    http://stackoverflow.com/questions/19705825/error-a-nul-byte-in-commit-log-messa ge-not-allowed
    https://netbeans.org/bugzilla/show_bug.cgi?id=237766
    This bug was introduced in Mavericks.  Also, remounting the volume using cifs:// doesn't make a difference.
    Does anyone have any solutions for this problem?  Has this been reported to Apple?  Does Apple know about this problem?

    Apple doesn’t routinely monitor the discussions.
    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback
    Or you can use your Apple ID to register with this site and go the Apple BugReporter. Supposedly you will get an answer if you submit feedback.
    Feedback via Apple Developer

  • Any Solutions for DFS, SMB  Volumes for Mac Users

    Hi All,
    We are thinking of setting up X server to manage our growing mac user base. A major question is how or if X server can provide a way of giving mac users network access on par with windows users. In our case- we use Microsoft's DFS (Distributed File System). Apple does not support DFS. We have used AdmitMac so we have had a way of dealing with it.
    With X Server, is there a way I can "reshare" smb volumes from windows servers in a way that would resemble what windows users see?

    Did you figure anything out? I'm interested in doing something similar if you find an answer.

  • Crashing/Kernel Panic while browsing or saving to an SMB volume on a Mac w/ OS X 10.10.2

    Lengthy topic, but the description says it all.  Does not happen all the time, but is definitely triggered by browsing (via Acrobat 10.x) through an SMB volume to open a file.  Has not happened nearly as often as when after upgrading 10+ users to Mac OS X 10.10.2
    Realize I could be looking at three issues -- Apple, Adobe or (god help me) Micorosoft (considering it's a Win2012 server).  Please help me however you can!

    Hi Erik ,
    Please refer to the link.
    You might want to report a possible bug to the engineering team for the issue stated by you .Follow this link .
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&loc=en
    Regards
    Sukrit Dhingra

  • Automounter and volume manager based on DevKit

    Hi there,
    I've written a simple automounter and volume manager based on DeviceKit:
    http://www.ashrentum.net/jmcejuela/prog … 0.2.tar.gz
    Some may find it interesting.
    Currently it only manages media drives. I hasn't support yet for CDs/DVDs.

    jmcejuela wrote:
    Hi there,
    I've written a simple automounter and volume manager based on DeviceKit:
    http://www.ashrentum.net/jmcejuela/prog … 0.2.tar.gz
    Some may find it interesting.
    Currently it only manages media drives. I hasn't support yet for CDs/DVDs.
    Hello, good job!
    I was thinking of writing a patch for skvm to use DeviceKit. How does DeviceKit compare to HAL? any obvious deficiencies or whatnot? I've not looked into this at all yet. I'll look into the code to see if I can get any ideas

  • Automount afp volume home stipulated in Directory mapping

    Hi I have a strange setup here which I'm puzzling over to get working.
    I have a number of computers configured to search an LDAP server on our network for their user account. Within the mappings of that LDAP in Directory services I have set the users home directory to #/Network/Servers/afpserver/homes/$cn$.
    All network homes are kept on an AFP share which I want each computer to automount at startup *not login*
    I've created and fstab file and inserted the following line
    server:/homes /Network/Servers/afpserver/homes url auto,url==afp://ID:PASS@afpserver/homes 0 0
    I've also altered the auto_master and added the line
    /Network/Servers -fstab
    I sudo automount -vc and it all updates creates the mount point but doesn't mount the server, and I get nothing in the console telling me why.
    I've searched for automount afp tutorials but unless I'm reading them very wrong I'm lost to how to get this share to mount on it's own.
    Any ideas?
    The AFP share is on a PPC tiger server, the clients are all 10.5.8 intel.

    Hi,
    I have encountered some of the same problems and I solved them as follows:
    1. make sure your DNS is working properly (probably is if kerberos is running) as it is a could be a source of long logintimes (I had to make both the internal and external interface resolve to the same hostname)
    2. Reboot the server from CD and repair the permissions and repair volume on the system disk.
    3. Restart the server and repair the permission again.
    4. Verify sharesettings in the WGM

  • How to automount StorNext Volume on XSan client?

    I found a similiar question in this forum.
    http://discussions.apple.com/thread.jspa?messageID=1784842&#1784842
    But it doesn't work.
    I found a mount command in /System/Library/StartupItems/acfs/acfs. So I tried /etc/fstab. But still no work. The "mount -at acfs" didn't return anything, just like no execution.
    Does there anyone have successful experience?
    StorNext 2.7 MDC and XSan 1.3 client.

    Xsan uses an automount file to determine the SAN volumes to be mounted. It is in /Library/Filesystems/Xsan/config/automount.plist and looks like:
    *XML Header*
    <key>VOLUMENAME</key>
    <dict>
    <key>AutoMount</key>
    <string>rw</string>
    <key>MountOptions</key>
    <dict/>
    </dict>
    *XML continue*
    The volume then appears in /Volumes on the machine.
    jotjot

  • Can't connect to smb webdevice on leopard ... tiger is working

    Hi,
    I have a problem with my MacBook running Leopard (Update from Tiger). I try to connect to a network storage. I type the uri: smb://192.168.2.1/Musik
    Leopard asks me for a username and password... after this dialouge '192.168.2.1' appears in the finder at the 'shared'-sidebar. If I click on it, it shows me the 'Musik' share. If I click on that one it throws an error (-42) and that's it. The entrys stay where they are but I can't access them.
    On my iMac (running Tiger) it works without any problems. Whats happening here?
    Is this a samba problem? Are there any solutions? Does anybody have similar problems?
    Maybe this is problem can be fixed by doing a clean Leopard install instead of running an update? And if so: If I do a clean install by restoring my drives by my latest timemachine backups, doesn't this throw back all the tiger stuff as well?
    Thanks for help,
    Michael

    -36 is a bit generic, but usually means the Windows® machine is denying because of bad Password. Have you tried deleting that particular reference/share in Keychain Access and redoing it?

  • Finder: Command K does not show all CIFS/SMB volumes on server

    Greetings:
    I use the Command-K to connect to a NetApp storage server in our office; if I issue this:
    smb://server
    or
    cifs://server
    I only get some of the shares and not all of them. If do the same on a Windows machine by using the command "net view \\server" it shows all the available shares.
    Question: is there any limitation? Any tips, perhaps on the NetApp side?
    Best regards
    Claudio

    We are experinceing the same issue. It appears to have limitations on the length of the share/volume name.
    smbclient from the command line shows all of them but Apple+K doesn't

  • Location Specific Automount SMB: LaCie Ethernet Disk Mini

    Hey all–
    I recently purchased a LaCie Ethernet Disk Mini. I purchased it to use with .Mac backup at the house. I have an Airport network. I reformatted the drive to Mac OS X extended using Disk Utility and it seems to be working perfectly. I have been able to successfully back up via USB and Ethernet. In order to mount the drive I have to connect using command + k and then type in the assigned static ip address. It then mounts the drive on the desktop.
    I then experimented with automounting the drive at login using an application called AutomountMaker. It writes a short executable script and then I added the script at login. This works also.
    I would like to take this a little further and have the drive mounted only when I connect to a specific wireless network, and then dismount when not connected to that network. I am not sure how to do this. I have read numerous articles and googled the heck out of this topic with no avail. I came across the application NetInfo Manager, but I'm not sure if this is what I should be using or not. Above all, I don't know how to use Netinfo Manager.
    Could someone please point me in the right direction or provide me with some suggestions? I do not know how to write applescripts nor do I know if applescripts are what I need. I am at a loss, but I would think that people have encountered this question before.
    Thanks to any that can help.
    LM

    I would love to know the exact same thing. I just received the same drive, and it seems wierd that you can't just add the Volume to the Login items and have it connect for you are log in, I would have expected to be able to do this.
    Of course this is totally a fault with OS X not the lacie drive itself.

  • Reconnecting to smb volume on wake-up

    This question comes up every now and again but I have yet to see a coherent, useful answer.
    The problem is simple. A mapped smb drive volume will go away at sleep and the max does not re-mount the volume on wake.
    Looking for a way to do this. Seems like it should be simple.
    Thanks

    Hi there 504lmc,
    While this isn't the exact issue described in the article below, it may still be worth it to take a look at some of the troubleshooting steps found there.
    OS X Mountain Lion: If you see a blue screen at startup
    http://support.apple.com/kb/PH11043
    -Griff W.

  • TrueCrypt - Mounting and writing to a hidden volume in Leopard

    I realize the answer to this question may be pretty obvious to some, but I've read the TrueCrypt user manual, and I've searched these forums, TrueCrypt's forums, and google for the answer to my question but I still can't figure this out...
    I've created an encrypted file container with a hidden volume using the setup wizard. After completing the wizard, I can't figure out how to properly write data to the hidden volume. The TrueCrypt manual says,
    "When hidden volume protection is enabled, TrueCrypt does not actually mount the hidden volume. It only decrypts its header (in RAM) and retrieves information about the size of the hidden volume (from the decrypted header). Then, the outer volume is mounted and any attempt to save data to the area of the hidden volume will be rejected (until the outer volume is dismounted)."
    If TrueCrypt doesn't actually mount the hidden volume, and if and any attempt to save data to the area of the hidden volume will be rejected, then can someone please explain to me in layman's terms how the heck I am supposed to go about saving my sensitive files to the hidden volume?
    Thanks!
    http://www.truecrypt.org/

    No offense, but I could never get it to work reliably for me. I admit I have not used it for almost a
    year (since 10.5.x). It would work acceptably at times, but other times it would be slow as molasses
    (copying files) or Finder would be lock up. Sometimes when copying from NTFS volumes OS X would
    lock up tight and the only way out was to cut the power. I noticed the problems would surface
    mostly when some other Mac Fuse dependent programs were being run at the same time (such
    as Parallels Desktop).
    To be fair though, I suspect the Apple 10.5.x Hard disk driver (for my machine) as being partly to
    blame as most of the external disk mounting and lockup problems disappeared when I upgraded
    to Snow Leopard.
    I suspect Mac Fuse also. I have had various versions of Mac Fuse that didn't work well on my
    machine either. When I first put Snow Leopard on my machine I had to use Tomas Carnecky's
    compiled version of MacFuse 2.1.7. to get True Crypt working. Now they updated True Crypt and
    I have had to use the new Public 2.1.5 Beta version of Mac Fuse to get the updated True Crypt
    working.
    Being a software developer I am sure you are aware of the endless problems various hardware
    combinations and configurations can dish out. No offense, but I had to switch to Paragon NTFS
    to be able to get a solution that worked reliably on my machine.
    Some folks use your NTFS-3G product without any problems whatsoever, but like I said,
    different hardware combos yield different results.
    I have not tried Tuxera, actually I had not even heard of it until a couple of days ago.
    The name is cute, how (if you don't mind telling) or who, came up with the label?
    Linus Torvolds and that familiar Penguin comes to mind when I here the name.
    It's not because NTFS-3G is free, that I don't use it.
    I am a die hard "free" fan, I love "free", as in free lunch, free software, free money and of course
    free BEER!
    Kj ♘

  • Creating aliases on a smb volume for 10.5 and using aliase from 10.5 in 10.7

    We are accessing a Windows File Server (SMB (NTFS)) with some Mac Pro's using Leopard and some Mac's with Lion. Aliase created with Leopard and older Mac OS Versions can not be used with Lion. Aliase created with Lion can not be used with Leopard. Clicking at the aliases from the other Mac OS version will open the Terminal, but not open the original file or folder.
    Leopard creates two files, for example myAliase and ._myAliase. The invisible file contains the data.
    Lion creates only one file myAliase with the data.
    How can we use and create the old styled aliases from older Mac OS Versions?

    Ramón G Castañeda wrote:
    …My question is:  can you actually run Mac OS X 10.5 on a PC box just like that, so there's no need to actually buy a Mac-Intel machine from Apple?
    OK, so the answer to my own question is "not 'just like that'" and "not legally".  I was not aware of current advances in the ease of building a Hackintosh, which I confess had not even crossed my mind when I first posted my question. 

  • Max amount of smb volumes per client server 10.5.8?

    Specs: 
    server: osx server 10.5.8
    clients;
    Windows xp pro
    Windows 7
    Mac osx 10.5.(x)
    There are approximately 30 clients.
    We are trying to export 9 volumes from the server to the clients listed above.  It seems like we can only mount 6 of the 9 volumes at any given time on each client.  The same symptom is happening on the mac when connecting to the server via smb.  AFP does not exibit this problem.
    This problem exists on all client platforms, and is repeatable.
    Are there limits on how many volumes that can be exported from osx server to a client at the same time?  If there is a limit, can it be changed?  I can find no documentation that discusses this.
    Thanks in advance for your help and time.
    Monty Shinn

    A log file had filled up and left no free space on the server OS drive.  I had to connect remotely with SSH and move the log to a different hard drive.  This freed up enough space that logging in was successfuly.

  • How do I log into an SMB share on Leopard from Vista

    I have File Sharing turned on with a Public folder for several different users - all of which have Read and Write access. I've tried enabling and disabling Share files and folders using SMB. I can see the share on my Vista machine. When I try to login, Vista says "Login unsuccessful". This is using my account name to login to OSX and the password. I've even tried the "short" userid you see in a terminal window.
    Windows prepends MY-PC\mywholeusername the "My-PC" (which is the local Vista PC) when the failure happens. I can type Admin and then my password, but then I don't see the shares.
    Why can't I login? What am I doing wrong?

    Your problem is vista and not the mac.
    I had to do this on all my clients who use vista business.
    1. Open the Run command and type "secpol.msc".
    2. Press "continue" when prompted by Vista.
    3. Click on "Local Policies" --> "Security Options"
    4. Navigate to the policy "Network Security: LAN Manager authentication level" and open it.
    5. By default Windows Vista sets the policy to "NTVLM2 responses only". Change this to "LM and NTLM – use NTLMV2 session security if negotiated".
    HOWEVER if you have vista home, Then you cannot do the above as secpol is not installed.
    so do this
    - Click start
    - Type: regedit
    - Press enter
    - In the left, expand these folders:
    HKEYLOCALMACHINE\SYSTEM\CurrentControlSet\Control\
    - In the left, click on the folder named:
    Lsa
    - In the right, double-click "LmCompatibilityLevel"
    - Type the number 1 and press enter
    - Restart your computer

Maybe you are looking for

  • I used Roboform on Windows and have tried the Mac version.  Is there a comparable or at least an effective app in the AppStore?

    The Mac version didn't seem to work as well as the Windows version but that may have been the result of transferring data from W to Mac. The sync function is useful.  There are a lot of apps in the App Store  are any of them as good as Roboform? The

  • DVI to Analog Component RGB?

    I'm trying to connect up my mac book pro dvi out to an older standard definition television that has component RGB inputs. I already had the DVI to SVGA adapter that came with the mac book pro. I then purchased an SVGA to red, green and blue RCA conn

  • HFM or Essbase for consolidation?

    We are having a spirited debate on our project team about data flow and whether we need HFM or just use Essbase for simple consolidation and reporting along with Planning. First - here is a quick backstory. We have used essbase for very simple corpor

  • I am unable to install the latest version of iTunes on window xp?

    I am unable to install the latest version of iTunes on window xp. I get "The application has failede to start because MSVCR80.dll was not found. Re-installing the application may fix this problem".

  • SAPMV45A: User-Exit to handle sub item quantity

    Hello, In SD sales order (VA01) I create line item 10 with sub item 11 such as: 10     89464988     1 M 11     99912001     1 PC     10 If I change the quantity of main item from 1 to e.g. 2 so the quantity of sub item will also be changed to 2. Now,