In the system preferences of Mac OS X, the file sharing configuration may not be flexible enough, or sometimes not obvious enough. For example, you cannot clearly identify from the GUI, which can be shared by AFP, which is SMB and which is both. You can use the following method to understand the specific configuration of a shared name. For example, if the shared name is DS, run the command line:
Dscl.-Read/sharepoints/DS
The following information is obtained, indicating that it is shared through AFP and SMB. The shared names are Ds, and the path is/users/shared/Ds.
Dsattrtypenative: afp_guestaccess: 1
Dsattrtypenative: afp_name: DS
Dsattrtypenative: afp_shared: 1
Dsattrtypenative: directory_path:/users/shared/DS
Dsattrtypenative: ftp_name: DS
Dsattrtypenative: sharepoint_group_id: 6394a3e4-2542-4cef-949f-fe35909db095
Dsattrtypenative: smb_createmask: 644
Dsattrtypenative: smb_directorymask: 755
Dsattrtypenative: smb_guestaccess: 1
Dsattrtypenative: smb_name: DS
Dsattrtypenative: smb_shared: 1
Applemetanodelocation:/local/Default
Recordname: DS
Recordtype: dsrectypestandard: Invalid points
Of course, you can modify the content to meet your requirements, such as changing the SMB Share Name:
Dscl.-Change/sharepoints/DS smb_name DS smb_ds
The above content is about the Mac OS X working-side platform, not the server version. The GUI configuration on the server is much more flexible.
If the test is passed on the 10.6 system, it should work on the 10.5 system, but it is not tested.
2011-05-28