summaryrefslogtreecommitdiffstats
path: root/source/acconfig.h
Commit message (Collapse)AuthorAgeFilesLines
* added support for kernel level share modes. These are a (small) hack,Andrew Tridgell2000-06-151-0/+1
| | | | | I suspect we will either get rid of them or do them properly at some stage.
* fixed autoconf test for kernel change notify supportAndrew Tridgell2000-06-141-0/+1
|
* - changed HAVE_KERNEL_OPLOCKS to HAVE_KERNEL_OPLOCKS_IRIXAndrew Tridgell2000-06-081-1/+2
| | | | - added autoconf test for HAVE_KERNEL_OPLOCKS_LINUX
* Fixed last remaining instance of MS_DFS to WITH_MSDFS.Tim Potter2000-05-261-1/+1
|
* got rid of some more old configure tests and includesAndrew Tridgell2000-04-171-1/+0
|
* removed some obsolete configure tests (sysv ipc etc)Andrew Tridgell2000-04-171-3/+0
|
* Added check for LL suffix to long long ints needed by AIX 4.3.x compilerJeremy Allison2000-03-291-0/+1
| | | | | to allow successful build. Jeremy.
* acconfig.h configure configure.in: Added check for UT_SYSLEN for utmp code.Jeremy Allison2000-03-221-0/+1
| | | | | | | | | | | | | | include/byteorder.h: Added alignment macros. include/nameserv.h: Added defines for msg_type field options - from rfc1002. lib/time.c: Typo fix. lib/util_unistr.c: Updates from UNICODE branch. printing/nt_printing.c: bzero -> memset. smbd/connection.c: Added check for UT_SYSLEN for utmp code. Other fixes : Rollback of unapproved commit from Luke. Please *ask* next time before doing large changes to HEAD. Jeremy.
* dded Microsoft Dfs services.Shirish Kalele2000-03-081-0/+1
| | | | | | | | | | | | | | | | | * 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/+1
| | | | | | | | | 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-0/+2
| | | | | Code from Don Badrak <dbadrak@census.gov> Jeremy.
* Added utmp fix from David Lee <T.D.Lee@durham.ac.uk>.Jeremy Allison2000-01-121-0/+1
| | | | Jeremy.
* Converted most of the functions in lib/util_str.c to smb_ucs2_t equivalents.Jeremy Allison1999-12-291-0/+1
| | | | Jeremy.
* first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1999-12-131-7/+31
|
* Put back in GNU readline support for smbclient accidentally trashed byTim Potter1999-07-091-0/+1
| | | | tridge in the clientgen.c to clientutil.c conversion.
* Ken McDonell from SGI was interested in adding some profilingAndrew Tridgell1999-04-011-0/+1
| | | | | | | | | | | | 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.
* acconfig.h configure configure.in include/config.h.in: Added -lsec and ↵Jeremy Allison1998-11-201-0/+2
| | | | | | | | | -lsecurity checks in a more sane way. rpc_client/cli_netlogon.c: Removed correct bits check to see if this works with an NT3.51 PDC. rpc_parse/parse_samr.c: Fixed compile warnings. Jeremy.
* Sync up with 2.0 code.Jeremy Allison1998-11-191-0/+1
| | | | | | Added HPUX autoconf changes. Added "gross hack" printer code. Jeremy.
* Changes to make the default prefix /usr/local/samba - as it was in 1.9.18p10.Jeremy Allison1998-11-191-0/+5
| | | | | | acconfig.h configure configure.in include/config.h.in: Fixes to DEC OSF1. libsmb/nmblib.c: Fixes to nmbd jumps in scope names. Jeremy.
* Added OSF1 changes to HEAD (-lsecurity etc.)Jeremy Allison1998-11-181-0/+1
| | | | | | groupdb/groupdb.c: Fixed compile error caught by IRIX compiler. utils/smbpasswd.c: Fixed SunOS optind, optarg problem. Jeremy.
* Removed acconfig.h configure configure.in include/config.h.in: Made ↵Jeremy Allison1998-11-141-0/+1
| | | | | | | | | smbwrapper not made by default. nmbd*: Changed all calls to namestr() to nmbd_namestr() to fix broken FreeBSD include file problem...sigh. Jeremy.
* don't enable smbsh/smbwrapper on systems where we can't work out howAndrew Tridgell1998-10-231-0/+1
| | | | to generate PIC code
* config: Fix crypt prototype on RedHat Linux.Jeremy Allison1998-10-151-0/+1
| | | | | | | | include/includes.h: Fix crypt prototype on RedHat Linux. smbd/fileio.c: Fix mmap bug found by WinCE client. smbd/ipc.c: Fix WinCE wierdness with pipes being opened as \server\pipe\lanman smbd/password.c: Fix encrypted null passwords. Jeremy.
* added aclent_t autoconf test (defines as an int if it doesn't exist).Luke Leighton1998-10-071-0/+1
| | | | | | | | this is to stop a compilation error caused by make proto putting functions that are wrapped in #if HAVE_ACLxxx code. maybe a better fix would be to have mkproto.awk exclude any functions wrapped in #if HAVEs that don't exist.
* more OSF1 changes as well as changes to allow us to use the standardAndrew Tridgell1998-10-071-0/+1
| | | | includes.h in wrapped.c, thus making porting much simpler
* test whether seekdir() returns void or notAndrew Tridgell1998-10-071-0/+1
|
* test for loff_t and offset_t to support llseek() on Solaris and Linux.Andrew Tridgell1998-10-051-0/+2
|
* added WITH_SMBMOUNTAlexandre Oliva1998-09-291-0/+1
|
* Added Kerberos4 support patches from Johan Hedin <johanh@fusion.kth.se>Jeremy Allison1998-09-261-0/+1
| | | | Jeremy.
* Makefile.in: Fixed bug with continuation line causing proto to fail.Jeremy Allison1998-09-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added $(PROGS) $(SPROGS) as targets for make clean. acconfig.h: Added HAVE_IRIX_SPECIFIC_CAPABILITIES. configure.in: Added sys/capability.h header check. Added function checks for srandom random srand rand. Added HAVE_IRIX_SPECIFIC_CAPABILITIES test. includes.h: Added #include <sys/capability.h>. ntdomain.h: Moved struct acct_info into here from smb.h smb.h: Added KERNEL_OPLOCK_CAPABILITY define. Moved enum action_type into rpcclient.h Moved struct cli_state into client.h Moved struct nt_client_info, struct tar_client_info, struct client_info into rpcclient.h lib/genrand.c: Changed to use sys_random() & friends. lib/smbrun.c: Lose capabilities after fork. lib/system.c: Added set_process_capability(), set_inherited_process_capability() sys_random(), sys_srandom(). lib/util.c: Added Ander's EFBIG lock check to fcntl_lock for 64 bit access to an 32 bit mounted NFS filesystem. nmbd/nmbd.c: Changed to use sys_random() & friends. nmbd/nmbd_browsesync.c: Changed to use sys_random() & friends. passdb/ldap.c: Missed one pdb_encode_acct_ctrl call. passdb/passdb.c: Changed to Ander's code for ' ' characters. passdb/smbpass.c: Added Ander's code to reset ACB_PWNOTREQ. script/mkproto.awk: Added 'long' to prototypes. smbd/chgpasswd.c: Lose capabilities after fork. smbd/open.c: Do the mmap *after* the kernel oplock. smbd/oplock.c: Removed stub code from kernel oplock path. Added set_process_capability(), set_inherited_process_capability() calls. smbd/reply.c: Initialize count = 0, offset = 0. smbd/server.c: Added set_process_capability(), set_inherited_process_capability() calls. tests/summary.c: Ensure we have RANDOM or RAND. utils/smbpasswd.c: Added Ander's code to reset ACB_PWNOTREQ. utils/torture.c: Changed to use sys_random() & friends. Jeremy.
* First cut at kernel oplocks. This should have no effect unless runninJeremy Allison1998-09-231-0/+1
| | | | | | | | | on a machine that supports them in autoconf. Move various functions out of lib/util.c into smbd/process.c and smbd/oplock.c where they belong. Jeremy.
* replace getpass() with getsmbpass() if getsmbpass.c compilesAlexandre Oliva1998-09-211-0/+1
|
* major autoconf clean-upAlexandre Oliva1998-09-211-0/+2
| | | | fix problems in builds with srcdir!=builddir
* Now that Alexandre Oliva has explained the use of acconfig.h toJeremy Allison1998-09-181-0/+3
| | | | | | | | me, I'm adding the HAVE_LIBREADLINE and other stuff correctly. Thanks Alexandre :-). Jeremy.
* some people are foolishly running ./configure from other than theAndrew Tridgell1998-09-051-0/+4
| | | | | source directory! This adds a new "trivial" test that makes sure that the autoconf tests are working. It aborts the configure run if not.
* added a test for a working setresuidAndrew Tridgell1998-08-191-0/+1
|
* this is the bug change to using connection_struct* instead of cnum.Andrew Tridgell1998-08-141-0/+2
| | | | | | | | Connections[] is now a local array in server.c I might have broken something with this change. In particular the oplock code is suspect and some .dll files aren't being oplocked when I expected them to be. I'll look at it after I've got some sleep.
* added --with-nisplus-home optionAndrew Tridgell1998-08-081-1/+1
|
* In addition to the HAVE_FUNCTION_MACRO test that Andrew used as an example,Christopher R. Hertel1998-07-301-0/+2
| | | | | | | | | | | | | | | | | | I also need to know if the __FILE__ macro exists. I followed the example, but ran into two problems: 1) I don't have the autoconf tools installed. 2) The instructions did not say which files should be checked in after running autoheader and autoconf. So I'm checking in the modified acconfig.h and configure.in on the assumption that the next time someone runs autoheader and autoconf my new tests will be included. Hope that's not a problem (and I'll try to grab a copy of autoconf from somewhere). Chris -)-----
* added HAVE_FUNCTION_MACRO testAndrew Tridgell1998-07-301-2/+1
|
* test for a broken inet_ntoa and replace it if necessary (forAndrew Tridgell1998-07-291-0/+2
| | | | IRIX+gcc-2.8.1)
* get rid of the runtime test for broken getgroups() and add a compileAndrew Tridgell1998-07-291-0/+2
| | | | | time test instead. This also allows us to get rid of the igroups element of a couple of structures.
* merge from the autoconf2 branch to the main branchAndrew Tridgell1998-07-291-0/+49