summaryrefslogtreecommitdiff
path: root/source3/include/config.h.in
AgeCommit message (Collapse)AuthorFilesLines
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/+10
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)
2002-01-09With --enable-dmalloc, also use dmalloc's wrappers around routinesMartin Pool1-1/+4
like strcat (This used to be commit fb8ab69b6f638c41d734282488be91d85b4ec057)
2001-12-31cope with systems that don't have full gssapi libsAndrew Tridgell1-1/+2
(This used to be commit c4d928e55fe99a3a1c4e53508a44949f92d74219)
2001-12-30Make Samba compile on RH 6.2 again.Andrew Bartlett1-0/+3
We now include the libber.h file if required, but currently we just don't use ldap. (I'll chase this up). In the meantime, I've moved the ads_status code about, its now in its own file, and has a couple of #ifdefs to allow smbd to link - becouse the lack of LDAP caused HAVE_ADS to be undefined. (I hope its not too ugly). Andrew Bartlett (This used to be commit 14407c87e2dcccae1784290e3eb7a2d611516aff)
2001-12-30When running interactive we want to set our own process group forJeremy Allison1-1/+4
signal management. Jeremy. (This used to be commit fffae94dd5699f44c0b1c8081587deafd89b3fc0)
2001-12-20Add --enable-dmalloc to link against the dmalloc malloc debugger.Martin Pool1-1/+4
It's not as strong as Insure, but it's free, reasonably efficient and works on every platform. (This used to be commit e76d27fcdb33df5212ca5b0ce53c77ed8ca58906)
2001-12-19Added AC_CHECK_FUNCS(syslog vsyslog).Jeremy Allison1-0/+6
nsswitch code uses vsyslog without checking for it. Provide replacement for vsyslog in lib/snprintf if not found by configure. Jeremy. (This used to be commit ab2e55cdb376d6699c9a09fac243fba7d3840447)
2001-12-15Added HPUX ACL code.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 6d03184f8c039ad81de47b5f3bde7dac5b2815ad)
2001-12-14Updated Solaris link options from DaveCB.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 064a3e0fc406d5ab408da0fbfbf68c89ce8defdd)
2001-12-12allow IRIX to build nsswitch/libnss_wins.soHerb Lewis1-0/+3
(This used to be commit 564bfd77287b3006c7246065990ca9b91f79826a)
2001-12-08check for gssapi_generic.hAndrew Tridgell1-0/+3
(This used to be commit 838fbac7a086ff82498c3f0ba95b714123a7428c)
2001-12-08added internal sasl/gssapi code. This means we are no longer dependent on ↵Andrew Tridgell1-3/+3
cyrus-sasl which makes the code much less fragile. Also added code to auto-determine the server name or realm (This used to be commit 435fdf276a79c2a517adcd7726933aeef3fa924b)
2001-12-01The beginnings of alternative backends for winbinddAndrew Tridgell1-1/+1
This just splits off the dispinfo call behind a methods structure. I'll split off a few more functions soon, then we will be ready for LDAP replacement methods (This used to be commit 0216b0fca115c903ec31ed21427a83c62077dc95)
2001-11-30XFS quota patch for Linux.Jeremy Allison1-1/+4
Jeremy. (This used to be commit ce099faf6ce07e14bd9610960bd09f56c5bee864)
2001-11-27added test for krb5.hAndrew Tridgell1-0/+3
this was causing the kerberos stuff to fail compilation on several platforms (This used to be commit 17e2f3897374c76dd66b21fdcd93c3a04671f4ce)
2001-11-25check for liblber separatelyAndrew Tridgell1-0/+1
(This used to be commit d7216424d94ee89e1760596c8f87d1883f369771)
2001-11-22--with-msdfs wsa removedGerald Carter1-1/+0
(This used to be commit f1143cd02c24f7c56b2e4ec70f77f22dbc01b113)
2001-11-20added the beginnings of ADS support in smbdAndrew Tridgell1-0/+13
(This used to be commit c7f611691941ca92f57665e19d6e46b161599427)
2001-11-19Detect libreadline>=4.0, and set HAVE_NEW_LIBREADLINE. At the momentMartin Pool1-1/+4
this is only to get the cast right, but it might help with other parts of the API that changed later. (This used to be commit b792c9317ab62fe407de34ed811cc883a7652cc4)
2001-11-14Fix compile on RedHat 7.2 systems with broken system headers.Jeremy Allison1-3/+1
Jeremy. (This used to be commit b14ac75666939b4f98213719ce7bc72fa9d37ce4)
2001-10-23Add popt for parsing commandline optionsJim McDonough1-1/+4
(This used to be commit df34e11d84a6fe89dc6654eb10de0a49383e1dea)
2001-10-22- fixed link order of krb5 libsAndrew Tridgell1-6/+0
- accept a wide range of principal names in session setup (This used to be commit 672df66296f540b606aa43effab5f021b8978e4b)
2001-10-17added basic NTLMSSP support in smbd. This is still quite rough, andAndrew Tridgell1-0/+6
loses things like username mapping. I wanted to get this in then discuss it a bit to see how we want to split up the existing session setup code (This used to be commit b74fda69bf23207c26d8b2af23910d8f2eb89875)
2001-10-11first step in converting the head branch to use lang_tdb.c insteadAndrew Tridgell1-64/+0
of gettext for internationalisation support. There is more to do (This used to be commit ab7f67677a1ade4669e5c2750d0a38422ea616a9)
2001-10-11initial kerberos/ADS/SPNEGO support in libsmb and smbclient. ToAndrew Tridgell1-1/+2
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-28Fixed CUPS detection - patch from Michael Sweet.Jeremy Allison1-3/+3
Jeremy. (This used to be commit 4c5158d1e5620ccc3f2812a3fbedcb60a67caecc)
2001-09-25Fixup passdb stuff to add new nisplus and ldap backends.Jeremy Allison1-11/+70
Jeremy. (This used to be commit 611bf806d569b70edabbc04a2f5408142370a550)
2001-09-24Added SWAT i18n feature:Motonobu Takahashi1-0/+20
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-22fixed the Makefile so we don't rebuild libsmbclient and build_env.hAndrew Tridgell1-1/+1
(and thus smbd) every time (This used to be commit e78d0a3615d74cdd023d2d623abc27ac59356ae0)
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-19Reran autoconf, autoheaderAndrew Bartlett1-0/+10
(This used to be commit 26e523bf6e36d1aa355bbaa7d9b1d5c65c1b5e6b)
2001-09-15Fixed up Solaris 64 bit configure.Jeremy Allison1-1/+2
Jeremy. (This used to be commit 36516b2ca97e8644a29055dfab868aced644f9aa)
2001-09-14merges from 2.2Gerald Carter1-1/+1
(This used to be commit b619458dde158c37a4420a28a7e1e1f70e7a18d1)
2001-09-07Change the description on --with-pam_smbpass to make it clearer - some peopeAndrew Bartlett1-2/+22
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-06Removed 18 duplicate #undef entries.Tim Potter1-21/+0
(This used to be commit 7a7b13940efbbf15dfcf45f89389e2728527f1e2)
2001-09-03the next step in our error code handling changeAndrew Tridgell1-2/+10
- 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-23Fixed detection of CUPS. We need to check for the presence of the cupsTim Potter1-2/+2
header files as well as libcups. (This used to be commit 2dbb41a7b88e7fad63579111aaab4a1cd28c54d5)
2001-08-20a bunch of fixes from the sflight to seattleAndrew Tridgell1-1/+1
in particular: - fixed NT status code for a bunch of ops - fixed handling of protocol levels in ms_fnmatch (This used to be commit 3eba9606f71f90bfd9820af26f8676277ed22390)
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-1/+2
Digital UNIX). Jeremy. (This used to be commit 324ba0512ec84bb173c72be3dfd2447e0dc30e26)
2001-07-25a better test for unix domain socketsAndrew Tridgell1-3/+1
(This used to be commit 7b3d030e1f869a842822d9a356a027cca6f3a725)
2001-07-25added a --with-libiconv=BASEDIR/ option to allow easier use of anAndrew Tridgell1-1/+4
alternative iconv library (This used to be commit cfb6e67bb92f9d73aadabebae3ea5baeb07158a0)
2001-07-16Fix from bernd@arresum.inka.de for broken krb configure.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 956e2a4e3783beec13b1baddb6384deac60389a9)
2001-07-04The big character set handling changeover!Andrew Tridgell1-1/+2
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-07-02Not all OSs have setbuffer, so we better check for it.Andrew Bartlett1-0/+3
Andrew Bartlett (This used to be commit aa5708de69a71e6b41a12f63550fae94f2481742)
2001-06-29Ensured all the system calls in msdfs.c go through the vfs layer.Jeremy Allison1-0/+6
Added vfs calls to symlink() and readlink() with appropriate configure checks. Jeremy. (This used to be commit c24e6b41ea60ab4bac2fcd19da947851d6df3c7c)