summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-03-29cast: test/compile_fail-cast_static.c should fail without COMPOUND_LITERALS.Rusty Russell1-3/+9
It still gave a warning on gcc, because casting a char to a char* gives a warning. Not so on sun CC. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit 6569a707d169a629e25e10710c760c8dc84525c7)
2012-03-29tdb2: fix prototype in tdb1 code.Rusty Russell1-5/+5
We were handing an int-returning function where we should hand an enum TDB_ERROR returning function. Worse, it was returning 0/-1 instead of 0/TDB_ERR_*. Fortunately, it's only compared against success, but the Solaris compiler warns about it, and it's not correct anyway. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-03-28s4-upgradedns: Make sure the attribute exists before accessing itAmitay Isaacs1-4/+8
Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Mar 28 10:27:40 CEST 2012 on sn-devel-104
2012-03-28Add DEBUG statements to show when access has been denied and why.Richard Sharpe1-0/+2
Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Wed Mar 28 07:07:26 CEST 2012 on sn-devel-104
2012-03-27s4 dns: Only do recursive queries when allowed/desiredKai Blin2-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
2012-03-27s4 dns: Check smb.conf if we should allow recursionKai Blin2-2/+24
2012-03-27s4 dns: Allow changing the dns operation flags in handlersKai Blin4-5/+23
2012-03-27s4 dns: Only forward for zones we don't ownKai Blin3-2/+33
2012-03-27s4 dns: Forward questions we can't answer to another serverKai Blin2-7/+80
This makes use of libdns and currently hardcodes the forward server, but it works. :)
2012-03-27s4 dns: Add a simple dns lookup helperKai Blin3-0/+168
2012-03-27s4 dns: Add a simple async client libraryKai Blin4-0/+231
2012-03-27selftest.py: Add get_interface.Jelmer Vernooij2-4/+45
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Mar 27 00:32:48 CEST 2012 on sn-devel-104
2012-03-26ndr: Update ABI.Jelmer Vernooij1-0/+245
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Mar 26 19:58:25 CEST 2012 on sn-devel-104
2012-03-26wafsamba: Cope with slight differences in gdb output regarding incomplete ↵Jelmer Vernooij5-246/+59
sequences. Bug: https://bugzilla.samba.org/show_bug.cgi?id=8820
2012-03-26Add ABI file for libndr.Jelmer Vernooij2-2/+249
2012-03-26s3: Pass filters explicitly through vfs notify watchVolker Lendecke12-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
2012-03-26s3: Fix a typoVolker Lendecke1-1/+1
2012-03-26s3: Rename a variable in inotify_watch for clarityVolker Lendecke1-5/+5
2012-03-26s3: Pass "filter" instead of "notify_entry" to inotify_mapVolker Lendecke1-4/+4
This makes the potential modification a bit more obvious
2012-03-26s3-docs: Prepend '/' to filename argument (Bug #8826)SATOH Fumiyasu1-1/+1
2012-03-26s4-dsdb: use constant-time search for descriptor -> get_last_structural_class()Andrew Bartlett2-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
2012-03-26Fix the PyDoc comments in samba.smb.SMB and add a security_info argument to ↵Richard Sharpe1-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
2012-03-26s4:ldap.py - re-introduce the ↵Matthias Dieter Wallnöfer1-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
2012-03-26LDB/s4 - deny the "(dn=...)" syntax on search filters when in AD modeMatthias Dieter Wallnöfer4-2/+20
Achieve this by introducing a "disallowDNFilter" flag. Reviewed-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-03-26LDB/s4 - do not use the "(dn=...)" syntax on filters anymoreMatthias Dieter Wallnöfer9-31/+32
Make it AD-compatible using "(distinguishedName=...)". Reviewed-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-03-26s4:ldap.py - test the already mentioned structural object class sorting ↵Matthias Dieter Wallnöfer1-0/+15
behaviour Reviewed-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-03-26s4:dsdb - enhance "get_last_structural_class()" for optimisationsMatthias Dieter Wallnöfer3-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>
2012-03-26s4:objectclass LDB module - fix up the sorting in respect to structural or ↵Matthias Dieter Wallnöfer1-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>
2012-03-26s4:objectclass LDB module - clean up "objectclass_sort()"Matthias Dieter Wallnöfer1-24/+13
Make it easier to comprehend Reviewed-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-03-26s3-make: Fix build with new smb2_session file.Jelmer Vernooij1-0/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Mar 26 00:56:13 CEST 2012 on sn-devel-104
2012-03-25LIBCLI_SMB2: Depend on cli_smb_common rather than libsmb.Jelmer Vernooij1-1/+1
The latter pulls in a fair number of other libraries, including popt and the Samba registry library.
2012-03-25smb2: Move smb2cli session setup code to cli_smb_common.Jelmer Vernooij3-207/+234
2012-03-25libcli/smb: Stop generating unused proto file.Jelmer Vernooij1-1/+0
2012-03-25replace: Avoid DEBUG(), which is not available in libreplace.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Mar 25 00:13:59 CET 2012 on sn-devel-104
2012-03-24libreplace: Add usleep implementation.Jelmer Vernooij2-0/+20
2012-03-24use usleep rather than sys_usleep in various places, in anticipation of ↵Jelmer Vernooij6-39/+4
usleep moving to libreplace.
2012-03-24lib/util: Remove obsolete sys_getpid() and sys_fork().Jelmer Vernooij49-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
2012-03-24lib/util: Allow calloc use in util.c, too.Jelmer Vernooij1-0/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 24 18:50:32 CET 2012 on sn-devel-104
2012-03-24adt_tree: Fix return types.Jelmer Vernooij1-3/+3
2012-03-24replace: Work around socket wrapper.Jelmer Vernooij1-0/+1
It's fine to ignore socket wrapper here, as it doesn't deal with unix domain sockets.
2012-03-24replace: Add system/network.h for ucred struct.Jelmer Vernooij1-0/+1
2012-03-24s3-waf: Use samba3-util library instead of lots of tiny libs.Jelmer Vernooij1-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.
2012-03-24adt_tree: Avoid WERROR.Jelmer Vernooij3-5/+8
2012-03-24libreplace: Add getpeereid implementation.Jelmer Vernooij11-67/+77
2012-03-24util_malloc: Remove unused constant.Jelmer Vernooij1-3/+0
2012-03-24lib/util: Remove dummy wrapper for getgrgid().Jelmer Vernooij3-13/+3
2012-03-24lib/util: Remove dummy wrapper for getgrnam().Jelmer Vernooij4-9/+3
2012-03-24lib/util: Remove dummy wrapper for getpwuid().Jelmer Vernooij5-14/+8
2012-03-24lib/util: Remove dummy wrapper for getpwnam().Jelmer Vernooij5-13/+7
2012-03-24lib/util: Remove dummy wrappers for setpwent/getpwent/endpwent.Jelmer Vernooij4-26/+4