Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Enthusiast Zone > Networking > smb.conf question

smb.conf question
Thread Tools
Dedicated MacNNer
Join Date: Dec 2002
Status: Offline
Reply With Quote
May 7, 2003, 07:29 PM
 
Alrighty. I'm having trouble setting up my mac so as to enable a Win XP box on my network to connect to a single folder. The owner of that folder is me, also the only user on the mac. My smb.conf file is as follows:
----------------------------
Global parameters
[global]
coding system = utf8
client code page = 437
netbios name = HOZIE
server string = Samba
security = SHARE
encrypt passwords = Yes
wins support = Yes
guest account = Nik
hosts allow = 192.168
max connections = 3

[Hozie AlBook]
comment = AlBook
path = /Users/hozie/Desktop/Shared Folder
read only = No
create mask = 0600
directory mask = 0700
guest only = Yes
guest ok = Yes
----------------------------------
Now, using SharePoints, I've added a user called 'Nik' (my brother on the WinXP box whom I want to be able to access the folder 'Shared Folder', which he will see as 'Hozie AlBook' in the workgroup 'WORKGROUP' (which I made sure was the same in Directory access and on the XP box.) The user I created in sharepoints is in the group 'guest'. Now whenever I try to connect from the XP box, I get an error saying it didn't find the network path. I tried using the 'map network drive' option without success. The Mac shows up just fine in the workgroup, but I can't access anything on it from the XP box.

Is anything glaringly wrong here?

Thanks!
(Last edited by Hozie; May 7, 2003 at 07:37 PM. )
     
Hozie  (op)
Dedicated MacNNer
Join Date: Dec 2002
Status: Offline
Reply With Quote
May 7, 2003, 07:48 PM
 
By the way, it might have something to do with the fact that I didn't add the user correctly. Could anyone walk me through the steps fro doing that. I just want to specify a user that would have no home directories, just a name and a password so that user can access the samba share.
     
Dedicated MacNNer
Join Date: Dec 2002
Location: someplace
Status: Offline
Reply With Quote
May 7, 2003, 08:29 PM
 
Your desktop is not world-readable, so it is not a good place to try to make publicly available shares:
Code:
% ls ~ | grep Desktop 0 drwx------ 13 gator staff 442 May 7 16:12 Desktop/
No other users will be able to see it. I suggest just creating a new directory: /public at the root level of your boot disk. Otherwise, just share the /Users/Shared directory, which already has the appropriate permissions.

You could use testuser's adduser script to add non-GUI Windows accounts:
http://testuser.eshirazi.com/adduser/

Or just go into NetInfo Manager and change the existing user's settings:
shell: /dev/null
home: /public
(or whichever directory you end up sharing)
     
Hozie  (op)
Dedicated MacNNer
Join Date: Dec 2002
Status: Offline
Reply With Quote
May 8, 2003, 04:25 AM
 
Still doesn't work... I tried to make a folder in /Users/Shared which I called 'Shared', made a new Share in SWAT to point to the share as follows:
/Users/Shared/Shared

I then changed the user I want to login to the share to say:

shell: /dev/null
home: /Users/Shared/Shared

I then restarted the daemons (smbd and nmbd), all to no avail. XP tells me that 'the Network path could not be found'. Is there any way I can run diagnostics to see what's going wrong?
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 05:57 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2