summaryrefslogtreecommitdiff
path: root/source4/include/structs.h
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r9798: Add generic functions for handling smb.conf files (the parameters ↵Jelmer Vernooij1-0/+4
don't to be pre-declared). Also doesn't use any globals, so multiple files can be loaded at once. Currently uses the prefix "param" for all functions and structures; suggestions for better ones are welcome... Remove old smb.conf-parsing code from libsamba3. (This used to be commit 414e5f7f6dc38a8fde3b61d524a664f56f9ea592)
2007-10-10r9672: Fix build for compilers that don't like undefined-length arrays at ↵Jelmer Vernooij1-1/+2
the end of structs... (This used to be commit c2211df586337ff68bb805801959147065040c01)
2007-10-10r9602: Add support for reading share_info.tdb and smb.conf.Jelmer Vernooij1-0/+1
Add userdata argument to function pointers for pm_process() (This used to be commit 84b2fb34675fa557173621433838c5a7ec0f1283)
2007-10-10r9595: Add ldb map moduleJelmer Vernooij1-0/+2
(This used to be commit e0a0d3f092d601a22b7549a0278735e66239b301)
2007-10-10r9589: Support reading secrets tdbJelmer Vernooij1-0/+1
(This used to be commit dd15131b5219ecf0d09329c0de37c426b9147f45)
2007-10-10r9581: Registry dbJelmer Vernooij1-0/+1
(This used to be commit b264e9f56a434400277bb73898484aff93522fe8)
2007-10-10r9557: Some more updates. Use combined function for parsing a set ofJelmer Vernooij1-1/+4
samba3 databases (This used to be commit b91a695bd854c6d37ec536edb2db7b6f97fe69dc)
2007-10-10r9556: Define a few libsamba structsJelmer Vernooij1-0/+2
(This used to be commit 46c5cdb673b0a8c6f5e23f96ad4284b6d4f8ae63)
2007-10-10r9518: - remove the subcontext_size() hack from rev 9509Stefan Metzmacher1-2/+0
as it isn't needed - parse some more DsAddEntry() errors - add some more attid constands so that all attribute that are needed for a DsAddEntry in the DC Domain Join are mapped - add value() for __ndr_size, to more attribute container, so that the caller doesn't need to fill them in, that was the reason for getting an NDR_FAULT metze (This used to be commit a9a1a6f861c8db626b3232f057ef0b9c3d0ad1b0)
2007-10-10r9509: start to fix the pushing of drsuapi_DsAttributeValueDNString structs,Stefan Metzmacher1-2/+3
this uses a trick with talloc_get_type() to workaround using [value()] vars in [subcontext_size()] metze (This used to be commit 93065f2d3439bceeaa7c2a09679cc6d81472150d)
2007-10-10r9453: Add samba3_samaccount (fix the build)Jelmer Vernooij1-0/+1
(This used to be commit 65ddea09b952452468aa4319e97d272a61ae7c06)
2007-10-10r9391: Convert all the code to use struct ldb_dn to ohandle ldap like ↵Simo Sorce1-0/+1
distinguished names Provide more functions to handle DNs in this form (This used to be commit 692e35b7797e39533dd2a1c4b63d9da30f1eb5ba)
2007-10-10r9085: Missing structs.h entry.Andrew Bartlett1-0/+1
Andrew Bartlett (This used to be commit 379bcf7061d08b005008204cee4a9d65aae9541b)
2007-10-10r8847: Rework the Samba4 'net join' code. I'm trying to get this closer toAndrew Bartlett1-3/+2
what WinXP does when joining an AD domain, but in the meantime this removes the excess unions, and uses the LSA pipe in same way XP does. Andrew Bartlett (This used to be commit d2789c426090c325f6535cdce380ac0f4e22c3c7)
2007-10-10r8752: With all the infrustructure done, details like a SamSync migrationAndrew Bartlett1-0/+1
into LDB are actually quite easy. This brings us the users, and sets basic domain information. You are expected to have provisioned with the settings for the target domain, and have joined the domain as a BDC. Then simply 'net samsync'. Now we just need to flesh out the delta types. Andrew Bartlett (This used to be commit 1e0f7792bb29b17c23197a5e42ee8cabb0cf17d0)
2007-10-10r8744: Split 'net samdump' out into a separate fileAndrew Bartlett1-1/+2
Work on the talloc memory tree, as I think talloc_reference and other things were biting me. Crush unions in the name of code reform. ;-) Andrew Bartlett (This used to be commit 2eadcf46699f1cc7adb2066e17096f70c7b73998)
2007-10-10r8692: Starting parts of code to provide user modify functionality.Rafal Szczesniak1-0/+1
It's more like a placeholder now, than a working code. Just don't want to hang it around my laptop only. rafal (This used to be commit bee1c9ec2dea4cad703386af35470c7d74cef4b0)
2007-10-10r8164: - match the ordering w2k3 uses for the PAC_BUFFER:Stefan Metzmacher1-0/+1
LOGON_INFO LOGON_NAME SRV_CHECKSUM KDC_CHECKSUM - w2k3 also don't use the groupmembership array with rids it uses the othersids array metze (This used to be commit 2286fad27d749ebba14f5448f1f635bb36750c9c)
2007-10-10r8148: - make the PAC generation code a bit more readable and add some outof ↵Stefan Metzmacher1-0/+2
memory checks - move to handmodified pull/push code for PAC_BUFFER to get the _ndr_size field and the subcontext size right - after looking closely to the sample w2k3 PAC in our torture test (and some more in my archive) I found out that the first uint32 before the netr_SamInfo3 was also a pointer, (and we passed a NULL pointer there before, so I think that was the reason why the windows clients doesn't want our PAC) w2k3 uses this for unique pointers: ptr = ndr->ptr_count * 4; ptr |= 0x00020000; ndr->ptr_count; - do one more pull/push round with the sample PAC metze (This used to be commit 0eee17941595e9842a264bf89ac73ca66cea7ed5)
2007-10-10r8128: Janitor work...Rafal Szczesniak1-1/+0
rafal (This used to be commit 9f0dfafcdeceb23c19686d2163e6ff6e613bd067)
2007-10-10r8078: rpc connect function uses structure now.Rafal Szczesniak1-1/+1
rafal (This used to be commit 34592b6a92591122180649de251f2ddc181fe382)
2007-10-10r8050: - make use of more [value()] propertiesStefan Metzmacher1-0/+2
- the out subcontext's need to have a fixed size of r->in.offered, to make windows clients happy metze (This used to be commit 054e1ca434b2f81de199eeb41cb6233524fc5779)
2007-10-10r7999: Fix lacking structure definition.Rafal Szczesniak1-0/+1
rafal (This used to be commit 6886aefe4c78e3e208eacb3c4b76f1189bd1352a)
2007-10-10r7971: structs.h updateAndrew Bartlett1-4/+3
(This used to be commit 31e7df1392f39e170e3d072b8356e746208d0621)
2007-10-10r7733: New io structure for name lookup function.Rafal Szczesniak1-0/+1
rafal (This used to be commit 12b468417da04a2b7ddcacdf224ed7d055f0d3d9)
2007-10-10r7643: This patch adds a new NTPTR subsystem:Stefan Metzmacher1-0/+35
- this is an abstraction layer for print services, like out NTVFS subsystem for file services - all protocol specific details are still in rpc_server/spoolss/ - like the stupid in and out Buffer handling - checking of the r->in.server_name - ... - this subsystem can have multiple implementation selected by the "ntptr providor" global-section parameter - I currently added a "simple_ldb" backend, that stores Printers, Forms, Ports, Monitors, ... in the spoolss.db, and does no real printing this backend is basicly for testing, how the spoolss protocol works - the interface is just a prototype and will be changed a bit the next days or weeks, till the simple_ldb backend can handle all calls that are used by normal w2k3/xp clients - I'll also make the api async, as the ntvfs api this will make things like the RemoteFindFirstPrinterChangeNotifyEx(), that opens a connection back to the client, easier to implement, as we should not block the whole smbd for that - the idea is to later implement a "unix" backend that works like the current samba3 code - and maybe some embedded print server vendors can write there own backend that can directly talk to a printer without having cups or something like this - the default settings are (it currently makes no sense to change them :-): ntptr providor = simple_ldb spoolss database = $private_dir/spoolss.db metze (This used to be commit 455b5536d41bc31ebef8290812f45d4a38afa8e9)
2007-10-10r7626: a new ldap client library. Main features are:Andrew Tridgell1-0/+3
- hooked into events system, so requests can be truly async and won't interfere with other processing happening at the same time - uses NTSTATUS codes for errors (previously errors were mostly ignored). In a similar fashion to the DOS error handling, I have reserved a range of the NTSTATUS code 32 bit space for LDAP error codes, so a function can return a LDAP error code in a NTSTATUS - much cleaner packet handling (This used to be commit 2e3c660b2fc20e046d82bf1cc296422b6e7dfad0)
2007-10-10r7527: - added a ldb_search_bytree() interface, which takes a ldb_parse_treeAndrew Tridgell1-0/+1
instead of a search expression. This allows our ldap server to pass its ASN.1 parsed search expressions straight to ldb, instead of going via strings. - updated all the ldb modules code to handle the new interface - got rid of the separate ldb_parse.h now that the ldb_parse structures are exposed externally - moved to C99 structure initialisation in ldb - switched ldap server to using ldb_search_bytree() (This used to be commit 96620ab2ee5d440bbbc51c1bc0cad9977770f897)
2007-10-10r7490: Rename functions and prefices s/rpc_composite/libnet_rpc/Rafal Szczesniak1-4/+4
This makes more clear where the functions belong to. Also the rule will be that lowercased function names are not part of "official" libnet API (though it doesn't mean one absolutely cannot use them). rafal (This used to be commit f6ef7b882acc6ee07422944a417a8d9013c9d8d2)
2007-10-10r7379: Simplify CreateUser function and io structure. Also, implementingRafal Szczesniak1-1/+1
it based on composite functions. Moving to fully async CreateUser on the way... rafal (This used to be commit 240409bc3cfa1426db15fc0537fcf0841f51ede0)
2007-10-10r7328: fix GetPrinterData and SetPrinterData, with zero length subcontextsStefan Metzmacher1-0/+2
metze (This used to be commit 73d597bacf83492ed3da2307dd6785548b903b39)
2007-10-10r7253: Fix build.Tim Potter1-1/+1
(This used to be commit 54ff16b9a198237999cedd973cced70a62f03418)
2007-10-10r7251: Initial work on composite domain open call.Rafal Szczesniak1-1/+2
rafal (This used to be commit be3b283b20af0b17d8c9711f362b63b881ffbc1c)
2007-10-10r7221: Add the start of a KDC service (to be built on a 'libkdc' from a to beAndrew Bartlett1-0/+2
included Heimdal) to Samba4. Andrew Bartlett (This used to be commit 51ba3ea60c265b837821b6c3e031dfe229c10d6a)
2007-10-10r7183: add some forward declarations ...Stefan Metzmacher1-0/+7
metze (This used to be commit e9f30ad69800a9858676c467f7f12aceff693358)
2007-10-10r7002: added support for getting at loadparm config parameters via lpGet() ↵Andrew Tridgell1-0/+1
in esp scripts lpGet takes 4 forms v = lpGet("type:parm"); gets a parametric variable v = lpGet("share", "type:parm"); gets a parametric variable on a share v = lpGet("parm"); gets a global variable v = lpGet("share", "parm"); gets a share variable in all cases a ejs object of the appropriate type for the variable is returned. This commit also adds the function typeof() which returns the type of an object (This used to be commit 5537a0d38d4805cbc2dad0d6f76db15173b1fd60)
2007-10-10r6981: first version of the builtin web server for Samba4Andrew Tridgell1-0/+1
This includes an embedded server side scripting system called 'esp' (see http://www.appwebserver.org/products/esp/esp.html) and javascript based scripting language called 'esj' (see http://www.appwebserver.org/products/ejs/ejs.html) The justification for including this scripting language is that it should make it much easier to write a high quality web interface for Samba4. The scripting language can call into any Samba4 library code (so for example it will be able to make ldb and loadparm calls), plus it provides easy support for forms, cookies, sessions etc. There is still quite a bit more work to do on the web server, but there is enough here now for people to look at and comment. I will be committing some sample web pages that test esp functionality shortly. (This used to be commit 26f0ba92c0c565ac9e4cb5a079d795d4262497dd)
2007-10-10r6963: Further definitions for share manipulation code. Untested.Rafal Szczesniak1-1/+3
Original patch provided by Gregory Leocadie <gleocadie@idealx.com> rafal (This used to be commit eb83a8210a939a0512f505a283148898ba6eceb1)
2007-10-10r6800: A big GENSEC update:Andrew Bartlett1-0/+1
Finally remove the distinction between 'krb5' and 'ms_krb5'. We now don't do kerberos stuff twice on failure. The solution to this is slightly more general than perhaps was really required (as this is a special case), but it works, and I'm happy with the cleanup I achived in the process. All modules have been updated to supply a NULL-terminated list of OIDs. In that process, SPNEGO code has been generalised, as I realised that two of the functions should have been identical in behaviour. Over in the actual modules, I have worked to remove the 'kinit' code from gensec_krb5, and placed it in kerberos/kerberos_util.c. The GSSAPI module has been extended to use this, so no longer requires a manual kinit at the command line. It will soon loose the requirement for a on-disk keytab too. The general kerberos code has also been updated to move from error_message() to our routine which gets the Heimdal error string (which may be much more useful) when available. Andrew Bartlett (This used to be commit 0101728d8e2ed9419eb31fe95047944a718ba135)
2007-10-10r6747: first working version of cldapd server. It is missing 'sites' ↵Andrew Tridgell1-0/+1
support, and filling in some of the returned parameters is quite rough, but it seems to work OK (This used to be commit e564e3e596915414fad07c94f7ea8a0d9c3a1140)
2007-10-10r6725: the beginnings of a cldap serverAndrew Tridgell1-0/+2
(This used to be commit e51e0dffa8f8bff9bd1535751e805b548b6c6d7f)
2007-10-10r6615: As usual, I forgot to commit new structure in this file...Rafal Szczesniak1-0/+1
rafal (This used to be commit 3389cfb1354532aad4245b281a5637b58802a276)
2007-10-10r6573: Start on my project to implement an NT4 compatible BDC in Samba4.Andrew Bartlett1-0/+3
This brings in a compatability layer for Samba3 in Samba4 - where we will start to define file formats and similar details. The 'net samdump' command uses 'password server = ' for now, and performs a similar task to Samba3's 'net rpc samsync'. Andrew Bartlett (This used to be commit 550f17f9924fe783917318753de7d1a388423908)
2007-10-10r6565: Cludge, cludge, cludge...Andrew Bartlett1-1/+0
We need to pass the 'secure channel type' to the NETLOGON layer, which must match the account type. (Yes, jelmer objects to this inclusion of the kitchen sink ;-) Andrew Bartlett (This used to be commit 8ee208a926d2b15fdc42753b1f9ee586564c6248)
2007-10-10r6467: keep the compiler quiet with another entry in structs.hAndrew Bartlett1-0/+2
Andrew Bartlett (This used to be commit 106047032fe269f02c8ef71937e9d2e4ae0a4eb7)
2007-10-10r6462: Move the arcfour sbox state into it's own structure, and allocate itAndrew Bartlett1-0/+2
with talloc() for the NTLMSSP system. Andrew Bartlett (This used to be commit 7a93ac49c28d433ccf0f077294f473fe728b9995)
2007-10-10r6414: Added composite user del function. Slightly broken still, but I don'tRafal Szczesniak1-0/+1
want it to hang around not commited. rafal (This used to be commit 98d98b9bc7437e744e1e730fa8005b43fb1b672b)
2007-10-10r6382: New structure for useradd call.Rafal Szczesniak1-0/+1
rafal (This used to be commit 3752122550dcdd1d954c602a28f4b6ad26fe3a0e)
2007-10-10r6352: Two new composite calls:Alexander Bokovoy1-0/+2
- qfsinfo (query file system information) - appendacl (append an ACL to existing file's security descriptor and get new full ACL) The second one also includes an improvement to security descriptor handling which allows to copy security descriptor. Written by Peter Novodvorsky <peter.novodvorsky@ru.ibm.com> Both functions have corresponding torture tests added. Tested under valgrind and work against Samba 4 and Windows XP. ToDo: document composite call creation process in prog_guide.txt (This used to be commit 441cff62ac75ed16851ce7b8daf9d03eb4c3ec79)
2007-10-10r6247: added the server side code for receiving mailslot requests, andAndrew Tridgell1-0/+2
parsing incoming netlogon requests. No replies are sent yet. (This used to be commit 3b34df6a674cd2aeddc354cdadae3f0e1c000d45)