From: masetto on 5 Jul 2010 04:30 Good Morning, let me explain the problem: i need to establish a connection with a Windows host (Windows 7) via smbclient (from ubuntu linux), to run a script which needs to get some file informations (eg. size, version, etc..). Connection and authentication works perfectly. From linux, i can execute the following command: smb: \> allinfo test.txt altname: test.txt create_time: Thu 01 Jul 2010 11:06:30 AM CEST CEST access_time: Thu 01 Jul 2010 11:06:30 AM CEST CEST write_time: Thu 01 Jul 2010 11:06:30 AM CEST CEST change_time: Thu 01 Jul 2010 12:12:07 PM CEST CEST stream: [::$DATA], 0 bytes response from Windows: 20 bytes (data_len within cli_qpathinfo_alt_name() But, when i try to do the same thing on another file (let's say Windows\twain.dll or any other exe or dll) i got: smb: \Windows\> allinfo twain.dll ERRSRV - ERRerror (Non-specific error code.) getting alt name for \Windows\twain.dll response from Windows: 0 bytes (?) Wireshark say: SMB - Trans2 Request, QUERY_PATH_INFO, Query File Alt Name Info, Path:\Windows\twain.dll SMB - Trans2 Response, QUERY_PATH_INFO, Error: STATUS_OBJECT_NAME_NOT_FOUND (0xc0000034) However, for the same file, the GET command works without any problem. It looks like i've an issue on Windows :/ -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
|
Pages: 1 Prev: [Samba] windows 7 samba domain Next: [Samba] Migrate windows 200 AD to Samba / LDAP |