summaryrefslogtreecommitdiff
path: root/source3/Makefile.in
AgeCommit message (Collapse)AuthorFilesLines
2000-05-03added a nasty lock testing programAndrew Tridgell1-1/+10
it opens 2 connections to each of 2 servers, and opens 2 fnums on the same file on each connection (a total of 8 file descriptors) then it does random lock/unlock/reopen requests in a 100 byte range on the file and compares the results from the 2 servers. strangely enough, NT fails this test against itself right now - I'm still trying to figure that out. (This used to be commit 2f14d7c9bca5e170b8d2c169801cb200021fd467)
2000-04-30we don't need fnmatch.c any moreAndrew Tridgell1-1/+1
(This used to be commit e23f43e7d3d2a068f527baa63a31f7fe4e60e79d)
2000-04-30- removed all our old wildcard matching code and replaced it with aAndrew Tridgell1-1/+1
call to ms_fnmatch(). This also removes all the Win9X semantics stuff and a bunch of other associated cruft. - moved the stat cache code into statcache.c - fixed the uint16 alignment requirements of ascii_to_unistr() and unistr_to_ascii() - trans2 SMB_FIND_FILE_BOTH_DIRECTORY_INFO returns the short name as unicode always (at least thats what NT4 does) - fixed some errors in the in-memory tdb code. Still ugly, but doesn't crash as much (This used to be commit 03e9cea004bbba72161a5323cf3b4556c94aed8e)
2000-04-30YIPEE!!!!!Andrew Tridgell1-0/+1
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-04-29put tdb utility functions in a separate fileAndrew Tridgell1-1/+4
(This used to be commit 77009422a075300e5c07a3e75806a7dac47e2113)
2000-04-28Ok - this is the *third* implementation of this (third time's the charm :-).Jeremy Allison1-1/+1
This implementation keeps all POSIX lock records in a separate in memory tdb database only known about in locking/posix.c. In addition, the pending close fd's are also held in a tdb which has an array of fd's indexed by device and inode. The walk-split code uglyness has been moved to posix.c from brlock.c, which is the only place that needs to know about it, and the extra functions hacked into brlock to expose internal state have been removed. This implementation passes smbtorture locktest4, the only thing I need to check now for completeness is what to do about lock upgrade/downgrades which Win32 allows under some *very* strange circumstances. Jeremy. (This used to be commit 3f655de1c764b9ee1472a111621d4317f19f624d)
2000-04-25split clientgen.c into several partsAndrew Tridgell1-1/+5
the next step is splitting out the auth code, to make adding lukes NTLMSSP support easier (This used to be commit 10c5470835b43116ed48b3137c3b9cc867a20989)
2000-04-23Makefile.in change for split of printfsp.cAndrew Tridgell1-1/+2
(This used to be commit 980a81651a043f2281f6a8b863d31438212b584a)
2000-04-19split fsusage() into a separate module (to fix linking problems withAndrew Tridgell1-2/+2
spoolssd in tng) (This used to be commit e2eacdd74c369fbbcd118148149321e36f3d0010)
2000-04-17moved standard_sub() and friends into a separate moduleAndrew Tridgell1-1/+1
(This used to be commit 030ec8e71f9ef533b5d6aece01e67d357e23b7d2)
2000-04-16The following series of commits are for the new tdb based printingAndrew Tridgell1-7/+9
backend. This completely replaces our old printing backend. Major changes include: - all print ops are now done in printing/*.c rather than scattered all over the place - system job ids are decoupled from SMB job ids - the lpq parsers don't need to be nearly so smart, they only need to parse the filename, the status and system job id - we can store lots more info about a job, including the full job name - the queue cache control is much better I also added a new utility routine file_lines_load() that loads a text file and parses it into lines. This is used in out lpq parsing and I also want to use it to replace all of our fgets() based code in other places. (This used to be commit 0b686601593bdc05778dcf70c391efd4fe017df7)
2000-04-10removed the read prediction code from the head branch. I think theAndrew Tridgell1-1/+1
idea is fundamentally flawed anyway and it has been disabled for a long time. (This used to be commit 08de67ced40d563ee468f40faa81a88f12a1ecc1)
2000-04-10split out the lpq parsing code into a separate fileAndrew Tridgell1-2/+2
printing/lpq_parse.c getting ready for the new printing backend (This used to be commit 0ec1072e0143952139be64e8001582eadcc9f60e)
2000-04-10don't echo warning messages twiceAndrew Tridgell1-2/+2
(This used to be commit 64a3fd2bc5d84494a4aba044dc73ece4ef82dcd5)
2000-03-30I finally got sick of configure being run automaticaly when I run makeAndrew Tridgell1-2/+2
clean or in other situations. That then screws up options I pass to configure and is generally annoying. Instead the Makefile now emits a warning if configure needs rerunning, but doesn't actually run it. don't re-enable the auto running of configure on pain of death :) (This used to be commit ea769a280fa85b09463f6bb6e5fc9eaba5641a62)
2000-03-13Adding libtool support to HEAD branch. We're going to need this forTim Potter1-1/+21
various things yet to be merged from TNG. The smbwrapper stuff should probably be ported across too. (This used to be commit b183c24220154b33fbb1c1712d1ef819ef4e1290)
2000-03-09Big update moving the multi-pdu support from 2.0.x into HEAD for JFJeremy Allison1-1/+1
and the printer functions. Also tidied up some header includes and got the order right so you can now do a : make proto make clean make Jeremy. (This used to be commit 833cd9fba92e4ad5297b235d108dd2be8c17079b)
2000-03-08dded Microsoft Dfs services.Shirish Kalele1-1/+3
* added a new msdfs/ directory under source/ * added msdfs sources under this directory. * modified configure setup to add a --with-msdfs configure time option Modified Files: Makefile.in acconfig.h configure configure.in include/config.h.in include/includes.h include/proto.h include/smb.h include/smb_macros.h param/loadparm.c smbd/negprot.c smbd/nttrans.c smbd/process.c smbd/reply.c smbd/server.c smbd/trans2.c Added Files: include/msdfs.h msdfs/README msdfs/msdfs.c msdfs/msdfs_tdb.c msdfs/parse_dfs_map.c ---------------------------------------------------------------------- (This used to be commit 4684b4a188b54493dbe7f0de2909a8d3c5c3ebf9)
2000-03-01Added new codepage from Ded Marazm <DedMarazm@mail.lv> - MSDOS baltic rim.Jeremy Allison1-1/+1
Jeremy. (This used to be commit b8b98d50588a68a8001f4f7eeb09d0d19e232d13)
2000-02-10damn, masktest now needs the mangle code from smbdAndrew Tridgell1-1/+1
not very clean (This used to be commit 6c09c0fd9e00036f6da9d29801e885ed3b559c42)
2000-02-07make proto ...Jean-François Micouleau1-4/+8
and the Makefile.in file J.F. (This used to be commit aa22586aac02c28aaa5f96e1a03a83fc138c840e)
2000-02-03Added smbd/vfs.o and smbd/vfs-wrap.o to smbd objects.Tim Potter1-0/+1
(This used to be commit d91bfec537cf9959b47ad1cd470e18a6ddcbda6f)
2000-01-26Added hash-based stat cache code from Ying Chen.Jeremy Allison1-1/+1
Jeremy. (This used to be commit b62a1bd6328f5894ae1a2fef3ef6fc66304ade52)
2000-01-24we need -lc when making shared objects or glibc doesn't do its magicAndrew Tridgell1-1/+1
binding for stat() (This used to be commit b52e60d5685b6ce9e581b5598b2725a4bf88ab06)
2000-01-13added locking/brlock.c, a byte range locking systemAndrew Tridgell1-1/+1
(This used to be commit 67b7b2a5a68fd22222bd54771c779f752ff59917)
2000-01-08smbd/mangle.cJeremy Allison1-1/+1
smbd/negprot.c: Tidyup of static initializers. smbd/server.c: Fix -l option. Jeremy. (This used to be commit d120f22fefde21b38e43ea5ad0180bf27304d2eb)
2000-01-05implemented talloc() as described on samba-technical. This fixes theAndrew Tridgell1-1/+1
lp_string() bug properly. we still need to add lp_talloc_free() calls in all the main event loops, I've only put it in smbd and nmbd thus far. (This used to be commit aa7f81552540f5dca2c146f5edd805611d5b390f)
2000-01-03simple mods to add msrpc pipe redirection. default behaviour: fall backLuke Leighton1-2/+4
to using internal msrpc code in smbd. (This used to be commit 8976e26d46cb991710bc77463f7f928ac00dd4d8)
2000-01-03added the unexpected packet database (unexpected.tdb)Andrew Tridgell1-1/+1
this means "nmblookup -S" now always works, even with broken servers the database stores all unexpected replies and these can be accessed by any client. while doing this I cleaned up a couple of functions, and put in place a better trn_id generator. in most places the code got quite a bit simpler due to the addition of simple helper functions. I haven't yet put the code in to take advantage of this for pdc replies - that will be next. Jeremys pdc finding code will then work :) (This used to be commit 280e6359d36c9bc8dcded302f15c3a1db8e3feeb)
1999-12-21converted all our existing shared memory code to use a tdb databaseAndrew Tridgell1-2/+1
instead of either sysv or mmap shared memory or lock files. this means we can now completely remove locking_shm.c locking_slow.c shmem.c shmem_sysv.c and lots of other things also got simpler locking.c got a bit larger, but is much better compartmentalised now (This used to be commit e48c2d9937eea0667b8cd3332e49c06314ef31e7)
1999-12-21first pass at the database code for Samba. This also includes a testAndrew Tridgell1-1/+11
suite and a very simple tool for manuipulating the databases. the main code is in tdb/tdb.c and includes both mmap and file based IO. All databases auto-expand and allow multiple simultaneous writers. the next step is using this new capability in lots of places in Samba where we have existing ad-hoc databases (This used to be commit c89d29cc5e3b6d568928acace01144059f1668b3)
1999-12-13first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1-352/+118
(This used to be commit 453a822a76780063dff23526c35408866d0c0154)
1999-12-12final part of "first" phase converting over to msrpc daemon architecture.Luke Leighton1-32/+169
done a minimal amout of clean-up in the Makefile, removing unnecessary modules from the link stage. this is not complete, yet, and will involve some changes, for example to smbd, to remove dependencies on the password database API that shouldn't be there. for example, smbd should not ever call getsmbpwXXX() it should call the Samr or Lsa API. this first implementation has minor problems with not reinstantiating the same services as the caller. the "homes" service is a good example. (This used to be commit caa50525220b0d0250fa139367593c2de2c12135)
1999-12-08ABOUT TIME!!!!!!!!Luke Leighton1-7/+13
damn, this one is bad. started, at least two days ago, to add an authentication mechanism to the smbd<->msrpc redirector/relay, such that sufficient unix / nt information could be transferred across the unix socket to do a become_user() on the other side of the socket. it is necessary that the msrpc daemon inherit the same unix and nt credentials as the smbd process from which it was spawned, until such time as the msrpc daemon receives an authentication request of its own, whereupon the msrpc daemon is responsible for authenticating the new credentials and doing yet another become_user() etc sequence. (This used to be commit 30c7fdd6ef10ecd35594311c1b250b95ff895489)
1999-12-06the first independent msrpc daemon - lsarpcd.Luke Leighton1-9/+39
one horrible cut / paste job from smbd, plus a code split of shared components between the two. the job is not _yet_ complete, as i need to be able to do a become_user() call for security reasons. i picked lsarpcd first because you don't _need_ security on it (microsoft botched so badly on this one, it's not real. at least they fixed this in nt5 with restrictanonymous=0x2). fixing this involves sending the current smb and unix credentials down the unix pipe so that the daemon it eventually goes to can pick them up at the other end. i can't believe this all worked!!! (This used to be commit 2245b0c6d13c7c5886e81f9137b05df883598c26)
1999-12-05first version of msrpc agent redirector code. client-side only.Luke Leighton1-1/+4
(This used to be commit 5e5a1dceee0b6088822697284d3e0af04d197477)
1999-12-04cool! created higher-order function table for agent redirection.Luke Leighton1-0/+1
(This used to be commit 7bb2e55d0d3a00a97bba99ebed722a4adf84093c)
1999-12-04jeremy is going to hate me for this.Luke Leighton1-0/+7
created an "nmb-agent" utility that, yes: it connects to the 137 socket and accepts unix socket connections which it redirects onto port 137. it uses the name_trn_id field to filter requests to the correct location. name_query() and name_status() are the first victims to use this feature (by specifying a file descriptor of -1). (This used to be commit d923bc8da2cf996408194d98381409191dd81a16)
1999-12-03cool! a unix socket smb redirector. code based on smbfilter andLuke Leighton1-1/+10
ideas from ssh-agent. the intent is to be able to share smb sessions using cli_net_use_add() across multiple processes, where one process knows the target server name, user name and domain, but not the smb password. (This used to be commit 294b653f2e9cdc1864ec638ae8b4300df25723cf)
1999-12-01sys_select added one more argument (read, write selectors).Luke Leighton1-1/+13
(This used to be commit e4d92ff9dfc51735e6932748f66a7c20b2c1cb6a)
1999-11-29this is going to sound _really_ weird, ok, but i had to implementLuke Leighton1-0/+1
equivalents of NetUseAdd and NetUseDel! (This used to be commit 86f4b1d3cc3887c4bb7bd6433f5f932f7db1b88e)
1999-11-24first stages of removing struct cli_state* and uint16 fnum from allLuke Leighton1-0/+1
msrpc client code. the intent is to hide / abstract / associate connection info behind policy handles. this makes the msrpc functions look more and more like their nt equivalents. who-hou! (This used to be commit c01b18e632aede6fce7264ef6971d7ddba945cfb)
1999-11-24WARNING! MOVED rpc_server/srv_lsa_hnd.c TO lib/util_hnd.cLuke Leighton1-2/+2
CVS UPDATE MAY ISSUE WARNING ABOUT lib/util_hnd.c MODIFICATION DATE BEING IN THE FUTURE. CVS CHECKOUT A NEW REPOSITORY MAY BE SAFER. (This used to be commit c26e8a6ac59934ae580077df937439c2c538dbdb)
1999-11-23adding svcctl 0x1b functionLuke Leighton1-0/+1
(This used to be commit d5869df3716fec21d3a4237dbf5d2417d3350e11)
1999-11-20doing a code reshuffle. want to add code to establish trust relationships.Luke Leighton1-0/+1
(This used to be commit 3ec269b402ba6898d905ea1029c427e1b645faf4)
1999-11-19- bug in nmbd registering DOMAIN_NAME<1c> to WINS server; recursionLuke Leighton1-0/+1
desired flag MUST be set in any NBT UDP packets sent to a WINS server, else they will go to the WINS client side of the NT NetBIOS kernel instead, and will get trashed. - added \PIPE\browser server-side code. (This used to be commit 8e406c1fa296c3f97b1cd7ddde7b5aeb9232b26e)
1999-11-19added \PIPE\browser plus experimental brsinfo command. you wouldn'tLuke Leighton1-1/+4
believe the XXXX that MIGHT be involved in getting nt5rc2 to join a samba domain... (This used to be commit 569babb3935950c1b64396955541abf276cc1d92)
1999-11-12split array-handling functions into separate module.Luke Leighton1-0/+1
(This used to be commit cc2ce2b755b12cb3d97522aaee69b93309571abc)
1999-11-06spoolss openprinterex / closeprinter client-code.Luke Leighton1-14/+14
experimental spoolopen <printer name> command added. jean-francois, f.y.i. i changed the #define for SPOOLSS_OPENPRINTEREX from op code 0x44 to 0x45. (This used to be commit ef7fa58fd3c259c765c3bc82424d4c0f192ec90e)
1999-11-05experimental spoolss rpcclient commandsLuke Leighton1-0/+2
(This used to be commit c86edef90e7c96d5a99be29e2d2a3679ed26d97d)