summaryrefslogtreecommitdiffstats
path: root/source/include/includes.h
Commit message (Collapse)AuthorAgeFilesLines
* Changed to sourceforge tdb code. This includes spinlocks (so we now haveJeremy Allison2000-12-061-0/+1
| | | | | | | | a --with-spinlocks option to configure, this does mean the on-disk tdb format has changed, so 2.2alphaX sites will need to re-create their tdb's. The upside is no more tdb fragmentation and a +5% on netbench. Swings and roundabouts.... Jeremy.
* TDB password backend support written by Simo Sorce <simo.sorce@polimi.it>Gerald Carter2000-10-261-1/+1
| | | | | | | | | | Marked as an experimental compile time option (defaults to off) for now. jerry
* Herb's warning fixes. Also the POSIX locking fix.Jeremy Allison2000-10-061-5/+0
| | | | | We now use our own vfs layer to do get/set acl calls (hurrah!). Jeremy.
* Restructuring of vfs layer to include a "this" pointer - can be an fsp orJeremy Allison2000-10-061-0/+3
| | | | | | | | | | | | | | | a conn struct depending on the call. We need this to have a clean NT ACL call interface. This will break any existing VFS libraries (that's why this is pre-release code). Andrew gets credit for this one :-) :-). In addition - added Herb's WITH_PROFILE changes - Herb - please examine the changes I've made to the smbd/reply.c code you added. The original code was very ugly and I have replaced it with a START_PROFILE(x)/END_PROFILE(x) pair using the preprocessor. Please check this compiles ok with the --with-profile switch. Jeremy.
* added a hack to get 64 bit locking working with the broken fcntl()Andrew Tridgell2000-09-291-0/+13
| | | | | call in glibc 2.1.95. This hack only gets enabled if you define GLIBC_HACK_FCNTL64
* the first cut of the internal messaging system.Andrew Tridgell2000-09-111-0/+1
| | | | | The motivation for this system is to replace the UDP message for oplocks, but this commit only does the "set debug level" message.
* Fixed some more client SPOOLSS functions. The followingGerald Carter2000-07-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | functions work now: - spoolenum - spoolopen - spoolgetprinter - spoolgetprinterdriver Items todo: - track down memory bug with spoolenumdata - fix spoolgetprinterdriverdir - fix spoolgetdata - fix display_job_info_ctr in spooljobs All part of the ongoing rpcclient work. Also included a new generic list ADT. Cleaner and simplier than the stuff in util_array.c i think (but then that's why I wrote it). --jerry
* Fixes for various compile warnings on Solaris 8.Tim Potter2000-07-101-14/+14
|
* Include nss.h if present or define enough values to allow client access toTim Potter2000-07-061-0/+15
| | | | winbind.
* Added MAX_SEC_CTX_DEPTHTim Potter2000-06-231-0/+2
|
* A neater way of solving the S_ISSOCK, S_ISFIFO problem.Tim Potter2000-06-211-0/+54
| | | | Moved the S_* macros from smb.h to includes.h
* added support for kernel level share modes. These are a (small) hack,Andrew Tridgell2000-06-151-0/+9
| | | | | I suspect we will either get rid of them or do them properly at some stage.
* fixed Linux capabilities handlingAndrew Tridgell2000-06-111-12/+0
| | | | | | I used a trick where CAP_LEASE isn't claimed until it is needed. This means we avoid a system call per setreuid(), and never call capset() unless a user tries to get a oplock on a file that they don't own
* Linux kernel oplocks now seem to work, but need a _lot_ of testingAndrew Tridgell2000-06-111-0/+12
| | | | | I had to modify sys_select() to not loop on EINTR. I added a wrapper called sys_select_intr() which gives the old behaviour.
* the beginnings of a new scheme I've working on to allow an easierAndrew Tridgell2000-05-091-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | head/tng merge. It goes something like this: - headers from tng get copied over one at a time - the old headers get renamed to *_old.h - server side code that used the old headers gets a #define OLD_NTDOMAIN 1 #undef OLD_NTDOMAIN at the start and end of the code - mkproto.awk recognises these special defines and does magic stuff so that each .c file sees the right headers - we start moving the rpc client libraries from tng to head. if this goes OK then, in theory, we should be able to move the client side rpc code from tng to head without disturbing the existing head server side code. Then when that works we can consider merging the server side. it remains to be seen if this scheme will work. So far I've moved rpc_samr.h and don't seem to have broken anything. Note this this is still a very delicate operation, as at every step of the way I want to keep head fully functional. Please don't take part unless you discuss it with me first.
* added secrets.tdb and changed storage of trust account password to useAndrew Tridgell2000-05-081-0/+1
| | | | it
* allow a DEFAULT_PRINTING to be specified in CFLAGSAndrew Tridgell2000-05-011-0/+4
|
* moved trans2.h and nterr.h into includes.h with all our other includesAndrew Tridgell2000-04-251-0/+4
|
* got rid of some more old configure tests and includesAndrew Tridgell2000-04-171-51/+0
|
* include/byteorder.h: ALIGN4/ALIGN2 macros.Jeremy Allison2000-04-111-0/+2
| | | | | | | | | | | | include/includes.h: Added SMB_BIG_UINT_BITS. lib/util.c: Removed align2/align4 - use macros. libsmb/namequery.c: Use ALIGN2. locking/locking.c: Replace do_lock, do_unlock, args with SMB_BIG_UINT, not SMB_OFF_T. Needed to move to hiding POSIX locks at a lower layer. nmbd/nmbd_processlogon.c: Use ALIGN2/ALIGN4 macros. smbd/blocking.c: Replace do_lock, do_unlock, args with SMB_BIG_UINT, not SMB_OFF_T. smbd/reply.c: Replace do_lock, do_unlock, args with SMB_BIG_UINT, not SMB_OFF_T. Jeremy.
* Big update moving the multi-pdu support from 2.0.x into HEAD for JFJeremy Allison2000-03-091-2/+2
| | | | | | | | | | | | 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.
* dded Microsoft Dfs services.Shirish Kalele2000-03-081-0/+2
| | | | | | | | | | | | | | | | | * 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 ----------------------------------------------------------------------
* Added replacement functions sys_popen and sys_pclose. These are basedJeremy Allison2000-02-151-0/+3
| | | | | | | | | on the glibc source code and are safer than the traditional popen as they don't use a shell to exec the requested command. Now we have these functions they can be tightened up (environment etc.) as required to make a safe popen. It should now be safe to add the environement variable loading code to loadparm.c Jeremy.
* Added check for SGI IRIX brokenness with semaphores when using gcc.Jeremy Allison2000-02-071-1/+18
| | | | | Code from Don Badrak <dbadrak@census.gov> Jeremy.
* Busting up of source/include/smb.h into smaller pieces which can beTim Potter2000-02-031-25/+9
| | | | #included by VFS modules without bringing in too much other junk.
* Added hash-based stat cache code from Ying Chen.Jeremy Allison2000-01-261-0/+1
| | | | Jeremy.
* make a br_off a SMB_BIG_UINTAndrew Tridgell2000-01-161-1/+1
|
* defined br_off as a type for byte range offsets. For now I've set itAndrew Tridgell2000-01-131-0/+3
| | | | | as SMB_OFF_T, we need to do some autoconf changes to generate a 64 bit int whenever possible (eg. long long on 32 bit i386)
* smbd/mangle.cJeremy Allison2000-01-081-1/+0
| | | | | | smbd/negprot.c: Tidyup of static initializers. smbd/server.c: Fix -l option. Jeremy.
* Moved check_plaintext_password() into smbd/chgpasswd.c from smbd/ipc.c.Jeremy Allison2000-01-051-0/+4
| | | | | | configure configure.in include/config.h.in: Added <sys/un.h> autoconf code for Luke's UNIX domain sockets code. Jeremy.
* implemented talloc() as described on samba-technical. This fixes theAndrew Tridgell2000-01-051-0/+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.
* got rid of mem_manAndrew Tridgell2000-01-031-4/+0
| | | | | | | yamd is much better, and doesn't require any source code changes if you haven't seen yamd then take a look at http://www3.hmc.edu/~neldredge/yamd/ its excellent!
* Converted most of the functions in lib/util_str.c to smb_ucs2_t equivalents.Jeremy Allison1999-12-291-4/+4
| | | | Jeremy.
* Samba now includes a full ucs2 upper to lower case (and vica versa) map table.Jeremy Allison1999-12-231-0/+13
| | | | Jeremy.
* include/includes.h: Trimmed down unicode directory entry to be POSIX complient.Jeremy Allison1999-12-221-3/+1
| | | | | | lib/system.c: Trimmed down unicode directory entry to be POSIX complient. lib/util_unistr.c: Added wstrdup(). Jeremy.
* First cut at unicode sys_xx functions. Now to start moving upwards.....Jeremy Allison1999-12-221-0/+25
| | | | Jeremy.
* first pass at the database code for Samba. This also includes a testAndrew Tridgell1999-12-211-0/+1
| | | | | | | | | | 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
* first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1999-12-131-76/+164
|
* moved sys/un.h to after sys/socket.h. done a gnu autoconf around sys/un.hLuke Leighton1999-12-081-1/+4
|
* sys_select added one more argument (read, write selectors).Luke Leighton1999-12-011-0/+1
|
* rewrote policy handle code to be generic (it's needed for client-side too)Luke Leighton1999-11-241-0/+4
| | | | attempted to fix regsetsec command
* Some compilers want (void) instead of just () in function declarations.Matthew Chapman1999-08-081-1/+1
|
* Put back in GNU readline support for smbclient accidentally trashed byTim Potter1999-07-091-0/+8
| | | | tridge in the clientgen.c to clientutil.c conversion.
* Hived off string routines into a separate file.Tim Potter1999-07-091-19/+3
|
* Ken McDonell from SGI was interested in adding some profilingAndrew Tridgell1999-04-011-8/+16
| | | | | | | | | | | | capabilities to Samba so that Samba could talk to the SGI PCP (Performance Co-Pilot) apps. This change adds a profiling shared memory area and uses it to count two fairly trivial things, the number of uid switches and the number of SMB packets processes. To add more just edit include/profile.h and then increment it at the right place. I've also added a -P switch to smbstatus to dump the profile area.
* Bejamin Kuit. #define MYSQL and MYSQL_ROW to void iff <mysql.h> not found.Luke Leighton1999-03-081-0/+4
|
* added <mysql.h> autoconf test.Luke Leighton1999-03-021-0/+4
|
* and in head branch:Andrew Tridgell1998-12-171-1/+1
| | | | make sure we include sys/mman.h if available
* A while back, Andrew and I talked about making the debug parsing code aChristopher R. Hertel1998-12-161-2/+0
| | | | | | | | | | | | | | better "fit" with other Samba code. This is a small first step toward doing what (I think) we agreed to do. I've moved the key function from ubiqx/debugparse.c into lib/debug.c. I have also moved the enum from ubiqx/debugparse.h into the debug section in smb.h. The next thing to do is to get debug2html added into the Makefile.in so that it is always produced when compiling the suite. Chris -)-----
* on Linux force fcntl/mmap based shared memory and on other systemsAndrew Tridgell1998-12-151-0/+13
| | | | force IPC/shmem based shared memory.