summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-11-04s4-ldb: don't load modules from the same directory twiceAndrew Tridgell1-4/+4
this prevents samba dying if you do a 'make install' while it is running. Otherwise the make install changes the inode numbers of the modules in the modules directory, causing them to reload, which causes multiple modules of the same name to try and load
2010-11-04s4-ldb: honor controls on search in ldbeditAndrew Tridgell3-1/+81
2010-11-04Move the checking of single valued attributes back into the tdb backend.Andrew Tridgell2-12/+44
The backend is the only place that can do this properly. It makes no sense to do it anywhere else. As a result of it moving out of the backend we ended up with some bugs causing multiple values in single valued attributes (eg. isDeleted), which can really damage the inregrity of the database. For the override of single valued values needed for deleted linked attributes we should use attribute flags. This reverts commit 1949864417f3d10fb8996df7db259649eb777271.
2010-11-04s4-test: fixed quoting in deletetest.pyAndrew Tridgell1-1/+1
2010-11-04s4-auth: unconditionally set previous_evAndrew Tridgell1-3/+1
we need the caller to know when the previous_ev was NULL Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-04debug: fixed default debug settingsAndrew Tridgell2-1/+7
this fixes -d in our command line tools (eg. samba-tool) Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Nov 4 01:48:15 UTC 2010 on sn-devel-104
2010-11-04Speed test with user objectsZahari Zahariev1-0/+191
This is a modest speed test that aims to show performance difference between Samba4 vs MS Active Directory. It should be used with Samba-style credentials and no arguments like every other python unittest. Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> Autobuild-User: Anatoliy Atanasov <anatoliy@samba.org> Autobuild-Date: Thu Nov 4 00:11:20 UTC 2010 on sn-devel-104
2010-11-03librpc/ndr: use new strlen_m_ext_term() in ndr_charset_length(): fix bug #7594Michael Adam1-2/+2
This fixes the calculation of needed space for destination unicode charset. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Nov 3 23:28:07 UTC 2010 on sn-devel-104
2010-11-03lib/util/charset/charconv: clarify comments in next_codepoint_convenience_ext()Michael Adam1-5/+8
Give the unicod U+<hexnumber> notation of the codepoints referred to in the comments. Also reformat the comments some.
2010-11-03lib/util/charset/util_unistr: clarify the comment header for strlen_m().Michael Adam1-5/+6
2010-11-03lib/util/charset/util_unistr: add strlen_m_ext_term() - variant of ↵Michael Adam2-0/+12
strlen_m_ext() counting terminator
2010-11-03lib/util/charset/util_unistr: add strlen_m_ext that takes input and output ↵Michael Adam2-10/+51
charset The function calculates the number of units (8 or 16-bit, depending on the destination charset), that would be needed to convert the input string which is expected to be in in src_charset encoding to the dst_charset (which should be a unicode charset).
2010-11-03lib/charcnv/util_unistr: add next_codepoint_ext() that accepts input charset.Michael Adam2-0/+8
next_codepoint() takes as string in CH_UNIX encoding and returns the unicode codepoint of the next (possibly multibyte) character of the input string. The new next_codepoint_ext() function adds the encoding of the input string as a parameter. next_codepoint() now only calls next_codepoint_ext() with CH_UNIX als src_charset argument.
2010-11-03lib/charset/charcnv: rename a parameter of next_codepoint_convenience_ext() ↵Michael Adam1-5/+5
for clarity
2010-11-03lib/charset/charcnv: add next_codepoint_convenience_ext() that accepts input ↵Michael Adam2-11/+37
charset. next_codepoint_convenience() takes as string in CH_UNIX encoding and returns the unicode codepoint of the next (possibly multibyte) character of the input string. The new next_codepoint_convenience_ext() function adds the encoding of the input string as a parameter. next_codepoint_convenience() now only calls next_codepoint_convenience_ext() with CH_UNIX als src_charset argument.
2010-11-03s3:util_str: add strlen_m_ext_term() - variant of strlen_m_ext() counting ↵Michael Adam2-0/+11
terminator
2010-11-03s3:lib/util_str: add strlen_m_ext() that takes input and output charsetMichael Adam2-13/+57
The function calculates the number of units (8 or 16-bit, depending on the destination charset), that would be needed to convert the input string which is expected to be in in src_charset encoding to the dst_charset (which should be a unicode charset).
2010-11-03s3:lib/util_str: clarify the comment header for strlen_m().Michael Adam1-4/+6
2010-11-03s3:lib/charcnv: clarify comments in next_codepoint_ext()Michael Adam1-2/+2
(giving the unicod U+<hexnumber> notation of the codepoints referred to in the comments)
2010-11-03s3:lib/charcnv: rename a parameter for clarity in next_codepoint_ext()Michael Adam2-6/+6
2010-11-03s3:lib/charcnv: reformat comments in next_codepoint_ext()Michael Adam1-12/+18
2010-11-03s3:lib/charcnv: add next_codepoint_ext() that accepts input charset.Michael Adam2-11/+34
next_codepoint() takes as string in CH_UNIX encoding and returns the unicode codepoint of the next (possibly multibyte) character of the input string. The new next_codepoint_ext() function adds the encoding of the input string as a parameter. next_codepoint() now only calls next_codepoint_ext() with CH_UNIX als src_charset argument.
2010-11-03util/charset: remove a duplicate comment.Michael Adam1-5/+0
This seems to have been copied twice from source3/ code.
2010-11-03build: a more portable way of finding waf in makefilesAndrew Tridgell4-12/+4
this avoids using the non-portable shell command in makefiles Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 3 22:44:59 UTC 2010 on sn-devel-104
2010-11-03selftest/tests.py: Fix typos.Jelmer Vernooij1-2/+2
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Nov 3 19:55:55 UTC 2010 on sn-devel-104
2010-11-03provision: Look for in source setup data first, in case an older versionJelmer Vernooij1-16/+28
of samba 4 is installed in the system.
2010-11-03samba: Make in_source_tree() public.Jelmer Vernooij1-3/+3
2010-11-03urgent_replication: Fix formattingJelmer Vernooij1-33/+33
2010-11-03possibleinferiors: Report subunit.Jelmer Vernooij1-4/+8
2010-11-03possibleinferiors: Fix formatting.Jelmer Vernooij1-15/+14
2010-11-03replace/wscript: add size checks for stdint.h typesStefan Metzmacher1-0/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 3 19:12:39 UTC 2010 on sn-devel-104
2010-11-03replace/wscript: do the size checks directly after the type checksStefan Metzmacher1-4/+4
metze
2010-11-03replace/wscript: define bool to int instead of off_tStefan Metzmacher1-1/+1
metze
2010-11-03replace/wscript: check for uint8_tStefan Metzmacher1-0/+1
metze
2010-11-03s4:dsdb/samldb: avoid nested unindexed searches in samldb_member_check()Stefan Metzmacher1-14/+31
With 20000 objects in the database it's no fun to add members... metze
2010-11-03s4:dsdb/tests/python/sam.py: test with member: <SID=...>Stefan Metzmacher1-0/+16
metze
2010-11-03s4:descriptor LDB module - a bit cleanupMatthias Dieter Wallnöfer1-13/+34
- add more OOM checks where needed - remove message of an error which cannot happen anymore (since now the structural objectclass is always checked by the objectclass LDB module) Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Nov 3 18:30:52 UTC 2010 on sn-devel-104
2010-11-03s4:sam.py - assign valid values when performing the special-attributes ↵Matthias Dieter Wallnöfer1-3/+3
constraint checks The problem is that s4 per construction does the checks in a different order. It first checks for validity (pre-operation trigger in samldb LDB module) and then for the schema (post-operation trigger in objectclass_attrs LDB module). constraints (post-operation trigger
2010-11-03s4:samldb LDB module - improve the "get_single_valued_attr" call and move it ↵Matthias Dieter Wallnöfer2-84/+36
into "ldb_modules/util.c" It will be used by other LDB modules as well.
2010-11-03s4:objectclass_attrs LDB module - introduce the hardcoded delete-protected ↵Matthias Dieter Wallnöfer1-1/+19
attributes list This is a hardcoded list in AD of attributes, which can never be deleted.
2010-11-03pydsdb: Import testtools before subunit for those that don't haveJelmer Vernooij9-32/+19
testtools installed. Also, cleanup some imports. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Nov 3 17:47:55 UTC 2010 on sn-devel-104
2010-11-03filter-subunit: Add --fail-on-empty argument.Jelmer Vernooij2-3/+11
2010-11-03s3: Align nttrans replies the same way Windows does itVolker Lendecke1-1/+1
If you look at traces of "smbcacls" reading a secdesc from Samba and from W2k3 shows this difference in the querysecdesc nttrans reply. This patch is necessary to enable viewing previous versions via the shadow copy modules from Windows 2008. The other client versions seem not to care, but W2k8 does. Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Nov 3 17:04:28 UTC 2010 on sn-devel-104
2010-11-03s4:objectclass LDB module - the structural objectclass has always to be ↵Matthias Dieter Wallnöfer2-0/+25
specified Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Nov 3 16:20:55 UTC 2010 on sn-devel-104
2010-11-03s4:objectclass_attrs LDB module - refactor the "dSHeuristics" checkerMatthias Dieter Wallnöfer1-12/+9
The checks are done when there are more than 0 values. The other checks should be performed by the other parts of the module.
2010-11-03s4:objectclass_attrs LDB module - simplify the invoke of the "dSHeuristics" ↵Matthias Dieter Wallnöfer1-3/+4
checker It's always invoked on add and modify operations.
2010-11-03s4-tests: Tests for the dSHeuristics attribute value restrictionsNadezhda Ivanova1-0/+41
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Wed Nov 3 13:58:42 UTC 2010 on sn-devel-104
2010-11-03s4-dsdb: Implemented value restrictions for the dSHeuristics attributeNadezhda Ivanova1-1/+27
2010-11-03s3: Fix a getgrent crash with many groupsVolker Lendecke1-0/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Nov 3 12:58:49 UTC 2010 on sn-devel-104
2010-11-03s4-server: cleanup allocation of process modelsAndrew Tridgell2-10/+6
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 3 10:40:52 UTC 2010 on sn-devel-104