Samba Problem

Fajar Priyanto fajarpri at cbn.net.id
Wed Oct 24 01:17:51 UTC 2007


On Wednesday 24 October 2007 03:14:54 Jim Byers wrote:
> I failed to make a backup of my Samba configuration before I upgraded to
>  Gutsy.  Now I am able to see Ubuntu Samba in Network Places on an XP
> client, but I am unable to access Ubuntu Samba server and get message
> that I do not have permission.  I have added users to smbpasswd, but do
> no know if those users must match XP client logon.  I have  security =
> share.  Can anyone help me get past this issue?  I had it working under
> Feisty and would like to get back to a workable situation.

Hello Jim,
'security = share' means that the shares will be accessible without password.  
To make a share, here's the option:
[Global]
workgroup = ubuntulinux 
domain logons = No
domain master = No
security = share
netbios name = yourpcname

[Public] <--- the share name
comment = For everyone's eyes
path = /data/share
read only = yes
browseable = yes
public = yes

Then:
mkdir -p /data/share
chown -R yourusername /data/share


If you want it to be password protected, then use: 'security = user'
You then make a user (prefereably the same as in XP): smbpasswd -a joe

Then the share options:
[SecretPlace] <--- the share name
comment = For buddy
path = /data/secret
read only = yes
browseable = yes
public = no <--- important

Don't forget to restart samba everytime you apply new settings.
-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
08:17:23 up 28 min, 2.6.20-16-generic GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org
The real challenge of teaching is getting your students motivated to learn.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20071024/9acc8981/attachment.sig>


More information about the ubuntu-users mailing list