summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2001-07-07Add backend encryption support for NTLMv2.Andrew Bartlett3-0/+57
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-05Fix for enumerating large numbers of users.Jeremy Allison1-1/+1
Jeremy. (This used to be commit c8c138c1fbb49799a2dd4c6e781bd89f51c0c0c5)
2001-07-04missed a couple of strchr callsAndrew Tridgell2-6/+1
(This used to be commit 57e7df8ae58020ab653307c1fdfbadd44983e900)
2001-07-04strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell1-3/+1
can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
2001-07-04The big character set handling changeover!Andrew Tridgell7-782/+73
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-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-07-02Fixed the nastiest locking bug to track down.... smb_pids are sent in theJeremy Allison1-0/+1
lockingX calls - use that instead of smb_pid in the packet. Jeremy. (This used to be commit a3925cb9c6303ce24e5fecad6c8f3a0ba78b9ee0)
2001-07-01Fix for building --with-profile for new vfscalls.Jeremy Allison1-0/+4
Jeremy. (This used to be commit 33dc250ebb389f331cecf47101cf13c630be3a11)
2001-06-30Ensure we return correct error on trying to unlock a region not locked.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 015a077acc49e59179dc10256fd32166ee4623e2)
2001-06-29Added LsaGetConnectedCredentials patch from Manoj Naik <manoj@almaden.ibm.com>.Jeremy Allison1-0/+28
Jeremy. (This used to be commit 7079300da6dbd950e55dc5871851250d5a3717ff)
2001-06-29Ensured all the system calls in msdfs.c go through the vfs layer.Jeremy Allison2-0/+8
Added vfs calls to symlink() and readlink() with appropriate configure checks. Jeremy. (This used to be commit c24e6b41ea60ab4bac2fcd19da947851d6df3c7c)
2001-06-29From JF....Jeremy Allison1-8/+8
hi jeremy, can you commit the following patch against HEAD. I can't do it right now Thanks Tim for me. He changed the SAM_DISPINFO_1 array without checking if he didn't break the server code. And he did. So on my way I cleaned info_1, 2, .. 5 it may break winbind. I leave to tim the pleasure to fix it ;-) jf. I added some talloc changes and checks for alloc fails. Jeremy. (This used to be commit 001e9b7b540f04c80ba65c879aaa41acddc86f3e)
2001-06-29Removed another silly static array.Tim Potter1-2/+2
(This used to be commit 008628fb8ac9f92d984218f37fffdfa3cb9e3d62)
2001-06-26Add check for working AF_LOCAL sockets, which are borkenMartin Pool1-1/+5
on RH7.0 with _LARGEFILE64_SOURCE, and probably not present on non-Unix systems like VMS. (This used to be commit 8b0a5bc436fb44f5123d037b102f2d2c4d3287e8)
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 Tridgell2-6/+9
instead of a define (This used to be commit e2ecff419fdc0a0dc7551b33b377dc11061ef2a3)
2001-06-23Added other_safe_chars to alpha_strcpy(). Needs testing but is a betterJeremy Allison1-0/+2
fix for the problem. Jeremy. (This used to be commit e059fffd03a1382fb2b7059b6de369d9fc765a17)
2001-06-22add an ignore on proto.hAndrew Tridgell1-0/+1
(This used to be commit 0dc9227156823f6a44e6a0260e091b972057baa3)
2001-06-22auto-build proto.h if its not there, but don't make it dependAndrew Tridgell1-4702/+0
on anything. Delete proto.h from CVS (This used to be commit 8a37df73ec4d8d1a7db60a49cd5d7d22c4704a88)
2001-06-22the BAD_PTR idea in talloc.h is actually a bad idea - it means callers have ↵Andrew Tridgell1-6/+0
no way of telling if the call really failed (This used to be commit 7a96ca313e2f6b5ad8a713babd3cac0bbcc4c399)
2001-06-21Merging Gerry's spoolss changes.Jeremy Allison2-614/+632
Jeremy. (This used to be commit 6b4a70cd8285c1e4d452e3af7df070b4c446ff54)
2001-06-21next_token() was supposed to be a reentrant replacement for strtok(),Andrew Tridgell1-4/+2
but the code suffered from bitrot and is not now reentrant. That means we can get bizarre behaviour i've fixed this by making next_token() reentrant and creating a next_token_nr() that is a small non-reentrant wrapper for those lumps of code (mostly smbclient) that have come to rely on the non-reentrant behaviour (This used to be commit 674ee2f1d12b0afc164a9e9072758fd1c5e54df7)
2001-06-21Added STR_NOALIGN flags to clistr and srvstr fns. Yes, NT actually doesAndrew Tridgell2-614/+613
send unaligned unicode strings sometimes! Fixed our handling of the workgroup name tacked on the end of the NT1 negprot response (a unaligned unicode) fixed a couple of places where we should be using the message_end fns instead of pre-calculated buffer lengths (This used to be commit 86613493a9b2e56523153486931d0bf8d39beb7a)
2001-06-20Fixed W2K SP2 joining a Samba PDC hosted domain.Jeremy Allison1-0/+53
Jermey. (This used to be commit 05a2911403a0710d994a618e72743205a3b0b87a)
2001-06-20initial support for paramter type P_LISTSimo Sorce2-619/+624
it will avoid problems with lists being longer than 1024 bytes just now only ip list parameters have been converted to the new type (hosts allow, hosts deny, ssl hosts, ssl hosts resign) (This used to be commit e1572f85d6247b760db10825b2fa688d7ed50bd3)
2001-06-20make protoTim Potter1-0/+2
(This used to be commit d0b37d1a623acce2ae4509aebda85ad1280dc8ac)
2001-06-20added a close-share smbcontrol message that forcibly closes a share in smbd ↵Andrew Tridgell2-610/+612
(to allow unmount) (This used to be commit 15b17a80db605a55f667c95fb7e316877a441887)
2001-06-19INFO_24 sometimes has a 2 byte length, sometimes doesn't. Safer to notJeremy Allison2-5/+5
depend on it... Jeremy. (This used to be commit 0fe11c329f7b379299be65795031e4f1b14e0bec)
2001-06-18Added patches to remove Linux specific XFS ACLs. These are now handled by theJeremy Allison4-680/+609
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-18added a oplock break handler hook to the client code, this allows for more ↵Andrew Tridgell2-0/+9
complete testing of oplocks from smbtorture and would also be essential if a client app ever really did want to use oplocks properly (This used to be commit 3d4a3bfacd9ef225aeaab801e5a216d12814b60a)
2001-06-18Removed silly Get_Hostbyname() wrapper as DNS names are case-insensitiveTim Potter1-1/+0
and the use of this function only increased timeouts when Samba queries a broken DNS server. (This used to be commit 720fea53603b2f99153709e6717ca930ab60ca9f)
2001-06-16Modified version of Jim's 0x27 and 0x28 Win9x Secdesc patch.Jeremy Allison2-0/+27
Jeremy. (This used to be commit 5690ec77c87475f1fd2e854cda594eb996d6fd04)
2001-06-15Jim McDonough's parse patches for Win9x get SD calls.Jeremy Allison2-0/+26
Jeremy. (This used to be commit bc366f31537408380860906cc041de232b27b714)
2001-06-15Prototype update.Tim Potter1-0/+3
(This used to be commit 402639926f5d207ebefec296427dc3be0e979fe6)
2001-06-15Add password length field to SAM_USER_INFO24 structure and fix initTim Potter1-0/+1
and parse function. (This used to be commit d2eafa7483a53958b6c930ca05da6e6a6c21b785)
2001-06-13Oops - proto.h contained junk from another workarea.Tim Potter1-13/+5
(This used to be commit 2ad921d1269cb1d098e7162f2d55f1a1536f325d)
2001-06-13Added some msdfs client routines.Tim Potter1-595/+619
(This used to be commit 13df2304b309a2bd14d4441db0e72e75b8742262)
2001-06-13Make message receive fn static.Jeremy Allison1-2/+3
Jeremy. (This used to be commit d8807b19228b12ddd6d93c02d1646a470a8e71ef)
2001-06-08Added sys_acl_delete_def_file() - needed as part of NT ACL editing fix.Jeremy Allison1-594/+596
Will add changes for other supported ACL systems shortly (Herb, I may need help with the IRIX one). Jeremy. (This used to be commit a8532b193d1fe123155a69dd70e433f8fc312bfc)
2001-06-08Extra stuff for large readwrite support.Jeremy Allison2-5/+4
Jeremy. (This used to be commit 4338ee78c3d7bcf4b9fac383ff2f572d882ab97c)
2001-06-06Added getconf flags for RH7.1 lfs support. Changed while() to a for()Jeremy Allison1-3/+3
loop in Simo's code (removes much grp = gep->next code). Jeremy. (This used to be commit d0c276c2429fa19cd95ca887654e049593de68d5)
2001-06-06Converted SAMR_Q_LOOKUP_NAMES structure to tallocated memory instead ofTim Potter1-2/+2
static arrays. (This used to be commit d122568b35f63e3da7bb1fad6a4e72922cf6bca3)
2001-06-06Prototypes update.Tim Potter1-3/+29
(This used to be commit 6dfe98f6020bf85263a39443ff7b07c5c795c27a)
2001-06-04Compile fix for Solaris.Tim Potter1-8/+29
(This used to be commit 7a1929b6caeb9b349510f7f4ae394246b9c5adc3)
2001-06-04Compile fix for wbinfo on solaris.Tim Potter1-0/+3
(This used to be commit cae6958f0872e0a0cc7647d14dd855caecd9114b)
2001-06-02Update prototype file.Tim Potter1-13/+0
(This used to be commit bdb76938e2936df287e638120894ae1adda5cb86)
2001-06-01Oops.Tim Potter1-1/+15
(This used to be commit 9e1d9a3a44ceaba2b0bfa327409f6b8dd0c36b26)
2001-06-01If a debug class was explicitly set to zero the debug system would notTim Potter1-13/+27
recognise it as there was no distinction made between zeroing a debug class and just not setting it to anything. I've added a debuglevel_isset array in parallel with the debuglevel_class array to fix this. Added a couple of new debug classes which I might start filling out to get smb, rpc header and rpc marshall/unmarshalling debugs tidied up. Fixed a bunch of cut&paste bugs in include/debug.h Modified smbcontrol and the messaging system debug handler to like the debuglevel_isset stuff. (This used to be commit 391e7caf76cbc22021629ef0ec5e0c32806edfd7)