Re: [Samba] Making Share Visible To Particular Users Only

2006-03-17 Thread Guillermo Dalla Vecchia
Yes I have done that, but I also want that the share can be seen only by
specific people
Regards

On 3/16/06, Guillermo Gutierrez [EMAIL PROTECTED] wrote:

 Try using valid users = @somegroup (replacing somegroup with an actual
 users group) or valid users = userone usertwo etc... for individual users.

 These should be added under the specific share entries in the smb.conffile.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
 Behalf Of Guillermo Dalla Vecchia
 Sent: Thursday, March 16, 2006 6:20 PM
 To: samba@lists.samba.org
 Subject: [Samba] Making Share Visible To Particular Users Only


 Dear Friends,

 Is It Possible to Make a *Share* Visible to a List of Users *Only* ?

 e.g. If have shares Likes Account, Sales, Support
 Then I would Like make respective *share* visible
 *only* to persons in respective dept.
 Thanks and Best Regards.
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba

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


Re: [Samba] Making Share Visible To Particular Users Only

2006-03-17 Thread Guillermo Dalla Vecchia
Sorry, I didn't check the reply address.
How about Linux Clients?? could it be done something similar for them?
(logon scripts only work with Windows Clients).

On 3/17/06, Craig White [EMAIL PROTECTED] wrote:

 Let's keep this on list please.

 A logon script is a script so yes, it could be done that way.

 A share that isn't browseable is still there, it just doesn't show up in
 a network browser. You can still connect to it, access privileges
 permitting. Similar to ADMIN$ or C$ from a Windows 'server'

 Craig

 On Fri, 2006-03-17 at 02:42 -0300, Guillermo Dalla Vecchia wrote:
  Could it be done with the logon scripts option?? I think this works
  with windows clients. For Linux clients could it be done setting up
  correctly fstab (to mount the share at boot time)?? the shares require
  username and password though...
  Regards
 
 
  On 3/16/06, Craig White [EMAIL PROTECTED] wrote:
  On Thu, 2006-03-16 at 23:19 -0300, Guillermo Dalla Vecchia
  wrote:
   Dear Friends,
  
   Is It Possible to Make a *Share* Visible to a List of Users
  *Only* ?
  
   e.g. If have shares Likes Account, Sales, Support
   Then I would Like make respective *share* visible
   *only* to persons in respective dept.
   Thanks and Best Regards.
  
  not that I know of but you can set browsable to off (less
  visibility)
  and have those users mount the share by a script or
  individually set by
  'reconnect at logon' and of course you can control read and
  write access
  within each share.
 
  Craig
 
 


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


Re: [Samba] Making Share Visible To Particular Users Only

2006-03-17 Thread Guillermo Dalla Vecchia
Also, logon scripts only work with a domain configuration whereas I have a
workgroup. Is there some way to this in a workgroup??
Regards

On 3/17/06, Guillermo Dalla Vecchia [EMAIL PROTECTED] wrote:

 Sorry, I didn't check the reply address.
 How about Linux Clients?? could it be done something similar for them?
 (logon scripts only work with Windows Clients).


 On 3/17/06, Craig White  [EMAIL PROTECTED] wrote:
 
  Let's keep this on list please.
 
  A logon script is a script so yes, it could be done that way.
 
  A share that isn't browseable is still there, it just doesn't show up in
  a network browser. You can still connect to it, access privileges
  permitting. Similar to ADMIN$ or C$ from a Windows 'server'
 
  Craig
 
  On Fri, 2006-03-17 at 02:42 -0300, Guillermo Dalla Vecchia wrote:
   Could it be done with the logon scripts option?? I think this works
   with windows clients. For Linux clients could it be done setting up
   correctly fstab (to mount the share at boot time)?? the shares require
   username and password though...
   Regards
  
  
   On 3/16/06, Craig White  [EMAIL PROTECTED] wrote:
   On Thu, 2006-03-16 at 23:19 -0300, Guillermo Dalla Vecchia
   wrote:
Dear Friends,
   
Is It Possible to Make a *Share* Visible to a List of Users
   *Only* ?
   
e.g. If have shares Likes Account, Sales, Support
Then I would Like make respective *share* visible
*only* to persons in respective dept.
Thanks and Best Regards.
   
   not that I know of but you can set browsable to off (less
   visibility)
   and have those users mount the share by a script or
   individually set by
   'reconnect at logon' and of course you can control read and
   write access
   within each share.
  
   Craig
  
  
 
 

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


Re: [Samba] Making Share Visible To Particular Users Only

2006-03-17 Thread Herb Lewis

This is probably not going to be possible since many times windows will
do browsing as an anonymous (guest) user even when you are logged in
as a particular user.

Guillermo Dalla Vecchia wrote:

Yes I have done that, but I also want that the share can be seen only by
specific people
Regards

On 3/16/06, Guillermo Gutierrez [EMAIL PROTECTED] wrote:


Try using valid users = @somegroup (replacing somegroup with an actual
users group) or valid users = userone usertwo etc... for individual users.

These should be added under the specific share entries in the smb.conffile.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Behalf Of Guillermo Dalla Vecchia
Sent: Thursday, March 16, 2006 6:20 PM
To: samba@lists.samba.org
Subject: [Samba] Making Share Visible To Particular Users Only


Dear Friends,

Is It Possible to Make a *Share* Visible to a List of Users *Only* ?

e.g. If have shares Likes Account, Sales, Support
Then I would Like make respective *share* visible
*only* to persons in respective dept.
Thanks and Best Regards.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


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


Re: [Samba] Making Share Visible To Particular Users Only

2006-03-17 Thread Craig White
Linux clients 'mount' as root which complicates things a bit.

If you put the mount in fstab as 'user', and set the users 'credentials'
to be a file in their home directory (which contains their username and
password), then those that have that file could actually 'mount it' and
those without wouldn't know the difference. In this case, the users who
could 'mount' the samba share would have to know where on the filesystem
the mount is made.

Craig

On Fri, 2006-03-17 at 11:48 -0300, Guillermo Dalla Vecchia wrote:
 Sorry, I didn't check the reply address.
 How about Linux Clients?? could it be done something similar for them?
 (logon scripts only work with Windows Clients).
 
 On 3/17/06, Craig White [EMAIL PROTECTED] wrote:
 
  Let's keep this on list please.
 
  A logon script is a script so yes, it could be done that way.
 
  A share that isn't browseable is still there, it just doesn't show up in
  a network browser. You can still connect to it, access privileges
  permitting. Similar to ADMIN$ or C$ from a Windows 'server'
 
  Craig
 
  On Fri, 2006-03-17 at 02:42 -0300, Guillermo Dalla Vecchia wrote:
   Could it be done with the logon scripts option?? I think this works
   with windows clients. For Linux clients could it be done setting up
   correctly fstab (to mount the share at boot time)?? the shares require
   username and password though...
   Regards
  
  
   On 3/16/06, Craig White [EMAIL PROTECTED] wrote:
   On Thu, 2006-03-16 at 23:19 -0300, Guillermo Dalla Vecchia
   wrote:
Dear Friends,
   
Is It Possible to Make a *Share* Visible to a List of Users
   *Only* ?
   
e.g. If have shares Likes Account, Sales, Support
Then I would Like make respective *share* visible
*only* to persons in respective dept.
Thanks and Best Regards.
   
   not that I know of but you can set browsable to off (less
   visibility)
   and have those users mount the share by a script or
   individually set by
   'reconnect at logon' and of course you can control read and
   write access
   within each share.
  
   Craig
  
  
 
 

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


Re: [Samba] Making Share Visible To Particular Users Only

2006-03-17 Thread Craig White
Workgroup, you would probably have to distribute specific scripts to
specific users on specific machines.

Are you trying to make an argument for why setting Samba up as a domain
controller is a good thing? If so, you are succeeding.

Craig

On Fri, 2006-03-17 at 12:19 -0300, Guillermo Dalla Vecchia wrote:
 Also, logon scripts only work with a domain configuration whereas I have a
 workgroup. Is there some way to this in a workgroup??
 Regards
 
 On 3/17/06, Guillermo Dalla Vecchia [EMAIL PROTECTED] wrote:
 
  Sorry, I didn't check the reply address.
  How about Linux Clients?? could it be done something similar for them?
  (logon scripts only work with Windows Clients).
 
 
  On 3/17/06, Craig White  [EMAIL PROTECTED] wrote:
  
   Let's keep this on list please.
  
   A logon script is a script so yes, it could be done that way.
  
   A share that isn't browseable is still there, it just doesn't show up in
   a network browser. You can still connect to it, access privileges
   permitting. Similar to ADMIN$ or C$ from a Windows 'server'
  
   Craig
  
   On Fri, 2006-03-17 at 02:42 -0300, Guillermo Dalla Vecchia wrote:
Could it be done with the logon scripts option?? I think this works
with windows clients. For Linux clients could it be done setting up
correctly fstab (to mount the share at boot time)?? the shares require
username and password though...
Regards
   
   
On 3/16/06, Craig White  [EMAIL PROTECTED] wrote:
On Thu, 2006-03-16 at 23:19 -0300, Guillermo Dalla Vecchia
wrote:
 Dear Friends,

 Is It Possible to Make a *Share* Visible to a List of Users
*Only* ?

 e.g. If have shares Likes Account, Sales, Support
 Then I would Like make respective *share* visible
 *only* to persons in respective dept.
 Thanks and Best Regards.

not that I know of but you can set browsable to off (less
visibility)
and have those users mount the share by a script or
individually set by
'reconnect at logon' and of course you can control read and
write access
within each share.
   
Craig
   
   
  
  
 

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


Re: [Samba] Making Share Visible To Particular Users Only

2006-03-17 Thread Guillermo Dalla Vecchia
I think this could work, I'll give it a try.
I'll also try the suggestion from Gx to use the include directive in the
share definition. I think both are possible solutions.
Thanks
Guillermo.

On 3/17/06, Craig White [EMAIL PROTECTED] wrote:

 Linux clients 'mount' as root which complicates things a bit.

 If you put the mount in fstab as 'user', and set the users 'credentials'
 to be a file in their home directory (which contains their username and
 password), then those that have that file could actually 'mount it' and
 those without wouldn't know the difference. In this case, the users who
 could 'mount' the samba share would have to know where on the filesystem
 the mount is made.

 Craig

 On Fri, 2006-03-17 at 11:48 -0300, Guillermo Dalla Vecchia wrote:
  Sorry, I didn't check the reply address.
  How about Linux Clients?? could it be done something similar for them?
  (logon scripts only work with Windows Clients).
 
  On 3/17/06, Craig White [EMAIL PROTECTED] wrote:
  
   Let's keep this on list please.
  
   A logon script is a script so yes, it could be done that way.
  
   A share that isn't browseable is still there, it just doesn't show up
 in
   a network browser. You can still connect to it, access privileges
   permitting. Similar to ADMIN$ or C$ from a Windows 'server'
  
   Craig
  
   On Fri, 2006-03-17 at 02:42 -0300, Guillermo Dalla Vecchia wrote:
Could it be done with the logon scripts option?? I think this works
with windows clients. For Linux clients could it be done setting up
correctly fstab (to mount the share at boot time)?? the shares
 require
username and password though...
Regards
   
   
On 3/16/06, Craig White [EMAIL PROTECTED] wrote:
On Thu, 2006-03-16 at 23:19 -0300, Guillermo Dalla Vecchia
wrote:
 Dear Friends,

 Is It Possible to Make a *Share* Visible to a List of
 Users
*Only* ?

 e.g. If have shares Likes Account, Sales, Support
 Then I would Like make respective *share* visible
 *only* to persons in respective dept.
 Thanks and Best Regards.

not that I know of but you can set browsable to off (less
visibility)
and have those users mount the share by a script or
individually set by
'reconnect at logon' and of course you can control read and
write access
within each share.
   
Craig
   
   
  
  

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

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


Re: [Samba] Making Share Visible To Particular Users Only

2006-03-17 Thread Guillermo Dalla Vecchia
The thing is that I need this for only one user, and I don't want to use a
domain.
Regards
Guillermo.


On 3/17/06, Craig White [EMAIL PROTECTED] wrote:

 Workgroup, you would probably have to distribute specific scripts to
 specific users on specific machines.

 Are you trying to make an argument for why setting Samba up as a domain
 controller is a good thing? If so, you are succeeding.

 Craig

 On Fri, 2006-03-17 at 12:19 -0300, Guillermo Dalla Vecchia wrote:
  Also, logon scripts only work with a domain configuration whereas I have
 a
  workgroup. Is there some way to this in a workgroup??
  Regards
 
  On 3/17/06, Guillermo Dalla Vecchia [EMAIL PROTECTED] wrote:
  
   Sorry, I didn't check the reply address.
   How about Linux Clients?? could it be done something similar for them?
   (logon scripts only work with Windows Clients).
  
  
   On 3/17/06, Craig White  [EMAIL PROTECTED] wrote:
   
Let's keep this on list please.
   
A logon script is a script so yes, it could be done that way.
   
A share that isn't browseable is still there, it just doesn't show
 up in
a network browser. You can still connect to it, access privileges
permitting. Similar to ADMIN$ or C$ from a Windows 'server'
   
Craig
   
On Fri, 2006-03-17 at 02:42 -0300, Guillermo Dalla Vecchia wrote:
 Could it be done with the logon scripts option?? I think this
 works
 with windows clients. For Linux clients could it be done setting
 up
 correctly fstab (to mount the share at boot time)?? the shares
 require
 username and password though...
 Regards


 On 3/16/06, Craig White  [EMAIL PROTECTED] wrote:
 On Thu, 2006-03-16 at 23:19 -0300, Guillermo Dalla Vecchia
 wrote:
  Dear Friends,
 
  Is It Possible to Make a *Share* Visible to a List of
 Users
 *Only* ?
 
  e.g. If have shares Likes Account, Sales, Support
  Then I would Like make respective *share* visible
  *only* to persons in respective dept.
  Thanks and Best Regards.
 
 not that I know of but you can set browsable to off (less
 visibility)
 and have those users mount the share by a script or
 individually set by
 'reconnect at logon' and of course you can control read
 and
 write access
 within each share.

 Craig


   
   
  

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

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


Re: [Samba] Making Share Visible To Particular Users Only

2006-03-17 Thread Frederick C. Damen
You might try to have the home share be attached to the directory
of interest or have the directory(ies) of interest as sub directories
of the home directory.  This would not technically control the
visability of the shares but would give access to the set of files
based on user identity. Should give same results in Windows/Unix.

Hope This Helps,

Fred

On Fri, March 17, 2006 9:19 am, Guillermo Dalla Vecchia wrote:
 Also, logon scripts only work with a domain configuration whereas I have a
 workgroup. Is there some way to this in a workgroup??
 Regards

 On 3/17/06, Guillermo Dalla Vecchia [EMAIL PROTECTED] wrote:

 Sorry, I didn't check the reply address.
 How about Linux Clients?? could it be done something similar for them?
 (logon scripts only work with Windows Clients).


 On 3/17/06, Craig White  [EMAIL PROTECTED] wrote:
 
  Let's keep this on list please.
 
  A logon script is a script so yes, it could be done that way.
 
  A share that isn't browseable is still there, it just doesn't show up in
  a network browser. You can still connect to it, access privileges
  permitting. Similar to ADMIN$ or C$ from a Windows 'server'
 
  Craig
 
  On Fri, 2006-03-17 at 02:42 -0300, Guillermo Dalla Vecchia wrote:
   Could it be done with the logon scripts option?? I think this works
   with windows clients. For Linux clients could it be done setting up
   correctly fstab (to mount the share at boot time)?? the shares require
   username and password though...
   Regards
  
  
   On 3/16/06, Craig White  [EMAIL PROTECTED] wrote:
   On Thu, 2006-03-16 at 23:19 -0300, Guillermo Dalla Vecchia
   wrote:
Dear Friends,
   
Is It Possible to Make a *Share* Visible to a List of Users
   *Only* ?
   
e.g. If have shares Likes Account, Sales, Support
Then I would Like make respective *share* visible
*only* to persons in respective dept.
Thanks and Best Regards.
   
   not that I know of but you can set browsable to off (less
   visibility)
   and have those users mount the share by a script or
   individually set by
   'reconnect at logon' and of course you can control read and
   write access
   within each share.
  
   Craig
  
  
 
 

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


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


Re: [Samba] Making Share Visible To Particular Users Only

2006-03-17 Thread Guillermo Dalla Vecchia
I did it with the following configuration of the share:

[johndoe]
path = /tmp
valid users = johndoe
public = no
browseable = no
writeable = yes
include = /etc/samba/smb.conf.%U
create mask = 0600
directory mask = 0700

/etc/samba/smb.conf.%U

The following lines are in the file smb.conf.johndoe

[johndoe]
browseable = yes

Thanks to Gx and to all for your kind help
Regards
Guillermo.


On 3/17/06, Frederick C. Damen [EMAIL PROTECTED] wrote:

 You might try to have the home share be attached to the directory
 of interest or have the directory(ies) of interest as sub directories
 of the home directory.  This would not technically control the
 visability of the shares but would give access to the set of files
 based on user identity. Should give same results in Windows/Unix.

 Hope This Helps,

 Fred

 On Fri, March 17, 2006 9:19 am, Guillermo Dalla Vecchia wrote:
  Also, logon scripts only work with a domain configuration whereas I have
 a
  workgroup. Is there some way to this in a workgroup??
  Regards
 
  On 3/17/06, Guillermo Dalla Vecchia [EMAIL PROTECTED] wrote:
 
  Sorry, I didn't check the reply address.
  How about Linux Clients?? could it be done something similar for them?
  (logon scripts only work with Windows Clients).
 
 
  On 3/17/06, Craig White  [EMAIL PROTECTED] wrote:
  
   Let's keep this on list please.
  
   A logon script is a script so yes, it could be done that way.
  
   A share that isn't browseable is still there, it just doesn't show up
 in
   a network browser. You can still connect to it, access privileges
   permitting. Similar to ADMIN$ or C$ from a Windows 'server'
  
   Craig
  
   On Fri, 2006-03-17 at 02:42 -0300, Guillermo Dalla Vecchia wrote:
Could it be done with the logon scripts option?? I think this works
with windows clients. For Linux clients could it be done setting up

correctly fstab (to mount the share at boot time)?? the shares
 require
username and password though...
Regards
   
   
On 3/16/06, Craig White  [EMAIL PROTECTED] wrote:
On Thu, 2006-03-16 at 23:19 -0300, Guillermo Dalla Vecchia
wrote:
 Dear Friends,

 Is It Possible to Make a *Share* Visible to a List of
 Users
*Only* ?

 e.g. If have shares Likes Account, Sales, Support
 Then I would Like make respective *share* visible
 *only* to persons in respective dept.
 Thanks and Best Regards.

not that I know of but you can set browsable to off (less
visibility)
and have those users mount the share by a script or
individually set by
'reconnect at logon' and of course you can control read and

write access
within each share.
   
Craig
   
   
  
  
 
  --
  To unsubscribe from this list go to the following URL and read the
  instructions:  https://lists.samba.org/mailman/listinfo/samba
 


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


[Samba] Making Share Visible To Particular Users Only

2006-03-16 Thread Guillermo Dalla Vecchia
Dear Friends,

Is It Possible to Make a *Share* Visible to a List of Users *Only* ?

e.g. If have shares Likes Account, Sales, Support
Then I would Like make respective *share* visible
*only* to persons in respective dept.
Thanks and Best Regards.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Making Share Visible To Particular Users Only

2006-03-16 Thread Guillermo Gutierrez
Try using valid users = @somegroup (replacing somegroup with an actual users 
group) or valid users = userone usertwo etc... for individual users.

These should be added under the specific share entries in the smb.conf file.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Behalf Of Guillermo Dalla Vecchia
Sent: Thursday, March 16, 2006 6:20 PM
To: samba@lists.samba.org
Subject: [Samba] Making Share Visible To Particular Users Only


Dear Friends,

Is It Possible to Make a *Share* Visible to a List of Users *Only* ?

e.g. If have shares Likes Account, Sales, Support
Then I would Like make respective *share* visible
*only* to persons in respective dept.
Thanks and Best Regards.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Making Share Visible To Particular Users Only

2006-03-16 Thread Craig White
Let's keep this on list please.

A logon script is a script so yes, it could be done that way.

A share that isn't browseable is still there, it just doesn't show up in
a network browser. You can still connect to it, access privileges
permitting. Similar to ADMIN$ or C$ from a Windows 'server'

Craig

On Fri, 2006-03-17 at 02:42 -0300, Guillermo Dalla Vecchia wrote:
 Could it be done with the logon scripts option?? I think this works
 with windows clients. For Linux clients could it be done setting up
 correctly fstab (to mount the share at boot time)?? the shares require
 username and password though...
 Regards
 
 
 On 3/16/06, Craig White [EMAIL PROTECTED] wrote:
 On Thu, 2006-03-16 at 23:19 -0300, Guillermo Dalla Vecchia
 wrote:
  Dear Friends,
 
  Is It Possible to Make a *Share* Visible to a List of Users
 *Only* ?
 
  e.g. If have shares Likes Account, Sales, Support 
  Then I would Like make respective *share* visible
  *only* to persons in respective dept.
  Thanks and Best Regards.
 
 not that I know of but you can set browsable to off (less
 visibility)
 and have those users mount the share by a script or
 individually set by
 'reconnect at logon' and of course you can control read and
 write access
 within each share.
 
 Craig
 
 

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


[Samba] Making Share Visible To Particular Users Only

2004-11-07 Thread R. S. Patil
Dear Friends,
Is It Possible to Make a Share Visible to a List of Users Only ?
e.g. If have shares Likes Account, Sales, Support
Then I would Like make respective share visible
only to persons in respective dept.
Thanks and Best Regards.
R. S. Patil
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba