summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2001-09-17introduce SAFE_FREE() macro as suggested by andreas moroder.Simo Sorce1-0/+3
(This used to be commit b7edd55885791f9aded11a0b0a131e02a819f374)
2001-09-16Start pushing the NTSTATUS stuff out to the wire for session setups.Andrew Bartlett1-0/+1
Rework the 'map to guest' code, its now possible to follow what its trying to do... Add an NT_STATUS_EQUAL(x,y) macro to make this stuff sane to look at. Andrew Bartlett (This used to be commit d618880661976644a6ee713edf969ad561e82097)
2001-09-15Fixed up Solaris 64 bit configure.Jeremy Allison1-1/+2
Jeremy. (This used to be commit 36516b2ca97e8644a29055dfab868aced644f9aa)
2001-09-14merges from 2.2Gerald Carter1-1/+1
(This used to be commit b619458dde158c37a4420a28a7e1e1f70e7a18d1)
2001-09-14Removed CHECK_STRUCT macro - it isn't used anywhere.Tim Potter1-12/+0
(This used to be commit 06c619b395f212ec3122cf1c804b27afba04e79d)
2001-09-14Oops.Tim Potter1-1/+1
(This used to be commit 4c92d82bdb35db3e01a162fb0aa00a6fe7486c70)
2001-09-13Discovered a whole lot more opcodes on the LSA pipe while writing a rpcTim Potter1-6/+38
scanner. There's lots of quota, privilege, and trusted domain goodness waiting to be reverse engineered here! Unfortunately the scanner can crash LSASS.EXE on NT4 just by writing packets containing 0xdeadbeef. )-: (This used to be commit f0ef301cff57c9bf07694e0675eec67c61367afb)
2001-09-12Some patches to authentication:Tim Potter1-2/+2
- the usersupplied_info now contains a smb_username (as it comes across on the wire) and a unix_username (after being passed through mapping functions) - when doing security={server,domain} use the smb_username, otherwise use the unix_username (This used to be commit d34fd8ec0716127c7a68eeb8e77d1ae8cc07b547)
2001-09-12- enable MSDFS by default, there seems no reason not to have it enabledAndrew Tridgell2-10/+1
by default in Samba 3.x - got rid of some unused parameters in Makefile.in - declare DEBUGLEVEL in debug.h rather than in each file (This used to be commit b8651acb9c0d7248a6a2e82c33b1e43633fd83fd)
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)