Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SMB Share - Bad username or password - saved password

Status
Not open for further replies.

flubbard

Technical User
Jun 11, 2003
148
US
Forgive me, I'm not too familiar with Mac OS. I am having a problem connecting from Mac to Windows Server 2003. Mac OS should be something beyond OSX, though not sure exactly which version.

Share had been working fine until a couple of weeks ago when the share had to be re-established on the Server (due to hardware failure). Now, the alias which had been on the desktop no longer works (can't find the original file), and when I attempt to connect to the server through Finder, I get an error claiming incorrect username and password. I am never prompted for username and password.

I can connect, using the same technique by addressing the server by ip address. When connecting by IP, I'm prompted for username and password, which I must change but which then work. The old aliases will work from the desktop. The only problem is that it does not survive a reboot.

I can ping the server (either by name or number) and other network connectivity appears fine.

My guess is that the mac has stored the login credentials for the server (as addressed by name). These credentials are no longer valid. I have tried deleting the password from the keyring (Drive->Applications->Utilities->Keyring) however this seems to have no affect on the problem. smbclient -L will work as long as I pass it the -U option. The username on the domain does not match the username on the mac.

Is the username and password stored someplace other than the keyring? If not, what else might I be missing.

Any help would be appreciated.

Thanks
- flub
 
I neer had much luck with Mac and AD until 10.8, which we just got preinstalled with a few Mac pros we just got. I bet in Snowleopard it is even better.

Before then, I had to make sure the WINS and DNS were all pointing to the AD DNS server, with correct domain name resolution, the Mac was using DHCP from the domain, etc.

Then on occasion a user would STILL have a problem mapping the server. I found I had to, in one case, set the favorite for the 'connect to server' box to

smb://username:password@serverIPorName/sharename

Of course, 90 days later when his password changes, this is a huge pain in the rear. Fortunately he got a new machine shortly thereafter.
 
I am still having this problem (been working on it a couple of weeks). The name resolution seems to be fine, in terms of being able to ping and things like that. I added an entry to /etc/hosts just to be safe, but it did not change things.

I am using OSX 10.3 (panther).

I had an alternate thought of just creating a script using mount_smbfs. When I try to mount from the command line (to smb://[servername]), but I get an error "negotiate phase failed." In reading online, this is normally an error that you would get when the windows server is requiring that clients "sign" smb traffic. I believe that I have disabled this through group policy, but still receive this error. Also, I have another mac (although one running Leopard) which is able to connect just fine.

Additionally, if I connect through the "Connect to server," I am able to connect just fine. It is only when trying to reconnect on reboot (by navigating to the "alias"), or connecting through the command line that I have problems.

Any thoughts would be appreciated. If possible, I would like to avoid having to upgrade the OS, as there are some specialized software that might not work with the upgrade.

- Flub
 
The best luck I had with 10.3 was when I deleted the keychain and started from scratch again. I think if you 'connect to server' and connect to smb://username:password@serveraddress/sharename/ then drag that into your startup items, it will be properly remembered.

Or, heck, spring the $30 for Snow Leopard. I've not seen any negatives going from 10.2 all the way up to 10.8 where my office's machines are right now.
 
I tried dragging the icon from the desktop that was created following connecting to the server to the startup options. Is that what you are talking about, or is there something else that I should put into the startup items. Moving the "share" into the startup folder did not seem to help.

The main programs of concern are digital performer and sybillus (not sure on the spelling). Also, I thought that the upgrade from 10.3 to snow leopard was more like $170 ($30 if you upgrade from Leopard).

Thanks in advance...flub
 
Sounds like your addition of the share to the startup items was done right. I was suggesting though that you might have better luck after deleting everything windows related from your keychain. If that doesn't work, also make the 'connect to' path something like

smb://username:password@serverIPorName/sharename

Which is what I had to resort to for a user before they got their new machine.

I thought the $29 price was any OS X upgrade to Snow Leopard. I'd forgotten that our Macs were upgraded from 10.3 to 10.5 for the $130 pricetage of that upgrade.

A good note though, if you are interested in upgradeing 2 or more machines, that family pack can be used on a businesses computers. We had 10 machines to upgrade and got 2 of the family packs. I was worried about licensing... Since Apple, founded on the profits from the sales of blue boxes used to steal long distance, is VERY protective of their intellectual property.... So I called Apple and they said that the computers the family pack was installed on don't have to be owned by 'blood family'. :)



 
Well, the problem ended up being resolved by upgrading to Leopard. I'm guessing it must just be a "feature" within the SMB package on the older OS.

Thanks for all the input.

- flub
 
compuveg,
The $29 Snow Leopard disk will allow a full install rather than just an upgrade from Leopard, but such would be a contravention of the licence. As you found out, the family pack can be a 'better' way of softening the cost of upgrades.

soi la, soi carré
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top