Re: [Samba] hide unreadable files also hides readable files

2005-04-21 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Christoph Kaegi wrote:
| Hello
|
| 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 ?


cheers, jerry
=
Alleviating the pain of Windows(tm)  --- http://www.samba.org
GnuPG Key- http://www.plainjoe.org/gpg_public.asc
I never saved anything for the swim back. Ethan Hawk in Gattaca
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCZ6ZEIR7qMdg1EfYRAsfwAKDlp9yjMIJxklfBAzFAA74fF/x/yACbBBbV
co9LS2b2ww9pvPe2pZgFKo4=
=/fk8
-END PGP SIGNATURE-
--
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-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


Re: [Samba] hide unreadable files also hides readable files

2005-04-18 Thread Christoph Kaegi

I didn't get a reply on this. Can anybody explain, why there's 
a difference in what samba considers a readable file
when users are logged on to the domain or not?

In case this is written up somewhere:
A link to relevant docs would be very helpful.

Thanks alot
Chris

On 15.04-13:45, Christoph Kaegi 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.
 

-- 
--
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