summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* lib/util/charset/util_unistr: add strlen_m_ext_term() - variant of ↵Michael Adam2010-11-032-0/+12
| | | | strlen_m_ext() counting terminator
* lib/util/charset/util_unistr: add strlen_m_ext that takes input and output ↵Michael Adam2010-11-032-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).
* lib/charcnv/util_unistr: add next_codepoint_ext() that accepts input charset.Michael Adam2010-11-032-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.
* lib/charset/charcnv: rename a parameter of next_codepoint_convenience_ext() ↵Michael Adam2010-11-031-5/+5
| | | | for clarity
* lib/charset/charcnv: add next_codepoint_convenience_ext() that accepts input ↵Michael Adam2010-11-032-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.
* s3:util_str: add strlen_m_ext_term() - variant of strlen_m_ext() counting ↵Michael Adam2010-11-032-0/+11
| | | | terminator
* s3:lib/util_str: add strlen_m_ext() that takes input and output charsetMichael Adam2010-11-032-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).
* s3:lib/util_str: clarify the comment header for strlen_m().Michael Adam2010-11-031-4/+6
|
* s3:lib/charcnv: clarify comments in next_codepoint_ext()Michael Adam2010-11-031-2/+2
| | | | | (giving the unicod U+<hexnumber> notation of the codepoints referred to in the comments)
* s3:lib/charcnv: rename a parameter for clarity in next_codepoint_ext()Michael Adam2010-11-032-6/+6
|
* s3:lib/charcnv: reformat comments in next_codepoint_ext()Michael Adam2010-11-031-12/+18
|
* s3:lib/charcnv: add next_codepoint_ext() that accepts input charset.Michael Adam2010-11-032-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.
* util/charset: remove a duplicate comment.Michael Adam2010-11-031-5/+0
| | | | This seems to have been copied twice from source3/ code.
* build: a more portable way of finding waf in makefilesAndrew Tridgell2010-11-034-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
* selftest/tests.py: Fix typos.Jelmer Vernooij2010-11-031-2/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Nov 3 19:55:55 UTC 2010 on sn-devel-104
* provision: Look for in source setup data first, in case an older versionJelmer Vernooij2010-11-031-16/+28
| | | | of samba 4 is installed in the system.
* samba: Make in_source_tree() public.Jelmer Vernooij2010-11-031-3/+3
|
* urgent_replication: Fix formattingJelmer Vernooij2010-11-031-33/+33
|
* possibleinferiors: Report subunit.Jelmer Vernooij2010-11-031-4/+8
|
* possibleinferiors: Fix formatting.Jelmer Vernooij2010-11-031-15/+14
|
* replace/wscript: add size checks for stdint.h typesStefan Metzmacher2010-11-031-0/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 3 19:12:39 UTC 2010 on sn-devel-104
* replace/wscript: do the size checks directly after the type checksStefan Metzmacher2010-11-031-4/+4
| | | | metze
* replace/wscript: define bool to int instead of off_tStefan Metzmacher2010-11-031-1/+1
| | | | metze
* replace/wscript: check for uint8_tStefan Metzmacher2010-11-031-0/+1
| | | | metze
* s4:dsdb/samldb: avoid nested unindexed searches in samldb_member_check()Stefan Metzmacher2010-11-031-14/+31
| | | | | | With 20000 objects in the database it's no fun to add members... metze
* s4:dsdb/tests/python/sam.py: test with member: <SID=...>Stefan Metzmacher2010-11-031-0/+16
| | | | metze
* s4:descriptor LDB module - a bit cleanupMatthias Dieter Wallnöfer2010-11-031-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
* s4:sam.py - assign valid values when performing the special-attributes ↵Matthias Dieter Wallnöfer2010-11-031-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
* s4:samldb LDB module - improve the "get_single_valued_attr" call and move it ↵Matthias Dieter Wallnöfer2010-11-032-84/+36
| | | | | | into "ldb_modules/util.c" It will be used by other LDB modules as well.
* s4:objectclass_attrs LDB module - introduce the hardcoded delete-protected ↵Matthias Dieter Wallnöfer2010-11-031-1/+19
| | | | | | attributes list This is a hardcoded list in AD of attributes, which can never be deleted.
* pydsdb: Import testtools before subunit for those that don't haveJelmer Vernooij2010-11-039-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
* filter-subunit: Add --fail-on-empty argument.Jelmer Vernooij2010-11-032-3/+11
|
* s3: Align nttrans replies the same way Windows does itVolker Lendecke2010-11-031-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
* s4:objectclass LDB module - the structural objectclass has always to be ↵Matthias Dieter Wallnöfer2010-11-032-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
* s4:objectclass_attrs LDB module - refactor the "dSHeuristics" checkerMatthias Dieter Wallnöfer2010-11-031-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.
* s4:objectclass_attrs LDB module - simplify the invoke of the "dSHeuristics" ↵Matthias Dieter Wallnöfer2010-11-031-3/+4
| | | | | | checker It's always invoked on add and modify operations.
* s4-tests: Tests for the dSHeuristics attribute value restrictionsNadezhda Ivanova2010-11-031-0/+41
| | | | | Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Wed Nov 3 13:58:42 UTC 2010 on sn-devel-104
* s4-dsdb: Implemented value restrictions for the dSHeuristics attributeNadezhda Ivanova2010-11-031-1/+27
|
* s3: Fix a getgrent crash with many groupsVolker Lendecke2010-11-031-0/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Nov 3 12:58:49 UTC 2010 on sn-devel-104
* s4-server: cleanup allocation of process modelsAndrew Tridgell2010-11-032-10/+6
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 3 10:40:52 UTC 2010 on sn-devel-104
* s4-ldb: fixed sorting of module namesAndrew Tridgell2010-11-031-1/+6
| | | | | | this should also fix a valgrind error on freebsd thanks to Matthieu for spotting this
* s4:objectguid LDB module - remove "objectguid_find_attribute"Matthias Dieter Wallnöfer2010-11-031-17/+1
| | | | | | | | | | It's exactly the same as "ldb_msg_find_element". In addition remove a comment which points out a "fixme" for a semi-async call since we started to permit them again. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Nov 3 09:29:46 UTC 2010 on sn-devel-104
* s4:RPC server - always set the response pad data in base of the request oneMatthias Dieter Wallnöfer2010-11-031-0/+2
| | | | Otherwise it could remain uninitialised - should fix bug #7769.
* s4:RPC server - cosmetic fixes - indentation, commentsMatthias Dieter Wallnöfer2010-11-033-7/+9
|
* s4:waf - fix the build on Gentoo platformsPhilip M. White2010-11-034-7/+15
| | | | Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
* s4-test: if using a system version of ldb, override the ldb modules pathAndrew Tridgell2010-11-031-0/+5
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 3 04:13:22 UTC 2010 on sn-devel-104
* waf: more agressively expand subsystem syslib depsAndrew Tridgell2010-11-031-4/+9
| | | | | | | | this solves an openchange build problem with an indirect dependency on talloc when talloc is a syslib Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 3 02:17:30 UTC 2010 on sn-devel-104
* s4-ldb: make ldbtest depend on ldbAndrew Tridgell2010-11-031-1/+1
|
* waf: added reconfigure targets to our librariesAndrew Tridgell2010-11-034-0/+20
| | | | | This allows you to do "make reconfigure" to re-run configure only if needed
* waf: ensure pkgconfig files depend on the prefixAndrew Tridgell2010-11-031-0/+3
|