• Best Wishes to all for a Wonderful, Joyous & Beautiful Holiday Season, and a Joyful New Year!

Name Lengths

EDIT:

I connect to our server via AFP with no problems, however, SMB would be preferred if it means that there are no name length issues such as found with AFP.

When attempting to connect via SMB, the server always rejects the name and or password. AFP has no issues connecting.


Thanks,

Stephen Marsh
 
Last edited:
EDIT:

I connect to our server via AFP with no problems, however, SMB would be preferred if it means that there are no name length issues such as found with AFP.

When attempting to connect via SMB, the server always rejects the name and or password. AFP has no issues connecting.


Thanks,

Stephen Marsh

Hello Stephen,

These screen shots prob won't help, but I will upload them anyway.

We have a mac server and a nas server SMB mounting by browsing to the connection is how I connect, than I make alias of each volume and place in a folder to use when I start my mac.

-Dan
 

Attachments

  • 10.4.jpg
    10.4.jpg
    10.7 KB · Views: 194
  • SMB.jpg
    SMB.jpg
    16.3 KB · Views: 194
  • SMB_2.png
    SMB_2.png
    94.5 KB · Views: 207
  • Server_Folder.jpg
    Server_Folder.jpg
    27.2 KB · Views: 222
Dan, thank you for the screen shots...

We are running MS Windows Server 2003.

I use exactly the same name/password in Tiger, with the same caps/lowercase combo - however SMB does not let me in...while AFP does. This is a major pain, as file name length is a major issue when using AFP.

Stephen Marsh
 
Last edited:
Dan, thank you for the screen shots...

We are running MS Windows Server 2003.

I use exactly the same name/password in Tiger, with the same caps/lowercase combo - however SMB does not let me in...while AFP does. This is a major pain, as file name length is a major issue when using AFP.

Stephen Marsh

Just to be clear...you are using an account name and password of a user account from the Windows 2003 server and not the user name of the Mac user right? And that Windows 2003 user account has the correct permissions to access that share?
 
I found that smb can sometimes be problematic to accept passwords ALL CAPS and 0-9 work fine, for name and password. Other combinations have been unstable. (work somethimes sometimes not ) This is maybe more common in connecting to NAS.
 
Just to be clear...you are using an account name and password of a user account from the Windows 2003 server and not the user name of the Mac user right? And that Windows 2003 user account has the correct permissions to access that share?

Joe, are you saying that the name or password for SMB could be different than for AFP, even if this is the same server? I did not setup the server or network, so I am not sure what is going on at the Windows server.

The default connection is using AFP, when I "get info" on the mounted volume AFP appears in the details. For example, I may log on using "Username" and "Password" (case sensitive) and the volume mounts fine and I can read and write with no problems (except that I can't write filenames longer than 31 characters to the server and long file names from Windows computers are truncated to 8+3 format when viewed from the Mac).

If I try to mount the server using CMD-K and then use smb://servername/volumename I am asked to enter a username and password. If I use "Username" and "Password", then a message comes up that the name or password is incorrect. When attempting this SMB log on, I have previously dismounted the AFP mounted server.


Cheers,

Stephen Marsh
 
Last edited:
-Go to 'Control Panel' > 'Administration Tools' > 'Computer Management'
-Click on 'Shared Folders' > 'Shares'
-Find the Share Name of the Drive with the Type of Windows.
-Right click on the Share Name and select 'Properties'
-Select the 'Share Permissions' Tab
If your Username isn't listed here or your Username is not in a Group which is listed here. You will need to add your Username to a group which is listed (Local Users and Groups in this same application). You can also add your Username to the list.

Hope this helps.
 
-Go to 'Control Panel' > 'Administration Tools' > 'Computer Management'
-Click on 'Shared Folders' > 'Shares'
-Find the Share Name of the Drive with the Type of Windows.
-Right click on the Share Name and select 'Properties'
-Select the 'Share Permissions' Tab
If your Username isn't listed here or your Username is not in a Group which is listed here. You will need to add your Username to a group which is listed (Local Users and Groups in this same application). You can also add your Username to the list.

Hope this helps.

Thank you for the detailed instructions pcmodem!

I followed your advice, there was only one user "Everyone" with all permissions granted.

I have added my username, however I now get a different error message (error code -36, which is linked in the first page of this thread to the Apple support pages for 10.5 and 10.6, however I am running 10.4).

I will reboot the server and my Mac and will let you know if this persists.

Thanks again for your help!

EDIT: I am now trying a slightly different log in...

smb://000.0.0.000/Artwork (not the true IP address)

This no longer gives me the -36 error, however the error I now have is "could not connect as the name or password is not correct". I could enter a username at the Windows server, but there was no option for a password that I could see.


Stephen Marsh
 
Last edited:
Joe, are you saying that the name or password for SMB could be different than for AFP, even if this is the same server? I did not setup the server or network, so I am not sure what is going on at the Windows server.

The default connection is using AFP, when I "get info" on the mounted volume AFP appears in the details. For example, I may log on using "Username" and "Password" (case sensitive) and the volume mounts fine and I can read and write with no problems (except that I can't write filenames longer than 31 characters to the server and long file names from Windows computers are truncated to 8+3 format when viewed from the Mac).

If I try to mount the server using CMD-K and then use smb://servername/volumename I am asked to enter a username and password. If I use "Username" and "Password", then a message comes up that the name or password is incorrect. When attempting this SMB log on, I have previously dismounted the AFP mounted server.


Cheers,

Stephen Marsh

No, I'm saying the user name and password has to be an account on the Windows Server and not a user name and password from an account on the Mac. Sorry for the confusion.

Try just using smb://servername to mount the share instead of smb://servername/volumename. Once you enter the user name and password a box should pop up with a list of all the different shares on that server that you can then select.

Another thing is that just because someone setup an AFP share does not mean they setup up a CIFS/SMB share. They might have but they might not have too. You can check this by going to the Windows Server and opening Control Panel/Administrative Tools/Computer Management, clicking the + symbol next to Shared Folders in the left column and then clicking on Shares. Over in the right hand pane you should see all of the shares on that server. The ones that say Windows are CIFS/SMB and the ones that say Macintosh are AFP. If both types of shares have been created you should see the exact same share name twice. Once as a Windows share and once as a Macintosh share. If the Windows one is not there you are not going to be able to log into it with SMB.
 
Try just using smb://servername to mount the share instead of smb://servername/volumename. Once you enter the user name and password a box should pop up with a list of all the different shares on that server that you can then select.

I did try this, however I still get an error about not having the correct name/password.

smb://000.0.0.000/
smb://000.0.0.000/Artwork (not the true IP address)

Another thing is that just because someone setup an AFP share does not mean they setup up a CIFS/SMB share. They might have but they might not have too. You can check this by going to the Windows Server and opening Control Panel/Administrative Tools/Computer Management, clicking the + symbol next to Shared Folders in the left column and then clicking on Shares. Over in the right hand pane you should see all of the shares on that server. The ones that say Windows are CIFS/SMB and the ones that say Macintosh are AFP. If both types of shares have been created you should see the exact same share name twice. Once as a Windows share and once as a Macintosh share. If the Windows one is not there you are not going to be able to log into it with SMB.

I will check this out Joe, cheers!

OK....both shares exist. The CIFS/SMB share names appear as ALL CAPS as in ARTWORK, while the AFP share name is listed as Artwork.

I still can't log in via SMB using the same username and password as used successfully via AFP.


Best,

Stephen Marsh
 
Last edited:
For kicks try using the computer name instead of the IP address. Like smb://computername

Is the user name that you are trying to log in with listed in Permissions for that share and does it have "Full Control".
 
As a test I just tried it here on an OS 10.4.11 Mac to a Windows 2003 server with a Windows share. It worked OK. For the permissions for the Windows share "Everyone" is in the list with "Full Control" granted to it. Might make sure of that.
 
For kicks try using the computer name instead of the IP address. Like smb://computername

Is the user name that you are trying to log in with listed in Permissions for that share and does it have "Full Control".

Yes, been there on the computername, still have the -36 errors or a message that the name and password is not correct when using the IP address method (tried many combos of the caps and lowercase).

Yes, both AFP and SMB have "full control" as well as both "read" and "write" checked for this user.


Stephen Marsh
 
Something is amiss there. Are you on a PowerPC or Intel Mac? If it's a PowerPC is it a G4 or G5? Is the OS fully updated to OS 10.4.11? The Tiger Machines I tested it on was a G4, G5, and an Intel Mac and they all worked but they are all on 10.4.11. Also try connecting via SMB using the Windows 2003 server Administrator account. It's also a must when you enter the SMB mount command that you use lower case letters. For example smb://xxxx and not SMB://xxxx.
 
Have you tried connecting to the server with a different Mac? If so and it works, then it might be your Mac and not the server.

I would also try to connect to the Server from a Windows computer.
 
Something is amiss there. Are you on a PowerPC or Intel Mac? If it's a PowerPC is it a G4 or G5? Is the OS fully updated to OS 10.4.11? The Tiger Machines I tested it on was a G4, G5, and an Intel Mac and they all worked but they are all on 10.4.11. Also try connecting via SMB using the Windows 2003 server Administrator account. It's also a must when you enter the SMB mount command that you use lower case letters. For example smb://xxxx and not SMB://xxxx.

Joe, thank you for your patience!

Answers below...

* PPC, G5

* Yes, OS is up to date 10.4.11

* Yes, smb:// is lowercase

I think that the answer must be somewhere on the Windows 2003 Server box...

I can't see where one would assign a password for this username?

The username is - G5Design (case sensitive).

I have tried all combinations of log on names with different cases, for the username and also for the workgroup/domain and password...

Thanks again for taking an interest.


Stephen Marsh
 
Joe, thank you for your patience!

Answers below...

* PPC, G5

* Yes, OS is up to date 10.4.11

* Yes, smb:// is lowercase

I think that the answer must be somewhere on the Windows 2003 Server box...

I can't see where one would assign a password for this username?

The username is - G5Design (case sensitive).

I have tried all combinations of log on names with different cases, for the username and also for the workgroup/domain and password...

Thanks again for taking an interest.


Stephen Marsh

So on the Windows 2003 Server there is a user account named G5Design? Or is that your user account name on the G5? (I'm thinking you must have that user account created on the Windows server if you can log in using it via AFP) Anyhow, check the user names in Computer Management on the Windows box and make sure there is an account named G5Design.
 
To change the password on the Windows Server. Right click on the username. You will see an option to reset password.
 
Also, user names in Windows are not case sensitive. Passwords are but user names are not.
 
To change the password on the Windows Server. Right click on the username. You will see an option to reset password.

When I right click on the name in the shared folders section of the computer management section - all I get is a "what's this?" option...

I think I will have to take some screen dumps from the server!

EDIT: Screen shots attached.


Stephen Marsh
 

Attachments

  • Document-3.jpg
    Document-3.jpg
    11.3 KB · Views: 197
  • Document-4.jpg
    Document-4.jpg
    15.1 KB · Views: 195
  • Document-1.png
    Document-1.png
    5.3 KB · Views: 202
Last edited:

PressWise

A 30-day Fix for Managed Chaos

As any print professional knows, printing can be managed chaos. Software that solves multiple problems and provides measurable and monetizable value has a direct impact on the bottom-line.

“We reduced order entry costs by about 40%.” Significant savings in a shop that turns about 500 jobs a month.


Learn how…….

   
Back
Top