summaryrefslogtreecommitdiff
path: root/source3/utils/masktest.c
AgeCommit message (Collapse)AuthorFilesLines
2001-03-21added -E option (for exit on errors)Andrew Tridgell1-2/+8
forced exclusion of filenames containing only '.' as NT rejects those (This used to be commit a83ff172f271aa74148016f0e2ac62c868c140fb)
2001-03-21latest attempt at lanman1 wildcard matchingAndrew Tridgell1-4/+20
(This used to be commit 32361fc53e11a71f133a1727c6234a2bf01a5ccf)
2001-02-27better handling of '.'Andrew Tridgell1-15/+17
better verbose print (This used to be commit 1f8b8a7189fb8c142801d679cf53c586aee74740)
2001-02-27remove some test codeAndrew Tridgell1-1/+2
(This used to be commit 2c509c9860fdcf4d2b3bb35e12f9fedbb77bd17e)
2001-02-27almost there with lanman1 wildcards. We now seem to correctly handleAndrew Tridgell1-4/+17
'<', '>', '"' and '?' when combined with '.'. The '*' character is proving troublesome. (This used to be commit 0a55d9a17b5d98c7e151bb2ee014cfb0b3660400)
2001-02-27I have now found that despite initial appearences the lanman1 wildcardAndrew Tridgell1-35/+24
algorithm does *not* match separately on base and extension. I also added a -v option to masktest for verbose output (This used to be commit 76c8fa5cd1ce9095583f818d100cd0f2116ddc62)
2001-02-26made some LANMAN1 wildcard progressAndrew Tridgell1-6/+7
it now handles -M LANMAN1 -f '.x' -m '?x' nicely (This used to be commit e7ccb9be6da9b1426eb136b4a0a1171232471768)
2001-02-26made some progress in masktestAndrew Tridgell1-16/+15
it now handles the server renaming files on create (This used to be commit 85ce14f36da4f5a3fb3029634279bb473873bbd5)
2001-02-25a snapshot of my attempts to get wildcard matching right for LANMAN1Andrew Tridgell1-10/+108
clients. This is not complete and not correct - expect some more work on this soon (This used to be commit 06d158d5e91a222e6bf8d22f02107c60da383f82)
2001-01-05Needed a callback arg on cli_list ...Richard Sharpe1-4/+4
(This used to be commit d45e667a74fc2fcbf69c4819d480269c03dbfae4)
2000-05-27move srandom to after connect so random stuff in clientgen doesn'tAndrew Tridgell1-2/+4
change seed (This used to be commit d9322d01e0ac09852924eb6059ecf116e75ee398)
2000-05-24minor fixesAndrew Tridgell1-3/+4
(This used to be commit 4d00314ec5b056101b05c38cc68dd4934c83c825)
2000-05-24use lp_workgroup()Andrew Tridgell1-10/+13
use \\ in front of filenames get short name via a separate trans2 level 260 call (This used to be commit 5fd4dbf72e317bc47ab11b0b3f2e15d0c58879c8)
2000-05-22Added -W workgroup command line option.Tim Potter1-1/+6
Added call to codepage_initialise(). (This used to be commit fcb8e2fbe2deabfc2f8d7e69dd23dca9740c6dc1)
2000-04-30handle the special rule of *.* for old style listings when old_list isAndrew Tridgell1-0/+3
true (This used to be commit cdf4c4c812086d6e7cdc0436f5e31c420dcfb3e5)
2000-04-30added cli_list_old() to allow for old style directory listing fromAndrew Tridgell1-5/+12
masktest (This used to be commit 8a5c8cfa0ede1d119bf9013e321a497beefd4dda)
2000-04-30changed masktest to test the internal algorithm against one server,Andrew Tridgell1-78/+30
rather than 2 servers (This used to be commit 0e63b4b36334aeb6de6691436b82e1d9784b1541)
2000-04-30YIPEE!!!!!Andrew Tridgell1-78/+16
We finally have a perfect emulation of Microsoft wildcard matching. The routine ms_fnmatch() does wildcard matching with all MS wildcards (including the unicode wildcards), and masktest against a NT4 workstation with hundreds of thousands of random exmaples has not found a single error. amazingly it is only about 60 lines of code, but it has taken us years to get it right. I didn't sleep much last night :) (This used to be commit cc9e007cdfdd300189f89e2a55e4234e47fa842d)
2000-03-26load smb.conf and interfaces in masktest (to allow for netbios nameAndrew Tridgell1-0/+4
resolution) (This used to be commit f007531742f5570d5b9b8cb20cab19cd1ab1bfed)
2000-02-10the beginnings of a fnmatch() based wildcard matching routineAndrew Tridgell1-20/+66
(This used to be commit ef256de9d9a204cf91fe8b636d07400cd0648d1e)
2000-02-09update masktest for new make_nmb_name() syntaxAndrew Tridgell1-3/+3
(This used to be commit 3609e835d4f938190f43b958403978c892b4bc9b)
2000-02-09added masktest to head branch, in preparation for another assault onAndrew Tridgell1-0/+435
the wildcard handling code (This used to be commit 3f77690dade57f4ae9da7196b0aa7a3a43afcc46)