summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* add the null string to SMBsetatr callsAndrew Tridgell1997-12-021-1/+3
|
* changing the comment in find_new_file() to say why a base of 1 is usedAndrew Tridgell1997-12-021-2/+1
|
* the default GUEST_ACCOUNT should be here not in smb.hAndrew Tridgell1997-12-021-0/+6
|
* HPUX trusted systems need to use bigcrypt() not crypt()Andrew Tridgell1997-12-021-0/+4
|
* get rid of some things out of smb.h that are already in local.hAndrew Tridgell1997-12-021-12/+0
|
* dont try getpeername() when Client isn't initialisedAndrew Tridgell1997-12-021-0/+8
|
* asyncdns.c: Removed warning when compiling with -DSYNC_DNS.Jeremy Allison1997-12-024-22/+11
| | | | | | | nameelect.c: Tidied up settings of work->ServerType when unbecoming things. nmbd.c: Fixed pidFile warning. server.c: Fixed pidFile warning. Jeremy.
* remove stutter from closing instructionsHerb Lewis1997-12-011-2/+2
|
* clientgen.c: Added cli_mv() (used in a recent torture test).Jeremy Allison1997-11-304-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.
* don't display locks for dead processes in smbstatusAndrew Tridgell1997-11-292-5/+9
|
* use -1 not 0xffffffff in SIVALS() macrosAndrew Tridgell1997-11-292-27/+5
| | | | | use the same process_exists() code on all systems (it's probably faster anyway)
* added a sent_oplock_break element to Files[] as a paranoia check so weAndrew Tridgell1997-11-294-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
* pass the mailslot name to process_logon_packet()Andrew Tridgell1997-11-283-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?
* get_entries is an int not a boolAndrew Tridgell1997-11-281-1/+1
|
* preparing for release of 1.9.18alpha12Samba Release Account1997-11-281-1/+1
|
* there was a bug in my oplock bugfix :-)Andrew Tridgell1997-11-281-3/+3
| | | | It's fixed properly now :-)
* fixed a very nasty oplock bug. We could send oplock break requests onAndrew Tridgell1997-11-281-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!
* oh no! my favourite hack is broken. You can't do:Andrew Tridgell1997-11-261-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.
* get rid of stat command (it is a hangover from an old experiment)Andrew Tridgell1997-11-251-38/+0
|
* added cli_rmdir and cli_mkdirAndrew Tridgell1997-11-243-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
* added a SMB_QUERY_FILE_ALL_INFO test into smbtortureAndrew Tridgell1997-11-232-1/+70
| | | | W95 doesn't seem to support this call.
* added some QPATHINFO and QFILEINFO tests into smbtorture.Andrew Tridgell1997-11-234-12/+174
| | | | | This tests for things like midnight access times, sticky create times and word reversed INFO_STANDARD returns
* test SMBsetatr as wellAndrew Tridgell1997-11-233-11/+75
|
* minor wsmbconf and cgi changesAndrew Tridgell1997-11-233-44/+60
|
* added a test for the NT SMBgetatr bug in smbtortureAndrew Tridgell1997-11-233-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 new cgi code includes the ability to act as a mini web server,Andrew Tridgell1997-11-222-134/+1020
| | | | | allowing people to use web configuration of Samba without installing a web server
* fixed some typecasts of (char *) to (unsigned char *)Andrew Tridgell1997-11-221-4/+4
|
* the usual :-)Andrew Tridgell1997-11-221-2/+2
|
* added true enumerated types in loadparm.c. Now we don't need all thoseAndrew Tridgell1997-11-225-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.
* Just fixed a *serious* bug in nameelect.c to do with localJeremy Allison1997-11-211-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.
* Added in mods for new smb.conf "remote browse sync" option as posted toJohn Terpstra1997-11-214-0/+40
| | | | the samba-1.9.17 tree moments ago.
* use LocTimeDiff() not TimeDiff() to ensure that longdate conversion isAndrew Tridgell1997-11-211-1/+2
| | | | consistent (this is really just a cosmetic change)
* added some debug lines to the rename codeAndrew Tridgell1997-11-201-4/+13
|
* changed nmblookup to only set recursion_desired in queries if the -RAndrew Tridgell1997-11-192-4/+10
| | | | option is used.
* ipc.c: Changed reply_trans to use receive_next_smb() to copeJeremy Allison1997-11-185-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.
* don't do the 255.255.255.255 mapping for group names if the name typeAndrew Tridgell1997-11-181-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.
* loadparm.c : Added "veto oplock files" parameter.Jeremy Allison1997-11-176-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.
* added code to test the cli_NetServerEnum() function in clientgen.cAndrew Tridgell1997-11-111-0/+38
|
* fixed a bug which caused nmbd to core dump. The problem was incorrectAndrew Tridgell1997-11-111-2/+2
| | | | parameters to cli_NetServerEnum()
* Left global_oplock_break set while request to break oplock isJeremy Allison1997-11-111-4/+5
| | | | | | outstanding to client. Done to allay Andrews' fears about readbraw crossing on the wire :-). Jeremy.
* auto-create the locks directory on startupAndrew Tridgell1997-11-112-0/+8
|
* Removed pwd_validate.c as no longer in main branch.Jeremy Allison1997-11-101-276/+0
| | | | Jeremy
* Rolled back tree state to 11:59pm 8th November 1997 EST toJeremy Allison1997-11-1015-517/+354
| | | | | remove problems. Jeremy
* byteorder.h :Luke Leighton1997-11-093-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
* attempting to mark up 32 bit error codes, needed for NT domains.Luke Leighton1997-11-0915-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*.
* mod_smbpasswd() was junking the smbpasswd file...Luke Leighton1997-11-081-97/+99
| | | | uninitialised variable warnings.
* a few more tests added, including one that tests whether the serverAndrew Tridgell1997-11-081-1/+157
| | | | | understand the full range of byte offsets in locking requests. Samba doesn't (due to the 31 bit limitation in fcntl locking)
* added two more sets of tests to the smbtorture test. The tests I addedAndrew Tridgell1997-11-083-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.
* local time discrepancies between the date on my computer and the date onLuke Leighton1997-11-071-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.
* ipc.c :Luke Leighton1997-11-074-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.