summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2003-10-09Merge from 3.0:Tim Potter1-0/+1
>Moving towards better i18n support in SWAT. This commit contains a >bunch of updates to bug 413 from Monyo: > >1) pick up proper strings to call msg strings for example to add > strings in wizard menu in web/swat.c, web/statuspage.c and > param/loadparm.c. > >2) define N_() macro in include/intl.h to pick up some strings > in param/loadparm.c > >3) quote all name and value tag with '"' > For example in swat.c:720 the "Edit Parameter Values" string is > displayd only as "Edit" because value tag is not quoted like: > value=Edit Parameter Values > These tags should be quoted though it sometimes works well > without quotation. > >4) modify the msg strings not to contain HTML tags or other > non-message strings. For example > dprintf(_("test\n")); is modified to dprintf("%s\n", _("test")); (This used to be commit 17efb306aa32d1e5b2546cfb2f3404ad3cf0fb68)
2003-10-06split some security related functions in their own files.Simo Sorce3-3/+26
(no need to include all of smbd files to use some basic sec functions) also minor compile fixes (This used to be commit 66074d3b097d8cf2a231bf08c7f4db62da68189d)
2003-10-01commit sign only patch from Andrew; bug 167; tested using 2k & XP ↵Gerald Carter1-2/+9
clientspreviously joined to the Samba domain (This used to be commit 9d2e585e5e6f9066c6901aa8d8308734f8667296)
2003-09-29Merge from 3.0:Tim Potter2-6/+4
>Fix for #480. Change the interface for init_unistr2 to not take a length >but a flags field. We were assuming that 2*strlen(mb_string) == length of ucs2-le string. >This is not the case. Count it after conversion. >Jeremy. (This used to be commit e2ab9e54cd0ec0002175cf18ff364f4aebaf85a0)
2003-09-24Another round of merges from 3.0:Tim Potter1-81/+59
>Reformat - preparing to fix bug #480 (which will be ugly). >Jeremy. (This used to be commit cd91dd9cd8392d1b9cfcbd8ef42237b813dc89b5)
2003-09-18The "unknown_5" 32 bit field in the user structs is actually 2 16-bitJeremy Allison3-4/+14
fields, bad_password_count and logon_count. Ensure this is stored/fetched in the various SAMs. As it replaces the unknown_5 field this fits exactly into the tdb SAM without any binary problems. It also is added to the LDAP SAM as two extra attributes. It breaks compatibility with the experimental SAMs xml and mysql. The maintainers of these SAMs must fix them so upgrades like this can be done transparently. I will insist on the "experimental" status until this is solved. Jeremy. (This used to be commit 71ecd10181cd35313b79f618c2928c2f45424812)
2003-09-10Remove obsolete files.Jelmer Vernooij1-238/+0
(This used to be commit 3d71340e5c1bf3397e69897bbc8434bbaa503a75)
2003-09-09version.h is autogenerated nowGerald Carter1-8/+0
(This used to be commit 04f8cbbca66024ffdcd2ebc0f4db7849d02ca99b)
2003-09-09removing unused filesGerald Carter1-59/+0
(This used to be commit 1a9145015d4b2ee7e7399099760cda13d619e740)
2003-09-09sync 3.0 into HEAD for the last timeGerald Carter23-216/+464
(This used to be commit c17a7dc9a190156a069da3e861c18fd3f81224ad)
2003-08-02port latest changes from SAMBA_3_0 treeSimo Sorce16-43/+131
(This used to be commit 3101c236b8241dc0183995ffceed551876427de4)
2003-07-16ading new files from 3.0Gerald Carter3-0/+655
(This used to be commit 99feae7b5b1c229a925367b87c0c0f636d9a2d75)
2003-07-16trying to get HEAD building again. If you want the codeGerald Carter23-329/+509
prior to this merge, checkout HEAD_PRE_3_0_0_BETA_3_MERGE (This used to be commit adb98e7b7cd0f025b52c570e4034eebf4047b1ad)
2003-05-29Fix the events API. Patch by metze with some minor modifications.Jelmer Vernooij1-13/+7
(This used to be commit df24c4e839b3de0dc23400463d7489a991f61f49)
2003-05-28Merge of NTLMSSP name type fix from 3.0Tim Potter1-2/+2
(This used to be commit 587bd1b83d13ab83aca28bd543755c5862ed8e75)
2003-05-27Sync up sid types enum.Tim Potter1-1/+2
(This used to be commit 2ff89e1ee830ee2496861396ff69a232b0605b2f)
2003-05-27Merge: add DFS error constant.Tim Potter1-0/+1
(This used to be commit c9dfc35e95719af8b7c9511668d0d4053b73f9a0)
2003-05-27Whitespace syncup.Tim Potter1-1/+0
(This used to be commit 39e1b6338f14a8403b6d612000d6976be9630bac)
2003-05-27Comment syncup.Tim Potter1-1/+1
(This used to be commit 877fc6370e528da81dfd793f04c72bfdec82231e)
2003-05-20remove USE_SMBPASS_DBGerald Carter1-4/+0
(This used to be commit dd457588134971d839a431e004ef821cb46be671)
2003-05-20remove WITH_TDB_SAMGerald Carter1-1/+1
(This used to be commit ee63331256e12df239c6981e87f57e3bffb361d7)
2003-05-10Remove latest module_dummy patch from metze and me.Jelmer Vernooij1-53/+0
(This used to be commit 32c8796f2a2b598daa17835394d143bd266aa7bf)
2003-05-10Patch from metze and me that adds dummy smb_register_*() functionsJelmer Vernooij1-0/+53
(This used to be commit 367a5cad1edf6a49783806d5a8b59a62d8856706)
2003-05-06Add metze's exit and idle event patchJelmer Vernooij3-3/+47
(This used to be commit e599eba851db40816c684da2b7b1be4b978166e0)
2003-05-06uff, forgot to put back this one :-/Simo Sorce1-0/+1
(This used to be commit 8e1e47b960495df7f603d7798d86734d070b21bb)
2003-05-06sort out some include dependenciesSimo Sorce4-33/+65
split out privileges from rpc_lsa.h (This used to be commit 37d7cc8162d02a664095dbe0fc8d7250d1ed51c9)
2003-05-06add mapping.h hereSimo Sorce1-0/+1
(This used to be commit fb03fafed14a2816808e98fd95850db3e655d5d9)
2003-05-06restore structures from previous erroneous commitSimo Sorce1-22/+30
(This used to be commit 58d284bd06f5893a752c1f22828715f8bd130c82)
2003-05-04move some things aroundSimo Sorce4-138/+171
(This used to be commit a4fc9c3b2dfbdbb3f75bf38415741ff66dbe1367)
2003-04-29This is a nice rewrite:Simo Sorce2-8/+3
SAM_ACCOUNT does not have anymore uid and gid fields all the code that used them has been fixed to use the proper idmap calls fix to idmap_tdb for first time idmap.tdb initialization. auth_serversupplied_info structure has now an uid and gid field few other fixes to make the system behave correctly with idmap tested only with tdbsam, but smbpasswd and nisplus should be ok have not tested ldap ! (This used to be commit 6a6f6032467e55aa9b76390e035623976477ba42)
2003-04-29ok next_rid out as well local_*id_to*id functionsSimo Sorce1-2/+2
reverted user making function, did not pass the abartlet test :-) idmap is now fully integrated, we only miss user creation and removal of uid and gid from SAM_ACCOUNT (This used to be commit 67af8c26586c4829166795813a373bf9be27b753)
2003-04-28Use NTSTATUS as return value for smb_register_*() functions and init_module()Jelmer Vernooij2-2/+2
function. Patch by metze with some minor modifications. (This used to be commit f4576757d1d52a8f1b96894c869bb76450003fd1)
2003-04-24Patch from Stefan Metzmacher to add default parameters to the lp_parm()Jelmer Vernooij1-1/+4
smb.conf parameters along with some other small fixes. Binary compatible with older modules. (This used to be commit aa07b12fda732ca19d8dc41cebc7bb09e2549a30)
2003-04-16Fixes to make SCHANNEL work against a W2K DC. Still need to fixJeremy Allison1-2/+2
multi-PDU encode/decode with SCHANNEL. Also need to test against WNT DC. Jeremy. (This used to be commit ec82e8e9f4a6bf807a91ac265af39a516c7ab631)
2003-04-16Store the type of 'sec channel' that we establish to the DC. If we are aAndrew Bartlett1-1/+3
workstation, we have to use the workstation type, if we have a BDC account, we must use the BDC type - even if we are pretending to be a workstation at the moment. Also actually store and retreive the last change time, so we can do periodic password changes again (for RPC at least). And finally, a couple of minor fixes to 'net'. Andrew Bartlett (This used to be commit 6e6b7b79edae3efd0197651e9a8ce6775c001cf2)
2003-04-15A struct must contain at least one declaration according to C99, butTim Potter1-0/+1
gcc allows it to be empty. Should fix miscellaneous breakage on the compile farm. (This used to be commit b92d57f784fb43e420cf65b9392d175ad4483f28)
2003-04-14Fix _smb_setlen to be non {} safe.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 7cb060e821691abf5d58d273cb523ee310656185)
2003-04-14Remove duplicate forward reference of smb_ldap_privates.Tim Potter1-2/+0
(This used to be commit e9beb6cc95b83958af4fe4fce292f831304ae8a4)
2003-04-11smbcquota patch from metzeGerald Carter4-29/+191
(This used to be commit 74fab8f0d24004b1dfd5ce0fd7402895652f941f)
2003-04-11A new RPC pipe! The \pipe\echo named pipe is for testing large RPCTim Potter3-1/+79
requests and responses and is only compiled in when --enable-developer is passed to configure. It includes server and client side code for generating and responding to functions on this pipe. The functions are: - AddOne: add one to the uint32 argument and return ig - EchoData: echo back a variable sized char array to the caller - SourceData: request a variable sized char array - SinkData: send a variable sized char array and throw it away There's a win32 implementation of the client and server in the junkcode CVS repository in the rpcecho-win32 subdirectory. (This used to be commit 4ccd34ef836eba05f81dc2da73fd7cfaac201798)
2003-04-09Complete what I've seen (and then some)t of the PAC.Jim McDonough1-5/+17
I haven't seen the rid+attr arrays for group membership, nor sids or the same kind of arrays for resource domains, so I don't know how that will work. Also, the PAC info type 10 is now decoded, but I don't know what it's for. It has an NTTIME, a 16-bit name length, and a username. According to M$, it's not needed, because they didn't doc it... (This used to be commit 28ab8504cf6c181866106e5cc626a5896283d0a9)
2003-04-09This is the netlogon schannel client code. Try aVolker Lendecke2-0/+8
rpcclient -S pdc -U% -c "samlogon user password" and it should work with the schannel. Needs testing platforms different from NT4SP6. Volker (This used to be commit ecd0ee4d248e750168597ccf79c389513bb0f740)
2003-04-09no needed anymoreGerald Carter1-48/+0
(This used to be commit 8fd9450c8363021e23256903578fabbf77083978)
2003-04-09A little clarification in the rpc auth header struct.Volker Lendecke1-4/+3
Volker (This used to be commit 9fc3e4bf9fa7845b5d4a7eb4cacfec586045ebd0)
2003-04-08Added some preprocessor tricks to stop TRUE and FALSE from continuallyTim Potter1-1/+14
creeping back in to the source. Use True and False instead. (This used to be commit 5a5a7ce7479a56ca2d472658511a47c9147c0d5b)
2003-04-07Some comment updates, notably that I haven't seen the group membership arraysJim McDonough1-0/+9
yet (the ones that are rid-only). (This used to be commit 0a5b5d00db42de868c72ec3d9d1d747c9ef391e4)
2003-04-07Decode the PAC! This patch just decodes it and then frees it, so it's justJim McDonough2-1/+134
for doc purposes right now (you can see it in the debug logs). (This used to be commit 046c2087a11b9ce7a02aece34ffb129ce0d66b08)
2003-04-07Remove duplicate "tallocdump" message from tdb messaging system. TheTim Potter1-4/+0
same functionality exists as "pool-usage". Move initialisation of this and dmalloc messages inside message_init(). (This used to be commit af6ecafcbbf65dbedc49b3a86da39ce608bdadac)
2003-04-06fix commitSimo Sorce1-1/+1
(This used to be commit ad1a2ab0d6330a0b0fbce7b30ec5f6f502133921)
2003-04-06SMB signing updates - this gets NTLMSSP signing workin to the point where IAndrew Bartlett1-3/+4
just need to get the verifiction code working - we get back a signiture from the server, and just can't verify it yet. This also brings the short-packet checks into common code, and breaks the connection if the server sends a signed reply, on an established connection, that fails the test. This breaks our read/write code at the moment, as we need to keep a list of outstanding packets. (signing is not enabled by default, unless the server demands it) Not for 3.0 till I fix the outstanding packet list. Andrew Barlett (This used to be commit 808d1fcf20153970d587cb631a08607beb09703a)