summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r36: - Start using memory pools in the registry libraryJelmer Vernooij7-141/+102
- Remove obsolete file (This used to be commit d85b8fb3b74b236fb03cf0931a0f585eec74536a)
2007-10-10r31: More registry updates. regdiff/regpatch work now.Jelmer Vernooij7-151/+168
(This used to be commit 98224f5436695eb265f5d997cf4bc9cf735a4fb9)
2007-10-10r20: Add the registry library. Still needs a lot of work,Jelmer Vernooij18-0/+4805
see source/lib/registry/TODO for details. (This used to be commit 7cab3a00d7b4b1d95a3bfa6b28f318b4aaa5d493)
2007-10-10[GLUE] Sync tree with SVN r17.Gerald (Jerry) Carter1-0/+0
(This used to be commit 6e50109b664ff5fcc3d27f676d101c2b36574a63)
2004-04-03added the rest of the ldb_modify() code, which required a fairly largeAndrew Tridgell19-405/+922
change in the ldb API. The API is now much closer to LDAP. (This used to be commit e9e85c464411c561c5073d262a2e3533fec175ca)
2004-04-01allow "struct TDB_DATA" as well as just "TDB_DATA"Andrew Tridgell1-1/+1
in general I prefer the struct form for Samba4 structures. I think its clearer. (This used to be commit 63b26557744ce4cbf5c9419f752fbd63ed8bfec6)
2004-03-31building with Makefile.ldb now worksAndrew Tridgell5-857/+139
(This used to be commit 12538cd2c650bacabd37f4d2ecd3ff3ffce87a00)
2004-03-31make a more recent snapshot of ldb available to interestedAndrew Tridgell36-0/+5656
people. Note that I decided to make it LGPL. ldb is not finished yet, but enough of it is there for people to get an idea of what it does, and quite a few simple tests work (This used to be commit dc6f41f9e777d37f883303ddef0d96840d80f78e)
2004-03-28merge some recent tdb changed from samba3Andrew Tridgell2-9/+74
(This used to be commit 0e845ecd49841c620f7f9c5ba6c5bfbb0c572032)
2004-03-28switch from SIG_ATOMIC_T to sig_atomic_tAndrew Tridgell3-4/+4
(This used to be commit b881b72cb9cb5a4a8ad27b621e8cbe9dcfa7ba7f)
2004-03-28after discussion with the copyright holders tdb is now under the LGPLAndrew Tridgell3-38/+56
(This used to be commit 51409e2a417fb0673f59e5c823d7fe54b21e6f76)
2004-03-28added a TDB_MODIFY flag to tdb_store() that says "if the recordAndrew Tridgell2-0/+7
doesn't exist then fail the store" (This used to be commit 6aec1457f8772cf81b88a0a00cc2ad7c16cd0d87)
2004-03-28added a private pointer to tdb_traverse() to allow callers to supplyAndrew Tridgell2-4/+4
data to their traverse function (This used to be commit 76bf816485bf869c293791659da5dff2425d2d32)
2004-03-28removed the state parameter to tdb_traverse and the TDB_MODIFY flagAndrew Tridgell2-12/+7
(This used to be commit 6505efc7e9bfcdae3e370d8557328470608b87ca)
2004-02-24make proto should not catch any function of the lib/popt/*.c stuffStefan Metzmacher1-2/+2
metze (This used to be commit ec96914c66573ae54f4fa0a706001f5b91c61075)
2004-02-24let the popt replacement stuff survive a make protoStefan Metzmacher5-37/+67
metze (This used to be commit 0f1c6dd631c7a1d4be333b8e3e4ce9850752d5c2)
2004-02-22- creat the LIBCMDLINE subsystemStefan Metzmacher3-493/+79
including readline and popt - creat the CONFIG subsystem including param/* dynconfig.* and passdb/secrets.* metze (This used to be commit bfd7fd21c8e38c0065fc41dde10e863a169878c2)
2004-02-18don't inlcude rpc/rpc.h and rpcsvc/*.h anymoreStefan Metzmacher1-42/+0
and remove NET_GROUP stuff, this needs to be implemented in a better way if we ever readd this metze (This used to be commit da5f22976fb40ec96160439c7a926a15805fc7f0)
2004-02-18remove unused NISPLUS/AUTOMOUNT stuffStefan Metzmacher1-31/+0
metze (This used to be commit cbfa29549e5b302f947c7f2ca14fbea257e46c33)
2004-02-18move some cryto stuff to lib/crypto/*Stefan Metzmacher5-626/+5
metze (This used to be commit afe4dbfea658d3d3de847651ea2b3d5517e81f41)
2004-02-12move the tdb lib code to lib/tdb/*Stefan Metzmacher1-1/+1
metze (This used to be commit 5ebd6fb761370cbe2835a2a2631e24e35bcaffb4)
2004-02-12move -lpopt replacement code from source/popt/* to source/lib/popt/*Stefan Metzmacher1-3/+3
metze (This used to be commit 9d1018557fdc51cada1ad082d85c0dc48e1b3072)
2004-02-12move the -lpopt replacement to a LIBPOPT subsystemStefan Metzmacher1-15/+24
metze (This used to be commit 9eb593a7c065326dafbba896ed723d0ea5cb00ed)
2004-02-12move more code to the config.m4 schemeStefan Metzmacher1-0/+24
LIBBASIC, LIBSMB are the new global subsystems metze (This used to be commit a25c167b3f13031ba992b2d3f74387bdfffbf5b0)
2004-02-10- modified the dcerpc client security code to be generic, so ntlmsspAndrew Tridgell2-2/+2
and schannel are both instances of possible security modules - added schannel sign and sign/seal support to the dcerpc client code. You select it with binding options of "schannel,sign" or "schannel,seal". (This used to be commit 05db0b9d942cad8f1dd574dc35b759e5e79d4195)
2004-02-02- we now specify the object files in the subsystems config.m4 fileStefan Metzmacher1-0/+66
I plan to convert all objectfile group to use SMB_SUBSYSTEM later I'll add a SMB_BINARY() and SMB_LIBRARY(), then there will be no more need to touch Makefile.in, because all make rules will be autogenerated by configure - convert the PROCESS_MODEL subsystem to this new scheme and move the pthread test to smbd/process_model.m4 - convert the CHARSET subsystem to this new scheme and move the iconv test to lib/iconv.m4 (This used to be commit 2e57ee884ebea194ee79ac20e84e385481b56aa2)
2004-02-02some compilers don't like the #warning preprocessing directiveStefan Metzmacher1-1/+0
so just do a DEBUG(0,("...")); metze (This used to be commit c087ff38b0c67a2246214c1303b045e6a7c2aa4a)
2004-02-02remove unused filesStefan Metzmacher2-65/+0
we maybe need the util_smbd.c code later but this should not be in the lib/ dir metze (This used to be commit 2149d414079cefc956bc9a50e30b7bb423f4aca6)
2004-01-28remove a lot of unused stuff from the header filesStefan Metzmacher3-3/+17
and exclude some files from Makefile.in metze (This used to be commit f77990cf2496f72d02566f09477349436be3dfcd)
2004-01-28merge the version.h autogeneration stuff from 3.0Stefan Metzmacher4-3/+45
metze (This used to be commit 24dc237e109f6dce69814b22e0fb7878a7f6bfa8)
2004-01-22initilize ev->maxfd = EVENT_INVALID_MAXFD; before the while() loop.Stefan Metzmacher1-0/+1
metze (This used to be commit 61ec710518469876ccc48d57b5fee5d6ead3d482)
2004-01-22- make the recalculation of ev->maxfd a bit more efficient.Stefan Metzmacher1-35/+50
- fix the case when we have no fd_events left on the event_context we now exit after doing the timed events and not block in select() waiting for no fd's to become ready... metze (This used to be commit 857e76ef6b891c199534db6ce229410340286461)
2004-01-21let the event_add_XXX() function return a pointer of the allocated event ↵Stefan Metzmacher1-12/+12
structure and NULL on allacation error. metze (This used to be commit fffc6cfb6b9946155d209dd14faa79c5b9d43d1d)
2004-01-08This patch adds a better dcerpc server infastructure.Stefan Metzmacher1-1/+13
1.) We now register endpoint servers add startup via register_backend() and later use the smb.conf 'dcerpc endpoint servers' parameter to setup the dcesrv_context 2.) each endpoint server can register at context creation time as much interfaces as it wants (multiple interfaces on one endpoint are supported!) (NOTE: there's a difference between 'endpoint server' and 'endpoint'! for details look at rpc_server/dcesrv_server.h) 3.) one endpoint can have a security descriptor registered to it self this will be checked in the future when a client wants to connect to an smb pipe endpoint. 4.) we now have a 'remote' endpoint server, which works like the ntvfs_cifs module it takes this options in the [globals] section: dcerpc remote:interfaces = srvsvc, winreg, w32time, epmapper dcerpc remote:binding = ... dcerpc remote:user = ... dcerpc remote:password = ... 5.) we currently have tree endpoint servers: epmapper, rpcecho and remote the default for the 'dcerpc endpiont servers = epmapper, rpcecho' for testing you can also do dcerpc endpoint servers = rpcecho, remote, epmapper dcerpc remote:interfaces = srvsvc, samr, netlogon 6,) please notice the the epmapper now only returns NO_ENTRIES (but I think we'll find a solution for this too:-) 7.) also there're some other stuff left, but step by step :-) This patch also includes updates for the register_subsystem() , ntvfs_init(), and some other funtions to check for duplicate subsystem registration metze (hmmm, my first large commit...I hope it works as supposed :-) (This used to be commit 917e45dafd5be4c2cd90ff425b8d6f8403122349)
2003-12-30"subsystems" should be staticAndrew Tridgell1-1/+1
(This used to be commit 64cf9b3fd3ad971973f6f1d73b924af225252837)
2003-12-19added a bunch of alias functions in samr.idl based on work by Kai.Andrew Tridgell1-0/+6
(This used to be commit f740b02ac36780740700909da2bcdf672cb146cb)
2003-12-16removed some unused functionsAndrew Tridgell1-87/+0
(This used to be commit 09d17d705a6e378a7c1a40b29d2e091200b6d757)
2003-12-16it turns out that a wire policy handle isn't a blob either, its aAndrew Tridgell1-0/+26
uint32 followed by a GUID. I needed to fix this to support running in mixed-mode rpc (where smbtorture is bigendian and w2k3 is little-endian). Otherwise when you send back a policy handle the server doesn't recognise it. (This used to be commit 9b1c76a8e9e953e051072441f8938ee17a674d35)
2003-12-16added support for big-endian ucs2 strings (as used by big-endianAndrew Tridgell2-5/+33
msrpc). this was easier than I expected! (This used to be commit a0a51af6b746b1f82faaa49d33c17fea9d708fb0)
2003-12-16a fairly large commit!Andrew Tridgell2-65/+5
This adds support for bigendian rpc in the client. I have installed SUN pcnetlink locally and am using it to test the samba4 rpc code. This allows us to easily find places where we have stuffed up the types (such as 2 uint16 versus a uint32), as testing both big-endian and little-endian easily shows which is correct. I have now used this to fix several bugs like that in the samba4 IDL. In order to make this work I also had to redefine a GUID as a true structure, not a blob. From the pcnetlink wire it is clear that it is indeed defined as a structure (the byte order changes). This required changing lots of Samba code to use a GUID as a structure. I also had to fix the if_version code in dcerpc syntax IDs, as it turns out they are a single uint32 not two uint16s. The big-endian support is a bit ugly at the moment, and breaks the layering in some places. More work is needed, especially on the server side. (This used to be commit bb1af644a5a7b188290ce36232f255da0e5d66d2)
2003-12-16enable rep_inet_ntoa() for non-pthread buildsAndrew Tridgell1-1/+4
(This used to be commit f50d4b602af73045e5b15d62fd24224eba849fd1)
2003-12-16more mutex portability.Andrew Tridgell1-5/+5
(This used to be commit 42dd8d888a1d4c09aebb199e8636f49df6d2e36a)
2003-12-16more portability fixes. We now almost compile on solarisAndrew Tridgell1-8/+8
(This used to be commit f4abd20b8437703211676fb12ea23af8f0e4642a)
2003-12-16use smb_rwlock_t instead of rwlock_t to avoid conflicts with systemAndrew Tridgell1-5/+5
types on some platforms (eg. solaris) (This used to be commit ac8a23af8c67d2e39bb6cfd409c50f1f429cf271)
2003-12-14fixed some memory leaks in the rpc server codeAndrew Tridgell1-0/+5
(This used to be commit 20458556017f426ab57ca9a9d098cacecefbdcff)
2003-12-13added a basic dcerpc endpoint mapper to Samba4. Currently onlyAndrew Tridgell4-14/+80
implements the epm_Lookup() call, I'll add the other important calls soon. I was rather pleased to find that epm_Lookup() worked first time, which is particularly surprising given its complexity. This required quite a bit of new infrastructure: * a generic way of handling dcerpc policy handles in the rpc server * added type checked varients of talloc. These are much less error prone. I'd like to move to using these for nearly all uses of talloc. * added more dcerpc fault handling code, and translation from NTSTATUS to a dcerpc fault code * added data_blob_talloc_zero() for allocating an initially zero blob * added a endpoint enumeration hook in the dcerpc endpoint server operations (This used to be commit 3f85f9b782dc17417baf1ca557fcae22f5b6a83a)
2003-12-12 * the RPC-ECHO pipe now works in smbd, as long as the data sizesAndrew Tridgell2-3/+2
don't cause fragmented pdus (I'll add fragments shortly) * change data_blob_talloc() to not zero memory when the 2nd argument is NULL. The zeroing just masks bugs, and can't even allow a DOS attack * modified pidl to ensure that [ref] arguments to the out side of functions are allocated when parsing the in side. This allows rpc backends to assume that [ref] variables are all setup. Doesn't work correctly for [ref] arrays yet * changed DLIST_ADD_END() to take the type instead of a tmp variable. This means you don't need to declare a silly tmp variable in the caller (This used to be commit 46e0a358198eeb9af1907ee2a29025d3ab23b6d1)
2003-12-10 * removed some unused codeAndrew Tridgell4-49/+174
* updated tdb to latest version from Samba3 * removed some extraneous ';' in tdbutil.c (Thanks to Erlend Aasland for pointing this out) (This used to be commit f3eaf270e57d8d2e2157a6a36e260860c7f71c19)
2003-12-04* added a debug thread id hook from jim myersAndrew Tridgell2-1/+15
* change to select() from sys_select() in events.c, as sys_select() is not thread safe. We need a new unified signal handling scheme for Samba4, but for now just use select() (This used to be commit 126fcd4a76ac029ee4f662ed41b84c791406c324)
2003-12-04don't use c++ commentsAndrew Tridgell2-4/+8
(This used to be commit 3d48fa8f37a510959c8958b5c025c7f19f632c54)