Samba 1.9.17p1. The log file contains Ks of messages like this: ERROR: set_share_mode: failed to ftruncate share mode file /usr/adm/locks/share.119542272.430101 to size 64 (Permission denied) ERROR: set_share_mode: failed to ftruncate share mode file /usr/adm/locks/share.119542272.430101 to size 64 (Permission denied) ERROR: set_share_mode: failed to ftruncate share mode file /usr/adm/locks/share.119542272.430101 to size 64 (Permission denied) ERROR: set_share_mode: failed to ftruncate share mode file /usr/adm/locks/share.119542272.430101 to size 64 (Permission denied) Please can anybody tell me what is wrong ?
M. Damerell wrote:> ERROR: set_share_mode: failed to ftruncate share mode file /usr/adm/locks/share.119542272.430101 to size 64 (Permission denied) > ERROR: set_share_mode: failed to ftruncate share mode file /usr/adm/locks/share.119542272.430101 to size 64 (Permission denied) > ERROR: set_share_mode: failed to ftruncate share mode file /usr/adm/locks/share.119542272.430101 to size 64 (Permission denied) > ERROR: set_share_mode: failed to ftruncate share mode file /usr/adm/locks/share.119542272.430101 to size 64 (Permission denied)This is a known bug with Samba 1.9.17p1 when using slow share modes. Upgrade to 1.9.17p5 (if you want to stay on the older release) or to 1.9.18p2 for the latest stable release. Also, if you are running on Solaris or SunOS (as the 'sun' in your email address might suggest) you will get much better performance with Samba by re-compiling with FAST_SHARE_MODES (check the Makefile for details). Hope this helps, Jeremy Allison, Samba Team. -- -------------------------------------------------------- Buying an operating system without source is like buying a self-assembly Space Shuttle with no instructions. --------------------------------------------------------
Hi all, two little questions : - Is there a way to have a logout script on win95 using samba? I mean a script like the login script that would be executed when a user disconnect himself from one particular share (for example home directory that should be mounted during all session). Or is there an equivalent possibility in Win95? - Has anyone made, or does exist a samba log analyser tool. I want to be able to generate (for example) web pages time when user logged (when he accessed netlogon share) and time when he logged out (how can i know that?) from samba logs ThanXXX =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Michel APPLAINCOURT | E-mail : michel.applaincourt@umh.ac.be Computer Sciences Assistant | Phone : 32 65 373498 Universite de Mons-Hainaut | Fax : 32 65 373318 [Sad...But True] =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Here is an extract of a "log.%m". I don't understand. I work with samba 2.2.2 and solaris 8 [2001/10/31 11:37:03, 0] smbd/nttrans.c:call_nt_transact_ioctl(1762) call_nt_transact_ioctl: Currently not implemented. Thanks you for your help Jean Frontin * team system I. R. I. T. * University Paul Sabatier * phone (33) 561 55 63 03 118, route de Narbonne * fax (33) 561 55 62 58 31062 Toulouse cedex 04 * e-mail frontin@irit.fr FRANCE *