[Samba] Permissions problem with 3.0.8

2004-11-09 Thread Beschorner Daniel
Since 3.0.8 we have a file permission problem (group related???).
I didn't take a closer look at it, our production environment went back to
3.0.7.

symptoms: certain files can't be recreated/deleted, but group rights should
allow it.

3.0.7 works fine.

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


Re: [Samba] Permissions problem with 3.0.8

2004-11-09 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Beschorner Daniel wrote:
| Since 3.0.8 we have a file permission problem (group related???).
| I didn't take a closer look at it, our production environment went back to
| 3.0.7.
|
| symptoms: certain files can't be recreated/deleted, but group rights
should
| allow it.
|
| 3.0.7 works fine.
We'll need a lot more information.


cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFBkNEaIR7qMdg1EfYRAm3ZAJ9OusYDoQOvA8a/hglSsrn+ctw6DQCg6ugq
Ty8XyPgZBQb24C+qVMpFmpk=
=p3FL
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


AW: [Samba] Permissions problem with 3.0.8

2004-11-09 Thread Beschorner Daniel
We use LDAP backend and Linux 2.6.
It happens only --with-acl-support.
This 2 errors I found in the level 10 log when I try to copy a fresh copied
file a second time on itself (permissions of test file are -r-xrw, user
and group match)
Maybe the attribute mapping goes another path with acl support?
3.0.7 works fine.

Daniel




[2004/11/09 17:02:02, 10] smbd/open.c:open_file_shared1(1038)
  open_file_shared: fname = bootfont.bin, dos_attrs = 27, share_mode = 41,
ofun = 12, mode = 560, oplock request = 3
[2004/11/09 17:02:02, 8] smbd/dosmode.c:dos_mode(283)
  dos_mode: bootfont.bin
[2004/11/09 17:02:02, 8] smbd/dosmode.c:dos_mode_from_sbuf(151)
  dos_mode_from_sbuf returning ra
[2004/11/09 17:02:02, 8] smbd/dosmode.c:dos_mode(315)
  dos_mode returning ra
[2004/11/09 17:02:02, 10] smbd/open.c:open_match_attributes(922)
  open_match_attributes: file bootfont.bin old_dos_mode = 0x21,
existing_mode = 0100560, new_dos_mode = 0x27 returned_mode =
[2004/11/09 17:02:02, 5] smbd/open.c:open_file_shared1(1141)
  open_file_shared: read/write access requested for file bootfont.bin on
read only file
[2004/11/09 17:02:02, 5] smbd/files.c:file_free(385)
  freed files structure 5799 (2 used)
[2004/11/09 17:02:02, 10] smbd/trans2.c:set_bad_path_error(2234)
  set_bad_path_error: err = 13 bad_path = 0
[2004/11/09 17:02:02, 3] smbd/error.c:error_packet(105)
  error string = Permission denied
[2004/11/09 17:02:02, 3] smbd/error.c:error_packet(129)
  error packet at smbd/trans2.c(2243) cmd=162 (SMBntcreateX)
NT_STATUS_ACCESS_DENIED

...

[2004/11/09 17:02:02, 8] smbd/dosmode.c:dos_mode(283)
  dos_mode: bootfont.bin
[2004/11/09 17:02:02, 8] smbd/dosmode.c:dos_mode_from_sbuf(151)
  dos_mode_from_sbuf returning ra
[2004/11/09 17:02:02, 8] smbd/dosmode.c:dos_mode(315)
  dos_mode returning ra
[2004/11/09 17:02:02, 6] smbd/trans2.c:call_trans2setfilepathinfo(3621)
  actime: Wed Apr  2 13:00:00 2003
   modtime: Thu Jan  1 01:00:00 1970
   size: 4952 dosmode: a0
[2004/11/09 17:02:02, 8] smbd/dosmode.c:dos_mode(283)
  dos_mode: bootfont.bin
[2004/11/09 17:02:02, 8] smbd/dosmode.c:dos_mode_from_sbuf(151)
  dos_mode_from_sbuf returning ra
[2004/11/09 17:02:02, 8] smbd/dosmode.c:dos_mode(315)
  dos_mode returning ra
[2004/11/09 17:02:02, 10] smbd/trans2.c:call_trans2setfilepathinfo(3678)
  call_trans2setfilepathinfo: file bootfont.bin : setting dos mode a0
[2004/11/09 17:02:02, 10] smbd/dosmode.c:file_set_dosmode(340)
  file_set_dosmode: setting dos mode 0xa0 on file bootfont.bin
[2004/11/09 17:02:02, 2] smbd/trans2.c:call_trans2setfilepathinfo(3681)
  file_set_dosmode of bootfont.bin failed (No data available)
[2004/11/09 17:02:02, 3] smbd/error.c:error_packet(105)
  error string = No data available
[2004/11/09 17:02:02, 3] smbd/error.c:error_packet(129)
  error packet at smbd/trans2.c(3682) cmd=50 (SMBtrans2)
NT_STATUS_ACCESS_DENIED


-Ursprüngliche Nachricht-
Von: Gerald (Jerry) Carter [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 9. November 2004 15:16
An: Beschorner Daniel
Cc: '[EMAIL PROTECTED]'
Betreff: Re: [Samba] Permissions problem with 3.0.8

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Beschorner Daniel wrote:
| Since 3.0.8 we have a file permission problem (group related???).
| I didn't take a closer look at it, our production environment went 
| back to 3.0.7.
|
| symptoms: certain files can't be recreated/deleted, but group rights
should
| allow it.
|
| 3.0.7 works fine.

We'll need a lot more information.





cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBkNEaIR7qMdg1EfYRAm3ZAJ9OusYDoQOvA8a/hglSsrn+ctw6DQCg6ugq
Ty8XyPgZBQb24C+qVMpFmpk=
=p3FL
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Permissions problem with 3.0.8

2004-11-09 Thread Andreas
On Tue, Nov 09, 2004 at 05:14:44PM +0100, Beschorner Daniel wrote:
 [2004/11/09 17:02:02, 10] smbd/open.c:open_file_shared1(1038)
   open_file_shared: fname = bootfont.bin, dos_attrs = 27, share_mode = 41,
 ofun = 12, mode = 560, oplock request = 3
 [2004/11/09 17:02:02, 8] smbd/dosmode.c:dos_mode(283)
   dos_mode: bootfont.bin
 [2004/11/09 17:02:02, 8] smbd/dosmode.c:dos_mode_from_sbuf(151)
   dos_mode_from_sbuf returning ra
 [2004/11/09 17:02:02, 8] smbd/dosmode.c:dos_mode(315)
   dos_mode returning ra
 [2004/11/09 17:02:02, 10] smbd/open.c:open_match_attributes(922)
   open_match_attributes: file bootfont.bin old_dos_mode = 0x21,
 existing_mode = 0100560, new_dos_mode = 0x27 returned_mode =
 [2004/11/09 17:02:02, 5] smbd/open.c:open_file_shared1(1141)
   open_file_shared: read/write access requested for file bootfont.bin on
 read only file
 [2004/11/09 17:02:02, 5] smbd/files.c:file_free(385)
   freed files structure 5799 (2 used)
 [2004/11/09 17:02:02, 10] smbd/trans2.c:set_bad_path_error(2234)
   set_bad_path_error: err = 13 bad_path = 0
 [2004/11/09 17:02:02, 3] smbd/error.c:error_packet(105)
   error string = Permission denied
 [2004/11/09 17:02:02, 3] smbd/error.c:error_packet(129)
   error packet at smbd/trans2.c(2243) cmd=162 (SMBntcreateX)
 NT_STATUS_ACCESS_DENIED
 
 ...
 
 [2004/11/09 17:02:02, 8] smbd/dosmode.c:dos_mode(283)
   dos_mode: bootfont.bin
 [2004/11/09 17:02:02, 8] smbd/dosmode.c:dos_mode_from_sbuf(151)
   dos_mode_from_sbuf returning ra
 [2004/11/09 17:02:02, 8] smbd/dosmode.c:dos_mode(315)
   dos_mode returning ra
 [2004/11/09 17:02:02, 6] smbd/trans2.c:call_trans2setfilepathinfo(3621)
   actime: Wed Apr  2 13:00:00 2003
modtime: Thu Jan  1 01:00:00 1970
size: 4952 dosmode: a0
 [2004/11/09 17:02:02, 8] smbd/dosmode.c:dos_mode(283)
   dos_mode: bootfont.bin
 [2004/11/09 17:02:02, 8] smbd/dosmode.c:dos_mode_from_sbuf(151)
   dos_mode_from_sbuf returning ra
 [2004/11/09 17:02:02, 8] smbd/dosmode.c:dos_mode(315)
   dos_mode returning ra
 [2004/11/09 17:02:02, 10] smbd/trans2.c:call_trans2setfilepathinfo(3678)
   call_trans2setfilepathinfo: file bootfont.bin : setting dos mode a0
 [2004/11/09 17:02:02, 10] smbd/dosmode.c:file_set_dosmode(340)
   file_set_dosmode: setting dos mode 0xa0 on file bootfont.bin
 [2004/11/09 17:02:02, 2] smbd/trans2.c:call_trans2setfilepathinfo(3681)
   file_set_dosmode of bootfont.bin failed (No data available)
 [2004/11/09 17:02:02, 3] smbd/error.c:error_packet(105)
   error string = No data available
 [2004/11/09 17:02:02, 3] smbd/error.c:error_packet(129)
   error packet at smbd/trans2.c(3682) cmd=50 (SMBtrans2)
 NT_STATUS_ACCESS_DENIED

I'm getting what seems to be (at first glance) the same error in my roaming
profiles problem. It happens with a winxp sp2 pro pt_BR workstation while
trying to copy the profiles to the profile share.

(user maria)

(...)
[2004/11/09 14:21:42, 3] smbd/trans2.c:call_trans2setfilepathinfo(3096)
  call_trans2setfilepathinfo(8) maria/SendTo (fnum 8786) info_level=1004 
totdata=40
[2004/11/09 14:21:42, 8] smbd/dosmode.c:dos_mode(283)
  dos_mode: maria/SendTo
[2004/11/09 14:21:42, 8] smbd/dosmode.c:dos_mode_from_sbuf(151)
  dos_mode_from_sbuf returning d
[2004/11/09 14:21:42, 8] smbd/dosmode.c:dos_mode(315)
  dos_mode returning d
[2004/11/09 14:21:42, 6] smbd/trans2.c:call_trans2setfilepathinfo(3621)
  actime: Tue Nov  9 14:21:42 2004
   modtime: Wed Dec 31 21:00:00 1969
   size: 0 dosmode: 13
[2004/11/09 14:21:42, 8] smbd/dosmode.c:dos_mode(283)
  dos_mode: maria/SendTo
[2004/11/09 14:21:42, 8] smbd/dosmode.c:dos_mode_from_sbuf(151)
  dos_mode_from_sbuf returning d
[2004/11/09 14:21:42, 8] smbd/dosmode.c:dos_mode(315)
  dos_mode returning d
[2004/11/09 14:21:42, 10] smbd/trans2.c:call_trans2setfilepathinfo(3678)
  call_trans2setfilepathinfo: file maria/SendTo : setting dos mode 13
[2004/11/09 14:21:42, 10] smbd/dosmode.c:file_set_dosmode(340)
  file_set_dosmode: setting dos mode 0x13 on file maria/SendTo
[2004/11/09 14:21:42, 2] smbd/trans2.c:call_trans2setfilepathinfo(3681)
  file_set_dosmode of maria/SendTo failed (No data available)
[2004/11/09 14:21:42, 3] smbd/error.c:error_packet(105)
  error string = No data available
[2004/11/09 14:21:42, 3] smbd/error.c:error_packet(129)
  error packet at smbd/trans2.c(3682) cmd=50 (SMBtrans2) NT_STATUS_ACCESS_DENIED
(...)

strace from that part shows a mkdir for maria/SendTo, then 
getxattr(maria/SendTo...
which returns ENODATA and later on a rmdir for maria/SendTo. Perhaps windows 
couldn't 
set some permissions and gave up?

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


Re: [Samba] Permissions problem with 3.0.8

2004-11-09 Thread Andreas
On Tue, Nov 09, 2004 at 05:14:44PM +0100, Beschorner Daniel wrote:
 We use LDAP backend and Linux 2.6.
 It happens only --with-acl-support.
 This 2 errors I found in the level 10 log when I try to copy a fresh copied
 file a second time on itself (permissions of test file are -r-xrw, user
 and group match)
 Maybe the attribute mapping goes another path with acl support?
 3.0.7 works fine.
 
3.0.7 also started working fine for me and my roaming profiles.

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