summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* lib/util: Remove trivial wrapper sys_connect() around connect().Jelmer Vernooij2012-03-242-20/+0
|
* cli_pipe: Avoid sys_connect.Jelmer Vernooij2012-03-241-1/+3
|
* sock_exec: Avoid sys_connect.Jelmer Vernooij2012-03-241-2/+2
|
* util_sock: Avoid sys_connect.Jelmer Vernooij2012-03-241-7/+13
|
* ctdb_conn: Avoid sys_connect.Jelmer Vernooij2012-03-241-1/+3
|
* replace: Move memalign() from lib/util/system.c to libreplace.Jelmer Vernooij2012-03-246-39/+46
|
* Improve the Makefile. Use a standard make macro, not a shell command.Richard Sharpe2012-03-241-1/+1
| | | | | Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Sat Mar 24 07:09:44 CET 2012 on sn-devel-104
* selftest.py: Add cleanup_pid.Jelmer Vernooij2012-03-242-2/+31
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 24 04:52:59 CET 2012 on sn-devel-104
* selftest.py: Add write_krb5_conf.Jelmer Vernooij2012-03-242-0/+79
|
* selftest.py: Add mk_realms_stanza function.Jelmer Vernooij2012-03-242-3/+63
|
* selftest.py: Add selftest.target.samba with bindir_path function.Jelmer Vernooij2012-03-243-1/+63
|
* Make it possible for developers of out-of-tree modules to use the same names ↵Richard Sharpe2012-03-241-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
* lib/async_req: Retry read_packet with read(2)Volker Lendecke2012-03-231-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
* s3: Remove the sys_notify dependency from notify_internalVolker Lendecke2012-03-235-63/+37
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri Mar 23 12:12:51 CET 2012 on sn-devel-104
* s3-build: gss_krb5_export_lucid_sec_context is no longer used in the s3 buildAndrew Bartlett2012-03-231-6/+0
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Mar 23 04:37:36 CET 2012 on sn-devel-104
* wintest: test demote of DCAndrew Bartlett2012-03-231-0/+3
|
* lib/tdb: fix transaction issue for HAVE_INCOHERENT_MMAP.Rusty Russell2012-03-231-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
* lib/tdb: fix test/run-die-during-transaction when HAVE_INCOHERENT_MMAP.Rusty Russell2012-03-231-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>
* lib/tdb: fix missing return 0 code.Rusty Russell2012-03-231-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>
* s3:vfs_gpfs: fix some compiler warningsChristian Ambach2012-03-222-4/+4
| | | | | Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Thu Mar 22 20:14:34 CET 2012 on sn-devel-104
* s3:vfs_gpfs: remove fallback to linux_setleaseChristian Ambach2012-03-221-6/+0
| | | | | | if setting the lease in GPFS failed, there is not much sense in trying to set a lease just locally that would not inform us of openers on other cluster nodes
* s3:vfs_gpfs: correct use of profiling macrosChristian Ambach2012-03-221-4/+5
| | | | under certain conditions START_PROFILE could have been called, but no END_PROFILE
* s3:vfs_gpfs: Implement fallocate callback for GPFSChristof Schmitt2012-03-224-0/+79
| | | | | | | GPFS provides the gpfs_prealloc call. Implement the fallocate callback with mode VFS_FALLOCATE_EXTEND_SIZE using this call. There is no support for VFS_FALLOCATE_KEEP_SIZE, so report this mode as not available.
* s3:vfs_gpfs: Report disk space and usage on GPFS share according to quotasChristof Schmitt2012-03-222-0/+176
| | | | | | | | | | | | | | | | | | When a client requests the information about free space and space used, adjust the reported values according to quotas in the GPFS file system: - Retrieve quotas for the current user, current group and fileset for the top level of the share. - If the soft block quota grace time has expired, report disk as full. - If a hard block quota has been exceeded, report disk as full. - If none of the hard block quotas been exceeded, report share size and free space according to the lowest limits found in the quotas. - If no applicable hard block quota has been set, report the information from the statfs call. This feature is disabled by default and has to be enabled by setting the option gpfs:dfreequota.
* s3:vfs_gpfs: add GPFS api calls for quota and free space reportingChristof Schmitt2012-03-222-0/+80
| | | | | | Add the GPFS api calls for reporting the quotas and free space: - get_gpfs_quota for querying a quota - get_gpfs_fset_id for mapping a path to a fileset id
* s3:vfs_gpfs: Export disk_norm functionChristof Schmitt2012-03-222-1/+2
| | | | | | vfs modules implementing the disk_free callback need access to the function disk_norm for normalizing the data if the parameter small query is true.
* s3:client correct a wordingChristian Ambach2012-03-221-1/+1
|
* s3: Fix smbd -iVolker Lendecke2012-03-221-9/+11
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Mar 22 18:40:02 CET 2012 on sn-devel-104
* s3: Remove an unused structure fieldVolker Lendecke2012-03-221-2/+0
|
* s3: Add "notify" cmd to smbclientVolker Lendecke2012-03-221-0/+57
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Mar 22 13:51:50 CET 2012 on sn-devel-104
* s3: Add sync cli_notifyVolker Lendecke2012-03-222-0/+39
|
* s3: Add FILE_NOTIFY_CHANGE_ALL #defineVolker Lendecke2012-03-221-0/+8
|
* s3-libsmb: Fix parsing a notify responseVolker Lendecke2012-03-221-1/+1
|
* s3: rename "len"->"next", according to wiresharkVolker Lendecke2012-03-221-3/+3
|
* lib/tdb2: fix -Wcast-qual warnings.Rusty Russell2012-03-2215-59/+33
| | | | | | | | | | | | | We use tdb_mkdata() to get rid of many of them from the tests, and explicit cast_const() in a few places. tlist_for_each() still causes a warning, but that needs to be fixed in CCAN. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Thu Mar 22 03:29:32 CET 2012 on sn-devel-104