summaryrefslogtreecommitdiff
path: root/source3/acconfig.h
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* - changed HAVE_KERNEL_OPLOCKS to HAVE_KERNEL_OPLOCKS_IRIXAndrew Tridgell2000-06-081-1/+2
| | | | | - added autoconf test for HAVE_KERNEL_OPLOCKS_LINUX (This used to be commit 0368f68529a9244663c199068e95d1a1d93152fa)
* Fixed last remaining instance of MS_DFS to WITH_MSDFS.Tim Potter2000-05-261-1/+1
| | | | (This used to be commit d4e2e595661857f40a40ce32a1b6dc4725e6c3b3)
* got rid of some more old configure tests and includesAndrew Tridgell2000-04-171-1/+0
| | | | (This used to be commit f137648504362479143d50477fa38ebf7147968b)
* removed some obsolete configure tests (sysv ipc etc)Andrew Tridgell2000-04-171-3/+0
| | | | (This used to be commit e8905a557a342ba3604a61663c6ff24887a9fd46)
* 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. (This used to be commit 567713a07c089ab3ebb4c9b96087777de154b601)
* 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. (This used to be commit f02999dbf7971b4ea05050d7206205d7737a78b2)
* 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 ---------------------------------------------------------------------- (This used to be commit 4684b4a188b54493dbe7f0de2909a8d3c5c3ebf9)
* 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. (This used to be commit b52e92b09d4ca3b66e534f520468dee27065d048)
* 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. (This used to be commit 773d6e504b1ac97f0d8136002ace2c0c0771a163)
* Added utmp fix from David Lee <T.D.Lee@durham.ac.uk>.Jeremy Allison2000-01-121-0/+1
| | | | | Jeremy. (This used to be commit 95d37a1d25d56316c80eec54aea1f358cd621d4c)
* Converted most of the functions in lib/util_str.c to smb_ucs2_t equivalents.Jeremy Allison1999-12-291-0/+1
| | | | | Jeremy. (This used to be commit 1ba42aca2163c534f6be4e4a733604e3dffe0ed8)