summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2003-01-16Updates to the NTLMSSP code again - moving the base64 decode fuctionality outAndrew Bartlett1-2/+4
of the SWAT code, and adding a base64 encoder. The main purpose of this patch is to add NTLMSSP support to 'ntlm_auth', for use with Squid. Unfortunetly the squid side doesn't quite support what we need yet. Changes to winbind to get us the info we need, and a couple of consequential changes/cleanups in the rest of the code. Andrew Bartlett (This used to be commit fe50ca8f54ded2e119bde08831785fbe0db2ee99)
2003-01-16More Heimdal changes. Still not compiling with Heimdal yet...Jeremy Allison2-0/+7
Jeremy. (This used to be commit c3544c119e4cafb817479b4c5dfae178c3de000b)
2003-01-16Fist part of fixes to make us compile with Heimdal. Don't explicitlyJeremy Allison2-1/+11
detect for now, I still have vague hopes of hiding the differences between MIT and Heimdal with a compatibility layer.... Jeremy. (This used to be commit a776fbef3244ae82a17c57a7f62de115fd023c86)
2003-01-15small merges from SAMBA_3_0; mostly typos, renames, etc...Gerald Carter1-1/+0
(This used to be commit 9ac196dad4893b0ceef13281a140be5d85391e6c)
2003-01-15Refactor the NTLMSSP code again - this time we use function pointers toAndrew Bartlett2-4/+22
eliminate the dependency on the auth subsystem. The next step is to add the required code to 'ntlm_auth', for export to Squid etc. Andrew Bartlett (This used to be commit 9e48ab86da40e4c1cafa70c04fb9ebdcce23dfab)
2003-01-15added cli_lsa_enum_account_rights() call. Note that this is inAndrew Tridgell2-0/+33
principal similar to the existing cli_lsa_enum_privsaccount() call, except that cli_lsa_enum_account_rights() doesn't require a call to open_account first. There is also the minor matter that cli_lsa_enum_account_rights() works whereas cli_lsa_enum_privsaccount() doesn't! this call can be used to find what privileges an account or group has. This is a first step towards proper privileges support in Samba. (This used to be commit 65bac11d716f873dcdbda528313c33634c26a072)
2003-01-15Run autoheaderMartin Pool1-6/+0
(This used to be commit 82e4bb598c9fc26eaa090687d0daa6505fa0d550)
2003-01-14Commit my (disabled) fstring/pstring mixup detection code.Andrew Bartlett1-0/+21
We need to fix some 'overmalloc' cases before it can be enabled by default. Andrew Bartlett (This used to be commit 2c2c52a18be1bd0a5ae1f4a48b1d9e18f4887dda)
2003-01-13Updates to our NTLMSSP code:Andrew Bartlett3-32/+81
This tries to extract our server-side code out of sessetup.c, and into a more general lib. I hope this is only a temporay resting place - I indend to refactor it again into an auth-subsystem independent lib, using callbacks. Move some of our our NTLMSSP #defines into a new file, and add two that I found in the COMsource docs - we seem to have a double-up, but I've verified from traces that the NTLMSSP_TARGET_TYPE_{DOMAIN,SERVER} is real. This code also copes with ASCII clients - not that we will ever see any here, but I hope to use this for HTTP, were we can get them. Win2k authenticates fine under forced ASCII, btw. Tested with Win2k, NTLMv2 and Samba's smbclient. Andrew Bartlett (This used to be commit b6641badcbb2fb3bfec9d00a6466318203ea33e1)
2003-01-12Make the 'service' in make_connection() use an fstrcpy(), and an fstring,Andrew Bartlett1-1/+0
becouse that is what it's input (reply_tcon_and_x) uses, and becouse we really don't want supprises for service names. Also remove a legacy #define, in favor of the lp_ equiv. Andrew Bartlett (This used to be commit 7854a439ac601d3c23703b115cd5a8d4257c7717)
2003-01-03Fix problem with "hide unreadable". stat file opens are baaack :-).Jeremy Allison1-0/+1
Jeremy. (This used to be commit 6e0cfec16594ade6e6c499f521781348fee25040)
2003-01-02Add PRINTF_ATTRIBUTE() to a few more printf() style functions. Aids inAndrew Bartlett2-0/+11
compiler-based argument checking. (This used to be commit 16fe928e68623a878b125910ff83df500a29d0ce)
2003-01-02BIG patch...Andrew Bartlett9-30/+30
This patch makes Samba compile cleanly with -Wwrite-strings. - That is, all string literals are marked as 'const'. These strings are always read only, this just marks them as such for passing to other functions. What is most supprising is that I didn't need to change more than a few lines of code (all in 'net', which got a small cleanup of net.h and extern variables). The rest is just adding a lot of 'const'. As far as I can tell, I have not added any new warnings - apart from making all of tdbutil.c's function const (so they warn for adding that const string to struct). Andrew Bartlett (This used to be commit 92a777d0eaa4fb3a1c7835816f93c6bdd456816d)
2002-12-31ignore tdbsam2_parse_info.hSimo Sorce1-0/+1
(This used to be commit 1a1c746c9fde965d2ad3f8fb9c1b0263754745e8)
2002-12-30Catching up with old patches. Add define for VERITAS quota support.Jeremy Allison1-0/+8
Check return in ldap. Jeremy. (This used to be commit e789edbb287319f52f49f2999917a610565144d9)
2002-12-30the shutdown call does not have a 16 bit flags, but 2 byte representing booleansSimo Sorce1-5/+2
this commit change the structure and code to reflect this some test revelead I'm right. some other revelead currently the abort shutdown does not work against my test machine even if it returns successfully ... need investigation (This used to be commit c5892b656dedd0367adc33d9606311d1dde99a58)
2002-12-20Forward port the change to talloc_init() to make all talloc contextsJeremy Allison1-1/+1
named. Ensure we can query them. Jeremy. (This used to be commit 842e08e52a665ae678eea239759bb2de1a0d7b33)
2002-12-17it's getting comic ...Simo Sorce1-0/+58
yet another missing piece :-O (This used to be commit eb595efa7e6c260092478564e5fb3fdefcc120d8)
2002-12-16Uhmm a bad day to commit changes :-((Simo Sorce1-0/+2
(This used to be commit 5320d54b901b92a3a8cdf9a407651713826c6c9f)
2002-12-16oh god, I will forgot my name one of these days :-/Simo Sorce1-0/+78
(This used to be commit 0b2591cc4001dd5430591f1871b76c1a6d133b43)
2002-12-16updates to the gumsSimo Sorce2-13/+107
introduce genparser will be used by tdbsam2 (This used to be commit 831d3d1ec751f23481f26b31d22b09f3d9c0709a)
2002-12-14Ensure talloc pool query messages are reserved.Jeremy Allison1-0/+4
Jeremy. (This used to be commit 3520195523c629c4d936db6b0112bd4bd4426ad7)
2002-12-13More printer publishing code.Jim McDonough1-2/+3
- Add published attribute to info2, needed for win clients to work properly - Return proper info on getprinter 7 This means you can now look at the sharing tab of a printer and get correct info about whether it is published or not, and change it. (This used to be commit adda04379ee46f105436262663652f3f576fa3cf)
2002-12-12merge of get_dc_name()-like code from APP_HEAD; better support password ↵Gerald Carter1-0/+8
server = DC1 * (This used to be commit 6b18ca9511ddcf1718f222af3f61491d1e5f3b60)
2002-12-11Fixed auth module code. Added VALGRIND defines to reduce spurious warnings.Jeremy Allison1-0/+4
Jeremy. (This used to be commit ff3a8d37289216a2cb808406044a7abef1e564d0)
2002-12-10Fix client large file reporting.Jeremy Allison2-1/+5
Jeremy (This used to be commit 185804ac945e717a5e3d3602e8118b35080f6251)
2002-12-05More printer data to publishJim McDonough1-0/+1
(This used to be commit 82f3a786bf01878629fe4c05b028ae8d58eb4394)
2002-12-05The element in fsp->print_job should be a RAP jobid, not a uint32 RPCJeremy Allison1-1/+1
jobid. This was causing Win9x client "set name" calls to fail. Still need one cleanup fix to finish. Jeremy. (This used to be commit 15f0bad1fc72ff44cd195d34fd530c25a739f42d)
2002-12-04Remove FILE_MACRO as __FILE__ is ANSI C.Tim Potter3-20/+11
(This used to be commit 2a9d183cf6ae8333dc7d9d9445c17dce005c1d24)
2002-12-04More attributes to publish. All DsSpooler attributes except REG_MULTI_SZ ↵Jim McDonough1-0/+3
ones should be published now. (This used to be commit 4fc602fd7da4b216748b005f62b14be0cfdddd63)
2002-12-04Automatic printer publishing when using APW or choosing 'list in the ↵Jim McDonough1-0/+5
directory' in printer settings. Currently very little is published, and you cannot unpublish because of a bug in win2k clients. (This used to be commit bbd7c8071a095c4e410f92489050b677a0f0ace1)
2002-12-04Fix for 64 bit issues with oplocks and allocation size.Jeremy Allison2-948/+1270
Jeremy. (This used to be commit 4a9c995e50b24e6ee6ec58c46da32100a8197724)
2002-12-03use FILE_MACRO instead of __FILE__Herb Lewis1-6/+6
use FUNCTION_MACRO instead of __FUNCTION_ (This used to be commit 243763d6eb107ab2444d81025232c8fe795baaf1)
2002-12-03Support printer info 7, used for publishingJim McDonough1-0/+16
(This used to be commit 3c9726454ea6beb8d5d308805caecb86395c7ad2)
2002-12-03Add defines for standard DsSpooler/DsDriver values that get published.Jim McDonough1-0/+54
(This used to be commit 2b152addf49f0ede001b263174d2eaab2600e933)
2002-12-03Fixed nasty bug where file writes with start offsets in the rangeJeremy Allison1-0/+2
0x80000000 -> 0xFFFFFFFF would fail as they were being cast from IVAL (uint32) to SMB_OFF_T (off_t or off64_t, both *signed* types). The sign extension would cause the offset to be treated as negative. Thanks to Herb for helping me track this one down (IRIX is good for large file tests :-). Jeremy. PS. That horrid EXEXIST thing has broken configure..... (This used to be commit fc7d3faed798e7496f2991ec7d795c3b1a3758f5)
2002-11-26[print notify fixes from APP_HEAD]Gerald Carter1-0/+16
* fixing change notify on print server handle * adding change notify support into smbcontrol for sending comment changes, etc... All part of CR 1159/1160 (This used to be commit 256d8c27cdc6f802f3bfba44593b07014f6ae10a)
2002-11-18Revert ADS_ERR_OK change. Some compilers didn't like it.Jim McDonough1-1/+1
The problem is that ADS_ERR_OK() run on a function that returns an ADS_STATUS causes the function to be run mulitple times...so you have to return a status, then check it with the macro. (This used to be commit c03d6198f28ab37ba0c3224bd50779357270486d)
2002-11-18Next step of printer publishing.Jim McDonough1-56/+1
net ads printer publish <printername> [servername] Will retreive the DsSpooler and DsDriver info by rpc for a remote server then publish it. Next comes doing it within smbd (This used to be commit 64951938cc5666a757683cbe9bee3a2c20a05323)
2002-11-15Remove the assumption that all Solaris has -lsendfile.Andrew Bartlett1-0/+3
Andrew Bartlett (This used to be commit efa639c5cef51f2ca903c08d2ad19db70ab7206c)
2002-11-15Use smb_register_passdb() - plus some small fixesJelmer Vernooij1-7/+0
(This used to be commit 2addbaff358993923a58ad3845c63168678c2c21)
2002-11-15Add smb_register_passdb()Jelmer Vernooij1-0/+1
(This used to be commit b5b3b2e6bef431c9c30dc8f2899dc22328801c0e)
2002-11-15Add const to DEBUG() macro.Andrew Bartlett1-3/+3
(This used to be commit 43020bb4e61e3b44c2637e49f9e98222262f09b1)
2002-11-13small patch to makesure we fallback to <xfs/xqm.h> if <linux/xqm.h> doesn't ↵Jelmer Vernooij1-0/+3
exist (e.g. in SuSE 8.1) (by metze) (This used to be commit 5f16343e0d7c8120a7a5786097b8920a5b7d047b)
2002-11-12Add smb_register_charset() and use itJelmer Vernooij1-0/+16
(This used to be commit 8b654658759a145c5c8aabb3c82220a70f70c3f7)
2002-11-11union is better to avoid problems with pointersSimo Sorce1-21/+27
(This used to be commit 1645567db3e85151c139115fdc1238149ccf33a2)
2002-11-09deldriver fixGerald Carter1-0/+1
(This used to be commit f20de1f9b0dcac15fbf968e6d5d5af2fdd5fbda1)
2002-11-07Add smbtrans subcommands so we can stop hardcoding themJim McDonough1-0/+5
(This used to be commit 759bcd881dd259d5ad43715f6979c5282b094d52)
2002-11-05Missed extern declaration.Jeremy Allison1-0/+1
Jeremy. (This used to be commit e39e2b4c3488fbd9e9a08dd5629a672d1459e64e)
2002-11-05Remove DRIVERFILE constant. It was removed with the old win95Tim Potter1-1/+0
printer driver stuff. (This used to be commit cf6d2d9d9e2adbbb7a547784cb11d05ed624e410)