Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-03-26 | Fix the PyDoc comments in samba.smb.SMB and add a security_info argument to ↵ | Richard Sharpe | 1 | -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-26 | s4:ldap.py - re-introduce the ↵ | Matthias Dieter Wallnöfer | 1 | -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-26 | LDB/s4 - deny the "(dn=...)" syntax on search filters when in AD mode | Matthias Dieter Wallnöfer | 4 | -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-26 | LDB/s4 - do not use the "(dn=...)" syntax on filters anymore | Matthias Dieter Wallnöfer | 9 | -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-26 | s4:ldap.py - test the already mentioned structural object class sorting ↵ | Matthias Dieter Wallnöfer | 1 | -0/+15 | |
behaviour Reviewed-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2012-03-26 | s4:dsdb - enhance "get_last_structural_class()" for optimisations | Matthias Dieter Wallnöfer | 3 | -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-26 | s4:objectclass LDB module - fix up the sorting in respect to structural or ↵ | Matthias Dieter Wallnöfer | 1 | -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-26 | s4:objectclass LDB module - clean up "objectclass_sort()" | Matthias Dieter Wallnöfer | 1 | -24/+13 | |
Make it easier to comprehend Reviewed-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2012-03-26 | s3-make: Fix build with new smb2_session file. | Jelmer Vernooij | 1 | -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-25 | LIBCLI_SMB2: Depend on cli_smb_common rather than libsmb. | Jelmer Vernooij | 1 | -1/+1 | |
The latter pulls in a fair number of other libraries, including popt and the Samba registry library. | |||||
2012-03-25 | smb2: Move smb2cli session setup code to cli_smb_common. | Jelmer Vernooij | 3 | -207/+234 | |
2012-03-25 | libcli/smb: Stop generating unused proto file. | Jelmer Vernooij | 1 | -1/+0 | |
2012-03-25 | replace: Avoid DEBUG(), which is not available in libreplace. | Jelmer Vernooij | 1 | -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-24 | libreplace: Add usleep implementation. | Jelmer Vernooij | 2 | -0/+20 | |
2012-03-24 | use usleep rather than sys_usleep in various places, in anticipation of ↵ | Jelmer Vernooij | 6 | -39/+4 | |
usleep moving to libreplace. | |||||
2012-03-24 | lib/util: Remove obsolete sys_getpid() and sys_fork(). | Jelmer Vernooij | 49 | -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-24 | lib/util: Allow calloc use in util.c, too. | Jelmer Vernooij | 1 | -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-24 | adt_tree: Fix return types. | Jelmer Vernooij | 1 | -3/+3 | |
2012-03-24 | replace: Work around socket wrapper. | Jelmer Vernooij | 1 | -0/+1 | |
It's fine to ignore socket wrapper here, as it doesn't deal with unix domain sockets. | |||||
2012-03-24 | replace: Add system/network.h for ucred struct. | Jelmer Vernooij | 1 | -0/+1 | |
2012-03-24 | s3-waf: Use samba3-util library instead of lots of tiny libs. | Jelmer Vernooij | 1 | -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-24 | adt_tree: Avoid WERROR. | Jelmer Vernooij | 3 | -5/+8 | |
2012-03-24 | libreplace: Add getpeereid implementation. | Jelmer Vernooij | 11 | -67/+77 | |
2012-03-24 | util_malloc: Remove unused constant. | Jelmer Vernooij | 1 | -3/+0 | |
2012-03-24 | lib/util: Remove dummy wrapper for getgrgid(). | Jelmer Vernooij | 3 | -13/+3 | |
2012-03-24 | lib/util: Remove dummy wrapper for getgrnam(). | Jelmer Vernooij | 4 | -9/+3 | |
2012-03-24 | lib/util: Remove dummy wrapper for getpwuid(). | Jelmer Vernooij | 5 | -14/+8 | |
2012-03-24 | lib/util: Remove dummy wrapper for getpwnam(). | Jelmer Vernooij | 5 | -13/+7 | |
2012-03-24 | lib/util: Remove dummy wrappers for setpwent/getpwent/endpwent. | Jelmer Vernooij | 4 | -26/+4 | |
2012-03-24 | lib/util: Move calloc_array and memalign_array to top-level libutil. | Jelmer Vernooij | 4 | -34/+32 | |
2012-03-24 | lib/util: Remove prototype for removed sys_memalign. | Jelmer Vernooij | 1 | -4/+0 | |
2012-03-24 | lib/util: Remove trivial wrapper sys_connect() around connect(). | Jelmer Vernooij | 2 | -20/+0 | |
2012-03-24 | cli_pipe: Avoid sys_connect. | Jelmer Vernooij | 1 | -1/+3 | |
2012-03-24 | sock_exec: Avoid sys_connect. | Jelmer Vernooij | 1 | -2/+2 | |
2012-03-24 | util_sock: Avoid sys_connect. | Jelmer Vernooij | 1 | -7/+13 | |
2012-03-24 | ctdb_conn: Avoid sys_connect. | Jelmer Vernooij | 1 | -1/+3 | |
2012-03-24 | replace: Move memalign() from lib/util/system.c to libreplace. | Jelmer Vernooij | 6 | -39/+46 | |
2012-03-24 | Improve the Makefile. Use a standard make macro, not a shell command. | Richard Sharpe | 1 | -1/+1 | |
Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Sat Mar 24 07:09:44 CET 2012 on sn-devel-104 | |||||
2012-03-24 | selftest.py: Add cleanup_pid. | Jelmer Vernooij | 2 | -2/+31 | |
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 24 04:52:59 CET 2012 on sn-devel-104 | |||||
2012-03-24 | selftest.py: Add write_krb5_conf. | Jelmer Vernooij | 2 | -0/+79 | |
2012-03-24 | selftest.py: Add mk_realms_stanza function. | Jelmer Vernooij | 2 | -3/+63 | |
2012-03-24 | selftest.py: Add selftest.target.samba with bindir_path function. | Jelmer Vernooij | 3 | -1/+63 | |
2012-03-24 | Make it possible for developers of out-of-tree modules to use the same names ↵ | Richard Sharpe | 1 | -1/+1 | |
as in-tree modules. Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Sat Mar 24 03:18:38 CET 2012 on sn-devel-104 | |||||
2012-03-23 | lib/async_req: Retry read_packet with read(2) | Volker Lendecke | 1 | -0/+4 | |
This way it will also work with pipes Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri Mar 23 17:31:24 CET 2012 on sn-devel-104 | |||||
2012-03-23 | s3: Remove the sys_notify dependency from notify_internal | Volker Lendecke | 5 | -63/+37 | |
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri Mar 23 12:12:51 CET 2012 on sn-devel-104 | |||||
2012-03-23 | s3-build: gss_krb5_export_lucid_sec_context is no longer used in the s3 build | Andrew Bartlett | 1 | -6/+0 | |
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Mar 23 04:37:36 CET 2012 on sn-devel-104 | |||||
2012-03-23 | wintest: test demote of DC | Andrew Bartlett | 1 | -0/+3 | |
2012-03-23 | lib/tdb: fix transaction issue for HAVE_INCOHERENT_MMAP. | Rusty Russell | 1 | -11/+10 | |
We unmap the tdb on expand, the remap. But when we have INCOHERENT_MMAP (ie. OpenBSD) and we're inside a transaction, doing the expand can mean we need to read from the database to partially fill a transaction block. This fails, because if mmap is incoherent we never allow accessing the database via read/write. The solution is not to unmap and remap until we've actually written the padding at the end of the file. Reported-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Fri Mar 23 02:53:15 CET 2012 on sn-devel-104 | |||||
2012-03-23 | lib/tdb: fix test/run-die-during-transaction when HAVE_INCOHERENT_MMAP. | Rusty Russell | 1 | -0/+5 | |
Since we force mmap on, we don't intercept writes to the db, so we never see it in an inconsistent state. #ifdef over the check that we should have recovered it at least once. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2012-03-23 | lib/tdb: fix missing return 0 code. | Rusty Russell | 1 | -1/+1 | |
fde694274e1e5a11d1473695e7ec7a97f95d39e4 made tdb_mmap return an int, but didn't put the return 0 on the "internal db" case. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |