Re: [Samba] Access to a share resource without password

2011-03-02 Thread J. L. Cabral
THANKS Motonobu !!!

The problem was the SELinux in my CentOS serverI've never heart
about it, so it avoid me to access the share.

THANKS TO EVERYBODY HERE and sorry for my interruptions.

Regards,

JeLo

On Tue, Mar 1, 2011 at 1:20 PM, TAKAHASHI Motonobu mo...@monyo.com wrote:
 2011/2/26 J. L. Cabral jelocab...@gmail.com:
 Dear, I have a Linux Samba server and a Windows XP SP2 client joined to the 
 g-company.net domain.

 I want to access a Linux share resource in /var/share without password
 from WXP desktop FROM ANY USER.

 This is my scenario:

 - I don't create any Linux local user because I want total access from any 
 user

 - I use security = share

 - My smbusers file is:

 root = administrator admin
 nobody = guest pcguest smbguest

 - The Windows XP guest account is guest but I don't know if it has
 any password setup.

 Form Windows XP I execute:

 \\samba_server\share

 but I get the error DENIED ACCESS.

 What can I do to access this resource ???

 What is your distro and filesystems?

 Can you access with correct username and password?

 And if you use Fedora or CentOS or such kind of OSes,
 have you already stopped SELinux?

 If you have not, type

  setenforce 0

 and try again.

 ---
 TAKAHASHI Motonobu mo...@monyo.com

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-03-01 Thread Marco Ciampa
On Mon, Feb 28, 2011 at 12:21:32AM -0300, J. L. Cabral wrote:
 Chris, after following Marco guideline and fail I followed the
 tutorial you recommend to me, please see below:
[...]

just to remember you to post even when successful.
We are interested in knowing what went wrong...

-- 


Marco Ciampa

++
| Linux User  #78271 |
| FSFE fellow   #364 |
++
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-03-01 Thread J. L. Cabral
Just a moment please, now I'll test with your instructions and I'll
tell youthanks.

On Tue, Mar 1, 2011 at 9:19 AM, Marco Ciampa ciam...@libero.it wrote:
 On Mon, Feb 28, 2011 at 12:21:32AM -0300, J. L. Cabral wrote:
 Chris, after following Marco guideline and fail I followed the
 tutorial you recommend to me, please see below:
 [...]

 just to remember you to post even when successful.
 We are interested in knowing what went wrong...

 --


 Marco Ciampa

 ++
 | Linux User  #78271 |
 | FSFE fellow   #364 |
 ++
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/options/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-03-01 Thread J. L. Cabral
Dear, we still continue without access to samba share.

Just a question: maybe the administrator of the Windows Domain has
setup any policy ti avoide tha access from domain's users to samba ???
Has the administrator of my Windows domain allow any access or do
something specific related to samba machine ???

Thanks again

On Tue, Mar 1, 2011 at 10:07 AM, J. L. Cabral jelocab...@gmail.com wrote:
 Just a moment please, now I'll test with your instructions and I'll
 tell youthanks.

 On Tue, Mar 1, 2011 at 9:19 AM, Marco Ciampa ciam...@libero.it wrote:
 On Mon, Feb 28, 2011 at 12:21:32AM -0300, J. L. Cabral wrote:
 Chris, after following Marco guideline and fail I followed the
 tutorial you recommend to me, please see below:
 [...]

 just to remember you to post even when successful.
 We are interested in knowing what went wrong...

 --


 Marco Ciampa

 ++
 | Linux User  #78271 |
 | FSFE fellow   #364 |
 ++
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/options/samba


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-03-01 Thread Marcello Romani

Il 01/03/2011 14:43, J. L. Cabral ha scritto:

Dear, we still continue without access to samba share.

Just a question: maybe the administrator of the Windows Domain has
setup any policy ti avoide tha access from domain's users to samba ???
Has the administrator of my Windows domain allow any access or do
something specific related to samba machine ???

Thanks again

On Tue, Mar 1, 2011 at 10:07 AM, J. L. Cabraljelocab...@gmail.com  wrote:

Just a moment please, now I'll test with your instructions and I'll
tell youthanks.

On Tue, Mar 1, 2011 at 9:19 AM, Marco Ciampaciam...@libero.it  wrote:

On Mon, Feb 28, 2011 at 12:21:32AM -0300, J. L. Cabral wrote:

Chris, after following Marco guideline and fail I followed the
tutorial you recommend to me, please see below:

[...]

just to remember you to post even when successful.
We are interested in knowing what went wrong...

--


Marco Ciampa

++
| Linux User  #78271 |
| FSFE fellow   #364 |
++
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba





IIRC there is a registry setting which prevents a windows machine from 
accessing non-authenticated smb shares.


I'm sorry but can't find the key name right now...

HTH

--
Marcello Romani
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-03-01 Thread Chris Weiss
On Tue, Mar 1, 2011 at 8:25 AM, J. L. Cabral jelocab...@gmail.com wrote:
 OK thanks, but when I try to access from a Linux Debian machine as
 guest, I fail againlook:

 Debian:~# smbclient //10.4.133.109/share -U guest
 Enter guest's password: I put any password because guest is not a
 samba nor Linux user

guest access doesn't actually use a username, this may be the problem.
 to force-use the anonymous account, you can do: -U %

I'd start here:
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/FastStart.html
you don't have to get very down that page to have a anonymous read-write share.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-03-01 Thread J. L. Cabral
Chris, I'v efollowed your tutorial, see below the configuration of my
Linux CentOS 5.5 please:

testparm output:

[global]
workgroup = CASA
map to guest = Bad User
passdb backend = tdbsam
username map = /etc/samba/smbusers
cups options = raw

(I put security = user but is not displayed in testparm)

[share]
comment = File server
path = /var/share
read only = No
create mask = 0700
directory mask = 0700
guest ok = Yes

In smbusers:

root = administrator admin
nobody = guest pcguest smbguest

The share:

Debian:~# smbclient -U guest -L 10.4.133.109
Enter guest's password: ANY PASS
Domain=[BANGKOK] OS=[Unix] Server=[Samba 3.0.33-3.29.el5_5.1]

Sharename   Type  Comment
-     ---
share  Disk  File share
IPC$IPC   IPC Service (Samba 3.0.33-3.29.el5_5.1)
Domain=[BANGKOK] OS=[Unix] Server=[Samba 3.0.33-3.29.el5_5.1]

Server   Comment
----

WorkgroupMaster
----
CASA BANGKOK

And finally try to enter the share resource:

Debian:~# smbclient //10.4.133.109/grabar -U guest
Enter guest's password: ANY PASS
Domain=[BANGKOK] OS=[Unix] Server=[Samba 3.0.33-3.29.el5_5.1]
smb: \ ls
NT_STATUS_ACCESS_DENIED listing \*

56892 blocks of size 8388608. 53742 blocks available

What can be the problem ???

THANKS


drwxrwxrwx  2 nobody nobody 4096 feb 28 16:21 share

nobody is a Linux local user with /sbin/nologin shell.

From a Linux Debian machine I try to connect:




On Fri, Feb 25, 2011 at 3:13 PM, Chris Smith smb...@chrissmith.org wrote:
 On Fri, Feb 25, 2011 at 10:22 AM, J. L. Cabral jelocab...@gmail.com wrote:
 I want to access a Linux share resource in /var/share without password
 from WXP desktop FROM ANY USER.

 See:
 http://blog.realcomputerguy.com/2010/12/samba-and-guest-shares-with-security.html

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-03-01 Thread J. L. Cabral
Chris I tried to connect with -U % and see:

Debian:~# smbclient //10.4.133.109/share -U %
Domain=[CASA] OS=[Unix] Server=[Samba 3.0.33-3.29.el5_5.1]
smb: \ ls
NT_STATUS_ACCESS_DENIED listing \*

56892 blocks of size 8388608. 53742 blocks available

Always the error !!!


On Tue, Mar 1, 2011 at 12:12 PM, Chris Weiss cwe...@gmail.com wrote:
 On Tue, Mar 1, 2011 at 8:25 AM, J. L. Cabral jelocab...@gmail.com wrote:
 OK thanks, but when I try to access from a Linux Debian machine as
 guest, I fail againlook:

 Debian:~# smbclient //10.4.133.109/share -U guest
 Enter guest's password: I put any password because guest is not a
 samba nor Linux user

 guest access doesn't actually use a username, this may be the problem.
  to force-use the anonymous account, you can do: -U %

 I'd start here:
 http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/FastStart.html
 you don't have to get very down that page to have a anonymous read-write 
 share.
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/options/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-03-01 Thread Chris Weiss
On Tue, Mar 1, 2011 at 9:24 AM, J. L. Cabral jelocab...@gmail.com wrote:
 Chris I tried to connect with -U % and see:

 Debian:~# smbclient //10.4.133.109/share -U %
 Domain=[CASA] OS=[Unix] Server=[Samba 3.0.33-3.29.el5_5.1]
 smb: \ ls
 NT_STATUS_ACCESS_DENIED listing \*


if security isn't in your testparm, them something is odd with how you
entered it.  I think user is the default, test with this:
testparm -v | grep security


Also check your guest settings, this will show what account samba will
use for anonymous access, among other things:
testparm -v | grep guest

Make sure the account listed can access the directory you are sharing,
or use force user to override the shares filesystem access, which is
what the howto does.

Also, i never use smbusers file for anything, ever.  I find that it
only adds confusion.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-03-01 Thread J. L. Cabral
See inline please:

 if security isn't in your testparm, them something is odd with how you
 entered it.  I think user is the default, test with this:
 testparm -v | grep security

security = USER
paranoid server security = Yes
security mask = 0777
force security mode = 00
directory security mask = 0777
force directory security mode = 00

 Also check your guest settings, this will show what account samba will
 use for anonymous access, among other things:
 testparm -v | grep guest

map to guest = Bad User
guest account = nobody
usershare allow guests = No
guest only = No
guest ok = No
guest ok = Yes

 Make sure the account listed can access the directory you are sharing,
 or use force user to override the shares filesystem access, which is
 what the howto does.

drwxrwxrwx  nobody nobody /var/share

 Also, i never use smbusers file for anything, ever.  I find that it
 only adds confusion.

But the tutorial you show me points:

username map = /etc/samba/smbusers

I repeat my smb.conf file:

[global]
workgroup = CASA
interfaces = lo eth0
map to guest = Bad User
security = user
passdb backend = tdbsam
username map = /etc/samba/smbusers

[grabar]
comment = File share
path = /var/share
borowseable = yes
read only = No
create mask = 0700
directory mask = 0700
guest ok = Yes

And the NT_STATUS_ACCESS_DENIED listing \* error appear again !!!

Any other idea please ??? Thanks and sorry for interrupting you...

JeLo


 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/options/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-03-01 Thread Chris Weiss
On Tue, Mar 1, 2011 at 9:53 AM, J. L. Cabral jelocab...@gmail.com wrote:

 And the NT_STATUS_ACCESS_DENIED listing \* error appear again !!!


I guess all that's left is to turn up the log level and see if
anything looks odd.

it's possible that you aren't actually accessing it mapped to guest
due to the accounts you've created, or that the smbusers is confusing
it, or any number of oddities specific to your server config.

what I do know is that on a clean server, that howto works perfectly.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-03-01 Thread Helmut Hullen
Hallo, J.,

Du meintest am 01.03.11:

 testparm output:

 [global]
 workgroup = CASA
 map to guest = Bad User
 passdb backend = tdbsam
 username map = /etc/samba/smbusers
 cups options = raw

 (I put security = user but is not displayed in testparm)

There's a big difference between testparm and testparm -v; the -v  
option shows what is, including the defaults.

Viele Gruesse!
Helmut
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-03-01 Thread TAKAHASHI Motonobu
2011/2/26 J. L. Cabral jelocab...@gmail.com:
 Dear, I have a Linux Samba server and a Windows XP SP2 client joined to the 
 g-company.net domain.

 I want to access a Linux share resource in /var/share without password
 from WXP desktop FROM ANY USER.

 This is my scenario:

 - I don't create any Linux local user because I want total access from any 
 user

 - I use security = share

 - My smbusers file is:

 root = administrator admin
 nobody = guest pcguest smbguest

 - The Windows XP guest account is guest but I don't know if it has
 any password setup.

 Form Windows XP I execute:

 \\samba_server\share

 but I get the error DENIED ACCESS.

 What can I do to access this resource ???

What is your distro and filesystems?

Can you access with correct username and password?

And if you use Fedora or CentOS or such kind of OSes,
have you already stopped SELinux?

If you have not, type

  setenforce 0

and try again.

---
TAKAHASHI Motonobu mo...@monyo.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-02-28 Thread Marco Ciampa
On Mon, Feb 28, 2011 at 12:05:32AM -0300, J. L. Cabral wrote:
 Marco, I followed your instructions and I couldn't connect, my config is:
 
 [global]
 workgroup = CASA
 netbios name = bangkok
 security = user
 passdb backend = tdbsam
 map to guest = bad password
 username map = /etc/samba/smbusers
 
 [grabar]
 comment = file sharing
 path = /var/share

^^^ why not: 
path = /home/pepe

??? is it a problem?

 browseable = yes
 public = yes
 writeable = yes
 create mode = 0644
 force user = pepe
 force group = pepe
 
 I have:
 
 drwxrwxrwx  root nobody  /var/share
 
 and I add user pepe:
 
 # useradd -s /sbin/nologin pepe
 
 After that I restart samba:
 
 # /etc/init.d/smb restart
 
 and fro Windows XP machine I do:
 
 net use X: \\10.4.133.109\grabar
 
 and after that I see the resource in my Explorer
OK!

 but when I want to
 enter into it with double click I get:
 
 ACCESS DENIED

so it seems a problem of local permissions, not SAMBA ...

 
 The smb.log is:
 
 [2011/02/27 23:52:25, 0] lib/util_sock.c:get_peer_addr(1224)
   getpeername failed. Error was the connection peer is not connected
 [2011/02/27 23:52:25, 0] lib/util_sock.c:read_data(534)
   read_data: read failure for 4 bytes to client 0.0.0.0. Error =
 connectio reinitialized by remote machine
 [2011/02/27 23:52:25, 1] smbd/service.c:make_connection_snum(1077)
   kari (10.4.132.61) connect to service grabar initially as user pepe
 (uid=500, gid=500) (pid 31657)
 [2011/02/27 23:52:29, 1] smbd/fake_file.c:open_fake_file(116)
   open_fake_file_shared: access_denied to service[grabar]
 file[$Extend/$Quota:$Q:$INDEX_ALLOCATION] user[pepe]
 [2011/02/27 23:52:29, 1] smbd/fake_file.c:open_fake_file(116)
   open_fake_file_shared: access_denied to service[grabar]
 file[$Extend/$Quota:$Q:$INDEX_ALLOCATION] user[pepe]
 
 Can you help me again ???
 
 THANKS A LOT
 
 JeLo
 

if you do from root:

#su -s /bin/bash pepe 

user pepe is able to write to /var/share 

-- 


Marco Ciampa

++
| Linux User  #78271 |
| FSFE fellow   #364 |
++
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-02-28 Thread Marcello Romani

Il 25/02/2011 16:22, J. L. Cabral ha scritto:

Dear, I have a Linux Samba server and a Windows XP SP2 client joined
to the g-company.net domain.

I want to access a Linux share resource in /var/share without password
from WXP desktop FROM ANY USER.

This is my scenario:

- I don't create any Linux local user because I want total access from any user

- I use security = share

- My smbusers file is:

root = administrator admin
nobody = guest pcguest smbguest

- The Windows XP guest account is guest but I don't know if it has
any password setup.

- This is my smb.conf:

[global]
workgroup = G-COMPANY.NET
server string = Samba Server Version %v
security = SHARE
passdb backend = tdbsam

[share]
comment = Archivos Compartidos
path = /var/share
read only = No
create mask = 0700
directory mask = 0700
guest only = Yes
guest ok = Yes

Form Windows XP I execute:

\\samba_server\share

but I get the error DENIED ACCESS.

What can I do to access this resource ???

Thanks a lot,

JeLo


Hi,
I have a similar setup.
I forced /var/share to be owned by group publicshare, and in smb.conf 
I have force group = publicshare. The permission bits are 775.


HTH

--
Marcello Romani
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-02-27 Thread J. L. Cabral
Marco, I followed your instructions and I couldn't connect, my config is:

[global]
workgroup = CASA
netbios name = bangkok
security = user
passdb backend = tdbsam
map to guest = bad password
username map = /etc/samba/smbusers

[grabar]
comment = file sharing
path = /var/share
browseable = yes
public = yes
writeable = yes
create mode = 0644
force user = pepe
force group = pepe

I have:

drwxrwxrwx  root nobody  /var/share

and I add user pepe:

# useradd -s /sbin/nologin pepe

After that I restart samba:

# /etc/init.d/smb restart

and fro Windows XP machine I do:

net use X: \\10.4.133.109\grabar

and after that I see the resource in my Explorer but when I want to
enter into it with double click I get:

ACCESS DENIED

The smb.log is:

[2011/02/27 23:52:25, 0] lib/util_sock.c:get_peer_addr(1224)
  getpeername failed. Error was the connection peer is not connected
[2011/02/27 23:52:25, 0] lib/util_sock.c:read_data(534)
  read_data: read failure for 4 bytes to client 0.0.0.0. Error =
connectio reinitialized by remote machine
[2011/02/27 23:52:25, 1] smbd/service.c:make_connection_snum(1077)
  kari (10.4.132.61) connect to service grabar initially as user pepe
(uid=500, gid=500) (pid 31657)
[2011/02/27 23:52:29, 1] smbd/fake_file.c:open_fake_file(116)
  open_fake_file_shared: access_denied to service[grabar]
file[$Extend/$Quota:$Q:$INDEX_ALLOCATION] user[pepe]
[2011/02/27 23:52:29, 1] smbd/fake_file.c:open_fake_file(116)
  open_fake_file_shared: access_denied to service[grabar]
file[$Extend/$Quota:$Q:$INDEX_ALLOCATION] user[pepe]

Can you help me again ???

THANKS A LOT

JeLo

On Sun, Feb 27, 2011 at 4:53 PM, Marco Ciampa ciam...@libero.it wrote:
 On Fri, Feb 25, 2011 at 02:55:17PM -0300, J. L. Cabral wrote:
 Marco, thanks.last question:

 the adhoc user you tell me to create as a linux local user need to be
 created as a samba user alos with:

 smbpasswd -a adhocuser:
 pass:1234
 pass:1234

 Thanks again


 no, you just have to create the user just to control the user with whom
 the people will access that folder. Since you use the force user
 option, you do not have to set any password...

 just do a

 adduser adhocuser

 and you are done.


 --


 Marco Ciampa

 ++
 | Linux User  #78271 |
 | FSFE fellow   #364 |
 ++

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-02-27 Thread J. L. Cabral
Chris, after following Marco guideline and fail I followed the
tutorial you recommend to me, please see below:

[global]
workgroup = CASA
netbios name = bangkok
security = user
passdb backend = tdbsam
Map to guest = Bad User
username map = /etc/samba/smbusers

[grabar]
comment = File sharing
path = /var/alejandro
read only = No
create mask = 0700
directory mask = 0700
guest ok = Yes

The content of smbusers is:

root = administrator admin
nobody = guest pcguest smbguest

and the path:

drwxrwxrwx  root nobody  /var/share

I restart smb and after tghat I do from Windows:

net use X: \\10.4.133.109\grabar

I see the resource but when I made double click on it I get:

ACCESS DENIED

The smb.log is:

[2011/02/28 00:16:14, 0] lib/util_sock.c:get_peer_addr(1224)
  getpeername failed. Error was the other connection peer is not connected
[2011/02/28 00:16:14, 0] lib/util_sock.c:get_peer_addr(1224)
  getpeername failed. Error was the other connection peer is not connected
[2011/02/28 00:16:14, 0] lib/util_sock.c:read_data(534)
  read_data: read failure for 4 bytes to client 0.0.0.0. Error =
connectio reinitialized by the remote machine
[2011/02/28 00:16:14, 1] smbd/service.c:make_connection_snum(1077)
  kari (10.4.132.61) connect to service grabar initially as user
nobody (uid=99, gid=99) (pid 31950)

THANKS AGAIN and please can you continue helping me ???

JeLo





On Fri, Feb 25, 2011 at 5:38 PM, Chris Smith smb...@chrissmith.org wrote:
 On Fri, Feb 25, 2011 at 3:17 PM, Helmut Hullen hul...@t-online.de wrote:
 Have I to add nobody to the samba password file?

 No.
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/options/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Access to a share resource without password

2011-02-25 Thread J. L. Cabral
Dear, I have a Linux Samba server and a Windows XP SP2 client joined
to the g-company.net domain.

I want to access a Linux share resource in /var/share without password
from WXP desktop FROM ANY USER.

This is my scenario:

- I don't create any Linux local user because I want total access from any user

- I use security = share

- My smbusers file is:

root = administrator admin
nobody = guest pcguest smbguest

- The Windows XP guest account is guest but I don't know if it has
any password setup.

- This is my smb.conf:

[global]
workgroup = G-COMPANY.NET
server string = Samba Server Version %v
security = SHARE
passdb backend = tdbsam

[share]
comment = Archivos Compartidos
path = /var/share
read only = No
create mask = 0700
directory mask = 0700
guest only = Yes
guest ok = Yes

Form Windows XP I execute:

\\samba_server\share

but I get the error DENIED ACCESS.

What can I do to access this resource ???

Thanks a lot,

JeLo
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-02-25 Thread Marco Ciampa
On Fri, Feb 25, 2011 at 12:22:12PM -0300, J. L. Cabral wrote:
 Dear, I have a Linux Samba server and a Windows XP SP2 client joined
 to the g-company.net domain.
 
 I want to access a Linux share resource in /var/share without password
 from WXP desktop FROM ANY USER.
 
 This is my scenario:
 
 - I don't create any Linux local user because I want total access from any 
 user
 
 - I use security = share

Why?


-- 


Marco Ciampa

++
| Linux User  #78271 |
| FSFE fellow   #364 |
++
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-02-25 Thread mat . enders
I believe your permissions are not correct. If I understand correctly you want 
to run a wide open share that allows everyone full control. If this is correct 
then first:

chmod -R 777 /your/share

Change your create masks to:

create mask = 0777
directory mask = 0777
Sent on the Sprint® Now Network from my BlackBerry®

-Original Message-
From: J. L. Cabral jelocab...@gmail.com
Sender: samba-boun...@lists.samba.org
Date: Fri, 25 Feb 2011 12:22:12 
To: sambasamba@lists.samba.org
Subject: [Samba] Access to a share resource without password

Dear, I have a Linux Samba server and a Windows XP SP2 client joined
to the g-company.net domain.

I want to access a Linux share resource in /var/share without password
from WXP desktop FROM ANY USER.

This is my scenario:

- I don't create any Linux local user because I want total access from any user

- I use security = share

- My smbusers file is:

root = administrator admin
nobody = guest pcguest smbguest

- The Windows XP guest account is guest but I don't know if it has
any password setup.

- This is my smb.conf:

[global]
workgroup = G-COMPANY.NET
server string = Samba Server Version %v
security = SHARE
passdb backend = tdbsam

[share]
comment = Archivos Compartidos
path = /var/share
read only = No
create mask = 0700
directory mask = 0700
guest only = Yes
guest ok = Yes

Form Windows XP I execute:

\\samba_server\share

but I get the error DENIED ACCESS.

What can I do to access this resource ???

Thanks a lot,

JeLo
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-02-25 Thread J. L. Cabral
I have /var/share with rwx-rwx-rwx, and I put create and directory
masks with 777 values.

But I still get ACCESS DENIED error.

Do I have to create a local Linux user account ??? Or waht ??? Because
I need to give full access to every user from my LAN.

Thanks in advance.

JeLo

On Fri, Feb 25, 2011 at 12:39 PM,  mat.end...@gmail.com wrote:
 I believe your permissions are not correct. If I understand correctly you 
 want to run a wide open share that allows everyone full control. If this is 
 correct then first:

 chmod -R 777 /your/share

 Change your create masks to:

 create mask = 0777
 directory mask = 0777
 Sent on the Sprint® Now Network from my BlackBerry®

 -Original Message-
 From: J. L. Cabral jelocab...@gmail.com
 Sender: samba-boun...@lists.samba.org
 Date: Fri, 25 Feb 2011 12:22:12
 To: sambasamba@lists.samba.org
 Subject: [Samba] Access to a share resource without password

 Dear, I have a Linux Samba server and a Windows XP SP2 client joined
 to the g-company.net domain.

 I want to access a Linux share resource in /var/share without password
 from WXP desktop FROM ANY USER.

 This is my scenario:

 - I don't create any Linux local user because I want total access from any 
 user

 - I use security = share

 - My smbusers file is:

 root = administrator admin
 nobody = guest pcguest smbguest

 - The Windows XP guest account is guest but I don't know if it has
 any password setup.

 - This is my smb.conf:

 [global]
        workgroup = G-COMPANY.NET
        server string = Samba Server Version %v
        security = SHARE
        passdb backend = tdbsam

 [share]
        comment = Archivos Compartidos
        path = /var/share
        read only = No
        create mask = 0700
        directory mask = 0700
        guest only = Yes
        guest ok = Yes

 Form Windows XP I execute:

 \\samba_server\share

 but I get the error DENIED ACCESS.

 What can I do to access this resource ???

 Thanks a lot,

 JeLo
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/options/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-02-25 Thread mat . enders
Did you restart samba?
Sent on the Sprint® Now Network from my BlackBerry®

-Original Message-
From: J. L. Cabral jelocab...@gmail.com
Date: Fri, 25 Feb 2011 13:05:35 
To: mat.end...@gmail.com
Cc: sambasamba@lists.samba.org
Subject: Re: [Samba] Access to a share resource without password

I have /var/share with rwx-rwx-rwx, and I put create and directory
masks with 777 values.

But I still get ACCESS DENIED error.

Do I have to create a local Linux user account ??? Or waht ??? Because
I need to give full access to every user from my LAN.

Thanks in advance.

JeLo

On Fri, Feb 25, 2011 at 12:39 PM,  mat.end...@gmail.com wrote:
 I believe your permissions are not correct. If I understand correctly you 
 want to run a wide open share that allows everyone full control. If this is 
 correct then first:

 chmod -R 777 /your/share

 Change your create masks to:

 create mask = 0777
 directory mask = 0777
 Sent on the Sprint® Now Network from my BlackBerry®

 -Original Message-
 From: J. L. Cabral jelocab...@gmail.com
 Sender: samba-boun...@lists.samba.org
 Date: Fri, 25 Feb 2011 12:22:12
 To: sambasamba@lists.samba.org
 Subject: [Samba] Access to a share resource without password

 Dear, I have a Linux Samba server and a Windows XP SP2 client joined
 to the g-company.net domain.

 I want to access a Linux share resource in /var/share without password
 from WXP desktop FROM ANY USER.

 This is my scenario:

 - I don't create any Linux local user because I want total access from any 
 user

 - I use security = share

 - My smbusers file is:

 root = administrator admin
 nobody = guest pcguest smbguest

 - The Windows XP guest account is guest but I don't know if it has
 any password setup.

 - This is my smb.conf:

 [global]
        workgroup = G-COMPANY.NET
        server string = Samba Server Version %v
        security = SHARE
        passdb backend = tdbsam

 [share]
        comment = Archivos Compartidos
        path = /var/share
        read only = No
        create mask = 0700
        directory mask = 0700
        guest only = Yes
        guest ok = Yes

 Form Windows XP I execute:

 \\samba_server\share

 but I get the error DENIED ACCESS.

 What can I do to access this resource ???

 Thanks a lot,

 JeLo
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/options/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-02-25 Thread J. L. Cabral
Yes, of course, I restarted smb.

Maybe any problem in the windows domain settings they avoid join to a
samba server ???

On Fri, Feb 25, 2011 at 1:08 PM,  mat.end...@gmail.com wrote:
 Did you restart samba?
 Sent on the Sprint® Now Network from my BlackBerry®

 -Original Message-
 From: J. L. Cabral jelocab...@gmail.com
 Date: Fri, 25 Feb 2011 13:05:35
 To: mat.end...@gmail.com
 Cc: sambasamba@lists.samba.org
 Subject: Re: [Samba] Access to a share resource without password

 I have /var/share with rwx-rwx-rwx, and I put create and directory
 masks with 777 values.

 But I still get ACCESS DENIED error.

 Do I have to create a local Linux user account ??? Or waht ??? Because
 I need to give full access to every user from my LAN.

 Thanks in advance.

 JeLo

 On Fri, Feb 25, 2011 at 12:39 PM,  mat.end...@gmail.com wrote:
 I believe your permissions are not correct. If I understand correctly you 
 want to run a wide open share that allows everyone full control. If this is 
 correct then first:

 chmod -R 777 /your/share

 Change your create masks to:

 create mask = 0777
 directory mask = 0777
 Sent on the Sprint® Now Network from my BlackBerry®

 -Original Message-
 From: J. L. Cabral jelocab...@gmail.com
 Sender: samba-boun...@lists.samba.org
 Date: Fri, 25 Feb 2011 12:22:12
 To: sambasamba@lists.samba.org
 Subject: [Samba] Access to a share resource without password

 Dear, I have a Linux Samba server and a Windows XP SP2 client joined
 to the g-company.net domain.

 I want to access a Linux share resource in /var/share without password
 from WXP desktop FROM ANY USER.

 This is my scenario:

 - I don't create any Linux local user because I want total access from any 
 user

 - I use security = share

 - My smbusers file is:

 root = administrator admin
 nobody = guest pcguest smbguest

 - The Windows XP guest account is guest but I don't know if it has
 any password setup.

 - This is my smb.conf:

 [global]
        workgroup = G-COMPANY.NET
        server string = Samba Server Version %v
        security = SHARE
        passdb backend = tdbsam

 [share]
        comment = Archivos Compartidos
        path = /var/share
        read only = No
        create mask = 0700
        directory mask = 0700
        guest only = Yes
        guest ok = Yes

 Form Windows XP I execute:

 \\samba_server\share

 but I get the error DENIED ACCESS.

 What can I do to access this resource ???

 Thanks a lot,

 JeLo
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/options/samba


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-02-25 Thread mat . enders
Is the Samba server a member of the domain?
Sent on the Sprint® Now Network from my BlackBerry®

-Original Message-
From: J. L. Cabral jelocab...@gmail.com
Date: Fri, 25 Feb 2011 13:12:35 
To: mat.end...@gmail.com
Cc: sambasamba@lists.samba.org
Subject: Re: [Samba] Access to a share resource without password

Yes, of course, I restarted smb.

Maybe any problem in the windows domain settings they avoid join to a
samba server ???

On Fri, Feb 25, 2011 at 1:08 PM,  mat.end...@gmail.com wrote:
 Did you restart samba?
 Sent on the Sprint® Now Network from my BlackBerry®

 -Original Message-
 From: J. L. Cabral jelocab...@gmail.com
 Date: Fri, 25 Feb 2011 13:05:35
 To: mat.end...@gmail.com
 Cc: sambasamba@lists.samba.org
 Subject: Re: [Samba] Access to a share resource without password

 I have /var/share with rwx-rwx-rwx, and I put create and directory
 masks with 777 values.

 But I still get ACCESS DENIED error.

 Do I have to create a local Linux user account ??? Or waht ??? Because
 I need to give full access to every user from my LAN.

 Thanks in advance.

 JeLo

 On Fri, Feb 25, 2011 at 12:39 PM,  mat.end...@gmail.com wrote:
 I believe your permissions are not correct. If I understand correctly you 
 want to run a wide open share that allows everyone full control. If this is 
 correct then first:

 chmod -R 777 /your/share

 Change your create masks to:

 create mask = 0777
 directory mask = 0777
 Sent on the Sprint® Now Network from my BlackBerry®

 -Original Message-
 From: J. L. Cabral jelocab...@gmail.com
 Sender: samba-boun...@lists.samba.org
 Date: Fri, 25 Feb 2011 12:22:12
 To: sambasamba@lists.samba.org
 Subject: [Samba] Access to a share resource without password

 Dear, I have a Linux Samba server and a Windows XP SP2 client joined
 to the g-company.net domain.

 I want to access a Linux share resource in /var/share without password
 from WXP desktop FROM ANY USER.

 This is my scenario:

 - I don't create any Linux local user because I want total access from any 
 user

 - I use security = share

 - My smbusers file is:

 root = administrator admin
 nobody = guest pcguest smbguest

 - The Windows XP guest account is guest but I don't know if it has
 any password setup.

 - This is my smb.conf:

 [global]
        workgroup = G-COMPANY.NET
        server string = Samba Server Version %v
        security = SHARE
        passdb backend = tdbsam

 [share]
        comment = Archivos Compartidos
        path = /var/share
        read only = No
        create mask = 0700
        directory mask = 0700
        guest only = Yes
        guest ok = Yes

 Form Windows XP I execute:

 \\samba_server\share

 but I get the error DENIED ACCESS.

 What can I do to access this resource ???

 Thanks a lot,

 JeLo
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/options/samba


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-02-25 Thread J. L. Cabral
No, my samba server is not a member of a domain, it's a standalone
server with the WORKGROUP = windows domain.

Any idea ?

On Fri, Feb 25, 2011 at 1:21 PM,  mat.end...@gmail.com wrote:
 Is the Samba server a member of the domain?
 Sent on the Sprint® Now Network from my BlackBerry®

 -Original Message-
 From: J. L. Cabral jelocab...@gmail.com
 Date: Fri, 25 Feb 2011 13:12:35
 To: mat.end...@gmail.com
 Cc: sambasamba@lists.samba.org
 Subject: Re: [Samba] Access to a share resource without password

 Yes, of course, I restarted smb.

 Maybe any problem in the windows domain settings they avoid join to a
 samba server ???

 On Fri, Feb 25, 2011 at 1:08 PM,  mat.end...@gmail.com wrote:
 Did you restart samba?
 Sent on the Sprint® Now Network from my BlackBerry®

 -Original Message-
 From: J. L. Cabral jelocab...@gmail.com
 Date: Fri, 25 Feb 2011 13:05:35
 To: mat.end...@gmail.com
 Cc: sambasamba@lists.samba.org
 Subject: Re: [Samba] Access to a share resource without password

 I have /var/share with rwx-rwx-rwx, and I put create and directory
 masks with 777 values.

 But I still get ACCESS DENIED error.

 Do I have to create a local Linux user account ??? Or waht ??? Because
 I need to give full access to every user from my LAN.

 Thanks in advance.

 JeLo

 On Fri, Feb 25, 2011 at 12:39 PM,  mat.end...@gmail.com wrote:
 I believe your permissions are not correct. If I understand correctly you 
 want to run a wide open share that allows everyone full control. If this is 
 correct then first:

 chmod -R 777 /your/share

 Change your create masks to:

 create mask = 0777
 directory mask = 0777
 Sent on the Sprint® Now Network from my BlackBerry®

 -Original Message-
 From: J. L. Cabral jelocab...@gmail.com
 Sender: samba-boun...@lists.samba.org
 Date: Fri, 25 Feb 2011 12:22:12
 To: sambasamba@lists.samba.org
 Subject: [Samba] Access to a share resource without password

 Dear, I have a Linux Samba server and a Windows XP SP2 client joined
 to the g-company.net domain.

 I want to access a Linux share resource in /var/share without password
 from WXP desktop FROM ANY USER.

 This is my scenario:

 - I don't create any Linux local user because I want total access from any 
 user

 - I use security = share

 - My smbusers file is:

 root = administrator admin
 nobody = guest pcguest smbguest

 - The Windows XP guest account is guest but I don't know if it has
 any password setup.

 - This is my smb.conf:

 [global]
        workgroup = G-COMPANY.NET
        server string = Samba Server Version %v
        security = SHARE
        passdb backend = tdbsam

 [share]
        comment = Archivos Compartidos
        path = /var/share
        read only = No
        create mask = 0700
        directory mask = 0700
        guest only = Yes
        guest ok = Yes

 Form Windows XP I execute:

 \\samba_server\share

 but I get the error DENIED ACCESS.

 What can I do to access this resource ???

 Thanks a lot,

 JeLo
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/options/samba



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-02-25 Thread mat . enders
I would try joining it to the domain and if that does not work I am sorry but I 
am out of ideas. 
Sent on the Sprint® Now Network from my BlackBerry®

-Original Message-
From: J. L. Cabral jelocab...@gmail.com
Date: Fri, 25 Feb 2011 13:25:05 
To: mat.end...@gmail.com; sambasamba@lists.samba.org
Subject: Re: [Samba] Access to a share resource without password

No, my samba server is not a member of a domain, it's a standalone
server with the WORKGROUP = windows domain.

Any idea ?

On Fri, Feb 25, 2011 at 1:21 PM,  mat.end...@gmail.com wrote:
 Is the Samba server a member of the domain?
 Sent on the Sprint® Now Network from my BlackBerry®

 -Original Message-
 From: J. L. Cabral jelocab...@gmail.com
 Date: Fri, 25 Feb 2011 13:12:35
 To: mat.end...@gmail.com
 Cc: sambasamba@lists.samba.org
 Subject: Re: [Samba] Access to a share resource without password

 Yes, of course, I restarted smb.

 Maybe any problem in the windows domain settings they avoid join to a
 samba server ???

 On Fri, Feb 25, 2011 at 1:08 PM,  mat.end...@gmail.com wrote:
 Did you restart samba?
 Sent on the Sprint® Now Network from my BlackBerry®

 -Original Message-
 From: J. L. Cabral jelocab...@gmail.com
 Date: Fri, 25 Feb 2011 13:05:35
 To: mat.end...@gmail.com
 Cc: sambasamba@lists.samba.org
 Subject: Re: [Samba] Access to a share resource without password

 I have /var/share with rwx-rwx-rwx, and I put create and directory
 masks with 777 values.

 But I still get ACCESS DENIED error.

 Do I have to create a local Linux user account ??? Or waht ??? Because
 I need to give full access to every user from my LAN.

 Thanks in advance.

 JeLo

 On Fri, Feb 25, 2011 at 12:39 PM,  mat.end...@gmail.com wrote:
 I believe your permissions are not correct. If I understand correctly you 
 want to run a wide open share that allows everyone full control. If this is 
 correct then first:

 chmod -R 777 /your/share

 Change your create masks to:

 create mask = 0777
 directory mask = 0777
 Sent on the Sprint® Now Network from my BlackBerry®

 -Original Message-
 From: J. L. Cabral jelocab...@gmail.com
 Sender: samba-boun...@lists.samba.org
 Date: Fri, 25 Feb 2011 12:22:12
 To: sambasamba@lists.samba.org
 Subject: [Samba] Access to a share resource without password

 Dear, I have a Linux Samba server and a Windows XP SP2 client joined
 to the g-company.net domain.

 I want to access a Linux share resource in /var/share without password
 from WXP desktop FROM ANY USER.

 This is my scenario:

 - I don't create any Linux local user because I want total access from any 
 user

 - I use security = share

 - My smbusers file is:

 root = administrator admin
 nobody = guest pcguest smbguest

 - The Windows XP guest account is guest but I don't know if it has
 any password setup.

 - This is my smb.conf:

 [global]
        workgroup = G-COMPANY.NET
        server string = Samba Server Version %v
        security = SHARE
        passdb backend = tdbsam

 [share]
        comment = Archivos Compartidos
        path = /var/share
        read only = No
        create mask = 0700
        directory mask = 0700
        guest only = Yes
        guest ok = Yes

 Form Windows XP I execute:

 \\samba_server\share

 but I get the error DENIED ACCESS.

 What can I do to access this resource ???

 Thanks a lot,

 JeLo
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/options/samba



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-02-25 Thread J. L. Cabral
OK, with Wolfgang advice I do:

[global]
workgroup = G-BAPRO.NET
server string = Samba Server Version %v
netbiosname = bangkok
security = user
smb passwd file = /etc/samba/smbpasswd
guest account = guest
[share]
guest ok = yes
path = /var/share
writeable = yes

and execute from Windows desktop:

net use Z: \\bangkok\share

after that I put user=guest and password=1234

but I CAN'T ACCESS

guest is the name of a local Linux account and it's a samba user
(smbpasswd -a guest with pass 1234).

What can I do ???

Regards





On Fri, Feb 25, 2011 at 1:31 PM, Wolfgang Ratzka
rat...@hrz.uni-marburg.de wrote:
 [global]
       (...)
        security = SHARE
       (...)

 security = SHARE is rather Windows95-ish and it does not work very well
 with newer Windows versions.
 Just try security = user. Setting guest ok = Yes should give you
 anonymous access.

 Kind regards
 --
 Wolfgang Ratzka  Phone: +49 6421 2823531  FAX: +49 6421 2826994
 Uni Marburg,  HRZ, Hans-Meerwein-Str., D-35032 Marburg, Germany

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-02-25 Thread Jeremy Allison
On Fri, Feb 25, 2011 at 01:49:26PM -0300, J. L. Cabral wrote:
 OK, with Wolfgang advice I do:
 
 [global]
 workgroup = G-BAPRO.NET
 server string = Samba Server Version %v
 netbiosname = bangkok
 security = user
 smb passwd file = /etc/samba/smbpasswd
 guest account = guest
 [share]
 guest ok = yes
 path = /var/share
 writeable = yes
 
 and execute from Windows desktop:
 
 net use Z: \\bangkok\share
 
 after that I put user=guest and password=1234
 
 but I CAN'T ACCESS
 
 guest is the name of a local Linux account and it's a samba user
 (smbpasswd -a guest with pass 1234).
 
 What can I do ???

Add :

map to guest = bad password

in the [global] section.

Whatever you've screwed up in configuring the Samba user,
that should fix it :-). You want everyone to have guest
access, right ?

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Access to a share resource without password

2011-02-25 Thread J. L. Cabral
Marco tell me:


-- Forwarded message --
From: Marco Ciampa ciam...@libero.it
Date: Fri, Feb 25, 2011 at 2:13 PM
Subject: Re: [Samba] Access to a share resource without password
To: J. L. Cabral jelocab...@gmail.com


On Fri, Feb 25, 2011 at 01:07:03PM -0300, J. L. Cabral wrote:
 Dear Marco, I use security=share because I want to give full access to
 everyone in my LAN.

 Do you think I'm wrong in this setting ??? What is your opinion ???


Well it is not required to use such configuration. You can just stick with

security = user

and then do something like this:

[freeaccess]
   comment = free access folder
   browseable = yes
   path = /home/freeaccess
   public = yes
   writeable = yes
   create mode = 0644
   force user = adhocuser
   force group = adhocuser


just create such adhocuser into the server disabling it shell access
and then do a:

chown adhocuser /home/freeaccess

PS: bounce to the list this message to discover if I've said something
real wrong...

--


Marco Ciampa

++
| Linux User  #78271 |
| FSFE fellow   #364 |
++
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-02-25 Thread Chris Smith
On Fri, Feb 25, 2011 at 10:22 AM, J. L. Cabral jelocab...@gmail.com wrote:
 I want to access a Linux share resource in /var/share without password
 from WXP desktop FROM ANY USER.

See:
http://blog.realcomputerguy.com/2010/12/samba-and-guest-shares-with-security.html
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-02-25 Thread J. L. Cabral
Hi Chris, thanks and just three short questions:

1) The Linux local user guest must be added to samba with smbpasswd
-a guest ???

2) The Windows XP desktops must have a guest account enable named
guest, or it can be named Invited or Invitado (Spanish Windows
version) ???

3) What owner and group must have the share /var/share ???

Thanks a lot,

JeLo

On Fri, Feb 25, 2011 at 3:13 PM, Chris Smith smb...@chrissmith.org wrote:
 On Fri, Feb 25, 2011 at 10:22 AM, J. L. Cabral jelocab...@gmail.com wrote:
 I want to access a Linux share resource in /var/share without password
 from WXP desktop FROM ANY USER.

 See:
 http://blog.realcomputerguy.com/2010/12/samba-and-guest-shares-with-security.html

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-02-25 Thread Chris Smith
On Fri, Feb 25, 2011 at 2:15 PM, J. L. Cabral jelocab...@gmail.com wrote:
 1) The Linux local user guest must be added to samba with smbpasswd
 -a guest ???

In the example I show their is no local 'nix user named guest. The
purpose of the username map file is to map the Windows guest
user/account to the 'nix nobody user/account - this (nobody) is
typically, in the distros I have run across, the 'nix default guest
account (no login privileges necessary).

 2) The Windows XP desktops must have a guest account enable named
 guest, or it can be named Invited or Invitado (Spanish Windows
 version) ???

No reason whatsoever to enable the guest account on the Windows box.

 3) What owner and group must have the share /var/share ???

Whatever you want that allows the proper access.

Don't over complicate it, it's pretty straight forward.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-02-25 Thread Helmut Hullen
Hallo, Chris,

Du meintest am 25.02.11:

 1) The Linux local user guest must be added to samba with
 smbpasswd -a guest ???

 In the example I show their is no local 'nix user named guest. The
 purpose of the username map file is to map the Windows guest
 user/account to the 'nix nobody user/account - this (nobody) is
 typically, in the distros I have run across, the 'nix default guest
 account (no login privileges necessary).

Have I to add nobody to the samba password file?

Viele Gruesse!
Helmut
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Access to a share resource without password

2011-02-25 Thread Chris Smith
On Fri, Feb 25, 2011 at 3:17 PM, Helmut Hullen hul...@t-online.de wrote:
 Have I to add nobody to the samba password file?

No.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba