1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00
Commit Graph

1459 Commits

Author SHA1 Message Date
208e09747c r456: - added -i option to ldbsearch
- fixed sorting bug in ldb index handing
(This used to be commit cdd48e2b9b)
2007-10-10 12:51:43 -05:00
b96695ca23 r454: allow a non-URL form of a filename to be used in ldb_connect(). This
makes it a little easier to work with the ldb tools
(This used to be commit 03df31cef0)
2007-10-10 12:51:43 -05:00
1cc8db0132 r453: added a comment about indexing on objectclass
(its usually a bad idea)
(This used to be commit f88760c3cc)
2007-10-10 12:51:43 -05:00
cd16ca9876 r452: move from first-fit to best-fit in tdb record allocation. For a
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 b61d7f8bbc)
2007-10-10 12:51:43 -05:00
d8bb3d81a6 r451: More NTLMSSP work.
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 c63eb35b45)
2007-10-10 12:51:43 -05:00
63a41d7d4d r448: Fix 'auth' in Samba4, by making 'auth methods' a normal smb.conf
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 56ebc4275f)
2007-10-10 12:51:43 -05:00
cac54feea8 r445: fixed the bind_nak code
(This used to be commit f3799e7720)
2007-10-10 12:51:42 -05:00
78aa8f1814 r444: - added the beginnings of a ldb test suite and benchmark
- updated the test slapd config to use bdb and indexing
(This used to be commit 7ad0858c06)
2007-10-10 12:51:42 -05:00
9f084101dd r443: Update Samba4 to the auth and NTLMSSP code from Samba3.
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 5876c78806)
2007-10-10 12:51:42 -05:00
585d87a959 r442: fixed some uninitialised variables pointed out by gcc -O3
(This used to be commit ff31cfb941)
2007-10-10 12:51:42 -05:00
9c92ac995d r441: added an example of how to use the remote rpc interface
(This used to be commit 62f59d1180)
2007-10-10 12:51:42 -05:00
29bc1f5c60 r437: fixed handling of a corner case with multi-valued indexing
(This used to be commit b386121856)
2007-10-10 12:51:38 -05:00
3c117a4843 r436: fixed indexing of objectclass with subclasses
(This used to be commit 4d92e6f79f)
2007-10-10 12:51:38 -05:00
0dad5a3427 r435: a major upgrade for ldb
- 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 f2bf06f25c)
2007-10-10 12:51:38 -05:00
a2b6d47390 r432: fix the linking of the reg* tools
metze
(This used to be commit 089f6f063f)
2007-10-10 12:51:38 -05:00
4c991c6edd r425: add some comments to ugly code parts
we should take care of 'char *' and 'const char *' and DO NOT mix them!

Jelmer: please fix this

metze
(This used to be commit cd609eb2fe)
2007-10-10 12:51:38 -05:00
f517d6b7ae r424: let this code compile on every machine hopefully
metze
(This used to be commit 3e911db7c2)
2007-10-10 12:51:37 -05:00
931927d2a3 r420: added nicer names for the field bits in userinfo21
added tests for the level 23 and 25 password change methods
(This used to be commit d49f7a6a0d)
2007-10-10 12:51:37 -05:00
a37c408fc4 r419: Data::Dumper is not portable
use it only for debugging in a local tree

metze
(This used to be commit 7c53e05b48)
2007-10-10 12:51:37 -05:00
405e08683d r412: as we decide to not do 3.0.2a releases anymore,
remove the generation stuff from VERSION and mkversion.sh

metze
(This used to be commit 6658e75358)
2007-10-10 12:51:37 -05:00
aa68fbab88 r411: make swig should not be the first make rule...
add make default -> all before

metze
(This used to be commit ddf6a575ff)
2007-10-10 12:51:37 -05:00
473d669835 r392: added IDL for 3 more netlogon Delta levels, thanks to a dump from Richard Renard
(This used to be commit 2d8772ec96)
2007-10-10 12:51:37 -05:00
3fe884c26c r390: added my best guess for how session keys are supposed to work when you
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 e878232926)
2007-10-10 12:51:37 -05:00
932b0ff5f5 r389: added a test for set user info level 26 (set password extended)
thanks to Luke Howard for this test
(This used to be commit 891653e7d4)
2007-10-10 12:51:37 -05:00
24be9ddf0a r388: added IDL for 3 more set user info levels (all of which set the
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 c8a49a7e00)
2007-10-10 12:51:36 -05:00
a00c266702 r387: more C++ friendly changes
(This used to be commit ac0c525a8b)
2007-10-10 12:51:36 -05:00
b82b555b83 r386: Another torture test to survive.
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 37221b81f1)
2007-10-10 12:51:36 -05:00
75eef34a23 r383: Scripting extensions using swig. This commit includes only a (LGPL)
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 bbc15d6f84)
2007-10-10 12:51:36 -05:00
b0b97592be r382: More C++ friendliness fixes.
(This used to be commit e96f3a2005)
2007-10-10 12:51:36 -05:00
6411aa483f r381: make the code more C++ friendly
(This used to be commit 8acecc7f27)
2007-10-10 12:51:36 -05:00
ee0489fff6 r380: make sure that ldbedit -a works with all tdb and LDAP backends
(This used to be commit b5cb5a1e62)
2007-10-10 12:51:35 -05:00
6cc392bff3 r374: allow for a policy_handle fetch using a handle type of
DCESRV_HANDLE_ANY. This is needed for operations like samr_Close()
that take any handle type.
(This used to be commit 6fbbfc4462)
2007-10-10 12:51:35 -05:00
8882401382 r373: use a much larger default tdb hash size in ldb
(This used to be commit 54f47c45b8)
2007-10-10 12:51:35 -05:00
16d3528ebc r372: automatically create a fake BDC machine account and delete it
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 feac996794)
2007-10-10 12:51:35 -05:00
2cabf613e3 r365: improved the IDL for samr_Connect5()
(This used to be commit 4b4f025504)
2007-10-10 12:51:35 -05:00
3fb30e46be r364: finally worked out the ancient samr_ChangePasswordUser() interface
yay!
(This used to be commit 0221566cf5)
2007-10-10 12:51:35 -05:00
0d1c529cdc r363: nicer error handling in pidl
(This used to be commit cafc8a5e76)
2007-10-10 12:51:35 -05:00
6ee381d86c r362: after setting domain info query it again so we can see what attributes stick
(This used to be commit b2ebaf95b7)
2007-10-10 12:51:35 -05:00
2733f8cf7c r361: allow anonymous browsing
(This used to be commit 845730501e)
2007-10-10 12:51:34 -05:00
9e323d5db5 r360: use the STYPE_* definitions from srvsvc.idl
(This used to be commit 32707fe3c0)
2007-10-10 12:51:34 -05:00
31d44e3682 r359: moved the share type definitions to srvsvc.idl
I'd like to see more protocol defininitions in the IDL files and less
in smb.h where possible.
(This used to be commit 854b875bbe)
2007-10-10 12:51:34 -05:00
304396c892 r358: added some more annotation on the samr unknown attributes
(This used to be commit a946315193)
2007-10-10 12:51:34 -05:00
fd7252570b r357: added share browsing to smbclient using the SRVSVC MSRPC pipe
(This used to be commit 53ae1ddb8d)
2007-10-10 12:51:34 -05:00
3dce6f1e23 r356: Start of auto-generated client functions. Tridge can you take a look
and tell me what you think?  Output does not compile yet.
(This used to be commit 65692c9a93)
2007-10-10 12:51:34 -05:00
f3d3b3c809 r355: Fix a bunch of compiler warnings in the registry code.
(This used to be commit 0be7a866dc)
2007-10-10 12:51:34 -05:00
27ce4aa829 r354: Tridge convinced me that writing some wrapper functions by hand was a
bad idea.
(This used to be commit 6eb0b17015)
2007-10-10 12:51:33 -05:00
803b5d8aa4 r344: fixed deletion of index records
(This used to be commit 246f17cd4a)
2007-10-10 12:51:33 -05:00
07882b5460 r343: added automatic reindexing of the database when the index list changes
(This used to be commit a811640ce4)
2007-10-10 12:51:33 -05:00
b394a4c2ff r336: added a -X command line option to smbtorture to enable dangerous or
possibly destructive tests. Use with care!

Added IDL and test code for samr_Shutdown() and samr_SetDsrmPassword()
(This used to be commit 84de0b7e58)
2007-10-10 12:51:33 -05:00
493a37ba66 r335: added much better handling of servers that die unexpectedly during a
request (a dead socket). I discovered this when testing against Sun's
PC-NetLink.

cleaned up the naming of some of the samr requests

add IDL and test code for samr_QueryGroupMember(),
samr_SetMemberAttributesOfGroup() and samr_Shutdown().  (actually, I
didn't leave the samr_Shutdown() test in, as its fatal to windows
servers due to doing exactly what it says it does).
(This used to be commit 925bc2622c)
2007-10-10 12:51:33 -05:00