Re: [Samba] hide unreadable files also hides readable files (SOLVED)

2005-04-21 Thread Christoph Kaegi
On 21.04-08:10, Gerald (Jerry) Carter wrote:
 | We have a Samba 3.0.11 Fileserver running on Solaris and
 | joined to an Active Directory.
 |
 | I have shares, with many directories, and I want to
 | hide the directories, people are not allowed to access
 | anyway. So I engaged the hide unreadable files
 | option.
 |
 | This basically works.
 |
 | The Problem arises, when the user is logged on locally
 | (not authenticated to the Domain) and mounts the share
 | by specifying his Username/Password.
 |
 | When he tries to look at his own files, they're hidden!
 | He only sees world readable data.
 
 Are you using ACLs ?
 

No, no ACLs.

But I managed to solve this problem by accident, though I 
don't really understand why in detail.

The problem only showed up when I mounted the share 
with username/password. When using domain\username/password
everything runs as expected.

Thanks for coming back to this.

Chris

-- 
--
Christoph Kaegi   [EMAIL PROTECTED]
--
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] hide unreadable files also hides readable files (SOLVED)

2005-04-21 Thread Misty Stanley-Jones

On Thursday 21 April 2005 09:04 am, Christoph Kaegi wrote:

 No, no ACLs.

 But I managed to solve this problem by accident, though I
 don't really understand why in detail.

 The problem only showed up when I mounted the share
 with username/password. When using domain\username/password
 everything runs as expected.

 Thanks for coming back to this.

 Chris

Do you also have local users on the clients?  Perhaps it is using the local 
SIDs instead of the domain ones.  Then the file would indeed be unreadable if 
it is not world-readable.

Misty

 --
 --
 Christoph Kaegi   [EMAIL PROTECTED]
 --
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] hide unreadable files also hides readable files (SOLVED)

2005-04-21 Thread Christoph Kaegi
On 21.04-09:18, Misty Stanley-Jones wrote:
  The problem only showed up when I mounted the share
  with username/password. When using domain\username/password
  everything runs as expected.
 
 Do you also have local users on the clients?  Perhaps it is using the local 
 SIDs instead of the domain ones.  Then the file would indeed be unreadable if 
 it is not world-readable.

I *only* have local users/groups. We sync the unix users with the
ADS Database using a specially written application.

What is the difference, if Samba sees a local user or an ADS one?

-- 
--
Christoph Kaegi   [EMAIL PROTECTED]
--
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba