summaryrefslogtreecommitdiff
path: root/source3/acconfig.h
AgeCommit message (Collapse)AuthorFilesLines
2002-10-01Updates from Samba HEAD:Andrew Bartlett1-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)
2002-09-30Added Solaris sendfile patch + configure tests from Pierre Belanger ↵Jeremy Allison1-0/+3
<belanger@yahoo.com>. Jeremy. (This used to be commit 9c17faefa5cb0ed450578ae5bbcca44e3058bc9b)
2002-09-25sync'ing up for 3.0alpha20 releaseGerald Carter1-1/+10
(This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
2002-08-17sync 3_0 branch with HEADJelmer Vernooij1-0/+3
(This used to be commit 19ab776bf9c91cf4e56887fd7a63d3253b7e36ef)
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell1-3/+5
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-05-13Merge of Solaris winbindd fixes.Tim Potter1-0/+2
(This used to be commit 4bbc584e6ce9cbc32bae715fd3fec0d89f2e271f)
2002-04-11Removed duplicate _LARGEFILE64_SOURCE added in error.Jeremy Allison1-3/+0
Jeremy. (This used to be commit 678f4f455e7ed0a6fafa3ad30ddadd1917e741ef)
2002-04-11Ensure VFS modules will build correctly by adding defines for CPPFLAGSJeremy Allison1-0/+31
defines into acconfig.h - only defined if seen. Jeremy. (This used to be commit 9f2753a1496c51fd56c97984b8def46a651dbfc8)
2002-01-20This is another *BIG* change...Andrew Bartlett1-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)
2002-01-10We need to test for major/minor macros.Jeremy Allison1-0/+2
Jeremy. (This used to be commit ee8c8add7f83d7a794546769c59c85ef8bb5b89a)
2002-01-10Getting ready to add UNIX extensions in HEAD also.Jeremy Allison1-0/+1
Jeremy (This used to be commit 6210d4aa196c944e47076e316980f76ac9c6b02d)
2002-01-09Added tests for st_blocks in struct stat, and added a (hateful) constantJeremy Allison1-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)
2001-12-31cope with systems that don't have full gssapi libsAndrew Tridgell1-0/+1
(This used to be commit c4d928e55fe99a3a1c4e53508a44949f92d74219)
2001-12-15Added HPUX ACL code.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 6d03184f8c039ad81de47b5f3bde7dac5b2815ad)
2001-11-20added the beginnings of ADS support in smbdAndrew Tridgell1-0/+1
(This used to be commit c7f611691941ca92f57665e19d6e46b161599427)
2001-11-14Fix compile on RedHat 7.2 systems with broken system headers.Jeremy Allison1-0/+1
Jeremy. (This used to be commit b14ac75666939b4f98213719ce7bc72fa9d37ce4)
2001-10-11initial kerberos/ADS/SPNEGO support in libsmb and smbclient. ToAndrew Tridgell1-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)
2001-09-25Fixup passdb stuff to add new nisplus and ldap backends.Jeremy Allison1-1/+4
Jeremy. (This used to be commit 611bf806d569b70edabbc04a2f5408142370a550)
2001-09-24Added SWAT i18n feature:Motonobu Takahashi1-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)
2001-09-21Attempt to make quotas work with RH7.1, and with other Linuxen... This isJeremy Allison1-0/+2
*HARD*, dammit ! Jeremy. (This used to be commit 59a4684201fb72989698db5ac8169bd8880bd9a7)
2001-09-19Add the ability to display Samba's build options with smbd -b and as a level 4Andrew Bartlett1-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)
2001-09-15Fixed up Solaris 64 bit configure.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 36516b2ca97e8644a29055dfab868aced644f9aa)
2001-09-07Change the description on --with-pam_smbpass to make it clearer - some peopeAndrew Bartlett1-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)
2001-09-03the next step in our error code handling changeAndrew Tridgell1-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)
2001-08-10Added Mike Davidsons Tru64 ACL patch.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 8c5e5f8c84cab4273ca28d6b5f543dd5d5b464fb)
2001-08-02Put HPUX on mmap blacklist.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 4d5fe9ed4fc2c3bb7830ab14eead8d12eed37de9)
2001-07-26Fix from Michael Davidson <md@caldera.com> for DEC OSF/1 ACLs (ie.Jeremy Allison1-0/+1
Digital UNIX). Jeremy. (This used to be commit 324ba0512ec84bb173c72be3dfd2447e0dc30e26)
2001-07-25a better test for unix domain socketsAndrew Tridgell1-0/+1
(This used to be commit 7b3d030e1f869a842822d9a356a027cca6f3a725)
2001-07-04The big character set handling changeover!Andrew Tridgell1-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)
2001-06-25fixed usage of socklen_t and also tidied up SIG_ATOMIC_T, using a typedef ↵Andrew Tridgell1-0/+1
instead of a define (This used to be commit e2ecff419fdc0a0dc7551b33b377dc11061ef2a3)
2001-06-18Added patches to remove Linux specific XFS ACLs. These are now handled by theJeremy Allison1-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)
2001-05-30- added AC_HAVE_DECL() macro to aclocal.m4, so we can easily addAndrew Tridgell1-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)
2001-04-27added test for C99 compliant vsnprintfAndrew Tridgell1-0/+1
(This used to be commit 9ebd90904e512c49cc80c584ab3d5902340ddcae)
2001-04-25Re-ran autoheader; autoconf to fix pam_smb build.Jeremy Allison1-0/+2
Jeremy. (This used to be commit c6f25e84d3e15319d263386c101727d787cf0679)
2001-04-17AIX ACLs donated by IBM.Jeremy Allison1-0/+1
Merge Andrew's fnmatch fix for WfW. Jeremy. (This used to be commit 1d4438f07745df3d02ed8ab3ef048e20016816b6)
2001-04-14Added POSIX_ACL support for *BSD. Patch from jedgar@fxp.org. ChangedJeremy Allison1-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)
2001-04-11To stop people complaining about the mktemp call, move it into lib/util.c. ↵Jeremy Allison1-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)
2001-04-03Added XFS ACLs on Linux. Code from John Trostel <jtrostel@connex.com>.Jeremy Allison1-0/+2
Jeremy. (This used to be commit 0865366f6b1070a8db3d8421c37c8072b36b96e3)
2001-02-25rpc_client/cli_netlogon.c: Fixed incorrect printf.Jeremy Allison1-0/+2
Added Solaris ACL support. Jeremy. (This used to be commit f0d11b6997cc46a0210adef8cf572cf8b7e2467a)
2001-01-11Fixed typo with acl_set_fd() not needing an ACL_TYPE_T parameter.Jeremy Allison1-0/+1
Ensure HAVE_NO_ACLS is set in configure if ACL support not selected. Jeremy (This used to be commit 523c91935621ec2d200a79385046694806f7c837)
2000-12-07Working code to read POSIX ACLs on a Linux system using the bestbitsJeremy Allison1-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)
2000-12-06Changed to sourceforge tdb code. This includes spinlocks (so we now haveJeremy Allison1-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)
2000-10-26TDB password backend support written by Simo Sorce <simo.sorce@polimi.it>Gerald Carter1-0/+1
Marked as an experimental compile time option (defaults to off) for now. jerry (This used to be commit 0435af4417b876c2ea1dd4591ae7647784c28e30)
2000-10-21Fixes from David Lee for utmp handling.Jeremy Allison1-0/+11
Jeremy. (This used to be commit 70cecfefc8e876871b29ff8d5fa9226db0e98153)
2000-10-07Fix for yp_get_default_domain from Neil Hoggarth ↵Jeremy Allison1-0/+1
<neil.hoggarth@physiol.ox.ac.uk> Jeremy. (This used to be commit 44ed8abb2a9f2197b18565dd23a2795faf8fe241)
2000-06-15added support for kernel level share modes. These are a (small) hack,Andrew Tridgell1-0/+1
I suspect we will either get rid of them or do them properly at some stage. (This used to be commit fabe1f350e1fc58db33d22cebd38652950697ced)
2000-06-14fixed autoconf test for kernel change notify supportAndrew Tridgell1-0/+1
(This used to be commit 92d0382c9e1d6d31e6047ca3d78523a3204d36f8)
2000-06-08- changed HAVE_KERNEL_OPLOCKS to HAVE_KERNEL_OPLOCKS_IRIXAndrew Tridgell1-1/+2
- added autoconf test for HAVE_KERNEL_OPLOCKS_LINUX (This used to be commit 0368f68529a9244663c199068e95d1a1d93152fa)
2000-05-26Fixed last remaining instance of MS_DFS to WITH_MSDFS.Tim Potter1-1/+1
(This used to be commit d4e2e595661857f40a40ce32a1b6dc4725e6c3b3)
2000-04-17got rid of some more old configure tests and includesAndrew Tridgell1-1/+0
(This used to be commit f137648504362479143d50477fa38ebf7147968b)