• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

NAS login problem...

PsycoGeek

[H]ard|Gawd
Joined
Jun 25, 2000
Messages
1,226
I recently purchased a Seagate Black Armor 440 NAS ($60 instant + $60 promo code for a final price of $479 made it worth taking a chance on it at Newegg). It replaced an aging Windows Home Server (now re-purposed as a media PC). So far all my Windows systems (all Win7, except for the Media PC on Vista x64) have no problems with accessing it. I can access it with my rMBP too, save for one small problem... It always asks me for a password.

I've tried both Automator and Apple Script, and am familiar with both from using them to automate login to my WHS. The saved Automator app doesn't work as good as the Apple Script does. And there is an entry in my Keychain for the NAS, with a saved password. But every time I log in from a cold boot or restart it asks me for the password. I've tried starting over with the app and scripts, and deleting the Keychain entry for the NAS with no luck.

On the Win systems the Seagate BlackArmor Discovery took works perfect to map the shared as drive letters, however in OS X it never seems to complete the mounting of a share. It just sits there with the spinning wheel thingy in the window. It asks for a user name, password, and domain/workgroup (neither of which is set up as I don't need to use them at home).

The NAS has been updated to the latest firmware, and I have the latest BlackArmor Discovery app installed. All NAS shares were created using CIFS. NFS is also an option. I'm using OS X Mountain Lion 10.8.2.

Any help is appreciated.

>EDIT< Forgot to put this in... the Apple Script reads as follows:

tell application "Finder"
mount volume "cifs://BA-NAS NAME/share name" as user name "user ID"
end tell

Am I just missing putting the password in there somewhere?
 
Last edited:
159 views and no one has any suggestions? :confused:

Someone out there has to have something for me to try.
 
I"m not familiar with Black armor discovery, but did it prompt you to store keys in keychain? I'd think that that'd be the easiest method.
 
Yes, every time I log in it asks to store the password in my Keychain (using my Apple Script). I have deleted the Keychain entry for the NAS a few times already to see if there was a problem with it with no luck. I've been trying to figure out if I can put the password in the Apple Script after the user name, but haven't been able to find anything about doing that in the script help.

The problem with the Discovery tool is that it never seems to complete the mounting process. The only thing I haven't tried yet is uninstalling the tool and re-installing from the CD. I figured I would download the latest version instead of using the CD. I should take a lesson from my routers firmware - with the latest version I couldn't see any attached devices from the admin page, so I downgraded to an earlier version and it worked just fine. Sometimes the latest and greatest doesn't always work the best.

I'm not really asking for help with the BlackArmor Discovery tool... that's a Seagate thing after all. I did post in the Seagate forums asking for help with the issue as well. I may have to call and talk to support if my above idea doesn't work.

Thank you for the reply illogitech.
 
The way I've always mounted network volumes is simply to add the volume to my login items. No need to mess around with Apple Script. Does this method not work for you? I also save my credentials in the keychain which works fine for me.
 
Well, I tried your suggestion sfam198 and it still keeps prompting me for a password every time. I tried deleting the Keychain entry again with the same results. I'm going to hit the Apple forums and see if anyone there can help me with the Apple Script.

I had a similar problem with logging onto my Windows Home Server, and the best solution was actually a login app through Automator. That however doesn't wotk the same with the BlackArmor NAS.
 
I use a script to mount my nas shares at login to avoid it opening a finder window like it does when you just put it in your login items.

I'm using afp, but you can specify a username/password as:
Code:
mount volume "afp://[I]username:password[/I]@[I]server/share[/I]"
 
I use a script to mount my nas shares at login to avoid it opening a finder window like it does when you just put it in your login items.

I'm using afp, but you can specify a username/password as:
Code:
mount volume "afp://[I]username:password[/I]@[I]server/share[/I]"

You sir deserve a case of beer/plate of cookies/bottle of single malt scotch... or whatever else floats your boat! ;) Thank you so very much!

Success at last! Seamless login with no password prompt for the shares!!! The final script looks like this:

Code:
tell application "Finder"
    mount volume "cifs://username:password@BA-Server Name/share"
end tell
... with an entry for every share I want to connect to, of course.

I think there should be a stickey under the Apple section of the forums for stuff like this. It's the second time I have had to ask for help with scripts for login.
 
You sir deserve a case of beer/plate of cookies/bottle of single malt scotch... or whatever else floats your boat! ;) Thank you so very much!

No problem. ;)
Also, if you didn't already know, you shouldn't have to have your username/password in every entry. Once you authenticate for the first share you should be able to connect to other shares on the same server without reentering your info.

For example in my script I mount my "Home" share by passing my uname/pw.
I then connect to my "Media" share by just issuing
Code:
mount volume "afp://Voyager/Media"
 
No problem. ;)
Also, if you didn't already know, you shouldn't have to have your username/password in every entry. Once you authenticate for the first share you should be able to connect to other shares on the same server without reentering your info.

For example in my script I mount my "Home" share by passing my uname/pw.
I then connect to my "Media" share by just issuing
Code:
mount volume "afp://Voyager/Media"

Yeah, I got that. Once you authenticate to a server with one username/password entry you have authenticated access to all shares of =/< access rights (on the same server, or across all shares on a domain). I used to admin Windows NT servers back in the day (and do network infrastructure as well). This OS X stuff is new to me though... (sometimes :confused:)... :D

I do need some clarification on your second example... "Home" share is your private folder on the NAS, right?

I did have one problem, though. I closed the lid for the night on Wednesday and when I opened it up the next day I had lost the share mounts. Found out after I tried to sync my iPhone and it wouldn't. Running the script again fixed it of course, but I'm not sure why I lost the mounts from it going into "hibernation" overnight (is that what Apple calls it? ... or is it just Sleep? ). It did not happen last night. No big deal as re-running the script will fix it.

Big thanks to you again PointandClick. BTW, do you know who moderates the Apple Products threads? KaosDG made the trolling,flaming,arguing sticky, so is he the mod? I would like to PM them and see if we can make a script sticky (for Apple newbies like me).
 
No problem just thought I'd share in case you weren't aware... might save you a few steps.

Correct, "Home" is my home folder on my OpenIndiana server that I have shared out.

I don't think sleep should disconnect your shares. Perhaps there is a time out.

I'm not sure who the mod is for the Apple section sorry.
 
Back
Top