summaryrefslogtreecommitdiffstats
path: root/source3/configure
Commit message (Collapse)AuthorAgeFilesLines
* Re-ran autoconfTim Potter2000-07-031-137/+136
| | | | (This used to be commit 2003c11c3e1635fec4702f5a704b5ce9b0bc3f64)
* Fixes for IRIX kernel oplocks and systems that don't have nss.hJeremy Allison2000-06-201-1/+1
| | | | | Jeremy. (This used to be commit 711f15ac230092bac000e63f99e8dfaa4a644847)
* added support for kernel level share modes. These are a (small) hack,Andrew Tridgell2000-06-151-131/+179
| | | | | | I suspect we will either get rid of them or do them properly at some stage. (This used to be commit fabe1f350e1fc58db33d22cebd38652950697ced)
* fixed autoconf test for kernel change notify supportAndrew Tridgell2000-06-141-131/+181
| | | | (This used to be commit 92d0382c9e1d6d31e6047ca3d78523a3204d36f8)
* totally rewrote the async signal, notification and oplock notificationAndrew Tridgell2000-06-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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! (This used to be commit 44766c39e0027c762bee8b33b12c621c109a3267)
* continued the split of the kernel level oplocks code into a moreAndrew Tridgell2000-06-101-690/+599
| | | | | | | | | | 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. (This used to be commit fbeb9804344ab3aa1dd6635a5524aa09065e04f5)
* - changed HAVE_KERNEL_OPLOCKS to HAVE_KERNEL_OPLOCKS_IRIXAndrew Tridgell2000-06-081-139/+185
| | | | | - added autoconf test for HAVE_KERNEL_OPLOCKS_LINUX (This used to be commit 0368f68529a9244663c199068e95d1a1d93152fa)
* Changed MS_DFS to WITH_MSDFS throughout.Shirish Kalele2000-05-261-4/+4
| | | | | Fixed trans2 calls on IPC$ to let dfs referral calls through. (This used to be commit e0965a80bdca5239886b11ef55dc29fed261bfc0)
* we don't need fnmatch.c any moreAndrew Tridgell2000-04-301-135/+98
| | | | (This used to be commit e23f43e7d3d2a068f527baa63a31f7fe4e60e79d)
* got rid of some more old configure tests and includesAndrew Tridgell2000-04-171-78/+74
| | | | (This used to be commit f137648504362479143d50477fa38ebf7147968b)
* removed some obsolete configure tests (sysv ipc etc)Andrew Tridgell2000-04-171-273/+161
| | | | (This used to be commit e8905a557a342ba3604a61663c6ff24887a9fd46)
* The following series of commits are for the new tdb based printingAndrew Tridgell2000-04-161-2/+2
| | | | | | | | | | | | | | | | | | | | 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)
* split out the lpq parsing code into a separate fileAndrew Tridgell2000-04-101-1/+1
| | | | | | | printing/lpq_parse.c getting ready for the new printing backend (This used to be commit 0ec1072e0143952139be64e8001582eadcc9f60e)
* fixes for broken IRIX header file merged from 2.0 branchHerb Lewis2000-03-311-577/+580
| | | | (This used to be commit 351b25727e69864f06f363c1fce1ab04f3f2ca77)
* IRIX include fixes.Jeremy Allison2000-03-311-195/+201
| | | | | Jeremy. (This used to be commit 3a39acd3535647b0f28f51eea29573d5cb1eb9be)
* Added check for LL suffix to long long ints needed by AIX 4.3.x compilerJeremy Allison2000-03-291-185/+224
| | | | | | to allow successful build. Jeremy. (This used to be commit 567713a07c089ab3ebb4c9b96087777de154b601)
* acconfig.h configure configure.in: Added check for UT_SYSLEN for utmp code.Jeremy Allison2000-03-221-142/+176
| | | | | | | | | | | | | | | 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. (This used to be commit f02999dbf7971b4ea05050d7206205d7737a78b2)
* Adding libtool support to HEAD branch. We're going to need this forTim Potter2000-03-131-596/+1065
| | | | | | various things yet to be merged from TNG. The smbwrapper stuff should probably be ported across too. (This used to be commit b183c24220154b33fbb1c1712d1ef819ef4e1290)
* dded Microsoft Dfs services.Shirish Kalele2000-03-081-649/+768
| | | | | | | | | | | | | | | | | | * 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)
* Added replacement functions sys_popen and sys_pclose. These are basedJeremy Allison2000-02-151-99/+136
| | | | | | | | | | 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. (This used to be commit b52e92b09d4ca3b66e534f520468dee27065d048)
* Added check for SGI IRIX brokenness with semaphores when using gcc.Jeremy Allison2000-02-071-734/+680
| | | | | | Code from Don Badrak <dbadrak@census.gov> Jeremy. (This used to be commit 773d6e504b1ac97f0d8136002ace2c0c0771a163)
* Backed out -rdynamic linker option. It seems to be GNU ld specific.Tim Potter2000-02-031-419/+427
| | | | | | Need a platform independant way of exporting symbols for dlopen(). Perhaps this is only needed for certain platforms anyway... (This used to be commit 8b26be1e82d329c9ea8a1d6a71e5e9f440eb93ac)
* Add -rdynamic to LDFLAGS if libdl found.Tim Potter2000-02-031-652/+735
| | | | (This used to be commit 4c14a343d10bbddd69a1dc5abc9d4f64cf75dacc)
* Wrapped popen calls in HAVE_POPEN - needed if we are to add theJeremy Allison2000-01-291-1/+1
| | | | | | env patch. Jeremy. (This used to be commit 94c075faee88538e48d1898f1694500b8a5d4c8b)
* Added utmp fix from David Lee <T.D.Lee@durham.ac.uk>.Jeremy Allison2000-01-121-575/+646
| | | | | Jeremy. (This used to be commit 95d37a1d25d56316c80eec54aea1f358cd621d4c)
* Moved check_plaintext_password() into smbd/chgpasswd.c from smbd/ipc.c.Jeremy Allison2000-01-051-1/+1
| | | | | | | configure configure.in include/config.h.in: Added <sys/un.h> autoconf code for Luke's UNIX domain sockets code. Jeremy. (This used to be commit 210d61db08136122f51a93428607fccd582c9e7d)
* Converted most of the functions in lib/util_str.c to smb_ucs2_t equivalents.Jeremy Allison1999-12-291-418/+451
| | | | | Jeremy. (This used to be commit 1ba42aca2163c534f6be4e4a733604e3dffe0ed8)
* first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1999-12-131-926/+2090
| | | | (This used to be commit 453a822a76780063dff23526c35408866d0c0154)
* moved sys/un.h to after sys/socket.h. done a gnu autoconf around sys/un.hLuke Leighton1999-12-081-660/+570
| | | | (This used to be commit b2ea37a8f1a28a825719b46354a1244b359aca2c)
* Put back in GNU readline support for smbclient accidentally trashed byTim Potter1999-07-091-444/+528
| | | | | tridge in the clientgen.c to clientutil.c conversion. (This used to be commit 26d66071fbac2c46445153c214bb13d587a67b49)
* Ken McDonell from SGI was interested in adding some profilingAndrew Tridgell1999-04-011-606/+772
| | | | | | | | | | | | | 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. (This used to be commit ef3d61a80ad0b87c196a63ef2bd4fe8fc3863bd0)
* added <mysql.h> autoconf test.Luke Leighton1999-03-021-31/+1
| | | | (This used to be commit 511ef8a58ccfc04d0744f28753bb48d848851980)
* More changes to get SSL working with 2.x.xRichard Sharpe1999-01-251-0/+26
| | | | | | Now, we have most of the configure support done, next have to fix Makefile.in and other things ... (This used to be commit 3598d90a325eaf90341832c1aa35ad17f6d34af7)
* Fixing up configure to properly support sslRichard Sharpe1999-01-241-0/+4
| | | | (This used to be commit 524c4d2978f8b951708ad30316e3d69ed1c39b75)
* and in head branch:Andrew Tridgell1998-12-171-1/+1
| | | | | make sure we include sys/mman.h if available (This used to be commit ccf644388732287da01a943ea826187b5394ebc6)
* updated for Matt Chapman's ldap codeLuke Leighton1998-12-071-31/+32
| | | | (This used to be commit d11859041d4ec828b2262282cda98a021129d008)
* Makefile.in: Added maintainer mode fixes.Jeremy Allison1998-11-251-259/+1324
| | | | | | | | | | | | | | | | | | | | | | | | | aclocal.m4: Added AC_LIBTESTFUNC. configure.in: Fixed -lsecurity -lsec problems. client.c: dos_ fixes. groupdb/aliasunix.c: Dead code removal. include/includes.h: Added default PRINTCAP_NAME. lib/genrand.c: dos_ fixes. lib/replace.c: Added strtoul. lib/system.c: dos_ fixes. lib/util.c: dos_ fixes. lib/util_sid.c: Signed/unsigned fixes. lib/util_str.c: removed bad const. locking/locking_slow.c: dos_ fixes. printing/printing.c: dos_ fixes. rpc_server/srv_samr.c: Dead code removal. rpc_server/srv_sid.c: global_myworkgroup defined with wrong size AGAIN ! smbd/dir.c: dos_ fixes. smbd/open.c: dos_ fixes. smbd/oplock.c: dos_ fixes. smbd/reply.c smbd/server.c smbd/service.c smbd/uid.c: dos_ fixes. Jeremy. (This used to be commit 6acb4b68f68d516e2ac3c47e500f5600d653435e)
* yp_prot.h and ypclnt.h correct: ypprot.h and yp_clnt.h wrong...Luke Leighton1998-11-231-1/+1
| | | | (This used to be commit c89642ff3fa0c0bc2bca62304db0282676e0b649)
* re-added ypprot.h and yp_clnt.hLuke Leighton1998-11-231-1/+1
| | | | (This used to be commit d50238823411f07d5db112843d9a1e3a84c7dbd7)
* unix instance of group database APILuke Leighton1998-11-231-363/+403
| | | | (This used to be commit e76f593b3572ac881f1aa1fb3326d8b7169b0078)
* acconfig.h configure configure.in include/config.h.in: Added -lsec and ↵Jeremy Allison1998-11-201-176/+583
| | | | | | | | | | -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. (This used to be commit 34d8f4b1c4d59ab3c009360fc67eef9361dd859b)
* Fixed stupid blunder where I renamed getpwanam to getpwnam.Jeremy Allison1998-11-201-1/+1
| | | | | Jeremy. (This used to be commit b02d21a73d7f098c5599c606abbb5c92ea4ba13e)
* Makefile.in: Added passing of CPPFLAGS into Makefile.Jeremy Allison1998-11-191-404/+415
| | | | | | | | | | | | | configure configure.in include/config.h.in: Fixes for AIX4.x. AIX *will not* enable large file support of *any* description unless either -D_LARGE_FILES or -D_LARGE_FILES_API are defined. I chose "-D_LARGE_FILES" as this leads to cleaner code... Also fixed bug where getpwnam was listed as getpw(a)nam in configure.in. Jeremy. (This used to be commit 2d62dc26f4e3a171ecbe56f33d94db2fea0ef0ad)
* Sync up with 2.0 code.Jeremy Allison1998-11-191-392/+468
| | | | | | | Added HPUX autoconf changes. Added "gross hack" printer code. Jeremy. (This used to be commit 1ef6d3bd63722afe9c376793a6ea72046d1a0602)
* Changes to make the default prefix /usr/local/samba - as it was in 1.9.18p10.Jeremy Allison1998-11-191-435/+602
| | | | | | | acconfig.h configure configure.in include/config.h.in: Fixes to DEC OSF1. libsmb/nmblib.c: Fixes to nmbd jumps in scope names. Jeremy. (This used to be commit 5ad77769be85e6727319afb0f02e5d94c2f9f16f)
* Added OSF1 changes to HEAD (-lsecurity etc.)Jeremy Allison1998-11-181-140/+187
| | | | | | | groupdb/groupdb.c: Fixed compile error caught by IRIX compiler. utils/smbpasswd.c: Fixed SunOS optind, optarg problem. Jeremy. (This used to be commit 30af39ae1edf51d5d06a1764982e5df431c142ac)
* Fixed problem with HAVE_NETGROUP being used on platformsJeremy Allison1998-11-181-1/+1
| | | | | | that cannot support it. Jeremy. (This used to be commit 7a6f25ac4ab0f0bef7a66f26004c15120248ff66)
* Added the same open()/fopen()/creat()/mmap() -> sys_XXX calls.Jeremy Allison1998-11-171-2/+2
| | | | | | | | | | | Tidied up some of the mess (no other word for it). Still doesn't compile cleanly. There are calls with incorrect parameters that don't seem to be doing the right thing. This code still needs surgery :-(. Jeremy. (This used to be commit 18ff93a9abbf68ee8c59c0af3e57c63e4a015dac)
* - group database API. oops and oh dear, the threat has been carried out:Luke Leighton1998-11-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the pre-alpha "domain group" etc parameters have disappeared. - interactive debug detection - re-added mem_man (andrew's memory management, detects memory corruption) - american spellings of "initialise" replaced with english spelling of "initialise". - started on "lookup_name()" and "lookup_sid()" functions. proper ones. - moved lots of functions around. created some modules of commonly used code. e.g the password file locking code, which is used in groupfile.c and aliasfile.c and smbpass.c - moved RID_TYPE_MASK up another bit. this is really unfortunate, but there is no other "fast" way to identify users from groups from aliases. i do not believe that this code saves us anything (the multipliers) and puts us at a disadvantage (reduces the useable rid space). the designers of NT aren't silly: if they can get away with a user- interface-speed LsaLookupNames / LsaLookupSids, then so can we. i spoke with isaac at the cifs conference, the only time for example that they do a security context check is on file create. certainly not on individual file reads / writes, which would drastically hit their performance and ours, too. - renamed myworkgroup to global_sam_name, amongst other things, when used in the rpc code. there is also a global_member_name, as we are always responsible for a SAM database, the scope of which is limited by the role of the machine (e.g if a member of a workgroup, your SAM is for _local_ logins only, and its name is the name of your server. you even still have a SID. see LsaQueryInfoPolicy, levels 3 and 5). - updated functionality of groupname.c to be able to cope with names like DOMAIN\group and SERVER\alias. used this code to be able to do aliases as well as groups. this code may actually be better off being used in username mapping, too. - created a connect to serverlist function in clientgen.c and used it in password.c - initialisation in server.c depends on the role of the server. well, it does now. - rpctorture. smbtorture. EXERCISE EXTREME CAUTION. (This used to be commit 0d21e1e6090b933f396c764af535ca3388a562db)
* Updates to handle glob.h - was causing problems on SCO 5.0.4John Terpstra1998-11-161-1/+1
| | | | (This used to be commit 5f7d9d4656eb501e14b98f4ae1990a791c7901e3)