write permission issue between Opnet IT Guru and Samba

Paul Griffith paulg at cse.yorku.ca
Fri Oct 8 13:36:00 MDT 2010


Hi,

I am trying to debug a write permission issue between Opnet IT Guru 
Academic Edition and Samba. I have full r/w access to the share in 
question. When I test IT Guru Academic Edition with a share from WinXP 
everything work as expected, with Samba IT Guru report the following 
error, "The primary  model directory (Z:\op_models) cannot be written 
to. Attempts to save new models will fail until this problem is corrected."

Searching the mail lists returns the following related from
http://lists.samba.org/archive/samba-technical/2003-August/031368.html

The only way I can make this work with Samba is to set the world write 
flag, just like the mailing list posting suggested.


Searching the bug reports returns nothing.


The only thing that shows up in the logs that raises a red flag is this 
following.


  call_nt_transact_query_security_desc: file = op_models, info_wanted = 0x3
[2010/10/08 14:20:09.368377,  3, pid=12232, effective(2381, 1000), 
real(0, 0)] smbd/nttrans.c:1820(call_nt_transact_query_security_desc)
   call_nt_transact_query_security_desc: sd_size = 76.
[2010/10/08 14:20:09.368416,  3, pid=12232, effective(2381, 1000), 
real(0, 0)] smbd/error.c:80(error_packet_set)
   error packet at smbd/nttrans.c(240) cmd=160 (SMBnttrans) 
NT_STATUS_BUFFER_TOO_SMALL
[2010/10/08 14:20:09.368692,  3, pid=12232, effective(2381, 1000), 
real(0, 0)] smbd/process.c:1485(process_smb)

Any ideas..

I am running on CentOS 4.6, Samba 3.5.6, with tdbsam backend.


../sbin/smbd  -b
Build environment:
    Built by:    paulg at xxxx
    Built on:    Fri Oct  8 11:29:31 EDT 2010
    Built using: gcc
    Build host:  Linux jazzy 2.6.9-89.0.23.EL.CSE.smp #1 SMP Wed May 12 
10:58:19 EDT 2010 i686 i686 i386 GNU/Linux
    SRCDIR:      /tmp/samba-3.5.6/source3
    BUILDDIR:    /tmp/samba-3.5.6/source3

Paths:
    SBINDIR: /xsys/pkg/samba-3.5.6/sbin
    BINDIR: /xsys/pkg/samba-3.5.6/bin
    SWATDIR: /xsys/pkg/samba-3.5.6/swat
    CONFIGFILE: /xconf/samba/smb.conf
    LOGFILEBASE: /var/log
    LMHOSTSFILE: /xconf/samba/lmhosts
    LIBDIR: /xsys/pkg/samba-3.5.6/lib
    MODULESDIR: /xsys/pkg/samba-3.5.6/lib
    SHLIBEXT: so
    LOCKDIR: /var/samba/locks
    STATEDIR: /var/samba/locks
    CACHEDIR: /var/samba/locks
    PIDDIR: /xsys/pkg/samba-3.5.6/var/locks
    SMB_PASSWD_FILE: /var/samba/private/smbpasswd
    PRIVATE_DIR: /var/samba/private


Regards,
Paul



More information about the samba-technical mailing list