summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s4-upgradedns: Make sure the attribute exists before accessing itAmitay Isaacs2012-03-281-4/+8
| | | | | Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Mar 28 10:27:40 CEST 2012 on sn-devel-104
* Add DEBUG statements to show when access has been denied and why.Richard Sharpe2012-03-281-0/+2
| | | | | Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Wed Mar 28 07:07:26 CEST 2012 on sn-devel-104
* s4 dns: Only do recursive queries when allowed/desiredKai Blin2012-03-272-8/+27
| | | | | | | | If recursive queries are switched off in smb.conf or the client doesn't ask for recursion, don't recurse. Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Tue Mar 27 17:39:26 CEST 2012 on sn-devel-104
* s4 dns: Check smb.conf if we should allow recursionKai Blin2012-03-272-2/+24
|
* s4 dns: Allow changing the dns operation flags in handlersKai Blin2012-03-274-5/+23
|
* s4 dns: Only forward for zones we don't ownKai Blin2012-03-273-2/+33
|
* s4 dns: Forward questions we can't answer to another serverKai Blin2012-03-272-7/+80
| | | | | This makes use of libdns and currently hardcodes the forward server, but it works. :)
* s4 dns: Add a simple dns lookup helperKai Blin2012-03-273-0/+168
|
* s4 dns: Add a simple async client libraryKai Blin2012-03-274-0/+231
|
* selftest.py: Add get_interface.Jelmer Vernooij2012-03-272-4/+45
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Mar 27 00:32:48 CEST 2012 on sn-devel-104
* ndr: Update ABI.Jelmer Vernooij2012-03-261-0/+245
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Mar 26 19:58:25 CEST 2012 on sn-devel-104
* wafsamba: Cope with slight differences in gdb output regarding incomplete ↵Jelmer Vernooij2012-03-265-246/+59
| | | | | | sequences. Bug: https://bugzilla.samba.org/show_bug.cgi?id=8820
* Add ABI file for libndr.Jelmer Vernooij2012-03-262-2/+249
|
* s3: Pass filters explicitly through vfs notify watchVolker Lendecke2012-03-2612-32/+49
| | | | | | | | | This removes a dependency on "struct notify_entry" and makes the nature of the API more explicit. We depend upon the VFS module to mask out elements from e->filter and e->subdir_filter that it took over to handle. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Mar 26 17:45:44 CEST 2012 on sn-devel-104
* s3: Fix a typoVolker Lendecke2012-03-261-1/+1
|
* s3: Rename a variable in inotify_watch for clarityVolker Lendecke2012-03-261-5/+5
|
* s3: Pass "filter" instead of "notify_entry" to inotify_mapVolker Lendecke2012-03-261-4/+4
| | | | This makes the potential modification a bit more obvious
* s3-docs: Prepend '/' to filename argument (Bug #8826)SATOH Fumiyasu2012-03-261-1/+1
|
* s4-dsdb: use constant-time search for descriptor -> get_last_structural_class()Andrew Bartlett2012-03-262-2/+4
| | | | | | | | | | The objectClass list is sorted at this point, as we are called below the objectclass module here, or are working from a search result. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Mar 26 05:38:13 CEST 2012 on sn-devel-104
* Fix the PyDoc comments in samba.smb.SMB and add a security_info argument to ↵Richard Sharpe2012-03-261-8/+23
| | | | | | | both get_acl and set_acl to allow the caller to specify what info is wanted. Defaults to 0 which means all info. Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Mon Mar 26 04:05:25 CEST 2012 on sn-devel-104
* s4:ldap.py - re-introduce the ↵Matthias Dieter Wallnöfer2012-03-261-11/+4
| | | | | | | | | | | | | "(dn=CN=ldaptestUSER3,CN=Users,DC=wallnoefer2,DC=local)" test This syntax is not supported by Windows AD and should also be denied by s4/LDB. Reviewed-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Mar 26 02:30:53 CEST 2012 on sn-devel-104
* LDB/s4 - deny the "(dn=...)" syntax on search filters when in AD modeMatthias Dieter Wallnöfer2012-03-264-2/+20
| | | | | | | Achieve this by introducing a "disallowDNFilter" flag. Reviewed-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* LDB/s4 - do not use the "(dn=...)" syntax on filters anymoreMatthias Dieter Wallnöfer2012-03-269-31/+32
| | | | | | | Make it AD-compatible using "(distinguishedName=...)". Reviewed-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:ldap.py - test the already mentioned structural object class sorting ↵Matthias Dieter Wallnöfer2012-03-261-0/+15
| | | | | | | behaviour Reviewed-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:dsdb - enhance "get_last_structural_class()" for optimisationsMatthias Dieter Wallnöfer2012-03-263-10/+29
| | | | | | | | If the objectclass entry has been sorted before we are able to determine the (last) structural or 88 object class in constant time. Reviewed-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:objectclass LDB module - fix up the sorting in respect to structural or ↵Matthias Dieter Wallnöfer2012-03-261-4/+18
| | | | | | | | | 88 objectclasses Please have a look at MS-ADTS 3.1.1.1.4. Reviewed-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:objectclass LDB module - clean up "objectclass_sort()"Matthias Dieter Wallnöfer2012-03-261-24/+13
| | | | | | | Make it easier to comprehend Reviewed-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-make: Fix build with new smb2_session file.Jelmer Vernooij2012-03-261-0/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Mar 26 00:56:13 CEST 2012 on sn-devel-104
* LIBCLI_SMB2: Depend on cli_smb_common rather than libsmb.Jelmer Vernooij2012-03-251-1/+1
| | | | | The latter pulls in a fair number of other libraries, including popt and the Samba registry library.
* smb2: Move smb2cli session setup code to cli_smb_common.Jelmer Vernooij2012-03-253-207/+234
|
* libcli/smb: Stop generating unused proto file.Jelmer Vernooij2012-03-251-1/+0
|
* replace: Avoid DEBUG(), which is not available in libreplace.Jelmer Vernooij2012-03-251-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Mar 25 00:13:59 CET 2012 on sn-devel-104
* libreplace: Add usleep implementation.Jelmer Vernooij2012-03-242-0/+20
|
* use usleep rather than sys_usleep in various places, in anticipation of ↵Jelmer Vernooij2012-03-246-39/+4
| | | | usleep moving to libreplace.
* lib/util: Remove obsolete sys_getpid() and sys_fork().Jelmer Vernooij2012-03-2449-136/+95
| | | | | | | | | The performance of these is minimal (these days) and they can return invalid results when used as part of applications that do not use sys_fork(). Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 24 21:55:41 CET 2012 on sn-devel-104
* lib/util: Allow calloc use in util.c, too.Jelmer Vernooij2012-03-241-0/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 24 18:50:32 CET 2012 on sn-devel-104
* adt_tree: Fix return types.Jelmer Vernooij2012-03-241-3/+3
|
* replace: Work around socket wrapper.Jelmer Vernooij2012-03-241-0/+1
| | | | It's fine to ignore socket wrapper here, as it doesn't deal with unix domain sockets.
* replace: Add system/network.h for ucred struct.Jelmer Vernooij2012-03-241-0/+1
|
* s3-waf: Use samba3-util library instead of lots of tiny libs.Jelmer Vernooij2012-03-241-52/+18
| | | | | | | | The smaller libraries are currently all trivial in size and don't have any dependencies other than samba-util. Having lots of small private libraries is a pain for packaging, and there isn't much advantage in this.
* adt_tree: Avoid WERROR.Jelmer Vernooij2012-03-243-5/+8
|
* libreplace: Add getpeereid implementation.Jelmer Vernooij2012-03-2411-67/+77
|
* util_malloc: Remove unused constant.Jelmer Vernooij2012-03-241-3/+0
|
* lib/util: Remove dummy wrapper for getgrgid().Jelmer Vernooij2012-03-243-13/+3
|
* lib/util: Remove dummy wrapper for getgrnam().Jelmer Vernooij2012-03-244-9/+3
|
* lib/util: Remove dummy wrapper for getpwuid().Jelmer Vernooij2012-03-245-14/+8
|
* lib/util: Remove dummy wrapper for getpwnam().Jelmer Vernooij2012-03-245-13/+7
|
* lib/util: Remove dummy wrappers for setpwent/getpwent/endpwent.Jelmer Vernooij2012-03-244-26/+4
|
* lib/util: Move calloc_array and memalign_array to top-level libutil.Jelmer Vernooij2012-03-244-34/+32
|
* lib/util: Remove prototype for removed sys_memalign.Jelmer Vernooij2012-03-241-4/+0
|