summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2001-09-12Moved and renamed DFS error constants from include/rpc_dfs.h to doserr.h toTim Potter2-16/+17
fit in with new error reporting subsystem. (This used to be commit dbfd50d447e4166a4233034885666d985ca6beb8)
2001-09-10declare dbf in one spotAndrew Tridgell3-1/+7
(This used to be commit f41c3bb80f1e498a9d27f6e236b0ff3a742764c9)
2001-09-10added xfileAndrew Tridgell1-0/+44
(This used to be commit 7c2fe172c3322433571e73a0bef5c67168dd7c80)
2001-09-10replaced stdio in many parts of samba with a XFILE. XFILE is a cut-downAndrew Tridgell2-1/+2
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-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-07added "display charset" option in smb.conf, along with d_printf()Andrew Tridgell2-0/+26
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-06got rid of USE_TDB_MMAP_FLAG as its not needed any moreAndrew Tridgell1-1/+0
(This used to be commit c26e0d3f27a05ecc8bd2390f9aab7f9451524e47)
2001-09-06- fixed proto.h build on systems using a parallel makeAndrew Tridgell1-0/+3
- changed DENY1 and DENY2 tests to only report errors (This used to be commit 9341e5534d0786e6ad7980e5fd1a0b35d77a2806)
2001-09-06Removed 18 duplicate #undef entries.Tim Potter1-21/+0
(This used to be commit 7a7b13940efbbf15dfcf45f89389e2728527f1e2)
2001-09-06Annotated definition of NEW_PW_FORMAT_SPACE_PADDED_LEN constant.Tim Potter1-1/+3
(This used to be commit e3ec6197ede4a37113567c2ab406937c6ca80e9d)
2001-09-05add profiling stats from 2.2Herb Lewis1-1/+51
(This used to be commit 6c333e9d922b3a7443db829277b8a209cce2d350)
2001-09-05added filename to error_packet()Andrew Tridgell1-4/+4
(This used to be commit 2c424788dec2fd6e44c243ea115d66689dfae6c0)
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-09-04Merge of transfer file code from 2.2, fix for readbraw.Jeremy Allison1-2/+2
Jeremy. (This used to be commit c05e79453655abb67fd47a2d3dba88b4c5377e35)
2001-09-04it now all compiles - so try enabling it by default and see what explodes on ↵Andrew Tridgell1-2/+2
the build farm (This used to be commit 5bb7e4f0f65edf1db20245f403cbe81833134240)
2001-09-04the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but ↵Andrew Tridgell7-55/+57
the client code still needs some work (This used to be commit dcd6e735f709a9231860ceb9682db40ff26c9a66)
2001-09-03more NTSTATUS/WERROR conversionAndrew Tridgell2-5/+9
(This used to be commit ad648c5cd8ebe4be8304379117f403d7673dcbc8)
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)