summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
1997-12-03slight cleanup to the linked list handlingAndrew Tridgell2-29/+20
(This used to be commit 97b62b347648411d034ab91845ae607eca4dfad6)
1997-12-03put the default PRINTCAP_NAME def in includes.h not local.h so thatAndrew Tridgell2-17/+17
it can see the SYSV definitions (This used to be commit e439115366804982af6faba75714dbe2626edead)
1997-12-03applied a patch from Norm Jacobs to allow "printcap name = lpstat"Andrew Tridgell4-9/+150
to use lpstat to obtain the printer list on systemV systems. I've now made this the default on all SYSV systems. Jeremy, you were a little worried about the security of this patch. I believe it's OK as the user has no control over the options given to popen() and the pipe is only open for reading. (This used to be commit 6a83de0ae954bb18d3f15382f2b0b3259fedff09)
1997-12-03change the "username map" option to allow the user to stop theAndrew Tridgell1-0/+12
processing part way through the file if a match is found. If a line starts with ! and a match is made by that line then processing stops. This allows better wildcard handling. (patch from Anselm.Kruis@Physik.Uni-Muenchen.DE) (This used to be commit af57bc05fe0f248aaef329358c583abcffe1657c)
1997-12-03allow local_machine and remote_machine (%L and %m macros) to containAndrew Tridgell1-6/+2
spaces (This used to be commit 93f0619e049d1598db0c3022aeccf33910b0550f)
1997-12-03loadparm.c: Added lp_we_are_a_wins_server as an alias for lp_wins_support.Jeremy Allison2-0/+2
Used by the new nmbd and just makes more sense :-). Jeremy. (This used to be commit 7a2a45eae2e9a930d3243498d4e66cc2f5e4d370)
1997-12-03add a warning if the timezone is not a multiple of 1 minute. ThisAndrew Tridgell1-0/+5
should catch broken timezone files in slackware linux. (This used to be commit ce37bd9dcaeaf0c5e97845954342762ebaf43b10)
1997-12-03allow users to disable the NetWkstaUserLogon call in server levelAndrew Tridgell2-0/+12
security by changing a setting in local.h or adding it to their Makefile. See comment in local.h (This used to be commit cc10fdf7583ec644850445ad96afd8b22b71e86f)
1997-12-03make the "printing" option a per share option rather than global. WhenAndrew Tridgell3-7/+7
printing to lots of different sorts of remote printers this is useful (This used to be commit 7a88bed4a5ca8afe1f2836f7f9a019db01bf998e)
1997-12-03I'm slowly getting though the todo list :-)Andrew Tridgell2-3/+8
This change allows people to select the SYSLOG_FACILITY in local.h, or add it to the Makefile if they want to. (This used to be commit afe88facbfb85113105bf516e066b6c1e971f6b7)
1997-12-03hopefully handle "ready and waiting" messages in print queue output aAndrew Tridgell1-0/+3
little better (This used to be commit 465edceecf86cafd225e5662b01242f87f0bd603)
1997-12-03fix toupper(c) on a already uppercase char and tolower(c) on anAndrew Tridgell1-0/+2
already lowercase char when using code pages. Jeremy, can you confirm that this looks right? It comes from PR#1992 (This used to be commit 157fde339695d3185ecf857187e981edd06a8b65)
1997-12-02fixed the help message for -p (someone complained!)Andrew Tridgell1-1/+1
(This used to be commit c779ed654ec7d9f1fc870476a05d2294e8c0faea)
1997-12-02add the null string to SMBsetatr callsAndrew Tridgell1-1/+3
(This used to be commit fbb2be050ded099741345a101ba13e6b12ebc823)
1997-12-02changing the comment in find_new_file() to say why a base of 1 is usedAndrew Tridgell1-2/+1
(This used to be commit 2b0f3fd14908411472be032ad09144cb71c55479)
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)