summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* s4:python: add PyString_FromStringOrNULL() to pyrpc_utilStefan Metzmacher2010-12-082-0/+10
| | | | metze
* smbtorture: use xxxULL notation instead of INT64_C(xxx)Matthieu Patou2010-12-081-2/+2
| | | | | | | | | The first one is portable the second not always Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Dec 8 15:48:10 CET 2010 on sn-devel-104
* s4-acl: Replaced talloc_reference with talloc_steal, as aclread is the only ↵Nadezhda Ivanova2010-12-081-6/+3
| | | | | | | | | | | one using this result message. No need to reference as no one further up the stack uses the result, it is the result of a secondary request sent by aclread. As a result from code review by Kamen Mazdrashki and Anatoliy Atanasov Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Wed Dec 8 15:01:51 CET 2010 on sn-devel-104
* ldb: bump version number after introduction of new constant.Jelmer Vernooij2010-12-081-1/+1
|
* s4-acl: Fixed incorrect value of LDB_FLAG_INTERNAL_INACCESSIBLE_ATTRIBUTENadezhda Ivanova2010-12-081-1/+1
| | | | | Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Wed Dec 8 13:31:48 CET 2010 on sn-devel-104
* s4-pkgconfig: add @LIB_RPATH@ to our link flagsAndrew Tridgell2010-12-0810-10/+10
| | | | | | | | this is only set when rpath is used on install. It ensures that applications that link against Samba libraries get the rpath right Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Dec 8 12:46:00 CET 2010 on sn-devel-104
* s4-ldb: added @LIB_RPATH@ to the ldb pc fileAndrew Tridgell2010-12-081-1/+1
|
* s4-acl: Changed the mechanism of attribute removal to speed it up.Nadezhda Ivanova2010-12-081-41/+88
| | | | | | | | | Instead of using ldb_msg_remove_attr, now we are flagging the attributes to be removed, and allocating the new elements array to be returned at once. This seems to decrease the overhead by 50 percent. Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Wed Dec 8 12:00:27 CET 2010 on sn-devel-104
* s4-acl: Added a flag to mark an element as failing an access check.Nadezhda Ivanova2010-12-081-0/+3
|
* s4-param Allow +foo syntax in smb.conf list parsingAndrew Bartlett2010-12-084-13/+54
| | | | | | | | | | The idea here is to allow an smb.conf file to work from the defaults, rather than override them. For example, 'server services = +openchange'. Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Dec 8 09:39:06 CET 2010 on sn-devel-104
* s4-spnego use "not_defined_in_RFC4178@please_ignore" if no principal specifiedAndrew Bartlett2010-12-081-0/+2
| | | | | | | We need to make this the default, but for now just send it if we have not been given a target principal. Andrew Bartlett
* libcli/auth bring ADS_IGNORE_PRINCIPAL in commonAndrew Bartlett2010-12-081-1/+2
|
* s4-heimdal: enable symbol versioning in heimdalAndrew Tridgell2010-12-081-20/+38
| | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
* s4-dns: dlz_bind9 doesn't need to link to gensec any moreAndrew Tridgell2010-12-081-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-waf: get the version number right on private librariesAndrew Tridgell2010-12-082-17/+8
| | | | | | use the first digit of the version number for the library version Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
* s4-dns: use ldb hooks for samba extensions in dlz_bind9Andrew Tridgell2010-12-081-49/+35
| | | | | | | this avoids linking dlz_bind9 directly to heimdal, which allows a RTLD_DEEPBIND in ldb module loading to find the right kerberos version Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-ldb: use RTLD_DEEPBIND if available for ldb modulesAndrew Tridgell2010-12-081-1/+13
| | | | | | | this allows us to avoid issues with ldb using heimdal while an application using ldb using MIT kerberos Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dns: allow a remote ldap server to be used with dlz_bind9Andrew Tridgell2010-12-082-16/+67
| | | | | | | | | this allows for configs like this: dlz "Samba zone" { database "dlopen /usr/lib/samba/modules/bind9/dlz_bind9.so -H ldap://10.0.0.4 -Uadministrator@v2.tridgell.net%penguin -k no"; };
* s4-dsdb: register samba handlers in dsdb moduleAndrew Tridgell2010-12-081-0/+6
|
* s4-ldb: ensure ldb_register_samba_handlers() is not done twiceAndrew Tridgell2010-12-081-2/+10
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* samba-tools: more reasonable defaults for samba-tool commandsAndrew Tridgell2010-12-0813-53/+79
| | | | | | - fallback to machine account where possible - default to local hostname where this is reasonable
* samba-tools: export doesn't need any credentialsAndrew Tridgell2010-12-081-2/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-provision Always run slaptest to convert the config fileAndrew Bartlett2010-12-081-13/+13
| | | | | | | | | | If the directory exists, it does not mean that it is configured - we may be on a re-run of the provision. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Dec 8 05:19:12 CET 2010 on sn-devel-104
* s4-provision Add an invalid names check for 'domain == netbiosname'Andrew Bartlett2010-12-081-1/+4
| | | | | | (This is also invalid) Andrew Bartlett
* s4:libnet_samsync_ldb.c - simplify a talloc steal callMatthias Dieter Wallnöfer2010-12-071-2/+1
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Dec 7 16:05:30 CET 2010 on sn-devel-104
* s4:libnet_samsync_ldb.c - introduce an error message on failed domain ↵Matthias Dieter Wallnöfer2010-12-071-3/+6
| | | | synchronisation
* s4-acl: Remove unused variables from aclread module.Nadezhda Ivanova2010-12-061-8/+0
| | | | | Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Mon Dec 6 16:48:35 CET 2010 on sn-devel-104
* s4:acl_read LDB module - fix attributes listMatthias Dieter Wallnöfer2010-12-061-1/+1
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Dec 6 15:11:44 CET 2010 on sn-devel-104
* s4-acl: Some optimisation of the aclread moduleNadezhda Ivanova2010-12-061-58/+75
| | | | | | | | | Modified the aclread module to now insert the attributes needed to perform access checks in the same request, instead of doind a separate search per entry. Also, instanceType is now used to determine id the object has a parent instead of parentGUID, which saves one additional search in operational. Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Mon Dec 6 13:50:19 CET 2010 on sn-devel-104
* s4-acl: Moved aclread module below descriptor and acl.Nadezhda Ivanova2010-12-061-1/+1
| | | | | The aclread needs to be belod descriptor, as it needs to have the full nTsecurityDescriptor to make the checks, and the descriptor module may filter out parts of it if SD_FLAGS_CONTROL is provided.
* s4:torture/locktest.c - fix "pid_t" printf warning on SolarisMatthias Dieter Wallnöfer2010-12-061-1/+1
| | | | | According to "http://www.ibm.com/developerworks/linux/library/l-solar/" it's generally a 32bit "int" - therefore this cast should fit.
* s4:torture/locktest.c - fix one indentationMatthias Dieter Wallnöfer2010-12-061-1/+1
|
* s4:client/client.c - fix Solaris warning by a type castMatthias Dieter Wallnöfer2010-12-061-1/+1
|
* s4:fix some shadowed declaration warnings on Solaris by renaming the symbolsMatthias Dieter Wallnöfer2010-12-065-19/+25
|
* s4-dns: return the correct TTLAndrew Tridgell2010-12-061-6/+2
| | | | | | | | I've now patched the bind9 sdlz layer to cope with multiple TTLS on a name/type pair Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Dec 6 08:12:11 CET 2010 on sn-devel-104
* s4-dns: support Samba command line options to the dlz_bind.so moduleAndrew Tridgell2010-12-062-1/+36
| | | | this allows setting of Samba command line options in named.conf
* s4-dns: added flags support for dlz_bind9Andrew Tridgell2010-12-062-1/+4
| | | | | | this will allow us to set the THREADSAFE flag if we make this threadsafe. For now we don't set that flag, and let bind9 do the locking for us.
* s4-dns: a dlz module for bind9Andrew Tridgell2010-12-063-0/+579
| | | | | | | | | | | | | | | | | | | this module can be loaded into bind9 if bind9 has been built with the --with-dlz-dlopen option. It provides access bind9 access to the DNS records in SAMDB. You can then start bind9 with this in named.conf: dlz "Samba zone" { database "dlopen /usr/lib/samba/modules/bind9/dlz_bind9.so"; }; See http://git.samba.org/tridge/bind9.git for a bind9 tree with the dlz_dlopen driver. See also the discussion on the bind-workers mailing list Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Dec 6 05:48:30 CET 2010 on sn-devel-104
* s4-repl_meta_data: Print function name when we can't find attribute in ↵Kamen Mazdrashki2010-12-061-1/+2
| | | | | | | | | | Schema cache Same error message is printed by linked_attributes.c module and it was really hard to tell where the error occurred Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Mon Dec 6 00:05:59 CET 2010 on sn-devel-104
* s4-linked_attributes: Give more info where an error occuredKamen Mazdrashki2010-12-061-3/+8
| | | | | | We have exact same error messages at different locations and it is little bit hard to tell where the error came from from the log.
* s4-repl_meta_data: Remove duplicated checkKamen Mazdrashki2010-12-061-2/+0
|
* s4-schema_load: Strip a pointless checkKamen Mazdrashki2010-12-061-3/+1
| | | | | If *schema is NULL, then dsdb_schema_from_ldb_results() call should have failed
* s4:cluster/cluster.h - fix another gcc 3.4 "struct" warningMatthias Dieter Wallnöfer2010-12-051-0/+2
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Dec 5 21:22:18 CET 2010 on sn-devel-104
* s4:dsdb/samdb/ldb_modules/util.h - fix a gcc 3.4 compile warningMatthias Dieter Wallnöfer2010-12-051-1/+1
|
* s4:lib/messaging/*.h - fix compile warnings on gcc 3.4Matthias Dieter Wallnöfer2010-12-052-3/+2
| | | | For example on OpenSolaris
* s4-python: Add more module docstrings.Jelmer Vernooij2010-12-0510-3/+23
|
* s4-python: Add some more module docstrings.Jelmer Vernooij2010-12-0516-0/+33
|
* s4:dsdb/samdb/cracknames.c - fix another memory leakMatthias Dieter Wallnöfer2010-12-041-0/+1
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Dec 4 17:26:39 CET 2010 on sn-devel-104
* s4:kdc/kpasswdd.c - fix memory leaksMatthias Dieter Wallnöfer2010-12-041-2/+15
|
* s4:auth/gensec/gensec_krb5.c - fix/reorder memory free operationsMatthias Dieter Wallnöfer2010-12-041-3/+15
| | | | To prevent memory leaks