summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* vfs: Make function pointer names consistent. They all end in _fnRichard Sharpe2011-12-1250-1068/+1076
| | | | | Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Mon Dec 12 04:58:40 CET 2011 on sn-devel-104
* s3-dbwrap: Fix a typoVolker Lendecke2011-12-091-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Dec 9 13:37:51 CET 2011 on sn-devel-104
* s3-dbwrap: & is not required when taking a function pointerVolker Lendecke2011-12-081-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Dec 8 16:39:29 CET 2011 on sn-devel-104
* s3-dbwrap: Make dbwrap_fallback_wipe privateVolker Lendecke2011-12-083-8/+4
|
* s3-dbwrap: Avoid an "else" by an early returnVolker Lendecke2011-12-081-4/+4
|
* s3-dbwrap: Make dbwrap_fallback_parse_record privateVolker Lendecke2011-12-083-14/+5
| | | | We have the private fallback in dbwrap_parse_record anyway
* s3-dbwrap: Make dbwrap_fallback_fetch privateVolker Lendecke2011-12-083-10/+6
|
* s3-dbwrap: use wrappers where appropriateVolker Lendecke2011-12-081-7/+7
|
* s3-dbwrap: Use simpler code for logging keysVolker Lendecke2011-12-081-18/+23
|
* s3: Fix some 64-bit warningsVolker Lendecke2011-12-081-8/+12
|
* s3: Fix some blank line endingsVolker Lendecke2011-12-083-11/+11
|
* s3: Fix typosVolker Lendecke2011-12-081-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Dec 8 12:05:55 CET 2011 on sn-devel-104
* s3:net registry check: replace rawmemchr by functionally equivalent portable ↵Michael Adam2011-12-061-2/+2
| | | | | | | | | strchr rawmemchr is glibc only - not portable. Remarked by Ira Cooper. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Dec 6 12:20:48 CET 2011 on sn-devel-104
* Revert "Remove rawmemchr calls - found by Ira Cooper. These are ↵Michael Adam2011-12-061-4/+3
| | | | | | | | glibc-specific calls, makes us completely non-portable." This reverts commit 82b1702284ba2bb61b23e1f14ce9145d896c36c0. This is not functionally equivalent, needs to be done differently.
* s3:registry: replace use of rawmemchr by portable equivalent use of strchr.Michael Adam2011-12-061-1/+1
|
* selftest: Add --flapping argument to filter-subunit.Jelmer Vernooij2011-12-051-1/+1
|
* selftest: Split out flapping tests into a separate file.Jelmer Vernooij2011-12-051-1/+1
|
* Revert fac5c654e2fe17c2c11d150b16088e8a51f6be20Jeremy Allison2011-12-041-68/+19
| | | | | | | | | | s3: Add a fallback for missing open&x support in OS/X Lion This is now done inside the synchronous cli_open() wrapper function. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sun Dec 4 08:19:31 CET 2011 on sn-devel-104
* Move the callers that need to use the new cli_open() back to callingJeremy Allison2011-12-036-127/+10
| | | | it from cli_openx().
* Add cli_open() back as a synchronous wrapper function the callsJeremy Allison2011-12-032-0/+116
| | | | NtCreateX followed by openX() if NtCreateX is unsupported.
* Rename cli_open -> cli_openx. Prelude to replacing generic cli_open()Jeremy Allison2011-12-0316-136/+136
| | | | with a call that uses NTCreateX in preference to OpenAndX.
* Revert making public of the samba-module library.Jelmer Vernooij2011-12-0313-13/+13
| | | | | | | | | | | | | | | This library was tiny - containing just two public functions than were themselves trivial. The amount of overhead this causes isn't really worth the benefits of sharing the code with other projects like OpenChange. In addition, this code isn't really generically useful anyway, as it can only load from the module path set for Samba at configure time. Adding a new library was breaking the API/ABI anyway, so OpenChange had to be updated to cope with the new situation one way or another. I've added a simpler (compatible) routine for loading modules to OpenChange, which is less than 100 lines of code. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 3 08:36:33 CET 2011 on sn-devel-104
* lib/util: factor out tdb_data_is_emptyGregor Beck2011-12-033-18/+7
| | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Dec 3 05:20:30 CET 2011 on sn-devel-104
* s3:registry: do not use regdb functions during db upgradeGregor Beck2011-12-033-59/+150
| | | | | | | | | | It is importante to not use the database backend implementation in the upgrade. Otherwise this would only work as long as this is the newset version. In future versions of the registry, this (then) intermediate upgrade step would change in behaviour and not work as expected any more. Signed-off-by: Michael Adam <obnox@samba.org>
* s3:net: adapt idmap check to new dbwrap_fetch behavior not to return success ↵Gregor Beck2011-12-031-6/+2
| | | | | | if not found Signed-off-by: Michael Adam <obnox@samba.org>
* s3-winbind: Add an update function for winbind cache.Andreas Schneider2011-12-031-2/+94
| | | | | | | | | | With 57b3d32 we changed the format for the winbind cache database and the code deleted the database for the upgrade. As this database holds also cached credentials, removing it is not an option. We need to update from version 1 to version 2. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Dec 3 03:47:58 CET 2011 on sn-devel-104
* Update the waf build system to link with the new PIDL locking code.Jeremy Allison2011-12-031-1/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Dec 3 00:14:54 CET 2011 on sn-devel-104
* s3: Use autogenerated open_files.idlVolker Lendecke2011-12-0215-420/+112
|
* s3: Move ndr_file_id to LIBNDR_OBJVolker Lendecke2011-12-021-1/+2
|
* s3: Add open_files.idlVolker Lendecke2011-12-022-0/+49
|
* Fix bug #8644 - vfs_acl_xattr and vfs_acl_tdb modules can fail to add ↵Jeremy Allison2011-12-021-1/+1
| | | | | | | | | | inheritable entries on a directory with no stored ACL. If referring to an fsp sbuf can be left as an uninitialized variable, causing the 'is_directory' variable to be false when it should be true. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Dec 2 22:13:03 CET 2011 on sn-devel-104
* Ensure we map our own Samba return of ERRSRV, ERRunknownsmbJeremy Allison2011-12-022-0/+4
| | | | on an unknown SMB request to NT_STATUS_NOT_IMPLEMENTED.
* Convert smbclient to using NtCreateX by preference, fall back to openX onJeremy Allison2011-12-023-5/+119
| | | | 'not implemented' or similar error.
* s3: Fix some nonblank line endingsVolker Lendecke2011-12-021-4/+4
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Dec 2 20:39:33 CET 2011 on sn-devel-104
* s3: Remove unused dbwrap_record_get_private_dataVolker Lendecke2011-12-022-6/+0
| | | | | db_record->private_data is for backends which can include dbwrap_private.h anyway.
* s3-winbind: Remove unused keys from list.Andreas Schneider2011-12-021-2/+0
| | | | | | | | DR and DE have been removed with 0834574fdd6b469797b3b6a4edd45f321b9b9971. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Fri Dec 2 19:02:45 CET 2011 on sn-devel-104
* Add the "backup" toggle command to smbclient. In order for this to beJeremy Allison2011-12-021-0/+14
| | | | | | | | | really useful we need to change to using NTCreateX opens by default in cli_open() and fall back to old OpenX calls instead of doing it the other way around. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Dec 2 00:23:13 CET 2011 on sn-devel-104
* After a discussion with Volker, sdd a backup_intent state to the client struct.Jeremy Allison2011-12-015-4/+21
| | | | | | | | This causes the backup_intent flags to be added to findfirst/findnext and ntcreate/nttrans_create calls. cli_set_backup_intent() sets the flag and returns the old value of its state.
* s3: Attempt to fix the vfs_commit moduleVolker Lendecke2011-11-301-1/+1
| | | | | | | This bug went in in 2007. I wonder how much this module is actually used.... Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Nov 30 21:46:09 CET 2011 on sn-devel-104
* s3-waf: fix the build with CTDB_CONTROL_CHECK_SRVIDS.Günther Deschner2011-11-301-0/+29
| | | | | | | | | Volker, Michael, please check. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Nov 30 18:37:29 CET 2011 on sn-devel-104
* s3-ctdb: Make use of CTDB_CONTROL_CHECK_SRVIDSVolker Lendecke2011-11-304-2/+250
| | | | | | | | This should be a lot quicker than PROCESS_EXISTS followed by looking at serverid.tdb Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Nov 30 12:47:27 CET 2011 on sn-devel-104
* Fix bug 8636 - When returning an ACL without SECINFO_DACL requested, we ↵Jeremy Allison2011-11-302-0/+4
| | | | | | | still set SEC_DESC_DACL_PRESENT in the type field. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Nov 30 04:59:07 CET 2011 on sn-devel-104
* s3:dbwrap_tdb: pass NTSTATUS code further up from db_tdb_fetch_parse in ↵Michael Adam2011-11-301-1/+1
| | | | | | | db_tdb_fetch() Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Nov 30 01:46:31 CET 2011 on sn-devel-104
* build: TDB_ERR_NESTING is used unconditionallyAndrew Bartlett2011-11-302-15/+0
| | | | | | | | | Therefore, do not bother doing an autoconf test looking for it. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Nov 30 00:08:18 CET 2011 on sn-devel-104
* Fix bug 8631 - POSIX ACE x permission becomes rx following mapping to and ↵Jeremy Allison2011-11-291-2/+2
| | | | | | | | | from a DACL Reported by David Disseldorp. Fix based on a patch by David. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Nov 29 22:32:27 CET 2011 on sn-devel-104
* s3:net registry check: adapt to new semantic of dbwrap_fetch with rbtGregor Beck2011-11-291-6/+6
| | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Nov 29 19:53:30 CET 2011 on sn-devel-104
* s3:net registry check: adapt to new semantic of dbwrap_fetchGregor Beck2011-11-291-10/+13
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:dbwrap: turn the fetch dbwrap method to NTSTATUS return code.Michael Adam2011-11-295-55/+58
| | | | | This implement more correct NTSTATUS handling inside the backends. This ensures that data.dptr != NULL if return code is NT_STATUS_OK.
* s3:dbwrap_ctdb: re-use map_nt_error_from_tdb() in local tdb_error_to_ntstatus()Michael Adam2011-11-291-14/+1
|
* s3:net registry check: handle missing version infoGregor Beck2011-11-291-0/+36
| | | | Signed-off-by: Michael Adam <obnox@samba.org>