summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
AgeCommit message (Collapse)AuthorFilesLines
2001-12-31cope with systems that don't have full gssapi libsAndrew Tridgell1-1/+1
(This used to be commit c4d928e55fe99a3a1c4e53508a44949f92d74219)
2001-12-30Make Samba compile on RH 6.2 again.Andrew Bartlett1-0/+4
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-20Add --enable-dmalloc to link against the dmalloc malloc debugger.Martin Pool1-0/+7
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-19Doc.Martin Pool1-1/+3
(This used to be commit 5b6c22a209a26cb9adbf6d7733d396038c729633)
2001-12-08check for gssapi_generic.hAndrew Tridgell1-0/+5
(This used to be commit 838fbac7a086ff82498c3f0ba95b714123a7428c)
2001-12-08added internal sasl/gssapi code. This means we are no longer dependent on ↵Andrew Tridgell1-4/+4
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-11-27added test for krb5.hAndrew Tridgell1-1/+8
this was causing the kerberos stuff to fail compilation on several platforms (This used to be commit 17e2f3897374c76dd66b21fdcd93c3a04671f4ce)
2001-11-27sigh.Andrew Tridgell1-2/+2
some systems have libkrb5 but not krb5.h (This used to be commit 4b89fdecfcf384e7434470a9dcc963f9d96498d1)
2001-11-25Fixed compiler warning.Tim Potter1-1/+1
Why do people keep adding stuff to includes.h (OK I am guilty of this too)? It's getting really huge and full of random junk. )-: I've noticed TNG have started to split stuff up in to individual header files included as needed. (This used to be commit 36630f3984cb2bc4e60d910889e0396891cbc088)
2001-11-25added HAVE_LDAP_H checkAndrew Tridgell1-2/+2
(This used to be commit a1304be045d9cfd7bb793bb55ff49e158440a90e)
2001-11-24added "net join" commandAndrew Tridgell1-0/+7
this completes the first stage of the smbd ADS support (This used to be commit 058a5aee901e6609969ef7e1d482a720a84a4a12)
2001-11-20added the beginnings of ADS support in smbdAndrew Tridgell1-0/+22
(This used to be commit c7f611691941ca92f57665e19d6e46b161599427)
2001-11-19Fix obvious typo.Martin Pool1-1/+1
(This used to be commit d761a3860ba7b11b446d3a9865ddfeff8e2f658d)
2001-11-19Store some path names in global variables initialized to configureMartin Pool1-0/+1
default, rather than in preprocessor macros. (This used to be commit 79ec88f0da40faebe1e587f1b3e87b5f2b184f58)
2001-11-15Tidyups and things I discovered during the merge...Jeremy Allison1-1/+1
Jeremy. (This used to be commit 9c8439f25b90d80adcd7161bfed3664af6256940)
2001-11-04Fix for broken-as-shipped RedHat 7.2 system headers. Now we haveJeremy Allison1-0/+12
to detect this in configure. Jeremy. (This used to be commit 44fb1992c98e7cca5663b17ea9a4833fcf0a8478)
2001-10-23Add popt for parsing commandline optionsJim McDonough1-0/+2
(This used to be commit df34e11d84a6fe89dc6654eb10de0a49383e1dea)
2001-10-19Add rap.h for net utility and libsmbJim McDonough1-0/+2
(This used to be commit 3545de4773438f859e64b3578c2bbf706257eced)
2001-10-18the beginnings of kerberos support in smbd. It doesn't work yet, butAndrew Tridgell1-0/+4
it should give something for others to hack on and possibly find what I'm doing wrong. (This used to be commit 353c290f059347265b9be2aa1010c2956da06485)
2001-10-14the next step in the intl changeover. This should get us compiling agian,Andrew Tridgell1-0/+1
and also completes the switch to lang_tdb.c. SWAT should now work with a po file in the lib/ directory also removed useless SYSLOG defines in many files (This used to be commit 5296b20ad85d7519c870768455cb4d8df048c55a)
2001-10-11initial kerberos/ADS/SPNEGO support in libsmb and smbclient. ToAndrew Tridgell1-1/+3
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-18Use structure copy to fix unaligned accesses on 64bit architectures onJeremy Allison1-1/+1
Linux. Jeremy. (This used to be commit b4b891279b6292237113456f1bb0d4393f1f9af1)
2001-09-10declare dbf in one spotAndrew Tridgell1-1/+1
(This used to be commit f41c3bb80f1e498a9d27f6e236b0ff3a742764c9)
2001-09-10replaced stdio in many parts of samba with a XFILE. XFILE is a cut-downAndrew Tridgell1-0/+1
replacemnt of stdio that doesn't suffer from the 8-bit filedescriptor limit that we hit with nasty consequences on some systems I would eventually prefer us to have a configure test to see if we need to replace stdio, but for now this code needs to be tested widely so I'm enabling it by default. (This used to be commit 1af8bf34f1caa3e7ec312d8109c07d32a945a448)
2001-09-09fixed missing const on d_printf declarationAndrew Tridgell1-3/+3
(This used to be commit 865e0507e6e6ad6a71d833c4f2a0f57362637719)
2001-09-08convert more code to using d_printfAndrew Tridgell1-0/+2
(This used to be commit 60d297303488ed583537ca2853828fccd6da2ade)
2001-09-07added "display charset" option in smb.conf, along with d_printf()Andrew Tridgell1-0/+1
which should now be used instead of DEBUG(0) or printf() for interactive messages I have only converted client.c to use d_printf(), and the code hasn't had much testing yet. Eventually we want all interactive code to use d_printf(), plus SWAT (This used to be commit 266d8e67669adb329f25676c4bc4d4c50f223428)
2001-09-05fixed a bunch of compilation errors on Solaris, mostly people getting ↵Andrew Tridgell1-34/+1
NSS_STATUS and WINBINDD error codes mixed up (This used to be commit 66698d6b841df809a8654012a8385bffacb9dc4a)
2001-08-23Fixed detection of CUPS. We need to check for the presence of the cupsTim Potter1-1/+1
header files as well as libcups. (This used to be commit 2dbb41a7b88e7fad63579111aaab4a1cd28c54d5)
2001-08-22A few changes:Andrew Bartlett1-0/+2
drop paramaters: status utmp hostname change session code to always record each vuid current on the server. The sessionid struct is no longer packed, as I couldn't get that to work ;-) change smbstatus to show this info and less of the connections.tdb info (its not actualy that accurate). I'll get swat doing some of this shortly. (This used to be commit b068ad300527c44673bbee0aede7849199c89de7)
2001-08-03This is my 'Authentication Rewrite' version 1.01, mostly as submitted toAndrew Bartlett1-0/+2
samba-technical a few weeks ago. The idea here is to standardize the checking of user names and passwords, thereby ensuring that all authtentications pass the same standards. The interface currently implemented in as nt_status = check_password(user_info, server_info) where user_info contains (mostly) the authentication data, and server_info contains things like the user-id they got, and their resolved user name. The current ugliness with the way the structures are created will be killed the next revision, when they will be created and malloced by creator functions. This patch also includes the first implementation of NTLMv2 in HEAD, but which needs some more testing. We also add a hack to allow plaintext passwords to be compared with smbpasswd, not the system password database. Finally, this patch probably reintroduces the PAM accounts bug we had in 2.2.0, I'll fix that once this hits the tree. (I've just finished testing it on a wide variety of platforms, so I want to get this patch in). (This used to be commit b30b6202f31d339b48d51c0d38174cafd1cfcd42)
2001-07-25a better test for unix domain socketsAndrew Tridgell1-1/+1
(This used to be commit 7b3d030e1f869a842822d9a356a027cca6f3a725)
2001-07-22if EILSEQ doesn't exist then use EIO. It doesn't really matter whatAndrew Tridgell1-2/+3
error code we use, as long as its not another one that iconv() can give. (This used to be commit 2097abb76c1845a69a7136af388cef09243ca066)
2001-07-22changed the iconv interface to go via ucs2 for all conversions. ThisAndrew Tridgell1-0/+5
fixes some problems wih some character sets and allows for using internal charsets in conjunction with ionv charsets this makes us slower but more correct. speed will come later. (This used to be commit 594f84b4e39182dcf344c02dc0185376a2726395)
2001-07-07Add backend encryption support for NTLMv2.Andrew Bartlett1-0/+3
The leg-work for this was done by the folks at samba-tng.org, I'm just bringing it accross to HEAD. The MD5 implementation is seperatly derived, and does not have the copyright problems that the one in TNG has. Also add const to a few places where it makes sence. Andrew Bartlett (This used to be commit 8df8e841445dfe09fc7a06bb55d12adc3fecb345)
2001-07-04missed a couple of strchr callsAndrew Tridgell1-5/+0
(This used to be commit 57e7df8ae58020ab653307c1fdfbadd44983e900)
2001-07-04The big character set handling changeover!Andrew Tridgell1-3/+5
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-03Added #define of int32 to int for cray. This will almost certainly causeJeremy Allison1-0/+3
the rpc code to fail on the cray.... Jeremy. (This used to be commit 33a299a0c42bb7090e2030fb1e5cafdf07346bc6)
2001-06-26fixed buildAndrew Tridgell1-0/+1
don't rush commits :) (This used to be commit 442bf5cc9e6de7888f9a8cc06050f73ef880c4d9)
2001-06-26fall back to "unsigned" for uint32 on systems that don't have oneAndrew Tridgell1-1/+3
(This used to be commit 4d0c3167099f461b46fafaa3a35b14babbadcb93)
2001-06-25fixed usage of socklen_t and also tidied up SIG_ATOMIC_T, using a typedef ↵Andrew Tridgell1-5/+7
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-4/+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-06-04Compile fix for Solaris.Tim Potter1-8/+29
(This used to be commit 7a1929b6caeb9b349510f7f4ae394246b9c5adc3)
2001-05-30fixed asprintf declarationAndrew Tridgell1-6/+3
(This used to be commit fbf03c89e6b1980f4f75a657f9760edb7445d8cb)
2001-05-30- added AC_HAVE_DECL() macro to aclocal.m4, so we can easily addAndrew Tridgell1-0/+6
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-05-294 new functions to retrieve single linked list of group and passwd entriesSimo Sorce1-0/+2
+ a fix to an infinite loop in srv_samr_nt.c caused by misuse of setgrent/getgrent/endgrent solved by these new functions (This used to be commit 97dbb54a13e2285f1905ee1ec9aafeebdaee8917)
2001-05-08Removed S_ISSOCK() macro as it's only used within winbind client code.Tim Potter1-10/+0
(This used to be commit 8fe76adb33bb7de19c8b2c8783dc6e3a3977bd8f)
2001-05-03Fixed SHM_R/SHM_W warnings by moving sys/ipc.h and sys/shm.h into includes.hJeremy Allison1-0/+8
and using autoconf tests. Added "restrict acl with mask" parameter. Jeremy. (This used to be commit 7792e32ba7fd734cc68b354f31c382ac11521fe8)
2001-04-28- fixed some compiler warningsAndrew Tridgell1-6/+12
- fixed slprintf and vsprintf macros (This used to be commit c986a3c51e8cdbc1230edbe0f4a91138c4ada29d)
2001-04-28- added test for vasprintfAndrew Tridgell1-0/+15
- cleaned up GNUC printf attribute macros - added enum handling in mkproto - removed non-vararg code - made slprintf and vslprintf just macros for snprintf and vsnprintf - don't need slprintf code any more (This used to be commit c7aeb2254dfc3cd0aa0b6c0bdd426f9323be0ddf)