summaryrefslogtreecommitdiffstats
path: root/source/Makefile.in
Commit message (Collapse)AuthorAgeFilesLines
* printer notify code.Jean-François Micouleau2000-09-251-4/+2
| | | | | | | It only sends notifies to one client. The broadcasting notify code will code soon. J.F.
* first cut at smbcontrol program. It currently allows syntax like:Andrew Tridgell2000-09-131-4/+4
| | | | | | | smbcontrol nmbd debug 7 smbcontrol smbd debug 9 smbcontrol 3278 debug 1 smbcontrol nmbd force-election
* the first cut of the internal messaging system.Andrew Tridgell2000-09-111-1/+8
| | | | | The motivation for this system is to replace the UDP message for oplocks, but this commit only does the "set debug level" message.
* Changes from APPLIANCE_HEAD (per Tim Potter):David O'Neill2000-09-011-1/+1
| | | | | | | | | | | | | | | | | | | - make proto - addition of function to convert from errno values to NT status codes (source/lib/error.c) - purge queue done without full access permission will purge only the jobs owned by that user, rather than failing. - unlock job database tdb before sending job to printer - in print_job_start(), ensure that we don't pick a jobid with an existing temporary file that may be owned by another user, as it causes silent failures. - fixes for printer permission checking for NT5 clients (source/include/rpc_spoolss.h, source/printing/nt_printing.c, source/printing/printing.c, source/rpc_server/srv_spoolss_nt.c) - change from uint8 to 'enum SID_NAME_USE' (source/rpc_server/srv_lsa.c) - fixed memory leaks for win95 driver download process (source/smbd/lanman.c) - properly free prs_structs and dacl in testsuite/printing/psec.c
* make rpcclent by default.Gerald Carter2000-08-291-1/+1
| | | | --jerry
* readded util_list.c (just to the RPCCLIENT_OBJ). I need to splitGerald Carter2000-07-201-1/+1
| | | | | | | | the file up i think. Later. --jerry
* First cut toward adding WINS server failover.Christopher R. Hertel2000-07-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | *Note: failover doesn't actually work yet!* It's just that the code I'm adding provides all of the pieces necessary. I do have one big question. Something that I'll have to ask Jeremy, I'm thinkin'. In nmbd/nmbd_subnetdb.c the IP of the WINS server is used to set up the Unicast subnet. ...so what happens if the WINS server changes? My guess is either: a) nothing. b) I'd have to change the unicast subnet entry whenever the WINS server changes. Urq. BTW, the lp_wins_server() function no longer returns the WINS server name or IP. It returns the list of WINS servers entered in smb.conf. To get the currently 'live' WINS server, use the wins_srv() function. Fun, eh? Chris -)-----
* remove util_list from LIB_OBJS since it broke smbd buildGerald Carter2000-07-181-1/+1
| | | | | | | | | | | | (undefined references in link). This is a quick fix. I'll resolve things later. Sorry everyone. jerry
* Added lib/util_list.[c|o] to Makefile.inGerald Carter2000-07-181-1/+1
| | | | --jerry
* a few changes to Makefile.in to clean up dependencies for rpcclientGerald Carter2000-07-141-7/+5
| | | | --jerry
* Moved winbind client functions from various odd locations toTim Potter2000-07-101-4/+5
| | | | | | nsswitch/wb_client.c Merge of nsswitch/common.c rename to nsswitch/wb_common.c from TNG.
* Just a few changes due to bringing some partial files backGerald Carter2000-07-071-3/+10
| | | | | | | | from TNG to HEAD. --jerry
* Moved lib/util_seaccess.o from LIB_OBJ to SMBD1_OBJ as it is only used byTim Potter2000-07-061-2/+2
| | | | smbd.
* wrote a little sample smbw programAndrew Tridgell2000-07-061-1/+8
| | | | | | build using "make bin/smbw_sample" this is to show people how to use smbw
* Merge of wbinfo program from TNG.Tim Potter2000-07-051-1/+9
|
* first pass at merging rpcclient from TNG to HEAD. You can get aGerald Carter2000-07-031-14/+18
| | | | | | | | | semi-connection and a rpcclient prompt, but no functionality there yet. Will be a few more days on that. I need to clean this up a little. Will work on that some more. --jerry
* Added smbd/sec_ctx.o to smbd objects.Tim Potter2000-06-231-1/+2
|
* just enough to get rpcclient to compile. Look for #if 0Gerald Carter2000-06-231-1/+2
| | | | | | | | blocks around a few unimplemented functions. Also had to add cli_reg.c to Makefile.in --jerry
* Added nsswitch/common.o to SMBD_OBJ1Tim Potter2000-06-141-1/+1
|
* enable the Linux change notify code and change some notify debug codeAndrew Tridgell2000-06-121-1/+1
|
* totally rewrote the async signal, notification and oplock notificationAndrew Tridgell2000-06-121-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | handling in Samba. This was needed due to several limitations and races in the previous code - as a side effect the new code is much cleaner :) in summary: - changed sys_select() to avoid a signal/select race condition. It is a rare race but once we have signals doing notification and oplocks it is important. - changed our main processing loop to take advantage of the new sys_select semantics - split the notify code into implementaion dependent and general parts. Added the following structure that defines an implementation: struct cnotify_fns { void * (*register_notify)(connection_struct *conn, char *path, uint32 flags); BOOL (*check_notify)(connection_struct *conn, uint16 vuid, char *path, uint32 flags, void *data, time_t t); void (*remove_notify)(void *data); }; then I wrote two implementations, one using hash/poll (like our old code) and the other using the new Linux kernel change notify. It should be easy to add other change notify implementations by creating a sructure of the above type. - fixed a bug in change notify where we were returning the wrong error code. - rewrote the core change notify code to be much simpler - moved to real-time signals for leases and change notify Amazingly, it all seems to work. I was very surprised!
* split all the change notify code out into a separate moduleAndrew Tridgell2000-06-121-1/+1
| | | | | | | | smbd/notify.c. All the data structures are now private to that module. this is in preparation for Linux kernel support for change notify (coming soon to a CVS tree near you)
* a first pass at Linux kernel oplocks supportAndrew Tridgell2000-06-101-1/+1
|
* continued the split of the kernel level oplocks code into a moreAndrew Tridgell2000-06-101-78/+18
| | | | | | | | | modular form. In this pass I added oplock_irix.c and added a "struct kernel_oplocks" that describes a kernel oplock implementation. I also removed the maintainence mode from the Makefile. It was causing too much trouble. If someone really likes it they can keep a patch around to enable it themselves.
* added se_access_check.Luke Leighton2000-06-081-1/+1
|
* added locktest2Andrew Tridgell2000-06-051-0/+10
| | | | | | | | | this uses 16 open file descriptors on 2 servers, with each server accessed both via POSIX call and SMB calls. The idea is to test NFS/SMB locking interaction. Unfortunately the NT NFS locking implementation is so badly broken that we don't have anything to test against
* Fixed interface between new ACLS and nttrans code.Jeremy Allison2000-05-311-1/+1
| | | | Jeremy.
* don't build cli_reg in rpc client library until we merge that from tngAndrew Tridgell2000-05-281-1/+0
|
* unistr_to_dos not unistr_to_asciiLuke Leighton2000-05-271-2/+2
|
* fixed nttrans.cLuke Leighton2000-05-271-1/+1
|
* Added the NETDFS pipe to allow remote administration of the msdfs symlinksShirish Kalele2000-05-181-2/+2
| | | | on the samba server.
* The new msdfs implementation that uses symlinks to point to otherShirish Kalele2000-05-161-1/+1
| | | | | | | | | | | | | | | | servers. Very intuitive. Removed the dfs map parsing code and tdb maintenance code (files msdfs/parse_dfs_map.c & msdfs/msdfs_tdb.c), dfs map loading and unloading calls (param/loadparm.c smbd/server.c). Added code to display msdfs format symlinks as directories in a transact2_findfirst/findnext. (smbd/trans2.c) Modified msdfs/msdfs.c to use the msdfs symlinks to create dfs referrals. Changed msdfs/README to reflect new operability.
* in head as well ...Andrew Tridgell2000-05-101-5/+5
| | | | | renamed ntdom to winbind I think that using winbind in /etc/nsswitch.conf is better than ntdom
* more mergingAndrew Tridgell2000-05-101-3/+2
| | | | | it is now at the stage that winbindd can compile in the head branch, but not link
* don't attempt to build rpcclient in the head branchAndrew Tridgell2000-05-091-1/+1
|
* added some rules for winbindd and pam_winbindAndrew Tridgell2000-05-091-1/+35
|
* Someone :-) forgot to add secrets.c to HEAD.Jeremy Allison2000-05-081-1/+1
| | | | Jeremy.
* need LOCKING_OBJ in locktest nowAndrew Tridgell2000-05-041-1/+1
|
* added a nasty lock testing programAndrew Tridgell2000-05-031-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.
* we don't need fnmatch.c any moreAndrew Tridgell2000-04-301-1/+1
|
* - removed all our old wildcard matching code and replaced it with aAndrew Tridgell2000-04-301-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
* YIPEE!!!!!Andrew Tridgell2000-04-301-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 :)
* put tdb utility functions in a separate fileAndrew Tridgell2000-04-291-1/+4
|
* Ok - this is the *third* implementation of this (third time's the charm :-).Jeremy Allison2000-04-281-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.
* split clientgen.c into several partsAndrew Tridgell2000-04-251-1/+5
| | | | | the next step is splitting out the auth code, to make adding lukes NTLMSSP support easier
* Makefile.in change for split of printfsp.cAndrew Tridgell2000-04-231-1/+2
|
* split fsusage() into a separate module (to fix linking problems withAndrew Tridgell2000-04-191-2/+2
| | | | spoolssd in tng)
* moved standard_sub() and friends into a separate moduleAndrew Tridgell2000-04-171-1/+1
|
* The following series of commits are for the new tdb based printingAndrew Tridgell2000-04-161-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.
* removed the read prediction code from the head branch. I think theAndrew Tridgell2000-04-101-1/+1
| | | | | idea is fundamentally flawed anyway and it has been disabled for a long time.