summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
1997-12-02the default GUEST_ACCOUNT should be here not in smb.hAndrew Tridgell1-0/+6
(This used to be commit 13c2f432d61381a055378d303dfc8806ea4eea42)
1997-12-02HPUX trusted systems need to use bigcrypt() not crypt()Andrew Tridgell1-0/+4
(This used to be commit 979eaf9e9c4dd58f1371597585d4cd64841febd0)
1997-12-02get rid of some things out of smb.h that are already in local.hAndrew Tridgell1-12/+0
(This used to be commit d55df52487ca6786f1635276b2787857a772219a)
1997-12-02dont try getpeername() when Client isn't initialisedAndrew Tridgell1-0/+8
(This used to be commit a32ca542ad294ecc3848ca511337a8cc994d67be)
1997-12-02asyncdns.c: Removed warning when compiling with -DSYNC_DNS.Jeremy Allison4-22/+11
nameelect.c: Tidied up settings of work->ServerType when unbecoming things. nmbd.c: Fixed pidFile warning. server.c: Fixed pidFile warning. Jeremy. (This used to be commit 94d53dcac5d06e48be5cea9d54625da795f62d20)
1997-12-01remove stutter from closing instructionsHerb Lewis1-2/+2
(This used to be commit 358fcbf2e4ca274d7ef34e3cac0bc7fd72732ec5)
1997-11-30clientgen.c: Added cli_mv() (used in a recent torture test).Jeremy Allison4-24/+96
reply.c: Changed reply_open_and_X to split out the oplock request bits from core and extended and if an oplock was granted only set the corresponding bit on reply. server.c: Added code to dynamically allocate i/o buffers in oplock_break (prevents recursion problems) , also made reset of sent_oplock_break explicit. Jeremy. (This used to be commit 16e55ee2b8be9a4210d8cf87691cdf42373759d2)
1997-11-29don't display locks for dead processes in smbstatusAndrew Tridgell2-5/+9
(This used to be commit c7df484ef6d746fb1f5b53007ee04fa54e5f2223)
1997-11-29use -1 not 0xffffffff in SIVALS() macrosAndrew Tridgell2-27/+5
use the same process_exists() code on all systems (it's probably faster anyway) (This used to be commit 901b95aa77ac1ecc45823c23fb4e1d9da8dc8318)
1997-11-29added a sent_oplock_break element to Files[] as a paranoia check so weAndrew Tridgell4-11/+26
can't sent a oplock break twice on the same file. changed some debug levels in the oplock code to level 0 so we can track down a bug zero the returned Files[] entry in find_free_file() don't try to overcome client bugs in the handling of non-encrypted passwords if in server level security mode added paranoid null termination of password buffers slight change to my ajt_panic() routine (This used to be commit e360c79c9cec681c4609783019749773d3e79386)
1997-11-28pass the mailslot name to process_logon_packet()Andrew Tridgell3-24/+38
- fixed process_logon_packet() to always send the reply to/from the correct netbios name (it should match the query) - only do a NT style QUERYFORPDC if the query came in on a NT_LOGON_MAILSLOT Luke, can you check to see if these changes work in your branch with NT logons? (This used to be commit e89611985b35155770648c8f16ddd19acfb5ee13)
1997-11-28get_entries is an int not a boolAndrew Tridgell1-1/+1
(This used to be commit 84215c9b91f3c5130b172a3bbc83c7ddd66c5cb8)
1997-11-28preparing for release of 1.9.18alpha12Samba Release Account1-1/+1
(This used to be commit 9cac33a13dc7c4890628436b80f6cbd8361deab2)
1997-11-28there was a bug in my oplock bugfix :-)Andrew Tridgell1-3/+3
It's fixed properly now :-) (This used to be commit a6a04b5c6cd35e4b5f4dd4522775961e6315c658)
1997-11-28fixed a very nasty oplock bug. We could send oplock break requests onAndrew Tridgell1-3/+4
files that aren't open if the file happened to close while the oplock was in transit. We would end up sending a oplock break request on another random file (actually the open file that happened to have the highest fnum). Then we wouldn't get a response, so smbd would keep sending and would actually flood the net with an infinite number of oplock break requests! (This used to be commit 0da20e0aecbf3e59bdc649c489a18832403dc9b2)
1997-11-26oh no! my favourite hack is broken. You can't do:Andrew Tridgell1-1/+1
[%U] path = %H to get a new homes area. I wonder when it broke? Anyway, I've fixed it. We can all rest easy now, knowing that you really can produce an incomprehensible smb.conf and get it to work. (This used to be commit 2245da4ad6674aa373e3057c661f5bc0315e191f)
1997-11-25get rid of stat command (it is a hangover from an old experiment)Andrew Tridgell1-38/+0
(This used to be commit 8ced76c4c71c67c54bf0deedff5a7adfca04e4f3)
1997-11-24added cli_rmdir and cli_mkdirAndrew Tridgell3-6/+114
added test in smbtorture for the server updating the directory modify time when a file is added to a directory cleanup in smbtorture so no garbage files are left on the server (This used to be commit 3a5e07f1e994396853e6340e8ef3f4d12bb0243e)
1997-11-23added a SMB_QUERY_FILE_ALL_INFO test into smbtortureAndrew Tridgell2-1/+70
W95 doesn't seem to support this call. (This used to be commit 162947c6e672580216c6223a44d25b874f0487ab)
1997-11-23added some QPATHINFO and QFILEINFO tests into smbtorture.Andrew Tridgell4-12/+174
This tests for things like midnight access times, sticky create times and word reversed INFO_STANDARD returns (This used to be commit 89141de14edf9e46ab279d2a74a9b026716a0ba8)
1997-11-23test SMBsetatr as wellAndrew Tridgell3-11/+75
(This used to be commit 2f29c24ba721e417828efca57011ed45892191a5)
1997-11-23minor wsmbconf and cgi changesAndrew Tridgell3-44/+60
(This used to be commit bca9c49e6f24c2ee79cbb9b6ebf69d6647146fc1)
1997-11-23added a test for the NT SMBgetatr bug in smbtortureAndrew Tridgell3-20/+115
added support for choosing the protocol level in smbtorture (-m option) use -1 for null date in cli_close() get the attributes right in cli_open() (This used to be commit d64d40a6ec57a4a999ae1f39175bcfd86ccb196e)
1997-11-22this new cgi code includes the ability to act as a mini web server,Andrew Tridgell2-134/+1020
allowing people to use web configuration of Samba without installing a web server (This used to be commit b4e05c360e77cbf27a95920b613bfe6bc874ea1b)
1997-11-22fixed some typecasts of (char *) to (unsigned char *)Andrew Tridgell1-4/+4
(This used to be commit c98ba8c748bd852ff609cec5510cd5a013f51fd2)
1997-11-22the usual :-)Andrew Tridgell1-2/+2
(This used to be commit d6467d44b14f4bc683b839d520b4df38719bf2c0)
1997-11-22added true enumerated types in loadparm.c. Now we don't need all thoseAndrew Tridgell5-389/+347
"interpret_security" and similar functions. This also means that testparm produces string values for these enumerated types rather than an integer. This was done to make the web interface much cleaner. While I was doing this I found a couple of very nasty bugs in the parm_table code. Someone had added a handle_character_set() function that treated the char** pointer for a P_STRING as an integer! This would have caused memory corruption for anyone using the "character set" option. The loadparm code is delicate - please be careful about using it's more esoteric features! I've also removed the "coding system" global and made it a P_STRING. The integer value was never used anywhere in Samba. (This used to be commit bac6b0daa288e879330e3d585582122bb93a1ffb)
1997-11-21Just fixed a *serious* bug in nameelect.c to do with localJeremy Allison1-0/+1
master browsers. Once we have become a local master, we would *NEVER* stop announcing ourselves as such. This has serious implications for the new nmbd code. Jeremy. (This used to be commit 8e8d239d9e112bf1eb32f4ec1657ff505a34d934)
1997-11-21Added in mods for new smb.conf "remote browse sync" option as posted toJohn Terpstra4-0/+40
the samba-1.9.17 tree moments ago. (This used to be commit 2ee25cd117a116d0304960780d6c197f39d25a3d)
1997-11-21use LocTimeDiff() not TimeDiff() to ensure that longdate conversion isAndrew Tridgell1-1/+2
consistent (this is really just a cosmetic change) (This used to be commit 30b84bb68bfbfb022decc36c1b4869a39a06e556)
1997-11-20added some debug lines to the rename codeAndrew Tridgell1-4/+13
(This used to be commit ee3042eefb47bbdbefc83ab3f0f407c7dea4d8a0)
1997-11-19changed nmblookup to only set recursion_desired in queries if the -RAndrew Tridgell2-4/+10
option is used. (This used to be commit 4561b8242e12c63401d008e7fdb2442457bd366d)
1997-11-18ipc.c: Changed reply_trans to use receive_next_smb() to copeJeremy Allison5-9/+61
with local message processing. reply.c: Added check to reply_lockingX for chain after oplock break. server.c: Added receive_next_smb(). trans2.c: Changed reply_trans2 to use receive_next_smb() to cope with local message processing. (This used to be commit f4ae644e13f2c4479dfc94c77c0a8295edf54086)
1997-11-18don't do the 255.255.255.255 mapping for group names if the name typeAndrew Tridgell1-1/+1
is 0x1c. This allows remote logon servers when using a Samba WINS server. I did some experiments with a real NT WINS server and this behaviour is much closer to being correct. It will only be totally correct when we add proper group name support. (This used to be commit c43b7e29baea84e18b07f2d8bfdb2628b86fd59c)
1997-11-17loadparm.c : Added "veto oplock files" parameter.Jeremy Allison6-6/+26
make_printerdef.c: Fixed warning. quotas.c: Fixed irix root errors. server.c: Fixed oplock reference count bug. smb.h: Added IS_VETO_OPLOCK_PATH(). Jeremy. (This used to be commit c28487df63e29bc0f8d2ece876a07a2a076d4c73)
1997-11-11added code to test the cli_NetServerEnum() function in clientgen.cAndrew Tridgell1-0/+38
(This used to be commit 4933ba49b55a9a438b006c977c7ab6f5960065a3)
1997-11-11fixed a bug which caused nmbd to core dump. The problem was incorrectAndrew Tridgell1-2/+2
parameters to cli_NetServerEnum() (This used to be commit 628d5895aa8a6add1a76bcf2561d01881b7c8c63)
1997-11-11Left global_oplock_break set while request to break oplock isJeremy Allison1-4/+5
outstanding to client. Done to allay Andrews' fears about readbraw crossing on the wire :-). Jeremy. (This used to be commit 2fe8a730d9eeadca22ed1424014181e193ce3d52)
1997-11-11auto-create the locks directory on startupAndrew Tridgell2-0/+8
(This used to be commit a0ab8fe54c27d9f25266c5abfd60458827500dfd)
1997-11-10Removed pwd_validate.c as no longer in main branch.Jeremy Allison1-276/+0
Jeremy (This used to be commit 5a4a936b2c1eb6659980c69f6d05b45b14e63735)
1997-11-10Rolled back tree state to 11:59pm 8th November 1997 EST toJeremy Allison15-517/+354
remove problems. Jeremy (This used to be commit 4a36ac236c2ad634f05efcd0179875d09988614a)
1997-11-09byteorder.h :Luke Leighton3-47/+89
typecasting for the debug messages of the data dump. hm. #ifdef NTDOMAIN ntclient.c rpc_pipes/lsaparse.c rpc_pipes/ntclientnet.c rpc_pipes/smbparse.c : adding "Net Server Password Set" functionality to smbclient. #endif (This used to be commit ad43183d2dd62a808c9fba03f81562362d4de713)
1997-11-09attempting to mark up 32 bit error codes, needed for NT domains.Luke Leighton15-322/+731
separated out smb server-mode password validation into a separate file. added called and calling netbios names to client gen state: referenced section in rfc1002.txt. created workstation trust account checking code in ntclient.c there might be a bug in reply_session_setup_andX. i indented and added { } around single-line if statements: the lm password checking code now doesn't look right (around the GUEST_SESSSETUP bits). *no code semantics have been changed by the indentation process*. (This used to be commit f27966957fa7f16d337a4a58719239d036deab4c)
1997-11-08mod_smbpasswd() was junking the smbpasswd file...Luke Leighton1-97/+99
uninitialised variable warnings. (This used to be commit 1b0bd98bb3bfd3d8cd02e8983e825199e839ec05)
1997-11-08a few more tests added, including one that tests whether the serverAndrew Tridgell1-1/+157
understand the full range of byte offsets in locking requests. Samba doesn't (due to the 31 bit limitation in fcntl locking) (This used to be commit af1f408a05a42a7ec5c2f4cc5b67c08b3c6cf61f)
1997-11-08added two more sets of tests to the smbtorture test. The tests I addedAndrew Tridgell3-52/+295
are ones that I know Samba fails. They are: 1) correct support for retaining locks over a close (ie. the server must not use posix semantics) 2) support for lock timeouts 3) the server supports multiple locking contexts on the one SMB connection, distinguished by PID. 4) the server correctly fails overlapping locks made by the same PID (this goes against POSIX behaviour, which is why it is tricky to implement) 5) the server denies unlock requests by an incorrect client PID I've been discussing with Jeremy ways that we can re-implement the locking code to handle these correctly. This test code will be useful to see that we have got it right. (This used to be commit 097781e2992f12c545170c82ada2f4023a9784f5)
1997-11-07local time discrepancies between the date on my computer and the date onLuke Leighton1-2/+2
chris' computer (probably about four minutes) meant that chris' commits didn't get downloaded when i did a cvs update. therefore, i did a cvs update; make proto; cvs commit, and still got problems. so, five minutes later, i do a cvs update, and _then_ chris' server.c and mangle.c mods get downloaded, and i have to do another make proto. this particular problem has hit us *really* badly in the past, because i was taking files home (onto a portable that i hadn't reset the time on since i went to the states) and then recopying them back onto the computer here. if i do this, i do a touch *.c *.h; cvs -t update. *then* a cvs commit. (This used to be commit edb9c52948159baa48d9decd253a401737bd5363)
1997-11-07ipc.c :Luke Leighton4-41/+74
added a #define around the alignment thing: it's a way to stop NetMonitor from decoding your packets!!!! proto.h : usual. reply.c : added what i believe to be the correct error messages for getting correct domain joining. smb.h : some guesses at good names of the SAMR_XXXX functions. sorting out the SAMR_LOOKUP_RIDS function. this is *not* the same as the LSA_LOOKUP_RIDS function, unless paul accidentally put it on the ntlsa pipe by mistake, instead of the samr pipe :-) rpc_pipes/lsa_hnd.c rpc_pipes/pipe_hnd.c : moved creation and allocation of unique policy handles into this module. rpc_pipes/pipesamr.c rpc_pipes/samrparse.c rpc_pipes/smbparse.c : SAMR_LOOKUP_RIDS is beginning to look _suspiciously_ like the LSA_LOOKUP_RIDS function. but i know that there are subtle discrepancies. (This used to be commit 6bc07b0b4193e28b13a675fece8d9d6b365a7eb0)
1997-11-07Modified Files:Christopher R. Hertel3-244/+319
mangle.c server.c proto.h mangle.c I am planning to replace the mangled_stack array with a proper stack, but found many style inconsistencies (no, really). As you might expect, I have standardized on my own preferences. ;) I also found a potential problem in create_mangled_stack (which I've renamed as reset_mangled_stack). If the stack size were passed into the function as 0 or less, there was the possibility that the array would have been freed twice. I doubt that this ever happens, but I don't like to leave holes. Of course, the fix will be irrelevent once I replace the array with a linked-list-based stack. server.c Changed the call to create_mangled_stack() to a call to reset_mangled_stack(). proto.h Regenerated to match the above changes. (A real comment! How unusual!) (This used to be commit 34d1b3e4fa7a1158f3a3c5c47adf0417c7144095)
1997-11-06ipc.c: Changing back arbitrary alignment change until I know *why*Jeremy Allison2-2/+2
luke changed it. proto.h: The usual. uid.c: Fix crash bug when attaching with smbclient -mCORE. A vuid pointer was being used when it was null. Jeremy. (This used to be commit ff94f97cf2b0f62cbbddbfd3d126df7f4d649334)