summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* s4 dns: Test SOA queriesKai Blin2011-12-031-0/+32
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Sat Dec 3 20:52:51 CET 2011 on sn-devel-104
* Revert making public of the samba-module library.Jelmer Vernooij2011-12-0340-225/+145
| | | | | | | | | | | | | | | 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-035-18/+12
| | | | | | | 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
* tevent: Fix typo in build script.Jelmer Vernooij2011-12-031-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 3 02:15:40 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
|
* librpc: Add support for struct timevalVolker Lendecke2011-12-022-0/+41
|
* librpc: Add support for struct timespecVolker Lendecke2011-12-022-0/+41
|
* 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-022-0/+25
| | | | | | | | | 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.
* s4-ntvfs: added allow_override check based on use of NT ACLAndrew Tridgell2011-12-0110-41/+59
| | | | | | | | This disables the posix permission override if the calculated permissions did not come from a NT ACL. Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Dec 1 05:14:49 CET 2011 on sn-devel-104
* s4-ntvfs: fixed a unix ACL mapping bugAndrew Tridgell2011-12-011-21/+25
| | | | | the ACL mapping code was incorrectly allowing creation of directories in some situations where it should be denied by the unix permissions
* selftest: Fix typo in socket wrapper test.Jelmer Vernooij2011-12-011-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Dec 1 00:30:00 CET 2011 on sn-devel-104
* selftest: Drop broken and unused Kvm target.Jelmer Vernooij2011-11-302-178/+5
|
* selftest: Don't acquire target when --list was specified.Jelmer Vernooij2011-11-301-25/+27
|
* Update ldb API sigs.Jelmer Vernooij2011-11-302-0/+258
|
* Bump ldb version to 1.1.4 after introduction of ldb_module_error.Jelmer Vernooij2011-11-301-1/+1
|
* selftest: Don't generate subunit file when writing subunit to stdout.Jelmer Vernooij2011-11-301-5/+3
|
* selftest: Prevent error about unfinished test command when using --list.Jelmer Vernooij2011-11-301-1/+1
|
* s4-tests: Use long option names in test list script, to prevent 'eating' ↵Jelmer Vernooij2011-11-301-38/+38
| | | | --list argument when e.g. is not set.
* testr: Use test lists.Jelmer Vernooij2011-11-301-1/+2
|
* s4-testlist: Write diagnostic info to stderr, and purely test info to stdout.Jelmer Vernooij2011-11-301-2/+2
|
* selftest: Don't use fancy subunit formatters when generating a test list.Jelmer Vernooij2011-11-301-8/+11
|
* selftest: Don't write subunit output in --list mode.Jelmer Vernooij2011-11-301-7/+13
|
* selftesthelpers: write warnings to stderr rather than stdout.Jelmer Vernooij2011-11-301-2/+3
|
* 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
* s4:lib/tls - call "gnutls_transport_set_lowat" only on GNUTLS < 3.0Matthias Dieter Wallnöfer2011-11-302-0/+8
| | | | | | | | | | | | | | | | This function call together with the lowat feature has been removed in release 3.0 as described in this mailing list post: http://old.nabble.com/gnutls_transport_set_lowat-deprecated-td32554230.html. Since we do not make any use of lowat (esprimed by each function call) we are free to simply omit it on v3.0 and later. This addresses bug #8537. Reviewed by: abartlet + metze Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Nov 30 20:11:14 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
* s4:gensec/spnego: only try the mechs that match the client given onesStefan Metzmacher2011-11-301-0/+4
| | | | | | | | | | | | | | | | | | | | | Windows-Members of NT4/Samba3 domains, send MechTypes: 1.3.6.1.4.1.311.2.2.10 [NTLMSSP] 1.2.840.48018.1.2.2 [krb5 broken] 1.2.840.113554.1.2.2 [krb5] MechToken for NTLMSSP. This patch makes sure we start NTLMSSP with the given MechToken, instead of trying to pass the NTLMSSP MechToken to the krb5 backend first. As that would fail the authentication with an error instead of trying fallbacks. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 30 17:03:29 CET 2011 on sn-devel-104
* s4:libcli/raw: implement on top of smbXcli_conn/reqStefan Metzmacher2011-11-3020-1812/+1033
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 30 15:13:36 CET 2011 on sn-devel-104
* s4:libcli: do the nbss session request within smbcli_sock_connect_*()Stefan Metzmacher2011-11-304-147/+108
| | | | metze
* s4:libcli/raw: remove unused functionsStefan Metzmacher2011-11-302-76/+0
| | | | metze
* s4:libcli: use smbcli_sock_connect() in smbcli_socket_connect()Stefan Metzmacher2011-11-301-5/+11
| | | | metze
* s4:libcli: move smbcli_transport_establish() logic into smbcli_socket_connect()Stefan Metzmacher2011-11-304-38/+32
| | | | metze
* s4:libcli: convert smbcli_transport_connect_* to tevent_reqStefan Metzmacher2011-11-303-92/+240
| | | | metze
* s4:lib/socket: add socket_connect_multi_ex_*Stefan Metzmacher2011-11-302-10/+147
| | | | | | | | | | | | This add an async establish hook, that gets called before a connection success is detected. This can be used to do a NBT session request and it makes sure that we don't cancel the connection on port 445, just because the tcp connect on port 139 worked. metze