Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#25 smbfs doesn't work with shares on Windows Server 2008 R2

open
None
5
2011-02-13
2011-02-13
shpac
No

if share is placed on Windows Server 2008R2 - smbfs cannt browse any available shares and cannt open shares.If using smbclient - it browse shares list and open share and can list, copy, e.t.c.

My tests was with: Domain=[WORKGROUP] OS=[Windows Server 2008 R2 Datacenter 7600] Server=[Windows Server 2008 R2 Datacenter 6.1]

Discussion

  • shpac
    shpac
    2011-02-13

    smbnetfs ver: 0.5.3a
    smbclient --version Version 3.4.9

     
  • shpac
    shpac
    2011-02-13

    debuglevl=6:

    18085->smbitem_what_is: path=/192.168.6.111
    18085->function_closedir: (/, fh=ffffffffffffffff, flags=0)
    18085->function_statfs: (/)
    18085->function_readlink: (/comp1, 4097)
    18085->smbitem_what_is: path=/comp1
    18085->smbitem_readlink: path=/comp1
    18085->function_stat: (/comp1)
    18085->smbitem_what_is: path=/comp1
    18085->function_stat: link:(/comp1)
    18085->smbitem_readlink: path=/comp1
    18085->function_readlink: (/comp1, 4097)
    18085->smbitem_what_is: path=/comp1
    18085->smbitem_readlink: path=/comp1
    18085->function_stat: (/192.168.6.111)
    18085->smbitem_what_is: path=/192.168.6.111
    18085->function_readlink: (/comp1, 4097)
    18085->smbitem_what_is: path=/comp1
    18085->smbitem_readlink: path=/comp1
    18085->function_stat: (/)
    18085->smbitem_what_is: path=/
    18085->function_readlink: (/comp1, 4097)
    18085->smbitem_what_is: path=/comp1
    18085->smbitem_readlink: path=/comp1
    18085->function_readlink: (/comp1, 4097)
    18085->smbitem_what_is: path=/comp1
    18085->smbitem_readlink: path=/comp1
    18085->function_readlink: (/comp1, 4097)
    18085->smbitem_what_is: path=/comp1
    18085->smbitem_readlink: path=/comp1
    18085->function_opendir: (/192.168.6.111, flags=2304000, fh=0)
    18085->smbitem_what_is: path=/192.168.6.111
    18085->samba_get_ctx: name='/192.168.6.111'
    18085->samba_get_ctx: ctx_total=15, list=(/192.168.6.111[1], /[0], [0], [0], [0], [0], [0], [0], [0], [0], [0], [0], [0], [0],
    18085->process_start_new_smb_conn: starting new child with pid=18115, fd=6
    srv(18115)->smb_conn_srv_listen: process query=7, query_len=19
    18085->smbitem_get_group: host=192.168.6.111
    srv(18115)->smb_conn_srv_auth_fn: url=smb://192.168.6.111/IPC$, grp=MYNET, user=guest, passwd=********
    18085->smbitem_get_group: host=192.168.6.111
    srv(18115)->smb_conn_srv_auth_fn: url=smb://192.168.6.111/IPC$, grp=MYNET, user=guest, passwd=********
    srv(18115)->smb_conn_srv_opendir: errno=110, Connection timed out
    18085->process_kill_by_smb_conn_fd: closing child connection with pid=18115, fd=6
    18085->process_cleanup_from_zombies: R.I.P. child with pid=18115, fd=-1
    18085->process_cleanup_from_zombies: cleanup child record with pid=18115
    18085->process_start_new_smb_conn: starting new child with pid=18120, fd=6
    srv(18120)->smb_conn_srv_listen: process query=7, query_len=19
    18085->smbitem_get_group: host=192.168.6.111
    srv(18120)->smb_conn_srv_auth_fn: url=smb://192.168.6.111/IPC$, grp=DARNET, user=guest, passwd=********
    18085->smbitem_get_group: host=192.168.6.111
    srv(18120)->smb_conn_srv_auth_fn: url=smb://192.168.6.111/IPC$, grp=DARNET, user=guest, passwd=********
    srv(18120)->smb_conn_srv_opendir: errno=110, Connection timed out

    =================== smbclient: ===========
    smbclient -N -L 192.168.6.111
    Domain=[WORKGROUP] OS=[Windows Server 2008 R2 Datacenter 7600] Server=[Windows Server 2008 R2 Datacenter 6.1]

    Sharename Type Comment
    --------- ---- -------
    ADMIN$ Disk Удаленный Admin
    C$ Disk Стандартный общий ресурс
    D$ Disk Стандартный общий ресурс
    E$ Disk Стандартный общий ресурс
    F$ Disk Стандартный общий ресурс
    G$ Disk Стандартный общий ресурс
    H$ Disk Стандартный общий ресурс
    I$ Disk Стандартный общий ресурс
    IPC$ IPC Удаленный IPC
    J$ Disk Стандартный общий ресурс
    local Disk
    smbclient -N //192.168.6.111/local
    Domain=[WORKGROUP] OS=[Windows Server 2008 R2 Datacenter 7600] Server=[Windows Server 2008 R2 Datacenter 6.1]
    smb: \>

     
  • shpac
    shpac
    2011-02-13

    • assigned_to: nobody --> kshevetskiy
     
  • shpac
    shpac
    2011-10-01

    more info about bug - something wrong in getting resources listing, becouse when i try connect directly to shared resouce - all works, for example: cd 192.168.0.11\files - open shared disks but try to cd 192.168.0.11 - does nothing in shered resources listing - empty dir

     
  • it looks like you forget to specify username/password to access the list of shares but specify username/password to special share.

    please use "auth computer user password" instead of "auth computer/share user password"

     
  • shpac
    shpac
    2011-11-06

    the share opened for all - no password for guests and so on

    I also try to use : auth 192.168.0.11 "guest" ""
    still doesn't work

     
  • shpac
    shpac
    2011-11-06

    but smbclient -L 192.168.0.11 - lists all shares without password