summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r3348: More registry fixes and additions. The following functions work right ↵Jelmer Vernooij5-14/+67
now against samba 4, at least with a ldb backend: winreg_Open* winreg_OpenKey winreg_EnumKey winreg_DeleteKey winreg_CreateKey (This used to be commit a71d51dd3b136a1bcde1704fe9830985e06bb01b)
2007-10-10r3347: fixed an uninitialised variable bug. Surprisingly hard to track down,Andrew Tridgell1-2/+8
as valgrind got a corrupt stack when trying to debug it. (This used to be commit 58cabaa7022e5521961551462d31fbd90e4183e4)
2007-10-10r3346: - simplified vfs_nbench.c a bit, by using req->async_state->ntvfs insideAndrew Tridgell1-74/+51
nbench_log() instead of declaring nprivates every time. - added correct async_setup pass-thru in nbench (This used to be commit 8d79bceeca4528ab31cff1adc7706faa075013ac)
2007-10-10r3341: - don't zero the async structure (makes valgrind more useful)Andrew Tridgell3-6/+2
- get rid of req->mid, as it isn't a safe value to use to match requests in the server (it is safe in the client code, as we choose the mid, but in the server we can't rely on other clients to choose the mid carefully) (This used to be commit 938fb44351e12a515073ea94cd306988d5ca7340)
2007-10-10r3340: Various fixes in the registry code. Implement the EnumKey callJelmer Vernooij5-4/+30
in the server. (This used to be commit da65a248c292a90342e1394ee4132ef2c7afd3c8)
2007-10-10r3338: More work on the winreg RPC server. Opening hives is now supported, ↵Jelmer Vernooij2-66/+70
most other calls return WERR_NOT_SUPPORTED for now. Hive backends can be set like this: registry:HKEY_LOCAL_MACHINE = ldb:tdb://registry.tdb registry:HKEY_CURRENT_USER = gconf registry:HKEY_USERS = dir:/tmp/registry registry:HKEY_CLASSES_ROOT = nt4:/path/to/NTUSER.DAT registry:HKEY_PERFORMANCE_DATA = w95:/path/to/USER.DAT (This used to be commit 42844a4e3422bbbe891ba944c0e97861db7763ec)
2007-10-10r3337: remove debug code and reanable the reall logging:-)Stefan Metzmacher1-7/+3
metze (This used to be commit 00b285e5a815e6d53ede7d102dee4e5b79d47f52)
2007-10-10r3336: use a struct ntvfs_async_state to be able to do async chaning of ↵Stefan Metzmacher14-423/+687
ntvfs modules the idea is that a passthru module can use ntvfs_async_state_push() before calling ntvfs_next_*() and in the _send function it calls ntvfs_async_state_pop() and then call the upper layer send_fn itself - ntvfs_nbench is now fully async - the ntvfs_map_*() functions and the trans(2) mapping functions are not converted yet metze (This used to be commit fde64c0dc142b53d128c8ba09af048dc58d8ef3a)
2007-10-10r3335: better configure support for ipv6 - thanks to a quick tutorial from metzeAndrew Tridgell1-1/+7
(This used to be commit 76c4ba6d29a6ad1e21c2d7674e1f323e8d53d627)
2007-10-10r3334: Allow disabling IPv6 support using socket:noipv6Jelmer Vernooij1-0/+4
(This used to be commit 9c13f42c1fd489a6a663f614a41c59730c18a054)
2007-10-10r3333: added configure tests for ipv6 supportAndrew Tridgell2-1/+8
(This used to be commit 9794570c6d0646cc34147bf8128802b181f658f0)
2007-10-10r3332: Check result codes in some more places...Jelmer Vernooij1-1/+11
(This used to be commit 87833cc75852bfe198c73ba1be67d1d36a43dc99)
2007-10-10r3331: Add string descriptions for a couple more WERROR'sJelmer Vernooij1-0/+10
(This used to be commit 1d374cdeb09b856449287cf12a77b23296c82a1d)
2007-10-10r3330: Use IPv6 for RPC client connections if we canJelmer Vernooij1-1/+9
(This used to be commit 9426a655356f817f3d3174d25caa25224043d373)
2007-10-10r3329: Add support for IPv6Jelmer Vernooij4-0/+373
(This used to be commit d8298901243ca4ce2ec420fa523c8e1407e72513)
2007-10-10r3327: fixed another warningAndrew Tridgell1-3/+3
we're now down the the last few warnings. Most are enum warnings caused by unfinished code (unhandled enum levels). If you want to get rid of those then work on finishing that code. (This used to be commit b62f7bb971c94be666ef816b24e93a14fd90f5e0)
2007-10-10r3325: missed one of the torture changes ...Andrew Tridgell1-1/+1
(This used to be commit 1629b593c6ad5a6c0a7dc0cd7588d979db887286)
2007-10-10r3324: made the smbtorture code completely warning freeAndrew Tridgell64-119/+127
(This used to be commit 7067bb9b52223cafa28470f264f0b60646a07a01)
2007-10-10r3323: more warning reductionsAndrew Tridgell16-105/+73
(This used to be commit 5921587ec26e4892efc678421277e4969417d7f5)
2007-10-10r3322: fixed a bunch of warnings in the build, including one case where it ↵Andrew Tridgell11-17/+22
was a real bug (This used to be commit 02d5d0f685e44bd66aff4a007f0bf34c8f915574)
2007-10-10r3321: make the test_echo.sh test suite test non-blocking on all rpc transportsAndrew Tridgell1-0/+1
this test now passes (This used to be commit 3d270fd86caedd1023373160934d72d8cb065659)
2007-10-10r3320: fixed bugs in the rpc_server code in handling partial packet receives ↵Andrew Tridgell2-5/+3
and sends it now passes the non-blocking test suite (This used to be commit 6cdf485fb263c69d62ea2e98236d92ffbf6b7a3e)
2007-10-10r3319: fixed a bug in the client library found by the new non-block testing codeAndrew Tridgell1-10/+0
(This used to be commit 1e62aa262aac1c8e3676caac7b65086d21b7a01e)
2007-10-10r3318: generate random STATUS_MORE_ENTRIES errors (1 in 10 packets) as wellAndrew Tridgell1-2/+10
as randomly short recv/send when socket:testnonblock is enabled (This used to be commit 718175a265d34bfdbcbf0cc6b55dbf6b389f3194)
2007-10-10r3317: Fix the buildVolker Lendecke1-2/+2
(This used to be commit 5e8fd27d6ec7f44e6e802a2f29ec54e96fa78af0)
2007-10-10r3316: give the LDAP server a chance of operating correctly non-blocking (itAndrew Tridgell1-2/+2
didn't handle EINTR or EAGAIN) (This used to be commit c35a8f92c2df354e972ced9371d33657ce99988e)
2007-10-10r3315: converted the libcli/raw/ code to use the generic socket library. ThisAndrew Tridgell3-42/+50
allows me to test with the socket:testnonblock option. It passes. (This used to be commit 7cb4bf8662825d507d8246647ffb10aa08bad794)
2007-10-10r3314: added a option "socket:testnonblock" to the generic socket code. IfAndrew Tridgell8-17/+34
you set this option (either on the command line using --option or in smb.conf) then every socket recv or send will return short by random amounts. This allows you to test that the non-blocking socket logic in your code works correctly. I also removed the flags argument to socket_accept(), and instead made the new socket inherit the flags of the old socket, which makes more sense to me. (This used to be commit 406d356e698da01c84e8aa5b7894752b4403f63c)
2007-10-10r3313: in socket_accept() make the new socket non-blocking unless ↵Andrew Tridgell2-0/+16
SOCKET_FLAG_BLOCK is set. (This used to be commit a2d92aa431e0e9752387eebe741d9e6f376f74d7)
2007-10-10r3312: in the brlock code, we prevent lock stampedes by attempting to notAndrew Tridgell1-1/+3
wakeup all pending locks at once. This change means that we only trigger this anti-stampede code for write locks, as for pending read locks the correct behaviour is to stampede (as they will all succeed) (This used to be commit 8021d1d74207db1204139309592b9d2f80f2bd0e)
2007-10-10r3311: Consistency updates for form name members.Tim Potter2-35/+96
Add tests for EnumForms, GetForm, AddForm, DeleteForm. (This used to be commit 6c49ce976a5c6982fa83de4ea723cef5597c29ef)
2007-10-10r3310: Update dependencies for swig wrappers.Tim Potter1-1/+3
(This used to be commit 5dcb300fca592cc62d325c47c857b046c90e7b42)
2007-10-10r3309: Add wrapper for dcerpc_server_name() function.Tim Potter1-0/+2
(This used to be commit 2d60a04f21da9dbe32c85b11afa98df74f5fd763)
2007-10-10r3308: Handle servers that don't have samr_Connect5.Tim Potter1-4/+11
(This used to be commit 52af866ffb427427d21daf11a4ca9a8b9881f1d5)
2007-10-10r3307: fixed the send side of the smb_server code to be non-blocking. ThisAndrew Tridgell3-18/+49
means the whole of the SMB handling code is now non-blocking. (This used to be commit 30acedb943f0170d30e7b08925280d0dffc7873e)
2007-10-10r3306: the main smb server code now handles non-blocking socket receives. IAndrew Tridgell2-47/+81
haven't marked the socket non-blocking yet as I haven't checked that the send path is OK for non-blocking. (This used to be commit bda978cc2a921a888534054135b9325427425dd2)
2007-10-10r3305: added ncalrpc to the list of rpc transports tested by test_echo.sh, soAndrew Tridgell1-1/+1
it gets regularly tested when I make changes. (This used to be commit e4216da824c8186df956d05742d96da05393c719)
2007-10-10r3304: changed the API to lib/socket/ a little.Andrew Tridgell10-116/+108
The main change is to make socket_recv() take a pre-allocated buffer, rather than allocating one itself. This allows non-blocking users of this API to avoid a memcpy(). As a result our messaging code is now about 10% faster, and the ncacn_ip_tcp and ncalrpc code is also faster. The second change was to remove the unused mem_ctx argument from socket_send(). Having it there implied that memory could be allocated, which meant the caller had to worry about freeing that memory (if for example it is sending in a tight loop using the same memory context). Removing that unused argument keeps life simpler for users. (This used to be commit a16e4756cd68ca8aab4ffc59d4d9db0b6e44dbd1)
2007-10-10r3303: Call pull function for correct type instead of spoolss_PrinterInfo whenTim Potter1-1/+1
unmarshalling arrays. (This used to be commit ee535b6801e553d0a180f18cc2c4b4438ee23de1)
2007-10-10r3302: The security descriptors in spoolss_PrinterInfo2 and spoolss_PrinterInfo3Tim Potter2-8/+55
need to be marked as subcontext(0). GetPrinter tests now work for all info levels! (This used to be commit 53bd02960e17f7517e0d6c4f489d27b8bdcc7582)
2007-10-10r3301: Simplify codeJelmer Vernooij7-245/+72
(This used to be commit dcdc6666d55c1ad006a5a4e58b337874478a66a4)
2007-10-10r3300: initialise *sendlen on failure, to allow for callers to check only forAndrew Tridgell1-0/+2
NT_STATUS_IS_ERR() (This used to be commit 80a109de8458420ac0b40c563f4b3bc51424d759)
2007-10-10r3295: Fix for SMB signing with 56-bit DES session keys. From Nalin ↵Jeremy Allison1-2/+11
Dahyabhai <nalin@redhat.com>. Jeremy. (This used to be commit afed78f359a15809b2d9b7566e16ade294944fa9)
2007-10-10r3291: fix the build, thx to pipitas for finding thisStefan Metzmacher2-6/+7
metze (This used to be commit d331a83f08b492ea463fb8781b4c46a71f80bf42)
2007-10-10r3290: allow SID_ANONYMOUS ( "S-1-5-7" ) to be the users sidStefan Metzmacher1-1/+1
metze (This used to be commit 177afd4855c66f46c82899b46f030803be63d52a)
2007-10-10r3289: Mr. L. and Mr. B.!Stefan Metzmacher2-8/+6
can we decide to not break WinXP clients:-) metze (This used to be commit 5eb0ff78d5e68f488a439545fdaec90c28ef877a)
2007-10-10r3288: - updated the path processing in pvfs to pass the RAW-CHKPATH test. ThisAndrew Tridgell4-243/+126
rather extensive test reveals some really bizarre error code handling in w2k3. - extended and simplified the RAW-CHKPATH test, making it easier to read (note that Samba3 fails the new tests - jra may wish to look) - marked RAW-CHKPATH as pass for pvfs (This used to be commit 32dccf91cfa5b57f84dd6307720b3f45faa10ae0)
2007-10-10r3287: The devicename and formname fields in a device mode are fixed lengthTim Potter1-2/+2
strings. Not sure how to write this as idl which maps to a char * but at least devicemodes can be pulled off the wire sucessfully. (This used to be commit dd20730a09935b0783b020a020ed9283ca1e4608)
2007-10-10r3286: filled in more missing SV_TYPE_* definesAndrew Tridgell1-1/+11
(This used to be commit 891d87a71203fcee504875976a4ee61b84579c83)
2007-10-10r3285: fixed another IDL typoAndrew Tridgell1-1/+1
(This used to be commit 4545ac9bfabf4af4b44cb72f30ed93273d9cdc37)