summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2001-09-03the next step in our error code handling changeAndrew Tridgell4-13/+46
- 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-28Merge of sam sync code from TNG.Tim Potter1-0/+19
Reverse-engineered the sam replication protocol from staring at hex dumps for a while. It's pretty similar to the sam sync protocol with a couple of different delta header types. I wasn't able to figure out the format of the privilege stuff - needs more time and a whiteboard. (-: The impressive bit is that the sam sync stuff from tng basically just worked thanks mainly to Luke Leighton's efforts in this area. (This used to be commit 3a60cb44f22d5f3f8c78a56ed8f5ea4794cd7ab3)
2001-08-28Merge of SAM delta type constants and BDC replication types from TNG.Tim Potter1-0/+282
(This used to be commit 73eeaadbe212989b5c1b2e494500e9618c3f3a5e)
2001-08-28Added sam sync and sam replication smbd message constants.Tim Potter1-0/+2
(This used to be commit 406cafc0efebc9f331e810d651888b551725af1a)
2001-08-28Added copyright header (taken from include/doserr.h)Tim Potter1-511/+538
Added include file guards. Converted constants to hex - hooray! (This used to be commit 21a394c749d0282cb6403ee6239efa1a6310abb0)
2001-08-28Fixed description in file header.Tim Potter1-1/+1
(This used to be commit ed42dcf7846d487b73fc41c7b3f2feef8fd392e3)
2001-08-27converted another bunch of stuff to NTSTATUSAndrew Tridgell12-149/+146
(This used to be commit 1d36250e338ae0ff9fbbf86019809205dd97d05e)
2001-08-27started converting NTSTATUS to be a structure on systems with gcc in order ↵Andrew Tridgell4-526/+538
to make it type incompatible with BOOL so we catch errors sooner. This has already found a number of bugs (This used to be commit 1b778bc7d22efff3f90dc450eb12baa1241cf68f)
2001-08-27converted smbd to use NTSTATUS by defaultAndrew Tridgell3-21/+12
major changes include: - added NSTATUS type - added automatic mapping between dos and nt error codes - changed all ERROR() calls to ERROR_DOS() and many to ERROR_NT() these calls auto-translate to the client error code system - got rid of the cached error code and the writebmpx code We eventually will need to also: - get rid of BOOL, so we don't lose error info - replace all ERROR_DOS() calls with ERROR_NT() calls but that is too much for one night (This used to be commit 83d9896c1ea8be796192b51a4678c2a3b87f7518)
2001-08-24Process the SAM/UAS change notification message.Tim Potter1-1/+1
(This used to be commit efcbcfaa48d36063c974c20692ee2c38d09d2216)
2001-08-23Some W2k info.Jeremy Allison1-0/+41
Jeremy. (This used to be commit 04478786c364585bf0263dc00343a25af6fa0a89)
2001-08-23Fixed detection of CUPS. We need to check for the presence of the cupsTim Potter3-5/+5
header files as well as libcups. (This used to be commit 2dbb41a7b88e7fad63579111aaab4a1cd28c54d5)
2001-08-22A few changes:Andrew Bartlett2-0/+43
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-22added ERRbadmcbAndrew Tridgell1-0/+1
(This used to be commit 2f4690e1888c9cc96fd788abf2161943a2032b51)
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-16removed unused fileAndrew Tridgell1-91/+0
(This used to be commit 6b43e4a15d90bda11f7729de8782b99804ad0f8e)
2001-08-13Moved across definition of dos error types from smb.h to doserr.hTim Potter2-4/+7
(This used to be commit 6c0dab85025dd7df9415edd627349fa8f1230de3)
2001-08-12This patch does a number of things, mostly smaller than they look :-)Andrew Bartlett1-2/+2
In particuar, it moves the domain_client_validate stuff out of auth_domain.c to somwhere where they (I hope) they can be shared with winbind better. (This may need some work) The main purpose of this patch was however to improve some of the internal documentation and to correctly place become_root()/unbecome_root() calls within the code. Finally this patch moves some more of auth.c into other files, auth_unix.c in this case. Andrew Bartlett (This used to be commit ea1c547ac880def29f150de2172c95213509350e)
2001-08-10Added Mike Davidsons Tru64 ACL patch.Jeremy Allison2-3/+3
Jeremy. (This used to be commit 8c5e5f8c84cab4273ca28d6b5f543dd5d5b464fb)
2001-08-10- avoid possible mem leaks in rpcclient/cmd_*.c (talloc_destroy not performed)Simo Sorce2-53/+126
- ported two rpc back from TNG (WINREG: shutdown and abort shutdown) - some optimizations and changed some DEBUG statement in loadparm.c - changed rpcclient a bit moved from non reentrant next_token_nr to next_token - in cmd_reg.c not sure if getopt will work ok on all platforms only setting optind=0 (This used to be commit fd54412ce9c3504a547e232602d6129e08dd9d4d)
2001-08-10Removed nt_error field from cli_state as it was not used anywhere.Tim Potter1-1/+0
(This used to be commit 589aaa5fb1ac55d8b0d5ae95921f071eb6ddacf6)
2001-08-10Moved dos error codes from smb.h into new file doserr.hTim Potter2-113/+136
(This used to be commit 1bd8b6f79754aa8a14a7841b88f1c00d7a3767eb)
2001-08-03Added include guards...Jeremy Allison1-0/+3
We may need to rename this file smbauth.h, as auth.h is so generic it will probably conflict with system header files on some systems. Jeremy. (This used to be commit dd4a6edd497053f4e393216884d356975efef799)
2001-08-03This is my 'Authentication Rewrite' version 1.01, mostly as submitted toAndrew Bartlett2-0/+97
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-08-02Allow smbpasswd to join a W2K hosted AD domain.Jeremy Allison1-0/+1
Jeremy. (This used to be commit c51cfc7f0d3ad1614ca1e0330c8707f7b263b8e6)
2001-08-02Put HPUX on mmap blacklist.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 4d5fe9ed4fc2c3bb7830ab14eead8d12eed37de9)
2001-07-30Added "use mmap" for HPUX.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 840802f10677cb0009cb4df4c37c7d01aa5edacd)
2001-07-26Fix from Michael Davidson <md@caldera.com> for DEC OSF/1 ACLs (ie.Jeremy Allison2-1/+32
Digital UNIX). Jeremy. (This used to be commit 324ba0512ec84bb173c72be3dfd2447e0dc30e26)
2001-07-25Held a shoot-out between NT_STATUS_NO_PROBLEMO and NT_STATUS_NOPROBLEMO.Tim Potter1-1/+0
According to the incorruptible judges find and grep, the latter won. Mmm - procrastination. (-: (This used to be commit 2e339403605177b15d5185a8fdd1b06f3f043168)
2001-07-25a better test for unix domain socketsAndrew Tridgell2-4/+2
(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-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 Tridgell2-6/+9
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-20This should fix the build, I think tpot just missed the file for his CVSAndrew Bartlett1-0/+1
commit. It seems to work fine, but if its not the right fix then just yell. Andrew Bartlett (This used to be commit d5ebbe6c12313b717777f221af004104b4361d57)
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-10Try to avoid clashes with OpenSSL when built --with-ssl, they also have md5.h,Andrew Bartlett1-0/+4
but with a more 'interesting' licence. (This used to be commit 9c9fe2674de0f35da67ba2c3b59861f087932934)
2001-07-09implement:Jean-François Micouleau1-2/+150
LSA_ENUM_PRIVS LSA_PRIV_GET_DISPNAME LSA_ENUM_ACCOUNTS LSA_OPENACCOUNT LSA_ENUMPRIVSACCOUNT LSA_GETSYSTEMACCOUNT It's a work in progress. nobody should expect it to work J.F. (This used to be commit 3056357cd8d4b2460f73ba8a8931a143f07fa2a6)
2001-07-09add query user info level 20 (for RAS)Jean-François Micouleau1-0/+18
add query dominfo level 5 some cleanup, don't free talloced memory. implement delete domain and local groups. J.F. (This used to be commit 3f14dda2a21850edfd540be2624867e5f70a382c)
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)