OS X :: Mount SMB Share To Desktop At Login
Nov 20, 2007
I just started drinking the Mac Kool-Aid when I ordered my first Mac - a MBP - last week. I must admit it tastes way better than the Windoze 3 day old cold coffee I'm used to. So far I'm loving it, but I'm running into one issue on my work network. After trying for 3 hours with our Linux guru we could not get Finder to open a connection to our file/web server which is Debian (Linux) through Samba. I tried everything I could think of and there's not much help on Google. Using the command line mount_smbfs I was finally able to mount the samba share on our Debian to a folder in my home directory. Right now this is fine, for the rest of the day I'll be able to work, but I'm just wondering if there is a way I can create a script that runs when I login that does the following:
1) At login check if my Server is available (192.168.1.216) (this in case I'm using my MBP on the road or from home)
2) Run this command if the server exists: mount_smbfs //myusername:mypassword@192.168.1.216/share /pathto/mountfolder/ondesktop
3) The last part is the key (I guess) - I want this share to show up on my Desktop like when I connect a USB drive or how my Macintosh HD does
I'm assuming it's fairlly easy to create a script that runs at login? I've Googled a little with no success but I think the tricky part will making sure the 192.168.1.216 is a valid server -- or maybe there doesn't even need to be a check it just runs the command and if it's not there nothing happens? The other tricky part for me is figuring out where exactly I need to mount the drive to so that it appears on my desktop as a mounted drive instead of in my /Users/username/smbMount folder that I arbitrarily made. The later is what I really need to konw as I'm sure with alot of Googling I can find the best way to create a login script in Leopard, but I have no idea where to mount it to and I'm afraid to just start trying to mount to some device in /dev/ which (I think) could potentially screw things up.
View 7 Replies
ADVERTISEMENT
Feb 18, 2012
I'm currently working on migrating some machines from Snow Leopard to Lion, and I have a bunch of postimaging scripts that are fired on first boot. The first script automatically mounts an SMB share to copy the rest of the postimaging scripts and run them. However it would seem that it is no longer possible to mount an SMB share as root (root as in running sudo -i as an admin account to get to a root shell, or running the command prefixed with sudo) as it fails with "mount_smbfs: server rejected the connection: Authentication error". As far as I can tell, the request is not actually making it to the SMB server, as there is no log entries indicating a failure for this particular user to logon.
Info:
Mac mini, Mac OS X (10.7.3)
View 1 Replies
View Related
Jun 23, 2012
I had two hard drives, "Macintosh SSD" (primary) and "Macintosh HD"(secondary). I put my home directory into "Macintosh HD", and it works fine.However, last night i mistakenly rename the "Macintosh HD" to "MacintoshHD" through the finder's "get info". Now I cannot log in!I believe it's the problem of the changed name of mount point.
My previous home located at /Volumes/Macintosh HD/Users/myname Now, it locates at /Volumes/MacintoshHD/User/myname, thus it refuses to login.I don't know how to change it back through single user mode...
Info:Mac OS X (10.7.4)
View 2 Replies
View Related
Apr 4, 2012
1. when connecting to winXP via finder (10.7.3) does not pass authentication, only the guest mode 2. in the terminal mount - an error authentication 3. set samba - the problem has not disappeared 4. Changed the password on XP - the problem persists 5. Remote Desktop works fine, Authorization successful 6. On XP has created a new user authentication fails ((( 7. Connecting macbook 10.6.8 - no authorization is Connecting from a virtual XP - Authorization successful
Info:
Mac Pro, Mac OS X (10.7)
View 1 Replies
View Related
Dec 1, 2014
First the Details:
MacBook Pro, Retina, 15-inch, Late 2013
OS X Mavericks 10.9.5
USB 3.0 External Hard drive
I am currently using an external drive for my user storage. Right now I log in with a separate User account to mount the drive, log off, and then log in with my user. I am trying to remove the extra steps so I can boot my Mac and log right in. I have not found any method that pertains specifically to Mavericks, and all of the methods I have tried for older OS versions do not seem to work properly.
Info:
MacBook Pro (Retina, 15-inch, Late 2013), OS X Mavericks (10.9.5)
View 1 Replies
View Related
Apr 15, 2012
I am able to access my Windows 7 machine's shares on my Mac (Lion 10.7.3) through SMB with no problems at all. However, I am unable to access my Mac's shares on my Windows machine.
I have been fighting with this issue for hours and haven't found a solution yet. I've done a bunch of Googling and have found plenty of posts related to my issue, but no solutions. Everyone seems to be at least receiving a login prompt when they try to connect to a Mac OS X Lion Samba share from a Windows 7 machine, but I am not. All I get is "Windows cannot connect to \MAC" after ~15-20 seconds of waiting.
Here's what I've tried:Reconfigured all of my settings on both the Windows and Mac systems, then restarted. Windows: set to 40- and 56-bit encryption for File Sharing, instead of 128-bit.Windows: network discovery and file sharing enabled.Windows: Network Security: LAN Manager Authentication Level to Send NTMLv2 response only” to “Send LM & NTLM – use NTLMv2 session if negotiated as suggested in another post.Windows: verified workgroup as WORKGROUP.Windows: verified Windows Firewall options for File Sharing.Windows: cleared credentials for my Mac's share in the Credential Manager, still no login prompt.Windows: reinserted my Mac's credentials in Credential Manager for the share, same issue. Mac: Enabled File Sharing, enabled SMB, enabled my Mac's account.Mac: verified Firewall settings for File Sharing.Mac: verified workgroup as WORKGROUP in WINS/NETBIOS configuration. For both systems: verified IP configuration as DHCP under the same gateway and subnet mask--they're clearly under the same network.
Info:
MacBook Pro, Mac OS X (10.7), 15-inch 2011
View 14 Replies
View Related
May 5, 2009
I am using a 2x2.8 GHz Quad-Core Intel Xeon MAC running Leopard OS (10.5.6). We are 3 designers using 1 network drive (Lacie Ethernet 1TB) to store our projects. I used to be able to backup this network drive using duplicate option of Retrospect Express to another Lacie that was attached to the USB port on my MAC. Since we upgraded to Leopard I have not been able to do this. I think this is because the network drive no longer mounts on my desktop. I think it used to think the network drive was on my computer because it was on my desktop, but it no longer does. Anyway, I need to back this drive up on a regular basis. (I am currently drag/copying it, did I say 1TB) Is there any way that I can get this drive to mount so that it is on my desktop? Does anyone know of any programs that might duplicate this NAS for me over the network to the one on my MAC or I could add another Lacie to the network. All of the software I have found is just to backup a MAC computer not a drive. If I can drag and drop it, it seems like this should be easy, but when I tried a command line copy it didn't work (I think because we named it "mac lacie disk" with spaces between the words and it stops at "mac" and can't find the rest.
View 2 Replies
View Related
Jan 24, 2010
My LaCie BigDisc HD won't mount on the desktop of my MacBook Pro. Is there some other place I can find and open the icons, or is there another procedure to follow to correct this problem?
View 1 Replies
View Related
Mar 1, 2012
Apple writes in its OS X Lion screen sharing description that: "You can remotely log in to a Mac with any user account on that computer and control it, without interrupting someone else who might be using the computer under a different login."
Unfortunately, this is not true in my case: When other users are using my 2011 iMac for webbrowsing or DVD watching and I log in on my own acount from my macbook pro, video will stop playing, the spinning wheel sometime appears. The system does not really crash, but wil respond very slowly and in fact is not useable until I as remote user stop my activities or log out. This is not how it should be, especially as the iMac's CPU, memory and network load are very low according to activity monitor's information.
Info:
iMac, Mac OS X (10.7.3)
View 1 Replies
View Related
Nov 19, 2008
I have a Lacie Rugged 80GB with Firewire 400/800 and USB 2.0. I was using it just fine last night to back up my 12 PB. Then I yanked out the Firewire cord without ejecting it. Now, this morning it takes like 20min to mount. Then it says Read only, Time machine cannot write to this drive. I have tryed two different computers, all three interfaces and different cords. Now, It will not mount at all, no matter how long I let it sit. I hear the hard drive spinning, but will not mount and I can't see it in Disk Utility either.
View 2 Replies
View Related
Feb 8, 2009
I'm new to this forum, but need help with my external harddrives (WD Pasport 250GB). I can find it in my disk utility, but not on my desktop. I had WD send me a new drive, but now I do not know how to transfer the info from the old drive. Its not a dead drive- its obviously turned on and connected, but I can't mount it to my desktop. Any advice??
I have a iBook G4 (if that matters).
View 5 Replies
View Related
Jun 13, 2009
On my old macbook, I installed vista and everything worked fine. I just did that on my new macbook pro. It runs fine and all, but the Bootcamp HD isn't showing up on my desktop under my Macintosh HD. I went do disk utility and it verifiys the disk, but repair just does this:
I try to mount the image, but it fails and wants me to try repairing, which as you see in the picture doesn't work. Any ideas?
View 8 Replies
View Related
Apr 15, 2012
I have a Western Digital 2 TB MyBook Studio II external drive that has been working fine. Now, it will not show on my desktop when it mounts. It does show in the sidebar and I can access the drive and files there, but I want the icon to show on the desktop. I connect it to my machine via an onboard Firewire 800 port, and the drive is the only device using that port. I have another Western Digital MyBook drive that mounts just fine (it is my Time Machine backup) via USB. I have 2 La Cie Firewire drives, and 2 OWC Firewire 400 drives, all 4 of which mount using a Firewire 400 hub that connects to a Firewire 400 port on my MacBook Pro.
I have repaired the disk (reports nothing is wrong), but I feel I have some setting for the drive in the wrong position. I just can't figure out what to do.
Info:
MacBook Pro 2.5 Ghz., Mac OS X (10.6.8), 4 Gb of RAM
View 3 Replies
View Related
Apr 30, 2012
We will be loosing idisk in june. We need to share files with other companies. IS it possilbe to have a folder on my desktop that a client in another city can access. Only that one folder. The "company" wants to be able to keep files on it for reference and to make occassional changes to. Just like they now do with our idisk.
Info:
iMac, Mac OS X (10.7.3)
View 8 Replies
View Related
Jun 18, 2012
Hi, i was wondering how to share movies for example, to the mac desktop from the macbook pro?
View 1 Replies
View Related
Dec 3, 2014
whats the best way to share microsoft documents between my desktop and laptop?
Info:
iMac, OS X Yosemite (10.10)
View 1 Replies
View Related
Mar 15, 2009
I was wondering if it is possible to connect a desktop and laptop computer using apple share or bluetooth to share an internet connection that is connected through an ethernet port on the desktop. My internet company is crap so I need to find a way to cut out the router, which I have to reset all the time to get a normal internet speed.
Desktop is a Mac Pro bought last April, and the laptop is a 12" Powerbook G4. Both have bluetooth, airport, and the newest operating system.
View 4 Replies
View Related
Mar 12, 2012
Is is possible to share files to the desktop of a mini-server running Lion? I've done this for years with other operating systems with no trouble ... and when I drag files to other locations on the mini-server it works fine.
But when I try to drag a file to the desktop of the mini-server, I get asked for a password. I type in the password; it gets accepted. Then I get a dialog: "A newer version of do you want to replace...?" When I click "yes," I get another dialog:
Info:Mac mini, Mac OS X (10.7.2)
View 4 Replies
View Related
Dec 10, 2008
how to create a "shortcut" icon on the desktop that points and will open to a file share on a network server (Windows AD Server)? I can browse to the server and get to the folder, but i need to create an icon to make it easier for a user...
View 2 Replies
View Related
Sep 2, 2010
I work from home and my Windows pc is in the shop. I'm trying to use my wife's Imac to log into my VPN so I can work, but when I get the ctrl+alt+del screen to sign into my desktop I don't know what keys to use on the Mac keyboard.
View 3 Replies
View Related
Apr 19, 2012
i've been trying to find a solution to be able to write to NTFS drives. i've read that using exFAT is a good way to go. the other thing i wanted to try was to login to a Windows machine that's connected to the NTFS drive and write to it that way
Info:
Mac mini
View 3 Replies
View Related
May 9, 2012
I've just done an install of lion from snow leopard on my IMac. Now when I reboot, I just get the grey brushed aluminum background and apple logo slightly higher than centre and a black arrow cursor. No desktop, no login options, nothing else whatsoever appears on the screen.I've tried resetting the pram, and to access the lion recovery mode (command r on boot up) but this does not even appear. All I can get is the same empty screen and arrow cursor.
Info:
iMac
View 3 Replies
View Related
Feb 18, 2012
My Mac started doing this a few weeks ago, where after login it all kind of collapses. Sometimes the desktop icons won't show up, or Hear (which runs on startup) will get stuck loading for a long time. Sometimes everything seems fine but no programs will launch, or the dock won't respond.So far I've done an Onyx cleanup run, a Disk Verify and Repair. Permissions Verify and Repair and even did the good old Command+R on startup and reinstalled Lion. It worked the first time and then it went back to its old antics.I'm afraid if its a corrupted file and even if I get a new Mac then when I restore from Time Machine it'll carry over.
Info:
MacBook Pro, Mac OS X (10.7.3), Magic Mouse
View 4 Replies
View Related
Mar 15, 2012
When I log off or turn off my laptop and then log back in my folders or files are in different positions then where I had placed them on my desktop previously
Info:
MacBook Pro
View 10 Replies
View Related
May 10, 2012
I have 3 user ids on my imac, 2 are admin and one is not. When trying to upload a lot of photos onto the desktop of one admin user id the screen froze. Absolutely nothing works, you can't click on anything and the keyboard does nothing! It has only affected this user id, the other 2 are fine. I have tried restart, verify disc, repair disc, virus scan.
Info:
iMac (21.5-inch Mid 2010), Mac OS X (10.6.8)
View 8 Replies
View Related
Jun 5, 2014
Login items keep opening up when desktop restarts even when hide option is clicked on login items. I've tried to remove network shares and add them again and still open up instead of hiding.
Info:
iMac, iOS 7.1.1
View 2 Replies
View Related
Dec 8, 2014
My computer is insanely slow and takes forever to come to a usable desktop when I login.
EtreCheck version: 2.1.1 (104)
Report generated December 8, 2014 8:48:50 AM EST
Hardware Information:
iMac (24-inch Mid 2007) (Verified)
iMac - model: iMac7,1
1 2.4 GHz Intel Core 2 Duo CPU: 2-core
6 GB RAM
[Code] ....
Info:
iMac, Mac OS X (10.7.5)
View 7 Replies
View Related
Jun 22, 2010
Last time when I was login my system, the password will not eccepted. So several time try to enter the correct password, even not eccepted but the messege came you cannot login at this time.So I reinstall my system in archive option after instalation.I restart my system but unfortunately my Hard Disk & Files are not apearing in desktop.
View 1 Replies
View Related
Jun 20, 2008
Hi! Im new to the forums but i really need help with something and i was hoping someone here could help me out. So I just installed Tech Tool Deluxe onto my macbook and then shut it down later. I went back to use it again and when i turned it on a login screen appeared asking me to put in my password. I did that and the screen turned blue (looking like it was loading) and then went back to the login screen. Every time i put in my password it just takes me back to the login screen. I have had my mac for a while and i dont want my hardrive to get wiped out so what do i do? Thank you for looking
View 1 Replies
View Related
Jan 6, 2009
I work for a company that has several Macs available for customers' use. These are basically demo-machines that they can play with, and at the end of each day, the machines are wiped and rebooted.
The way we do this is simple: the machines auto-login to the Guest account, which will wipe the account at the end of the day. Well, getting a few new Macs in this week, I simply copied over the entire Guest user account to the new machines to avoid reloading all the demo content, preferences, etc. And truthfully, the machines have been working great.
Except one thing. The computer keeps giving me that annoying message that says "Safari (or Finder, or System Preferences, or anything!) wants to use keychain 'login'". And asks for the login keychain password. Well here's the thing: the Guest accounts don't have passwords!
So I looked up a little bit on this topic, and did things like... Went to "Keychain List" in the Edit menu of Keychain Access, and deleted both the "login" and "system" keychains. No help. I went to Preferences in Keychain Access and said "Reset My Keychain". When doing this, however, it asks for the new password for the login keychain.
The problem with this is that I cannot leave the field blank! The Guest account doesn't have a password, so how am I supposed to not create a password?
View 6 Replies
View Related