summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* s4-net: fix the dependence on command line orderingAndrew Tridgell2010-10-151-8/+10
| | | | | | | this fixes python net commands where you use a '-' option before the command name Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:samdb_msg_add_int* - use "ldb_msg_add_string" rather than ↵Matthias Dieter Wallnöfer2010-10-151-2/+2
| | | | | | | | | | "samdb_msg_add_string" "ldb_msg_add_string" is safe here since the integer has already been converted to a string which is "talloc"ed on "mem_ctx". Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Oct 15 09:11:49 UTC 2010 on sn-devel-104
* s4 param: change messaging directory name from messaging to msgMatthieu Patou2010-10-151-1/+1
| | | | | | | | | | | | This saves 6 chars and as in some installation users tends to install samba in directory with very long name they have a problem with the sockets. It will also ease the pain on buildfarms as we tend to have very long environnement name (ie. vampire_dc) in path that are already quite long leading also to errors on unix socket manipulation. Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Oct 15 08:15:56 UTC 2010 on sn-devel-104
* s4 dsdb: fix sign problem on PPC and x86Matthieu Patou2010-10-151-2/+2
| | | | | | | In LDAP we used signed intege and groups have the highest bit set (ie. 0x80000002). So it will result with values that are > 2^31 when these value are used on some plateforms (x86 and PPC 64bits in this case) it causes problem with strtol.
* s4:lib/registry/util.c - cosmetic - fix indentation, trailing whitespacesMatthias Dieter Wallnöfer2010-10-151-10/+11
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Oct 15 07:27:07 UTC 2010 on sn-devel-104
* s4:lib/registry/util.c - strtoll call - better say explicitly that data is ↵Matthias Dieter Wallnöfer2010-10-151-1/+1
| | | | | | in hex format Template is commit deebc934edb9a0a70e7615b1161d7a60fcb1d78f from Wilco.
* s4:ntptr/ntptr_simple_ldb.c - use LDB result constantsMatthias Dieter Wallnöfer2010-10-151-2/+2
|
* s4:libnet_samsync_ldb.c - use LDB result constantsMatthias Dieter Wallnöfer2010-10-151-15/+15
|
* s4:lsa RPC server - use LDB result constantMatthias Dieter Wallnöfer2010-10-151-1/+1
|
* s4:samldb LDB module - cosmetic - use "ldb" variable rather than ↵Matthias Dieter Wallnöfer2010-10-151-1/+1
| | | | "ldb_module_get_ctx"
* s4:samdb_create_foreign_security_principal - proof error code of ↵Matthias Dieter Wallnöfer2010-10-151-3/+6
| | | | "samdb_msg_add_string"
* s4:dsdb/common/util.c - samdb_msg_add_* calls - proof for more OOM conditionsMatthias Dieter Wallnöfer2010-10-151-0/+6
|
* s4:dsdb/common/util.c - samdb_msg_add_string - the attribute name doesn't ↵Matthias Dieter Wallnöfer2010-10-151-4/+3
| | | | | | need to be duplicated This is done internally by the LDB library - look at "ldb_msg_add_empty".
* s4:dsdb - remove "samdb_msg_add_value"Matthias Dieter Wallnöfer2010-10-152-17/+6
| | | | | | | | | This can be substituted by "ldb_msg_add_value". Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Oct 15 00:21:53 UTC 2010 on sn-devel-104
* s4:dsdb - remove "samdb_result_uint", "samdb_result_int64", ↵Matthias Dieter Wallnöfer2010-10-1520-225/+199
| | | | | | | | | "samdb_result_uint64" and "samdb_result_string" We have ldb_msg_find_attr_as_* calls which do exactly the same. Therefore this reduces only code redundancies. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:samldb LDB module - attempt to fix integer handling on big-endian platformsMatthias Dieter Wallnöfer2010-10-141-7/+9
| | | | | | | | And beside this it's also nicer to use standard LDB functions for type conversions. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Oct 14 08:26:53 UTC 2010 on sn-devel-104
* s4-waf: automatically remove stale C and header filesAndrew Tridgell2010-10-141-0/+1
| | | | | | | | | | this prevents stale .c and .h files in bin/ from causing build problems Thanks to Thomas Nagy for the example implementation! Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Oct 14 07:44:13 UTC 2010 on sn-devel-104
* s4-heimdal: fixed some trailing commas in heimdal buildAndrew Tridgell2010-10-141-3/+3
|
* libcli/security Use static SIDs rather than parsing from stringsAndrew Bartlett2010-10-141-1/+1
| | | | | | | | This should make the security_token_is_*() calls a little faster. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* libcli/auth Merge source4/libcli/security and util_sid.c into the common codeAndrew Bartlett2010-10-147-901/+1
| | | | | | | | | This should ensure we only have one copy of these core functions in the tree. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-acl Merge sec_access_check() with se_access_check() from source3/Andrew Bartlett2010-10-143-4/+18
| | | | | | Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4: show samba version in bin/samba -bAndrew Tridgell2010-10-141-0/+1
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Oct 14 02:24:47 UTC 2010 on sn-devel-104
* s4:samldb LDB module - cosmetic fixupsMatthias Dieter Wallnöfer2010-10-131-9/+9
| | | | | | | | - Update the module description - Fix indentation Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Oct 13 20:55:18 UTC 2010 on sn-devel-104
* heimdal: Add soname for com_err.Jelmer Vernooij2010-10-131-0/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Oct 13 20:00:40 UTC 2010 on sn-devel-104
* heimdal: Add sonames.Jelmer Vernooij2010-10-131-2/+9
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Oct 13 18:15:04 UTC 2010 on sn-devel-104
* samdb: Set soname.Jelmer Vernooij2010-10-131-1/+2
|
* s4:sam.py - tests for "userAccountControl" attributeMatthias Dieter Wallnöfer2010-10-131-3/+448
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Oct 13 17:31:29 UTC 2010 on sn-devel-104
* s4:samldb LDB module - deny creation of temporary duplicate accountsMatthias Dieter Wallnöfer2010-10-131-0/+12
|
* s4:samldb LDB module - proof the account type also on LDB modify operationsMatthias Dieter Wallnöfer2010-10-131-0/+8
|
* ldb: Only build LIBLDB_MAIN when building ldb itself.Jelmer Vernooij2010-10-131-8/+8
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Oct 13 15:41:29 UTC 2010 on sn-devel-104
* s4:sam.py - add a test for the group type changing behaviourMatthias Dieter Wallnöfer2010-10-131-0/+595
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Oct 13 14:17:31 UTC 2010 on sn-devel-104
* s4:samldb LDB module - support the group type changing properlyMatthias Dieter Wallnöfer2010-10-131-1/+53
| | | | | | This is exactly that what Windows allows. It was proven by a blackbox test. And we also need to deny add operations of builtin groups.
* s4:ldap.py - test the "isCriticalSystemObject" behaviourMatthias Dieter Wallnöfer2010-10-131-0/+39
|
* s4:setup/provision_self_join.ldif - let the samldb LDB module fill in ↵Matthias Dieter Wallnöfer2010-10-131-1/+1
| | | | | | "isCriticalSystemObject" It recognizes it now automatically.
* s4:samldb LDB module - deny also the direct modification of ↵Matthias Dieter Wallnöfer2010-10-131-3/+14
| | | | "isCriticalSystemObject" on modify operations
* s4:objectclass LDB module - deny the creation of "isCriticalSystemObject" ↵Matthias Dieter Wallnöfer2010-10-131-0/+9
| | | | | | entries They're only allowed to be created with the RELAX control specified.
* s4:samldb LDB module - first implementation of the samldb primary group triggerMatthias Dieter Wallnöfer2010-10-131-48/+61
| | | | | | This was done according to MS-SAMR 3.1.1.8.2 But do use it only for add operations at the moment.
* s4:samldb LDB module - use the new "objectclass_trigger" for add operationsMatthias Dieter Wallnöfer2010-10-131-142/+33
| | | | | Additionally clean up "samldb_fill_object" which is now much easier to comprehend.
* s4:samldb LDB module - first implementation of the samldb objectclass triggerMatthias Dieter Wallnöfer2010-10-131-0/+176
| | | | | | | This was done according to MS-SAMR 3.1.1.8.1 I need to perform some RELAX checks since otherwise the provision wouldn't work anymore.
* ldb:ldb_match.c - fix a counter typeMatthias Dieter Wallnöfer2010-10-131-1/+1
|
* dsdb/schema_data: Build as shared object.Jelmer Vernooij2010-10-131-1/+1
|
* dsdb/schema_load: Build as shared object.Jelmer Vernooij2010-10-131-1/+1
|
* samdb: Build as library.Jelmer Vernooij2010-10-131-1/+1
|
* ldb: raise minor version number for new ldb_msg_match_error() functionAndrew Tridgell2010-10-132-1/+227
| | | | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Oct 13 11:42:18 UTC 2010 on sn-devel-104
* s4-ldb: take advantage of ldb_match_msg_error() in more placesAndrew Tridgell2010-10-134-8/+32
| | | | this gives better error checking
* s4-schema: don't name variables after standard libc functionsAndrew Tridgell2010-10-131-3/+3
|
* s4-ldb: use operator_fn syntax function in ldb_match codeAndrew Tridgell2010-10-131-92/+212
| | | | | | | | this also fixes error handling in case of bad syntax, memory error etc, which was previously conidered as a mismatch, but should return an error Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-ldb: implement an operator_fn for the ldb-samba syntaxesAndrew Tridgell2010-10-131-14/+94
| | | | | | | this allows us to properly handle the LDB_OP_PRESENT operator on deleted linked attributes Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-ldb: added an optional operator_fn in the schema syntaxAndrew Tridgell2010-10-133-5/+25
| | | | | | | | | | | | | this function takes the operator being invoked, which will allow schema functions to provide more fine grained control over comparisons. The key bug this was introduced to fix is the incorrect handling of the LDB_OP_PRESENT test for deleted linked attributes. The backends are unaware of the deleted state of these links, so they cannot do a LDB_OP_PRESENT test on their own. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-torture: zero all of trans before the test startsAndrew Tridgell2010-10-131-1/+1
|