search for: mask_match

Displaying 6 results from an estimated 6 matches for "mask_match".

Did you mean: last_match
2020 Aug 24
0
smbclient mask command seems not to work the same way with recurse ON for mget and mput
...*********/ static bool do_this_one(struct file_info *finfo) { if (!finfo->name) { return false; } if (finfo->attr & FILE_ATTRIBUTE_DIRECTORY) { return true; } if (*client_get_fileselection() && !mask_match(finfo->name,client_get_fileselection(),false)) { DEBUG(3,("mask_match %s failed\n", finfo->name)); return false; } ..... Note, all it's doing is a mask_match() call against the returned name and the string set via the 'mask' param...
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
...#39;m not even sure 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...
2020 Aug 24
2
smbclient mask command seems not to work the same way with recurse ON for mget and mput
...*finfo) > { > if (!finfo->name) { > return false; > } > > if (finfo->attr & FILE_ATTRIBUTE_DIRECTORY) { > return true; > } > > if (*client_get_fileselection() && > !mask_match(finfo->name,client_get_fileselection(),false)) { > DEBUG(3,("mask_match %s failed\n", finfo->name)); > return false; > } > ..... > > Note, all it's doing is a mask_match() call against the > returned name and the strin...
2003 Aug 13
0
Latest debian (testing) version crashed strangely
...PANIC: failed to create UCS2 buffer [2003/08/13 14:34:02, 0] lib/util.c:smb_panic(1469) BACKTRACE: 14 stack frames: #0 /usr/sbin/smbd(smb_panic+0xc9) [0x817eb3d] #1 /usr/sbin/smbd(unix_strlower+0x89) [0x816e86d] #2 /usr/sbin/smbd(strlower_m+0x44) [0x8178c24] #3 /usr/sbin/smbd(mask_match+0xad) [0x8180499] #4 /usr/sbin/smbd [0x809f3e3] #5 /usr/sbin/smbd [0x80a06e2] #6 /usr/sbin/smbd(reply_trans2+0x508) [0x80a6234] #7 /usr/sbin/smbd [0x80b670d] #8 /usr/sbin/smbd [0x80b6903] #9 /usr/sbin/smbd(process_smb+0x74) [0x80b6ab0] #10 /usr/sbin/smbd(smbd_process+0x1...
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