summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r468: fixed timegm() on broken systemsAndrew Tridgell1-1/+5
(This used to be commit a3d639d04ff25deabd299ea24917adde9192ed38)
2007-10-10r467: hopefully get the buildfarm compiling fine now...Stefan Metzmacher5-10/+13
metze (This used to be commit d15f0e18bb43608c611cfe78fc79db9ee10e1eb2)
2007-10-10r466: implemented samr_OpenDomain() and samr_GetDomPwInfo() server side callsAndrew Tridgell2-10/+116
if you take a look at samr_GetDomPwInfo() then you will get a fairly good idea of what I am planning for the database oriented SAMR server implementation. (This used to be commit bba0044a514cf86cbcf14bc82dd6c49808c22dab)
2007-10-10r465: we need common.h in two more rpc server pipesAndrew Tridgell2-0/+2
(This used to be commit d96b68169a5ab46cc0550732d4fe94af75e06fd6)
2007-10-10r464: a big improvement to the API for writing server-side RPCAndrew Tridgell11-594/+521
servers. Previously the server pipe code needed to return the RPC level status (nearly always "OK") and separately set the function call return using r->out.result. All the programmers writing servers (metze, jelmer and me) were often getting this wrong, by doing things like "return NT_STATUS_NO_MEMORY" which was really quite meaningless as there is no code like that at the dcerpc level. I have now modified pidl to generate the necessary boilerplate so that just returning the status you want from the function will work. So for a NTSTATUS function you return NT_STATUS_XXX and from a WERROR function you return WERR_XXX. If you really want to generate a DCERPC level fault rather than just a return value in your function then you should use the DCESRV_FAULT() macro which will correctly generate a fault for you. As a side effect, this also adds automatic type checking of all of our server side rpc functions, which was impossible with the old API. When I changed the API I found and fixed quite a few functions with the wrong type information, so this is definately useful. I have also changed the server side template generation to generate a DCERPC "operation range error" by default when you have not yet filled in a server side function. This allows us to correctly implement functions in any order in our rpc pipe servers and give the client the right information about the fault. (This used to be commit a4df5c7cf88891a78d82c8d6d7f058d8485e73f0)
2007-10-10r463: build ldb with debugging when standaloneAndrew Tridgell1-1/+1
(This used to be commit 77269e7ad6f569585d5fad37ee63169c4eee3f01)
2007-10-10r462: added an explanation about the rather complex ltdb_key() functionAndrew Tridgell1-0/+9
(This used to be commit 894e44022d16d9ff43f421fb15495845710000ab)
2007-10-10r459: added an initial provision.ldif - this is temporary, and needs to beAndrew Tridgell1-0/+734
replaced with a more sophisticated provisioning system (This used to be commit 86604bef236568028e84e6b1e8d935c3cfd70112)
2007-10-10r458: this is the (very primitive) beginnings of a SAMR server forAndrew Tridgell5-1/+1235
Samba4. I'm committing this now so I can get comments on the approach. Note that you need to do something like this to initialise the SAM db: edit script/provision.pl script/provision.pl > provision.ldif.out bin/ldbadd /path/to/private/sam.ldb provision.ldif.out (This used to be commit e2002e40a5abe0cd33a2056b1da8ba5732f9021f)
2007-10-10r457: added some more samr tests to help me work out the right error codesAndrew Tridgell1-1/+27
in our new samr server (This used to be commit 0f2503111498e809237e0155962db55dfde8cbfb)
2007-10-10r456: - added -i option to ldbsearchAndrew Tridgell7-49/+75
- fixed sorting bug in ldb index handing (This used to be commit cdd48e2b9b3ca6be5503eec401e09db162408ac8)
2007-10-10r454: allow a non-URL form of a filename to be used in ldb_connect(). ThisAndrew Tridgell2-6/+10
makes it a little easier to work with the ldb tools (This used to be commit 03df31cef025b2087531579437d6bae1ec36e82f)
2007-10-10r453: added a comment about indexing on objectclassAndrew Tridgell1-1/+4
(its usually a bad idea) (This used to be commit f88760c3cc81324d3d339702b411603139af6224)
2007-10-10r452: move from first-fit to best-fit in tdb record allocation. For aAndrew Tridgell1-48/+97
situation where we are continually increasing the size of a record (such as ldb index records) this reduces the resulting tdb size by a factor of over 100x, due to reductions in fragmentation. It appears to have no noticable effect on the speed in other cases. (This used to be commit b61d7f8bbc0c01d648ce204ffb6ea657e0b04c03)
2007-10-10r451: More NTLMSSP work.Andrew Bartlett3-90/+167
The work here is trying to get the LM_KEY option for NLTMSSP operating, however until that functions properly, it is now controlled by some new smb.conf options, defaulting off. Andrew Bartlett (This used to be commit c63eb35b45c6db6e4c5302d1832bb5cef49a14f6)
2007-10-10r448: Fix 'auth' in Samba4, by making 'auth methods' a normal smb.confAndrew Bartlett2-41/+2
paramter, without special links to other variables. When we get 'server role' ideas back into Samba4, we can fix this properly. The default is: guest, sam_ignoredomain which is the expected behaviour for a stand-alone server. Andrew Bartlett (This used to be commit 56ebc4275fedc8141d43a4ae9a4f4f0e1eccaf49)
2007-10-10r445: fixed the bind_nak codeAndrew Tridgell1-2/+7
(This used to be commit f3799e7720e13e12b59168cf4afbf2dfe87868f7)
2007-10-10r444: - added the beginnings of a ldb test suite and benchmarkAndrew Tridgell8-11/+266
- updated the test slapd config to use bdb and indexing (This used to be commit 7ad0858c060ee212a33434dc4be75e7a0cd1a0e3)
2007-10-10r443: Update Samba4 to the auth and NTLMSSP code from Samba3.Andrew Bartlett17-742/+1048
Not all the auth code is merged - only those parts that are actually being used in Samba4. There is a lot more work to do in the NTLMSSP area, and I hope to develop that work here. There is a start on this here - splitting NTLMSSP into two parts that my operate in an async fashion (before and after the actual authentication) Andrew Bartlett (This used to be commit 5876c78806e6a6c44613a1354e8d564b427d0c9f)
2007-10-10r442: fixed some uninitialised variables pointed out by gcc -O3Andrew Tridgell3-4/+3
(This used to be commit ff31cfb941b77e99e648011a6b7639b2a5923a6a)
2007-10-10r441: added an example of how to use the remote rpc interfaceAndrew Tridgell1-0/+7
(This used to be commit 62f59d1180cb97cbfd6e046072131fc486ade4bd)
2007-10-10r437: fixed handling of a corner case with multi-valued indexingAndrew Tridgell2-0/+14
(This used to be commit b38612185657512419c4b3dc806cf1183e0db0cb)
2007-10-10r436: fixed indexing of objectclass with subclassesAndrew Tridgell1-1/+64
(This used to be commit 4d92e6f79f52ec0d580dfda2a91b4afc95838ff4)
2007-10-10r435: a major upgrade for ldbAndrew Tridgell18-142/+904
- added the ability to mark record attributes as being CASE_INSENSITIVE, WILDCARD or INTEGER. - added the ability to support objectclass subclasses, and to search by a parent class - added internal support for case insensitive versus case sensitive indexing (not UTF8 compliant yet) - cleaned up a number of const warnings - added a number of helper functions for fetching integers, strings and doubles - added a in-memory cache for important database properties, supported by a database sequence number - changed some variable names to avoid conflicts with C++ (This used to be commit f2bf06f25c2e6c744817711c7bedbd1d3b52f994)
2007-10-10r432: fix the linking of the reg* toolsStefan Metzmacher1-15/+31
metze (This used to be commit 089f6f063fdd7e54c0a2a95d27bab1813fbc2307)
2007-10-10r425: add some comments to ugly code partsStefan Metzmacher2-1/+2
we should take care of 'char *' and 'const char *' and DO NOT mix them! Jelmer: please fix this metze (This used to be commit cd609eb2fe9303825d5562047d57fd553b2601bd)
2007-10-10r424: let this code compile on every machine hopefullyStefan Metzmacher1-2/+2
metze (This used to be commit 3e911db7c2cbcb38667f06e6b0282bce1b7991cb)
2007-10-10r420: added nicer names for the field bits in userinfo21Andrew Tridgell2-15/+143
added tests for the level 23 and 25 password change methods (This used to be commit d49f7a6a0d1895de3d654a5b46c6aec3a57fde76)
2007-10-10r419: Data::Dumper is not portableStefan Metzmacher1-2/+2
use it only for debugging in a local tree metze (This used to be commit 7c53e05b4874143e8e8cd0034ab5a6a986e7994c)
2007-10-10r412: as we decide to not do 3.0.2a releases anymore,Stefan Metzmacher2-18/+1
remove the generation stuff from VERSION and mkversion.sh metze (This used to be commit 6658e75358a82e3e6f104487d8bb19514af4e7a7)
2007-10-10r411: make swig should not be the first make rule...Stefan Metzmacher1-0/+2
add make default -> all before metze (This used to be commit ddf6a575ff173fcf1e4898fc73459c52f554e043)
2007-10-10r392: added IDL for 3 more netlogon Delta levels, thanks to a dump from ↵Andrew Tridgell1-5/+21
Richard Renard (This used to be commit 2d8772ec9607c4e06bbc559b35979e27d4b988d9)
2007-10-10r390: added my best guess for how session keys are supposed to work when youAndrew Tridgell4-5/+34
use NTLMSSP sign or seal at the RPC layer It doesn't work yet, but then again neither does the old code (which just assumed the SMB session key was used, which of course makes no sense on a ncacn_ip_tcp connection) (This used to be commit e8782329269bc78d36d8ca83fb7a4e38b9c6b167)
2007-10-10r389: added a test for set user info level 26 (set password extended)Andrew Tridgell1-1/+56
thanks to Luke Howard for this test (This used to be commit 891653e7d40f581016085e2c32e2802eea7e7ade)
2007-10-10r388: added IDL for 3 more set user info levels (all of which set theAndrew Tridgell1-0/+22
password). That makes 8 ways to change a password just on the SAMR pipe! Thanks to Luke Howard from PADL for this. (This used to be commit c8a49a7e004468d13f656f67eac4b7b4e1759022)
2007-10-10r387: more C++ friendly changesAndrew Tridgell3-31/+31
(This used to be commit ac0c525a8b8a05cc275fb9f4c1dcfd749604c85f)
2007-10-10r386: Another torture test to survive.Volker Lendecke1-0/+66
Believe it or not, w2k3 returns ERRSRV:ERRbaduid DOS error code if you pass in a wrong vuid. We (Samba 3) currently return NT_STATUS_NETWORK_ACCESS_DENIED. Volker (This used to be commit 37221b81f124887ab3cb652f237067ff4b56151e)
2007-10-10r383: Scripting extensions using swig. This commit includes only a (LGPL)Tim Potter5-0/+213
python interface to tdb and a rudimentary build system. Configure with --with-python and make swig to build and append $(builddir)/scripting/swig/python to PYTHONPATH. (This used to be commit bbc15d6f84b6a247ae87b253752a86a38f1d6798)
2007-10-10r382: More C++ friendliness fixes.Tim Potter5-13/+13
(This used to be commit e96f3a2005cf6f4da2ecd4670a35eab1b4f250d0)
2007-10-10r381: make the code more C++ friendlyAndrew Tridgell6-21/+21
(This used to be commit 8acecc7f27e25ab876fffffe43ae75b5f77aff77)
2007-10-10r380: make sure that ldbedit -a works with all tdb and LDAP backendsAndrew Tridgell1-1/+1
(This used to be commit b5cb5a1e62a4b9df6f163082498942553662436e)
2007-10-10r374: allow for a policy_handle fetch using a handle type ofAndrew Tridgell2-1/+3
DCESRV_HANDLE_ANY. This is needed for operations like samr_Close() that take any handle type. (This used to be commit 6fbbfc4462388c4c86f9f0ddd3cdd99225512ef2)
2007-10-10r373: use a much larger default tdb hash size in ldbAndrew Tridgell1-1/+2
(This used to be commit 54f47c45b8f828ad5ddaa630d0c1e673f2c74b7a)
2007-10-10r372: automatically create a fake BDC machine account and delete itAndrew Tridgell2-25/+191
afterwards for the RPC-NETLOGON test. This makes it much simpler to run the test and also means that it doesn't distrurb any existing domain join you might have. (This used to be commit feac996794d5cc16e3612fb2901668a9b1e1d274)
2007-10-10r365: improved the IDL for samr_Connect5()Andrew Tridgell2-21/+26
(This used to be commit 4b4f025504cb5b92c8b119259f1df622cd72ec7c)
2007-10-10r364: finally worked out the ancient samr_ChangePasswordUser() interfaceAndrew Tridgell2-37/+33
yay! (This used to be commit 0221566cf5ff7dc5ce0de9af451b935ed8615f4e)
2007-10-10r363: nicer error handling in pidlAndrew Tridgell2-1/+3
(This used to be commit cafc8a5e763834a26432c467abfe84f140bb7d80)
2007-10-10r362: after setting domain info query it again so we can see what attributes ↵Andrew Tridgell1-0/+8
stick (This used to be commit b2ebaf95b75b050ad02ca967867337cd81faa859)
2007-10-10r361: allow anonymous browsingAndrew Tridgell1-9/+2
(This used to be commit 845730501e24629aa3db4698f097dd73c14bca3b)
2007-10-10r360: use the STYPE_* definitions from srvsvc.idlAndrew Tridgell1-4/+6
(This used to be commit 32707fe3c0fd7139b597fef1c2b096992e51bdc6)