search for: client_get_fileselect

Displaying 5 results from an estimated 5 matches for "client_get_fileselect".

2020 Aug 24
0
smbclient mask command seems not to work the same way with recurse ON for mget and mput
...ls (0,0 kb/s) (average 0,0 kb/s) > putting file a/AM.xls as \borrar\a\AM.xls (0,0 kb/s) (average 0,0 kb/s) > putting file b/BT.xls as \borrar\b\BT.xls (0,0 kb/s) (average 0,0 kb/s) All the 'mask' command does is set a global string that is returned by the smbclient internal function: client_get_fileselection(). Here is the code that decides if smbclient should do anything with a given filename: /******************************************************************* Decide if a file should be operated on. ********************************************************************/ static bool do_this_one(s...
2020 Aug 24
2
smbclient mask command seems not to work the same way with recurse ON for mget and mput
Dear fellows. Another piece of information. The issue reprduces on RHEL 7.7, Samba 4.9.1 [root at vnhprerhds01 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.7 (Maipo) [root at vnhprerhds01 ~]# smbclient -V Version 4.9.1 [root at vnhprerhds01 ~]# smbclient -W "${d}" -U "${u}" "${s}" "${p}" Try "help" to get a list of
2020 Aug 25
1
smbclient mask command seems not to work the same way with recurse ON for mget and mput
...re of this... Well, here I go (thanks a lot Andrew for pointing out source3/client/client.c), release 4.12.6 (so sorry as this is no patching syntax, but hope you can figure out what it means): 2349 } else { ++ 2350 if (mask_match(lname,client_get_fileselection(),false)) { 2351 SAFE_FREE(quest); 2352 if (asprintf(&quest,"Put file %s? ", lname) < 0) { 2353 break; 2354 } 2355...
2020 Aug 24
2
smbclient mask command seems not to work the same way with recurse ON for mget and mput
...,0 kb/s) > > putting file a/AM.xls as \borrar\a\AM.xls (0,0 kb/s) (average 0,0 kb/s) > > putting file b/BT.xls as \borrar\b\BT.xls (0,0 kb/s) (average 0,0 kb/s) > > All the 'mask' command does is set a global string that > is returned by the smbclient internal function: client_get_fileselection(). > > Here is the code that decides if smbclient should do anything > with a given filename: > > /******************************************************************* > Decide if a file should be operated on. > ***************************************************************...
2020 Aug 25
2
smbclient mask command seems not to work the same way with recurse ON for mget and mput
Dear Andrew. You are right, I should have taken a deeper look into the standard output during compilation. I did just assume source4 was the one for Samba4. Anyway, besides the source confusion (really, even if I had found the right one, following the code would have been out of my reach), I don't seem to find how that is related with the documentation issue, or the mput/mask/recurse