Find the answer to your Linux question:
Results 1 to 8 of 8
Hello everyone, I've got a problem with XP clients being able to write files to a SAMBA share running on Fedora Core 7. I've attached my smb.conf file and a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2010
    Posts
    4

    SAMBA problem with XP clients


    Hello everyone,

    I've got a problem with XP clients being able to write files to a SAMBA share running on Fedora Core 7. I've attached my smb.conf file and a screenshot of what I get when I try to copy and paste any files to the share. By the way, I can create a file, as long as it stays empty, but as soon as I try to save it with any data, it says there's no space (which is obvious from the screenshot that there is plenty). Thanks for any help!

    EDIT - Ok, I can't paste a link to it so if the next poster can, I would appreciate it. The address is: www . jarvistek . com/client/screenshots/error.bmp

    #======================= Global Settings =====================================

    Code:
    [global]
    
    # ------------------------- ZTAPE Options -------------------------
    	blocking locks = no
    	local master = no
    	block size = 4096
    	create mask = 0777
    	directory mask = 0777
    	csc policy = disable
    	deadtime = 10
    	dfree cache time = 10
    	oplocks = False
    	level2 oplocks = False
    
    # ----------------------- Netwrok Related Options -------------------------
    #
    # workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
    #
    # server string is the equivalent of the NT Description field
    #
    # netbios name can be used to specify a server name not tied to the hostname
    #
    # Interfaces lets you configure Samba to use multiple interfaces
    # If you have multiple network interfaces then you can list the ones
    # you want to listen on (never omit localhost)
    #
    # Hosts Allow/Hosts Deny lets you restrict who can connect, and you can
    # specifiy it as a per share option as well
    #
    	workgroup = workgroup
    	server string = Samba Server Version %v
    
    # --------------------------- Logging Options -----------------------------
    #
    # Log File let you specify where to put logs and how to split them up.
    #
    # Max Log Size let you specify the max size log files should reach
    
    	# logs split per machine
    	log file = /var/log/samba/log.%m
    	# max 50KB per log file, then rotate, was 50
    	max log size = 50
    
    # ----------------------- Standalone Server Options ------------------------
    #
    # Security can be set to user, share(deprecated) or server(deprecated)
    #
    # Backend to store user information in. New installations should 
    # use either tdbsam or ldapsam. smbpasswd is available for backwards 
    # compatibility. tdbsam requires no further configuration.
    
    	security = share
    	passdb backend = *****
    
    # --------------------------- Printing Options -----------------------------
    #
    # Load Printers let you load automatically the list of printers rather
    # than setting them up individually
    #
    # Cups Options let you pass the cups libs custom options, setting it to raw
    # for example will let you use drivers on your Windows clients
    #
    # Printcap Name let you specify an alternative printcap file
    #
    # You can choose a non default printing system using the Printing option
    
    ;	load printers = yes
    	cups options = raw
    
    ;	printcap name = /etc/printcap
    	#obtain list of printers automatically on SystemV
    ;	printcap name = lpstat
    ;	printing = cups
    
    # --------------------------- Filesystem Options ---------------------------
    #
    # The following options can be uncommented if the filesystem supports
    # Extended Attributes and they are enabled (usually by the mount option
    # user_xattr). Thess options will let the admin store the DOS attributes
    # in an EA and make samba not mess with the permission bits.
    #
    # Note: these options can also be set just per share, setting them in global
    # makes them the default for all shares
    
    ;	map archive = no
    ;	map hidden = no
    ;	map read only = no
    ;	map system = no
    ;	encrypt passwords = yes
    	guest ok = yes
    	guest account = root
    ;	store dos attributes = yes
    
    
    #============================ Share Definitions ==============================
    
    [homes]
    	comment = Home Directories
    	browseable = no
    	writable = yes
    ;	valid users = %S
    ;	valid users = MYDOMAIN\%S
    
    [printers]
    	comment = All Printers
    	path = /var/spool/samba
    	browseable = no
    ;	guest ok = no
    ;	writable = No
    	printable = yes
    
    [pictron-share]
    	comment = Samba Share Folder
    	path = /pictron-share
    	writeable = yes
    	guest ok = yes
    Last edited by MikeTbob; 10-26-2010 at 12:55 PM. Reason: Added code tags

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    No idea what your problem is but you shouldn't make the guest account as root, very dangerous

  3. #3
    Just Joined!
    Join Date
    Oct 2010
    Posts
    4
    I know, but unfortunately this is how it was set up from the vendor (whom we're no longer dealing with). In either case root should work (I'll worry about securing the thing once it actually works, in the meantime this server is on a vlan that only talks to one computer all in a development sandbox).

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Oct 2010
    Posts
    30
    For my users I use the following under Share Definitions.

    Code:
    [smb_share]
    path = /home/smb_share
    force group = 
    writable = yes
    create mask = 0770
    directory mask = 0770
    comment = Share Directory For All Users
    On the sever make sure the [smb_share] is owned by the group or user.
    I had funny read write errors with this.

    Check the Samba group/user permission.

    F1
    Last edited by MikeTbob; 10-26-2010 at 12:56 PM. Reason: Added code tags

  6. #5
    Just Joined!
    Join Date
    Oct 2010
    Posts
    4
    Ok, I tried that and still no go. I have expanded logging to level 3 and have a bunch of data, but don't know what it means. I did see in there is an "NT status disk full" error and I think that's where the problem lies. I've also added the smbstatus output in case that can help anyone in figuring out what I've got going on here.

    Quote Originally Posted by SAMBA Log
    error packet at smbd/trans2.c(6095) cmd=50 (SMBtrans2) NT_STATUS_IO_DEVICE_ERROR
    [2010/10/25 07:58:50, 3] smbd/oplock.c:initial_break_processing(298)
    initial_break_processing: called for 0x12/23368/5
    Current oplocks_open (exclusive = 0, levelII = 0)
    [2010/10/25 07:58:50, 3] smbd/oplock.c:process_oplock_async_level2_break_message (438)
    process_oplock_async_level2_break_message: downgrading fake level 2 oplock.
    [2010/10/25 07:58:50, 3] smbd/process.c:process_smb(1069)
    Transaction 39 of length 120
    [2010/10/25 07:58:50, 3] smbd/process.c:switch_message(927)
    switch message SMBtrans2 (pid 28523) conn 0xb88eeea8
    [2010/10/25 07:58:50, 3] smbd/trans2.c:call_trans2setfilepathinfo(5831)
    call_trans2setfilepathinfo(8) test.txt (fnum 11227) info_level=1004 totdata=40
    [2010/10/25 07:58:50, 3] smbd/process.c:process_smb(1069)
    Transaction 40 of length 88
    [2010/10/25 07:58:50, 3] smbd/process.c:switch_message(927)
    switch message SMBnttrans (pid 28523) conn 0xb88eeea8
    [2010/10/25 07:58:50, 3] smbd/nttrans.c:call_nt_transact_notify_change(1917)
    call_nt_transact_notify_change
    [2010/10/25 07:58:50, 3] smbd/nttrans.c:call_nt_transact_notify_change(1932)
    call_nt_transact_notify_change: notify change called on ., filter = FILE_NAME|DIR_NAME, recursive = 1
    [2010/10/25 07:58:50, 3] smbd/process.c:process_smb(1069)
    Transaction 41 of length 84
    [2010/10/25 07:58:50, 3] smbd/process.c:switch_message(927)
    switch message SMBtrans2 (pid 28523) conn 0xb88eeea8
    [2010/10/25 07:58:50, 3] smbd/trans2.c:call_trans2qfsinfo(2285)
    call_trans2qfsinfo: level = 1
    [2010/10/25 07:58:50, 3] smbd/process.c:process_smb(1069)
    Transaction 42 of length 88
    [2010/10/25 07:58:50, 3] smbd/process.c:switch_message(927)
    switch message SMBnttrans (pid 28523) conn 0xb88eeea8
    [2010/10/25 07:58:50, 3] smbd/nttrans.c:call_nt_transact_notify_change(1917)
    call_nt_transact_notify_change
    [2010/10/25 07:58:50, 3] smbd/nttrans.c:call_nt_transact_notify_change(1932)
    call_nt_transact_notify_change: notify change called on ., filter = FILE_NAME|DIR_NAME, recursive = 1
    [2010/10/25 07:58:50, 3] smbd/process.c:process_smb(1069)
    Transaction 43 of length 69
    [2010/10/25 07:58:50, 3] smbd/process.c:switch_message(927)
    switch message SMBwriteX (pid 28523) conn 0xb88eeea8
    [2010/10/25 07:58:50, 3] lib/util.c:fcntl_getlock(2075)
    fcntl_getlock: fd 27 is returned info 2 pid 0
    [2010/10/25 07:58:50, 3] smbd/error.c:error_packet_set(106)
    error packet at smbd/reply.c(3141) cmd=47 (SMBwriteX) NT_STATUS_DISK_FULL

    [2010/10/25 07:58:50, 3] smbd/process.c:process_smb(1069)
    Transaction 44 of length 88
    [2010/10/25 07:58:50, 3] smbd/process.c:switch_message(927)
    switch message SMBnttrans (pid 28523) conn 0xb88eeea8
    [2010/10/25 07:58:50, 3] smbd/nttrans.c:call_nt_transact_notify_change(1917)
    call_nt_transact_notify_change
    [2010/10/25 07:58:50, 3] smbd/nttrans.c:call_nt_transact_notify_change(1932)
    call_nt_transact_notify_change: notify change called on ., filter = FILE_NAME|DIR_NAME, recursive = 1
    [2010/10/25 07:58:50, 3] smbd/process.c:process_smb(1069)
    Transaction 45 of length 81
    [2010/10/25 07:58:50, 3] smbd/process.c:switch_message(927)
    switch message SMBtrans2 (pid 28523) conn 0xb88eeea8
    [2010/10/25 07:58:50, 3] smbd/trans2.c:call_trans2setfilepathinfo(5831)
    call_trans2setfilepathinfo(8) test.txt (fnum 11227) info_level=1013 totdata=1
    [2010/10/25 07:58:50, 3] smbd/process.c:process_smb(1069)
    Transaction 46 of length 88
    [2010/10/25 07:58:50, 3] smbd/process.c:switch_message(927)
    switch message SMBnttrans (pid 28523) conn 0xb88eeea8
    [2010/10/25 07:58:50, 3] smbd/nttrans.c:call_nt_transact_notify_change(1917)
    call_nt_transact_notify_change
    [2010/10/25 07:58:50, 3] smbd/nttrans.c:call_nt_transact_notify_change(1932)
    call_nt_transact_notify_change: notify change called on ., filter = FILE_NAME|DIR_NAME, recursive = 1
    [2010/10/25 07:58:50, 3] smbd/process.c:process_smb(1069)
    Transaction 47 of length 45
    [2010/10/25 07:58:50, 3] smbd/process.c:switch_message(927)
    switch message SMBclose (pid 28523) conn 0xb88eeea8
    [2010/10/25 07:58:50, 3] smbd/reply.c:reply_close(3338)
    close fd=27 fnum=11227 (numopen=3)
    [2010/10/25 07:58:50, 3] smbd/sec_ctx.c:push_sec_ctx(208)
    push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
    [2010/10/25 07:58:50, 3] smbd/sec_ctx.c:set_sec_ctx(241)
    setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
    [2010/10/25 07:58:50, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
    pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
    [2010/10/25 07:58:50, 2] smbd/close.c:close_normal_file(406)
    root closed file test.txt (numopen=2) NT_STATUS_OK
    [2010/10/25 07:58:50, 3] smbd/process.c:process_smb(1069)
    Transaction 48 of length 88
    [2010/10/25 07:58:50, 3] smbd/process.c:switch_message(927)
    switch message SMBnttrans (pid 28523) conn 0xb88eeea8
    [2010/10/25 07:58:50, 3] smbd/nttrans.c:call_nt_transact_notify_change(1917)
    call_nt_transact_notify_change
    [2010/10/25 07:58:50, 3] smbd/nttrans.c:call_nt_transact_notify_change(1932)
    call_nt_transact_notify_change: notify change called on ., filter = FILE_NAME|DIR_NAME, recursive = 1
    [2010/10/25 07:58:50, 3] smbd/process.c:process_smb(1069)
    Transaction 49 of length 88
    [2010/10/25 07:58:50, 3] smbd/process.c:switch_message(927)
    switch message SMBnttrans (pid 28523) conn 0xb88eeea8
    [2010/10/25 07:58:50, 3] smbd/nttrans.c:call_nt_transact_notify_change(1917)
    call_nt_transact_notify_change
    [2010/10/25 07:58:50, 3] smbd/nttrans.c:call_nt_transact_notify_change(1932)
    call_nt_transact_notify_change: notify change called on ., filter = FILE_NAME|DIR_NAME, recursive = 1
    [2010/10/25 07:58:52, 3] smbd/process.c:process_smb(1069)
    Transaction 50 of length 90
    [2010/10/25 07:58:52, 3] smbd/process.c:switch_message(927)
    switch message SMBtrans2 (pid 28523) conn 0xb88eeea8
    [2010/10/25 07:58:52, 3] smbd/trans2.c:call_trans2findfirst(1704)
    call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=0, close_if_end = 2 requires_resume_key = 4 level = 0x104, max_data_bytes = 16384
    [2010/10/25 07:58:52, 3] smbd/dir.c:dptr_create(515)
    creating new dirptr 256 for path ./, expect_close = 1
    Quote Originally Posted by smbstatus output
    [root@Pictron_Archive ~]# smbstatus
    Processing section "[homes]"
    Processing section "[printers]"
    Processing section "[pictron-share]"

    Samba version 3.0.28a-1.fc7
    PID Username Group Machine
    -------------------------------------------------------------------

    Service pid machine Connected at
    -------------------------------------------------------
    pictron-share 28523 ***.***.***.*** Mon Oct 25 07:58:19 2010

    Locked files:
    Pid Uid DenyMode Access R/W Oplock SharePath Name Time
    --------------------------------------------------------------------------------------------------
    28523 0 DENY_NONE 0x100001 RDONLY NONE /pictron-share . Mon Oct 25 07:58:20 2010
    28523 0 DENY_NONE 0x100001 RDONLY NONE /pictron-share . Mon Oct 25 07:58:20 2010

    EDIT - I just tried this with one of our servers and it seems to have gotten further... I was able to copy and paste it, but the contents ended up being empty. So Win Server 2003 seems to be able to at least get past the NT_STATUS_DISK_FULL error, but then gets tied up elsewhere. I've pasted a log of that transaction as well below in order to give additional info.

    Quote Originally Posted by SAMBA Log from WinServer 2k3
    Transaction 103 of length 45
    [2010/10/25 08:33:55, 3] smbd/process.c:switch_message(927)
    switch message SMBclose (pid 28798) conn 0xb88ef6f8
    [2010/10/25 08:33:55, 3] smbd/reply.c:reply_close(3329)
    close directory fnum=5524
    [2010/10/25 08:34:00, 3] smbd/process.c:process_smb(1069)
    Transaction 104 of length 39
    [2010/10/25 08:34:00, 3] smbd/process.c:switch_message(927)
    switch message SMBtdis (pid 28798) conn 0xb889c260
    [2010/10/25 08:34:00, 3] smbd/sec_ctx.c:set_sec_ctx(241)
    setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
    [2010/10/25 08:34:00, 3] smbd/sec_ctx.c:set_sec_ctx(241)
    setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
    [2010/10/25 08:34:00, 3] smbd/service.c:close_cnum(1230)
    158.70.168.20 (158.70.168.20) closed connection to service IPC$
    [2010/10/25 08:34:00, 3] smbd/connection.c:yield_connection(69)
    Yielding connection to IPC$
    [2010/10/25 08:34:00, 3] smbd/sec_ctx.c:set_sec_ctx(241)
    setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
    [2010/10/25 08:34:00, 3] smbd/process.c:process_smb(1069)
    Transaction 105 of length 39
    [2010/10/25 08:34:00, 3] smbd/process.c:switch_message(927)
    switch message SMBtdis (pid 28798) conn 0xb88ac468
    [2010/10/25 08:34:00, 3] smbd/sec_ctx.c:set_sec_ctx(241)
    setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
    [2010/10/25 08:34:00, 3] smbd/sec_ctx.c:set_sec_ctx(241)
    setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
    [2010/10/25 08:34:00, 3] smbd/service.c:close_cnum(1230)
    158.70.168.20 (158.70.168.20) closed connection to service IPC$
    [2010/10/25 08:34:00, 3] smbd/connection.c:yield_connection(69)
    Yielding connection to IPC$
    [2010/10/25 08:34:00, 3] smbd/sec_ctx.c:set_sec_ctx(241)
    setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
    [2010/10/25 08:34:02, 3] smbd/process.c:process_smb(1069)
    Transaction 106 of length 90
    [2010/10/25 08:34:02, 3] smbd/process.c:switch_message(927)
    switch message SMBntcreateX (pid 28798) conn 0xb88ef6f8
    [2010/10/25 08:34:02, 3] smbd/sec_ctx.c:set_sec_ctx(241)
    setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
    [2010/10/25 08:34:02, 3] smbd/dosmode.c:unix_mode(142)
    unix_mode(.) returning 0770
    [2010/10/25 08:34:02, 2] smbd/open.c:open_directory(2092)
    open_directory: unable to create .. Error was NT_STATUS_OBJECT_NAME_COLLISION
    [2010/10/25 08:34:02, 3] smbd/error.c:error_packet_set(106)
    error packet at smbd/nttrans.c(805) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_COLLISION
    [2010/10/25 08:34:02, 3] smbd/process.c:process_smb(1069)
    Transaction 107 of length 80
    [2010/10/25 08:34:02, 3] smbd/process.c:switch_message(927)
    switch message SMBtrans2 (pid 28798) conn 0xb88ef6f8
    [2010/10/25 08:34:02, 3] smbd/trans2.c:call_trans2qfilepathinfo(3304)
    call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
    [2010/10/25 08:34:02, 3] smbd/trans2.c:call_trans2qfilepathinfo(3355)
    call_trans2qfilepathinfo . (fnum = -1) level=1004 call=5 total_data=0
    [2010/10/25 08:34:02, 3] smbd/process.c:process_smb(1069)
    Transaction 108 of length 74
    [2010/10/25 08:34:02, 3] smbd/process.c:switch_message(927)
    switch message SMBtrans2 (pid 28798) conn 0xb88ef6f8
    [2010/10/25 08:34:02, 3] smbd/trans2.c:call_trans2qfsinfo(2285)
    call_trans2qfsinfo: level = 261
    [2010/10/25 08:34:02, 3] smbd/process.c:process_smb(1069)
    Transaction 109 of length 74
    [2010/10/25 08:34:02, 3] smbd/process.c:switch_message(927)
    switch message SMBtrans2 (pid 28798) conn 0xb88ef6f8
    [2010/10/25 08:34:02, 3] smbd/trans2.c:call_trans2qfsinfo(2285)
    call_trans2qfsinfo: level = 261
    [2010/10/25 08:34:02, 3] smbd/process.c:process_smb(1069)
    Transaction 110 of length 98
    [2010/10/25 08:34:02, 3] smbd/process.c:switch_message(927)
    switch message SMBtrans2 (pid 28798) conn 0xb88ef6f8
    [2010/10/25 08:34:02, 3] smbd/trans2.c:call_trans2qfilepathinfo(3304)
    call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
    [2010/10/25 08:34:02, 3] smbd/trans2.c:call_trans2qfilepathinfo(3355)
    call_trans2qfilepathinfo test.txt (fnum = -1) level=1004 call=5 total_data=0
    [2010/10/25 08:34:02, 3] smbd/process.c:process_smb(1069)
    Transaction 111 of length 98
    [2010/10/25 08:34:02, 3] smbd/process.c:switch_message(927)
    switch message SMBtrans2 (pid 28798) conn 0xb88ef6f8
    [2010/10/25 08:34:02, 3] smbd/trans2.c:call_trans2qfilepathinfo(3304)
    call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1006
    [2010/10/25 08:34:02, 3] smbd/trans2.c:call_trans2qfilepathinfo(3355)
    call_trans2qfilepathinfo test.txt (fnum = -1) level=1006 call=5 total_data=0
    [2010/10/25 08:34:02, 3] smbd/process.c:process_smb(1069)
    Transaction 112 of length 108
    [2010/10/25 08:34:02, 3] smbd/process.c:switch_message(927)
    switch message SMBntcreateX (pid 28798) conn 0xb88ef6f8
    [2010/10/25 08:34:02, 3] smbd/dosmode.c:unix_mode(142)
    unix_mode(test.txt) returning 0760
    [2010/10/25 08:34:02, 3] smbd/error.c:error_packet_set(106)
    error packet at smbd/nttrans.c(805) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_COLLISION
    [2010/10/25 08:34:02, 3] smbd/process.c:process_smb(1069)
    Transaction 113 of length 104
    [2010/10/25 08:34:02, 3] smbd/process.c:switch_message(927)
    switch message SMBtrans2 (pid 28798) conn 0xb88ef6f8
    [2010/10/25 08:34:02, 3] smbd/trans2.c:call_trans2findfirst(1704)
    call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=1, close_if_end = 2 requires_resume_key = 4 level = 0x104, max_data_bytes = 16384
    [2010/10/25 08:34:02, 3] smbd/dir.c:dptr_create(515)
    creating new dirptr 256 for path ./, expect_close = 1
    [2010/10/25 08:34:02, 3] smbd/process.c:process_smb(1069)
    Transaction 114 of length 104
    [2010/10/25 08:34:02, 3] smbd/process.c:switch_message(927)
    switch message SMBtrans2 (pid 28798) conn 0xb88ef6f8
    [2010/10/25 08:34:02, 3] smbd/trans2.c:call_trans2findfirst(1704)
    call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=1, close_if_end = 2 requires_resume_key = 4 level = 0x104, max_data_bytes = 16384
    [2010/10/25 08:34:02, 3] smbd/dir.c:dptr_create(515)
    creating new dirptr 256 for path ./, expect_close = 1
    [2010/10/25 08:34:02, 3] smbd/process.c:process_smb(1069)
    Transaction 115 of length 104
    [2010/10/25 08:34:02, 3] smbd/process.c:switch_message(927)
    switch message SMBtrans2 (pid 28798) conn 0xb88ef6f8
    [2010/10/25 08:34:02, 3] smbd/trans2.c:call_trans2findfirst(1704)
    call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=1, close_if_end = 2 requires_resume_key = 4 level = 0x104, max_data_bytes = 16384
    [2010/10/25 08:34:02, 3] smbd/dir.c:dptr_create(515)
    creating new dirptr 256 for path ./, expect_close = 1
    [2010/10/25 08:34:03, 3] smbd/process.c:process_smb(1069)
    Transaction 116 of length 98
    [2010/10/25 08:34:03, 3] smbd/process.c:switch_message(927)
    switch message SMBtrans2 (pid 28798) conn 0xb88ef6f8
    [2010/10/25 08:34:03, 3] smbd/trans2.c:call_trans2qfilepathinfo(3304)
    call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
    [2010/10/25 08:34:03, 3] smbd/trans2.c:call_trans2qfilepathinfo(3355)
    call_trans2qfilepathinfo test.txt (fnum = -1) level=1004 call=5 total_data=0
    [2010/10/25 08:34:03, 3] smbd/process.c:process_smb(1069)
    Transaction 117 of length 108
    [2010/10/25 08:34:03, 3] smbd/process.c:switch_message(927)
    switch message SMBntcreateX (pid 28798) conn 0xb88ef6f8
    [2010/10/25 08:34:03, 3] smbd/dosmode.c:unix_mode(142)
    unix_mode(test.txt) returning 0760
    [2010/10/25 08:34:03, 3] smbd/open.c:open_file(301)
    Error opening file test.txt (NT_STATUS_IO_DEVICE_ERROR) (local_flags=66) (flags=578)
    [2010/10/25 08:34:03, 3] smbd/error.c:error_packet_set(106)
    error packet at smbd/nttrans.c(805) cmd=162 (SMBntcreateX) NT_STATUS_IO_DEVICE_ERROR
    Last edited by netninja2001; 10-25-2010 at 01:39 PM. Reason: added additional info

  7. #6
    Just Joined!
    Join Date
    Oct 2010
    Posts
    30
    Run testparm on the samba server.

    Are you using quotas for your users?
    (SMBwriteX) NT_STATUS_DISK_FULL

  8. #7
    Just Joined!
    Join Date
    Oct 2010
    Posts
    4
    I ran testparm and this was the output:

    Code:
    [root@Pictron_Archive ~]# testparm
    Load smb config files from /etc/samba/smb.conf
    Processing section "[homes]"
    Processing section "[printers]"
    Processing section "[pictron-share]"
    Loaded services file OK.
    WARNING: You have some share names that are longer than 12 characters.
    These may not be accessible to some older clients.
    (Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
    Server role: ROLE_STANDALONE
    Press enter to see a dump of your service definitions
    
    [global]
            server string = Samba Server Version %v
            security = SHARE
            passdb backend = tdbsam
            guest account = root
            log level = 3
            log file = /var/log/samba/log.%m
            max log size = 50
            deadtime = 10
            local master = No
            create mask = 0777
            directory mask = 0777
            guest ok = Yes
            block size = 4096
            cups options = raw
            blocking locks = No
            csc policy = disable
            oplocks = No
            level2 oplocks = No
            dfree cache time = 10
    
    [homes]
            comment = Home Directories
            read only = No
            browseable = No
    
    [printers]
            comment = All Printers
            path = /var/spool/samba
            printable = Yes
            browseable = No
    
    [pictron-share]
            comment = Samba Share Folder
            path = /pictron-share
            read only = No
            create mask = 0770
            directory mask = 0770
    [root@Pictron_Archive ~]#
    As for quotas, this was delivered to us by a vendor "pre-configured" so I didn't set any of the initial settings. As far as I know, there shouldn't be any quotas since this was supposed to be a massive store for video data.

    EDIT - I also ran smbcquotas on the share and got this output:

    Code:
    [root@Pictron_Archive ~]# smbcquotas //***.***.***.***/pictron-share
    added interface ip=***.***.***.*** bcast=***.***.***.*** nmask=255.255.254.0
    Password: 
    Connecting to host=***.***.***.***
    Connecting to ***.***.***.*** at port 445
    Connecting to host=***.***.***.***
    Connecting to ***.***.***.*** at port 445
    rpc_pipe_bind: Remote machine ***.***.***.*** pipe \lsarpc fnum 0x7771 bind request returned ok.
    lsa_io_sec_qos: length c does not match size 8
    Unix User\root                :               0/              0/              0
    [root@Pictron_Archive ~]#
    I couldn't figure out what syntax to use to display "vfs default quota", but I don't think it would have been set.
    Last edited by netninja2001; 10-26-2010 at 01:37 PM. Reason: additional info

  9. #8
    Just Joined!
    Join Date
    Oct 2010
    Posts
    30
    Your testparm does not show a workgroup. If this is on purpose thats fine.

    If your system is running VFS modules then vfs default quota will come into play.

    vfs default quota" stores Windows quota in samba.

    There should be a line in smb.conf

    Vfs objects =

    Is your test user a member of a group?
    If so what are your group permission?
    They should be 0777 for a guest account directory.

    Here my testparm shares output
    [Z]
    path = /home/z
    force group = z
    read only = No
    create mask = 0770
    directory mask = 0770

    [RECOV]
    path = /home/recov
    force group = recov
    read only = No
    create mask = 0770
    directory mask = 0770

    [x]
    path = /home/x
    force group = z
    read only = No
    create mask = 0770
    directory mask = 0770

    all shares are listed by the group and owned by the group.

    Aquarium:/# ls -la /home
    total 44
    drwxrwx--- 8 root recov 4096 2010-09-14 09:16 recov
    drwxrwx--- 18 root z 4096 2010-10-26 14:45 x
    drwxrwx--- 19 kids z 4096 2010-10-25 16:47 z


    My best guess to your problem is quotas and or permissions.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •