summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
1998-11-12security descriptors.Luke Leighton4-22/+44
kanji const char* warnings. (This used to be commit 06abdfd68e1d7fa8741afc3f56ec7a13b5fa4ccc)
1998-11-12.cvsignore: Removed old entries.Herb Lewis1-0/+9
client/client.c: include/client.h: Added some debug messages that the old client used to generate. These are needed to make scripts such as 'findsmb' work - there may be other changes to keep backwards output compatibility. Do we need a -old-client-compat argument ? libsmb/clientgen.c: Fixed crash bug where malloc'ed data wasn't being cleared - corrupted malloc chains. web/swat.c: John's changes to get rid of "ghost" table entries. (This used to be commit 3c45a3503ea57d17e98eb3e57514161a5c82e45e)
1998-11-12include/kanji.h include/proto.h lib/kanji.c: Added const parameters in ↵Jeremy Allison1-4/+4
string wrappers. printing/printing.c: Added OSF1 fix. Jeremy. (This used to be commit 9d05d80f811426f83a975d28e64c5d6b10574c25)
1998-11-12jean-f. sent me some S-1-3-0,1,2,3 SIDs and names. S-1-3 doesn't exist.Luke Leighton1-2/+3
security descriptor testing. hey wow, you can get a SD then send it back! (This used to be commit 7466c3113ef8f8a89b8496efadfeb611c9f3e069)
1998-11-12cleaning up conflicts between group code not yet committed andLuke Leighton1-6/+18
changes from yesterday by me, jeremy and andrew. jeremy, your ACB_PWNOTREQ mod would have caused a crash if the user didn't exist (first check should be for smb_pass != NULL) (This used to be commit cbac0f165d351ba9497c222e55e453d781376e58)
1998-11-12security descriptors and registry.Luke Leighton1-1/+1
(This used to be commit 9814ac8a65f4d8333527976f1d227e8cd3c2c8ce)
1998-11-12extracted the password change code from smbpasswd and used it in swatAndrew Tridgell1-0/+11
instead of opening pipes and other horrible stuff. (This used to be commit 49bf19710345a59a2d17cd449be1a132885ed821)
1998-11-12largely rewrote smbpasswd so that the code is understandable. ThisAndrew Tridgell2-14/+14
should allow us to call a function in swat rather than piping to smbpasswd. while doing this I also fixed quite a few "const char *" versus "char *" issues that cropped up while using const to track down bugs in the code. This led to changes in several generic functions. The smbpasswd changes should be correct but they have not been extensively tested. At least if I have introduced bugs then we should be able to fix them more easily than before. (This used to be commit 713864dd0322ae2ae2d83e333d85be35a7eed4ec)
1998-11-12Moved some code (NTLMSSPcalc) out of smbdes and inline for paranioaJeremy Allison1-1/+0
resons and my own piece of mind... Jeremy. (This used to be commit 45131501f23ce1eec2f23fe2c1060cd5a2736ec9)
1998-11-12Added the security changes suggested by Andrew - become theJeremy Allison1-0/+1
user that authenticated to swat permanently (if not root). Jeremy. (This used to be commit 7d55bf379177a4a448e39577ae0af603d5e958f6)
1998-11-11changed is_root() to am_root() to prevent clash with variable names.Andrew Tridgell1-1/+1
(This used to be commit 52f47b8d2ef5ee64e2f8dcfeb6840071e57904d1)
1998-11-11rpc_server/srv_netlog.c: Fixed crash bug with ACB_PWNOTREQ.Jeremy Allison1-0/+2
script/makeyodldocs.sh: Added code to make text docs for non-man page YODL docs. web/cgi.c web/swat.c: SGI compiler warnings fixed. Jeremy. (This used to be commit 80e0f7e1071f032c5004aecb01a91d1397e6a161)
1998-11-11security descriptor info, provided by jean-francoisLuke Leighton3-13/+64
(This used to be commit 719382a5579e8798812bbccd14a4c1ffd9003f7a)
1998-11-11clearing up security descriptorLuke Leighton3-15/+13
(This used to be commit abdc9d790b7d27b70aaf88451f5c82c99c94ca6e)
1998-11-11changed syntax of registry commands so keys can start with HKLM or HKU.Luke Leighton3-9/+12
sorted lookupsids command (This used to be commit 13a0ee851fe0ce9acddfe57f9aba19fc78085c39)
1998-11-11registry delete value command: "regdeleteval".Luke Leighton2-1/+26
this is just so unbelievably simple to do... (This used to be commit c05254a15076711d382a58b85b5f08bf81cb1560)
1998-11-11renamed unk_1b to flush_keyLuke Leighton2-11/+11
(This used to be commit ddfdb6534671a0e9bbbefe555a92925d41abaddf)
1998-11-11- renamed open_policy to open_hklm.Luke Leighton2-22/+32
- renamed open_unk_4 to open_hku - fixed createkey issue spotted by phil cox (This used to be commit 7df85b956787f02d022b34ef8cfc13fc967ae89c)
1998-11-10rpcclient registry key delete command: "regdeletekey".Luke Leighton2-0/+27
(This used to be commit 20987b6105d42f3404ff009cc27e73a1823cd495)
1998-11-10registry modification requires a "sync" or "refresh" on the parent key.Luke Leighton2-0/+20
opcode 0xb added to do this. a likely candidate name is "RegFlushKey". (This used to be commit 5e9567e3c7d4ee8624a448fcccfcd8003913dbbf)
1998-11-10include/local.h:Jeremy Allison4-24/+27
include/smb.h: param/loadparm.c: Made GUEST_SESSSETUP run time selectable. Horror of horrors :-). printing/printing.c: Added J.F.'s latest fix. rpc_parse/parse_misc.c: parse_reg.c: rpcclient/cmd_reg.c: rpcclient/display.c: SGI compiler signed/unsigned issues. smbd/reply.c: Made GUEST_SESSSETUP run time selectable. Horror of horrors :-). utils/testparm.c: Added extra test. Jeremy. (This used to be commit 9668a5ef50be2e6b575f9989e87ee2ff8da5ac1d)
1998-11-10oops!Luke Leighton1-0/+102
(This used to be commit cad5b1f1fb03e7b064040b7c5bef5cd86dd0e1ba)
1998-11-10rpcclient registry commands.Luke Leighton9-41/+446
(This used to be commit 36fcb4a6e643a05d06a2a273d74318fee7f2c647)
1998-11-10util functions split into relevant modules, first pass.Luke Leighton1-57/+93
(This used to be commit d448906e68cec5019fa83f7d31b862efff41e2da)
1998-11-09Makefile.in: Removed rpc_server/srv_ldap_helpers.c per J.F.'s instructions.Jeremy Allison2-38/+11
client/client.c: client/clitar.c: include/client.h: smbwrapper/smbw_dir.c: smbwrapper/smbw_stat.c: smbwrapper/smbw.c: lib/util.c: Converted all use of 'mode' to uint16. smbd/quotas.c: Fixed stupid comment bug I put in there :-(. printing/printing.c: Fix from J.F. to new code. Jeremy. (This used to be commit bacd3e9d2036a804e73644a28fc498f229c8446c)
1998-11-09I talked to Dave Miller and he thinks that we should have TCP_NODELAYAndrew Tridgell1-0/+8
on by default on OSes that support it, given the network IO pattern that Samba uses. He doesn't think it will cause problems. (This used to be commit 15016aa024854ca56ef20d1f29f54f9698a1911b)
1998-11-09converted smbclient to use clientgen.c rather than clientutil.cAndrew Tridgell1-18/+18
I did this when I saw yet another bug report complaining about smbclient intermittently missing files. Rather than applying more patches to smbclient it was better to move to the more robust clientgen.c code. The conversion wasn't perfect, I probably lost some features of smbclient while doing it, but at least smbclient should be consistent now. It if fails it should _always_ fail rather than giving people the false impression of a reliable utility. the tar stuff seems to work, but hasn't had much testing as I never use it myself. I'm sure someone will find bugs in my conversion of smbtar.c. It was quite tricky as it did a lot of its own SMB calls. It now uses clientgen.c exclusively. smbclient is still quite messy, but at least it doesn't build its own SMB packets. I haven't touched smbmount as I never use it. Mike, do you want to convert smbmount to use clientgen.c? (This used to be commit e14ca7765ace1b721dad8eca4a527a4e4a8f1ab8)
1998-11-06lib/charcnv.c: Improved debug comment.Jeremy Allison1-1/+1
libsmb/namequery.c: Fix to remove 2 second wait is we are doing a unicast and got a reply. smbd/dfree.c: smbd/noquotas.c: smbd/quotas.c: Fixes from Dejan Ilic <svedja@lysator.liu.se> for the quota code. utils/smbpasswd.c: Fixes to allow smbpasswd to be called from swat. Jeremy. (This used to be commit b5981c0149ad8c6f13ea87db450080616538b5d5)
1998-11-03Makefile.in configure configure.in include/proto.h smbd/noquotas.c ↵Jeremy Allison1-9/+4
smbd/quotas.c: Added quotas patch for autoconf from Dejan Ilic <svedja@lysator.liu.se>. printing/printing.c: Filenames with spaces patch from Allan Bjorklund <allan@umich.edu> utils/nmblookup.c: Fix usage() function. smbd/reply.c: Split out the security=server and security=domain checks into check_server_security() and check_domain_security() to aid the writing of the 'hack' appliance mode invented by John Schimmel. Jeremy. (This used to be commit f09ab9b52251087a58af92ec753537ca34a970fc)
1998-10-29looks like someone forgot to commit these...Alexandre Oliva2-1/+4
(This used to be commit 93b195d1e9490fb0e4310532fd15ab376f08aba5)
1998-10-28Still moving things around. debugparse.h will be removed from the includeChristopher R. Hertel3-85/+2
directory in the next batch. Chris -)----- (This used to be commit 81f64d89924523279a2dcbe53d5355f3dd56b5ff)
1998-10-28Quick fixes to fix the broken tree. Needed for my morning compiles.Jeremy Allison3-4/+9
Chris - feel free to fix these things differently if these fixes don't work for you. Jeremy. (This used to be commit 1f225abfbe6b021b589711c2e4c599a63050c5b2)
1998-10-28fixed problem with snprintf.c and mkprotoAndrew Tridgell1-0/+9
(This used to be commit 99430ce899c02b95ab3c577afff7f28c6d5c6c45)
1998-10-26Here is the simple debug parser and the debug2html converter. Still to do:Christopher R. Hertel1-0/+74
* Debug message filtering. * I need to add all this to Makefile.in (If it looks at all strange I'll ask for help.) If you want to compile debug2html, you'll need to do it by hand until I make the changes to Makefile.in. Sorry. Chris -)----- (This used to be commit fae161b9051c3ea8aa129bdb3df11d215007723d)
1998-10-24volker was concerned about unique inode numbers and smbsh. This set ofAndrew Tridgell3-12/+21
changes uses the unique index number from a SMB_QUERY_FILE_ALL_INFO to try to provide inode numbers. If it is 0 then use the hash of the filename as before. (This used to be commit 2565ccf9de9d5e80fdb5bcadbc7130faba386d95)
1998-10-24make sure that apps can't close one of the internal smbw fileAndrew Tridgell1-0/+2
descriptors by catching close attempts on those fds and returning EBADF. (This used to be commit 9d863fb1681a5b03696552e1d93fe339b4bae455)
1998-10-23added domain and local group structures. names may have to be 256 charsLuke Leighton2-16/+60
long not 128 (fstring) length. (This used to be commit 1e96e14e790e733bbd182a828b0db8727fead2a2)
1998-10-23Reasonably large change to give us *exactly* correct NT delete on close ↵Jeremy Allison2-6/+14
semantics. This was trickier than it looks :-). Check out the new DELETE_ON_CLOSE flag in the share modes and the new code that iterates through all open files on the same device and inode in files.c and trans2.c Also changed the code that modifies share mode entries to take generic function pointers rather than doing a specific thing so this sort of change should be easier in the future. Jeremy. (This used to be commit 5e6a7cd99d29d1cf068fc517272559c1cf47ea3a)
1998-10-23don't enable smbsh/smbwrapper on systems where we can't work out howAndrew Tridgell1-0/+1
to generate PIC code (This used to be commit a66c56d70e7e663f3a19cbfcc2e704653d8fc9b2)
1998-10-23include/smb.h: Added #defines for lots of things - makes our code a *lot* ↵Jeremy Allison2-4/+45
easier to read. lib/util.c: Fixed Luke's set_first_token() function - should return void. smbd/close.c: Move delete_on_close into file_fd_struct structure. smbd/ipc.c: Changed local_machine back to fstring. smbd/nttrans.c: Use defines for mapping share modes. smbd/open.c: Move delete_on_close into file_fd_struct structure, added code for ALLOW_SHARE_DELETE. smbd/reply.c: Use defines for mapping share modes. smbd/trans2.c: Move delete_on_close into file_fd_struct structure. Jeremy. (This used to be commit 8e1ce307bd6a9056b4a95fe6f52ff42dc6e03a08)
1998-10-22torture debug.Luke Leighton1-1/+0
(This used to be commit 97609596647dea39c061bdf972411a86f7294521)
1998-10-22rpctorture commandLuke Leighton1-0/+1
(This used to be commit b4ae65e2d0582274d67d02ea190f6d3d83b48594)
1998-10-22bug fix in lsa_trans_names.Luke Leighton1-1/+2
well-known aliases S-1-5-20 is actually S-1-5-0x20 but sid_to_string does decimal not hexadecimal oops. (This used to be commit 4d830e243650729344a2d1b238075e787802ff8b)
1998-10-21domain aliases added a bit better: does local aliases if you queryLuke Leighton2-22/+24
for sid S-1-5-20 and does (nothing at the moment) if you query for your own sid. (This used to be commit da40f26f4b2f7ce286076b4e39dffd76aa2ef8e6)
1998-10-21the next dialog: user-groups. it's not very sensible what appears, but hey:Luke Leighton3-8/+58
it appears! (This used to be commit 399035098f212e976cc0000a215e0705ebe78c05)
1998-10-21Fixed mainly signed/unsigned issues found by SGI cc in -fullwarn mode.Jeremy Allison1-6/+6
smbd/chgpasswd.c: Fixed (my) stupid bug where I was returning stack based variables. Doh ! smbd/trans2.c: Allows SETFILEINFO as well as QFILEINFO on directory handles. Jeremy. (This used to be commit 0b44d27d0b5cc3948a6c2d78370ccddf1a84cd80)
1998-10-21fixing smbd encrypted rpcs (data lens, alloc hints, sequence nums argh).Luke Leighton1-1/+2
put unicode strings after SAMLOGON query regardless of whether it's an NT mailslot or a non-NT mailslot, after having observed this behaviour out of NT machines. (This used to be commit c101113ec20ed0ba633e78e4ee45596cdccaf1b5)
1998-10-21at the interop Isaac (at least I _think_ it was Isaac) said that if aAndrew Tridgell1-0/+4
MS client doesn't respond to a oplock break request then we might try resending the request. This morning Sues Win95 machine had this problem (thus forcing me to do something about it!). When starting winword her box refused to answer an oplock break request. I have added code to resend the oplock break request up to 3 times at 10 second intervals before killing the socket. of course, as soon as I did this her box started to behave again so I haven't been able to tell if this fix actually works, but it can't be worse than dropping the socket immediately. (This used to be commit a1c4d8351b9171416693e6d7a9045bdce9217edb)
1998-10-20Fixed bug found by John Blair where trim_string wasn'tJeremy Allison1-0/+1
correctly trimming trailing multibyte code page strings. Jeremy. (This used to be commit dbdbce29f56d03f6abf1ee3d96ca2032e688dcbc)
1998-10-20some quite important bug-fixes i missed because i transferred the wrongLuke Leighton2-1/+2
smb.tgz file from my portable. particularly the call to mem_data followed by a realloc of that data in cli_pipe.c's rpc_read() function. smbd responses now use p->rdata_i which is a faked-up pointer into p->rdata's response data. rdata can be very long; rdata_i is limited to point to no more than max_tsize - 0x18 in length. this will make it an almost trivial task to add the encrypted rpc headers after rdata_i, and mem_buf_copy will cope admirably with rhdr chained to rdata_i chained to auth_verifier etc etc... (This used to be commit 05a297e3a98c14360782af4ad0d851638fb5da9a)