summaryrefslogtreecommitdiffstats
path: root/source3/acconfig.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge from HEAD:Tim Potter2002-12-051-1/+0
| | | | | >Remove FILE_MACRO as __FILE__ is ANSI C. (This used to be commit 21eb4b5a2dd2f9a6a0d3cd94408bb52359d2e926)
* DO NOT REMOVE THIS FILE. It breaks autoconf 2.13 without it.Jeremy Allison2002-12-041-0/+237
| | | | | Jeremy. (This used to be commit 8a5b28b1b1e4d1d2f5f75e3d6b30c2910559d0b2)
* Sync with HEADJelmer Vernooij2002-10-281-235/+0
| | | | (This used to be commit 906f25d1fb7ed4c85f89d8594f15383b450bd56f)
* Updates from Samba HEAD:Andrew Bartlett2002-10-011-1/+1
| | | | | | | | | | | | | | | | | - Fix segfaults in the 'net ads' commands when no password is provided - Readd --with-ldapsam for 2.2 compatability. This conditionally compiles the old options, but the actual code is available on all ldap systems. - Fix shadow passwords (as per work with vl) - Fix sending plaintext passwords to unicode servers (again vl) - Add a bit of const to secrets.c functions - Fix some spelling and grammer by vance. - Document the -r option in smbgroupedit. There are more changes in HEAD, I'm only merging the changes I've been involved with. Andrew Bartlett (This used to be commit 83973c389355a5cc9ca74af467dfd8b5dabd2c8f)
* Added Solaris sendfile patch + configure tests from Pierre Belanger ↵Jeremy Allison2002-09-301-0/+3
| | | | | | | <belanger@yahoo.com>. Jeremy. (This used to be commit 9c17faefa5cb0ed450578ae5bbcca44e3058bc9b)
* sync'ing up for 3.0alpha20 releaseGerald Carter2002-09-251-1/+10
| | | | (This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
* sync 3_0 branch with HEADJelmer Vernooij2002-08-171-0/+3
| | | | (This used to be commit 19ab776bf9c91cf4e56887fd7a63d3253b7e36ef)
* updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell2002-07-151-3/+5
| | | | (This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
* Merge of Solaris winbindd fixes.Tim Potter2002-05-131-0/+2
| | | | (This used to be commit 4bbc584e6ce9cbc32bae715fd3fec0d89f2e271f)
* Removed duplicate _LARGEFILE64_SOURCE added in error.Jeremy Allison2002-04-111-3/+0
| | | | | Jeremy. (This used to be commit 678f4f455e7ed0a6fafa3ad30ddadd1917e741ef)
* Ensure VFS modules will build correctly by adding defines for CPPFLAGSJeremy Allison2002-04-111-0/+31
| | | | | | defines into acconfig.h - only defined if seen. Jeremy. (This used to be commit 9f2753a1496c51fd56c97984b8def46a651dbfc8)
* This is another *BIG* change...Andrew Bartlett2002-01-201-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Samba now features a pluggable passdb interface, along the same lines as the one in use in the auth subsystem. In this case, only one backend may be active at a time by the 'normal' interface, and only one backend per passdb_context is permitted outside that. This pluggable interface is designed to allow any number of passdb backends to be compiled in, with the selection at runtime. The 'passdb backend' paramater has been created (and documented!) to support this. As such, configure has been modfied to allow (for example) --with-ldap and the old smbpasswd to be selected at the same time. This patch also introduces two new backends: smbpasswd_nua and tdbsam_nua. These two backends accept 'non unix accounts', where the user does *not* exist in /etc/passwd. These accounts' don't have UIDs in the unix sense, but to avoid conflicts in the algroitmic mapping of RIDs, they use the values specified in the 'non unix account range' paramter - in the same way as the winbind ranges are specifed. While I was at it, I cleaned up some of the code in pdb_tdb (code copied directly from smbpasswd and not really considered properly). Most of this was to do with % macro expansion on stored data. It isn't easy to get the macros into the tdb, and the first password change will 'expand' them. tdbsam needs to use a similar system to pdb_ldap in this regard. This patch only makes minor adjustments to pdb_nisplus and pdb_ldap, becouse I don't have the test facilities for these. I plan to incoroprate at least pdb_ldap into this scheme after consultation with Jerry. Each (converted) passdb module now no longer has any 'static' variables, and only exports 1 init function outside its .c file. The non-unix-account support in this patch has been proven! It is now possible to join a win2k machine to a Samba PDC without an account in /etc/passwd! Other changes: Minor interface adjustments: pdb_delete_sam_account() now takes a SAM_ACCOUNT, not a char*. pdb_update_sam_account() no longer takes the 'override' argument that was being ignored so often (every other passdb backend). Extra checks have been added in some places. Minor code changes: smbpasswd no longer attempts to initialise the passdb at startup, this is now done on first use. pdbedit has lost some of its 'machine account' logic, as this behaviour is now controlled by the passdb subsystem directly. The samr subsystem no longer calls 'local password change', but does the pdb interactions directly. This allow the ACB_ flags specifed to be transferred direct to the backend, without interference. Doco: I've updated the doco to reflect some of the changes, and removed some paramters no longer applicable to HEAD. (This used to be commit ff354c99c585068af6dc1ff35a1f109a806b326b)
* We need to test for major/minor macros.Jeremy Allison2002-01-101-0/+2
| | | | | Jeremy. (This used to be commit ee8c8add7f83d7a794546769c59c85ef8bb5b89a)
* Getting ready to add UNIX extensions in HEAD also.Jeremy Allison2002-01-101-0/+1
| | | | | Jeremy (This used to be commit 6210d4aa196c944e47076e316980f76ac9c6b02d)
* Added tests for st_blocks in struct stat, and added a (hateful) constantJeremy Allison2002-01-091-0/+2
| | | | | | | | | | the specifies the units that st_blocks is in. The reason for this is that HPUX uses 8k, AIX uses a #defined constant and everyone else (tm) uses 512 byte units. Needed for the CIFS UNIX extensions - coming to a Samba server near you soon.... :-). Jeremy. (This used to be commit 38cfffea5f0d7f5ff676f83204a2923247dce9d5)
* cope with systems that don't have full gssapi libsAndrew Tridgell2001-12-311-0/+1
| | | | (This used to be commit c4d928e55fe99a3a1c4e53508a44949f92d74219)
* Added HPUX ACL code.Jeremy Allison2001-12-151-0/+1
| | | | | Jeremy. (This used to be commit 6d03184f8c039ad81de47b5f3bde7dac5b2815ad)
* added the beginnings of ADS support in smbdAndrew Tridgell2001-11-201-0/+1
| | | | (This used to be commit c7f611691941ca92f57665e19d6e46b161599427)
* Fix compile on RedHat 7.2 systems with broken system headers.Jeremy Allison2001-11-141-0/+1
| | | | | Jeremy. (This used to be commit b14ac75666939b4f98213719ce7bc72fa9d37ce4)
* initial kerberos/ADS/SPNEGO support in libsmb and smbclient. ToAndrew Tridgell2001-10-111-0/+1
| | | | | | | | | | | activate you need to: - install krb5 libraries - run configure - build smbclient - run kinit to get a TGT - run smbclient with the -k option to choose kerberos auth (This used to be commit d33057585644e1337bac743e25ed7653bfb39eef)
* Fixup passdb stuff to add new nisplus and ldap backends.Jeremy Allison2001-09-251-1/+4
| | | | | Jeremy. (This used to be commit 611bf806d569b70edabbc04a2f5408142370a550)
* Added SWAT i18n feature:Motonobu Takahashi2001-09-241-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | TO enable configure with --with-i18n-swat to support this gettext is integrated and a new directories name "po" and "intl" are created. now these languages are supported: en - English (default) ja - Japanese po - Polish tr - Turkish To add your language, to create ${your_language}.po by translating source/po/en.po into your language is needed. some of html and image files of various language version are not included yet, though message catalogue files are installed. you need to copy files manually under ${swatdir}/lang/$ln/{help,images,included,using_samba} And also added a option to intall manual pages: of various lang version To enable configure with --with-manlangs but manual pages themself are not included yet. (This used to be commit 486b79a6fc4ba20a751aab544bd0f7ccff2b3d19)
* Attempt to make quotas work with RH7.1, and with other Linuxen... This isJeremy Allison2001-09-211-0/+2
| | | | | | *HARD*, dammit ! Jeremy. (This used to be commit 59a4684201fb72989698db5ac8169bd8880bd9a7)
* Add the ability to display Samba's build options with smbd -b and as a level 4Andrew Bartlett2001-09-191-0/+7
| | | | | | | | | | | | | | | | | | DEBUG(). Also included are details like build date/time, location and compiler. This should get most of the options we set, except those that don't affect smbd, like WITH_PAM_SMBPASSWD or WITH_WINBINDD. This work due to Vance Lankhaar <vlankhaar@hotmail.com> Some work needs to be done to make it only rebuild when needed (ie smbd being rebuilt) but its in pretty good shape already. Also fix up some printf() -> d_printf(). Andrew Bartlett (This used to be commit beff1d2beaf4337dba6bfc372c5e09a43cfd791a)
* Fixed up Solaris 64 bit configure.Jeremy Allison2001-09-151-0/+1
| | | | | Jeremy. (This used to be commit 36516b2ca97e8644a29055dfab868aced644f9aa)
* Change the description on --with-pam_smbpass to make it clearer - some peopeAndrew Bartlett2001-09-071-1/+0
| | | | | | | | | | | seem to think you need this module for normal samba/PAM operation. rerun autoconf rerun autoheader (Note that --with-pam_smbpass still doesn't build, but at least when it does again only people who actually need it will select it). (This used to be commit bbda3dd7422a434f19ca8968dab8f9f210254c2f)
* the next step in our error code handling changeAndrew Tridgell2001-09-031-0/+2
| | | | | | | | | - added WERROR for win32 error codes - added a configure test for immediate structures still lots to do, so its not enabled by default, but the main structure is there (This used to be commit 24f9ab683dec52587ee56717e821b49c0fa3d70f)
* Added Mike Davidsons Tru64 ACL patch.Jeremy Allison2001-08-101-1/+1
| | | | | Jeremy. (This used to be commit 8c5e5f8c84cab4273ca28d6b5f543dd5d5b464fb)
* Put HPUX on mmap blacklist.Jeremy Allison2001-08-021-0/+1
| | | | | Jeremy. (This used to be commit 4d5fe9ed4fc2c3bb7830ab14eead8d12eed37de9)
* Fix from Michael Davidson <md@caldera.com> for DEC OSF/1 ACLs (ie.Jeremy Allison2001-07-261-0/+1
| | | | | | Digital UNIX). Jeremy. (This used to be commit 324ba0512ec84bb173c72be3dfd2447e0dc30e26)
* a better test for unix domain socketsAndrew Tridgell2001-07-251-0/+1
| | | | (This used to be commit 7b3d030e1f869a842822d9a356a027cca6f3a725)
* The big character set handling changeover!Andrew Tridgell2001-07-041-0/+1
| | | | | | | | This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
* fixed usage of socklen_t and also tidied up SIG_ATOMIC_T, using a typedef ↵Andrew Tridgell2001-06-251-0/+1
| | | | | | instead of a define (This used to be commit e2ecff419fdc0a0dc7551b33b377dc11061ef2a3)
* Added patches to remove Linux specific XFS ACLs. These are now handled by theJeremy Allison2001-06-181-1/+0
| | | | | | | generic Linux ACL code. rpc_server/srv_samr_nt.c: Don't delete a policy handle before it's created. Jeremy. (This used to be commit db5b82e53a7061c4764d39ceb3df82e706aad42f)
* - added AC_HAVE_DECL() macro to aclocal.m4, so we can easily addAndrew Tridgell2001-05-301-0/+4
| | | | | | | tests for a fn or variable being defined in headers - used this to add prototypes for asprintf and vasprintf on systems that don't have them (This used to be commit ab2465239414853a14529f88a25f13c392aa2d3f)
* added test for C99 compliant vsnprintfAndrew Tridgell2001-04-271-0/+1
| | | | (This used to be commit 9ebd90904e512c49cc80c584ab3d5902340ddcae)
* Re-ran autoheader; autoconf to fix pam_smb build.Jeremy Allison2001-04-251-0/+2
| | | | | Jeremy. (This used to be commit c6f25e84d3e15319d263386c101727d787cf0679)
* AIX ACLs donated by IBM.Jeremy Allison2001-04-171-0/+1
| | | | | | Merge Andrew's fnmatch fix for WfW. Jeremy. (This used to be commit 1d4438f07745df3d02ed8ab3ef048e20016816b6)
* Added POSIX_ACL support for *BSD. Patch from jedgar@fxp.org. ChangedJeremy Allison2001-04-141-0/+1
| | | | | | | a bit to use AC_TRY_LINK to ensure functions are available for link instead of AC_TRY_COMPILE. Jeremy. (This used to be commit c23628746342b6afa28cb34b0b4eaa61189ad390)
* To stop people complaining about the mktemp call, move it into lib/util.c. ↵Jeremy Allison2001-04-111-0/+1
| | | | | | | | | Thanks to Andrew for all this code. Fixed extra line in lib/sysacls.c that broke XFS ACL code. Jeremy. (This used to be commit 9b32b8a8cfc8ddb93c14d5581f433d2e93f89ed2)
* Added XFS ACLs on Linux. Code from John Trostel <jtrostel@connex.com>.Jeremy Allison2001-04-031-0/+2
| | | | | Jeremy. (This used to be commit 0865366f6b1070a8db3d8421c37c8072b36b96e3)
* rpc_client/cli_netlogon.c: Fixed incorrect printf.Jeremy Allison2001-02-251-0/+2
| | | | | | Added Solaris ACL support. Jeremy. (This used to be commit f0d11b6997cc46a0210adef8cf572cf8b7e2467a)
* Fixed typo with acl_set_fd() not needing an ACL_TYPE_T parameter.Jeremy Allison2001-01-111-0/+1
| | | | | | Ensure HAVE_NO_ACLS is set in configure if ACL support not selected. Jeremy (This used to be commit 523c91935621ec2d200a79385046694806f7c837)
* Working code to read POSIX ACLs on a Linux system using the bestbitsJeremy Allison2000-12-071-0/+1
| | | | | | | | ACL patch from http://acl.bestbits.at/. configure support needs more work (just assumes correct headers at the moment). ACL writing needs adding. Jeremy. (This used to be commit 6ae63e502e6adf3666a34aa87860c74e106fdb84)
* Changed to sourceforge tdb code. This includes spinlocks (so we now haveJeremy Allison2000-12-061-0/+5
| | | | | | | | | 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. (This used to be commit 9dea7b7c257db487f8ced7dad3fce92fba03ea91)
* TDB password backend support written by Simo Sorce <simo.sorce@polimi.it>Gerald Carter2000-10-261-0/+1
| | | | | | | | | | | Marked as an experimental compile time option (defaults to off) for now. jerry (This used to be commit 0435af4417b876c2ea1dd4591ae7647784c28e30)
* Fixes from David Lee for utmp handling.Jeremy Allison2000-10-211-0/+11
| | | | | Jeremy. (This used to be commit 70cecfefc8e876871b29ff8d5fa9226db0e98153)
* Fix for yp_get_default_domain from Neil Hoggarth ↵Jeremy Allison2000-10-071-0/+1
| | | | | | | <neil.hoggarth@physiol.ox.ac.uk> Jeremy. (This used to be commit 44ed8abb2a9f2197b18565dd23a2795faf8fe241)
* 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. (This used to be commit fabe1f350e1fc58db33d22cebd38652950697ced)
* fixed autoconf test for kernel change notify supportAndrew Tridgell2000-06-141-0/+1
| | | | (This used to be commit 92d0382c9e1d6d31e6047ca3d78523a3204d36f8)