summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* auth and s4-rpc_server: Do not use features we currently can't implement ↵Simo Sorce2012-05-232-1/+10
| | | | with MIT Kerbros build
* s4-resolve: Remove dependency on librokenSimo Sorce2012-05-234-206/+156
| | | | Use available native samba resolver functions
* addns: Make ads_dns_lookup_srv pulicSimo Sorce2012-05-232-1/+6
|
* Move source3/libads/dns.c to lib/addnsSimo Sorce2012-05-2312-15/+27
|
* s3-ads-dns: Avoid unnecessary dependenciesSimo Sorce2012-05-233-12/+11
|
* s3-ads-dns: Break dependency on lp_parmSimo Sorce2012-05-237-33/+69
| | | | In preparation of making this code common to s3 and s4
* s3-ad-dns: Use more standard uint and booleans defsSimo Sorce2012-05-231-35/+35
| | | | In preparation of making this code common to s3 and s4
* addns: Fix talloc hiereachySimo Sorce2012-05-231-1/+1
| | | | Attach request to local memory context not to potentially long lived connection
* s3:smbd: use reply_force_doserror(req, ERRSRV, ERRbaduid) on SMBulogoffStefan Metzmacher2012-05-231-0/+5
| | | | | | | | | | | | We don't support security = share anymore, so we should always have a valid session. Found by the raw.context test. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed May 23 12:47:37 CEST 2012 on sn-devel-104
* Second part of fix for bug 8953 - winbind can hang as nbt_getdc() has no ↵Herb Lewis2012-05-231-0/+1
| | | | | | | | | | | | | timeout. If we're running with SEC_ADS and we don't get a cldap response from the server when querying its name, don't fall back to NetBIOS requests as they're unlikely to succeed. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed May 23 03:49:36 CEST 2012 on sn-devel-104
* Fix bug #8953 - winbind can hang as nbt_getdc() has no timeout.Jeremy Allison2012-05-224-2/+15
| | | | | Add a timeout_in_seconds parameter to nbt_getdc() to make it fail after that time with NT_STATUS_IO_TIMEOUT.
* s3:smbd: remove unused 'connection_struct->used'Michael Adam2012-05-223-4/+0
| | | | | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue May 22 16:42:22 CEST 2012 on sn-devel-104
* Added torture test for bug #8910. Test remove_duplicate_addrs2().Jeremy Allison2012-05-224-2/+108
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue May 22 01:31:17 CEST 2012 on sn-devel-104
* s3: Fix vfs_xattr_tdb.cVolker Lendecke2012-05-211-1/+1
| | | | | | | | | | | "size" is the maximum buffer, only copy what we actually got. For me, this fixes valgrind errors in the DIR1 test that might potentially make DIR1 non-flaky again. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon May 21 22:10:15 CEST 2012 on sn-devel-104
* s3:smb2_ioctl: Fix Coverity ID 701771 Uninitialized scalar variableStefan Metzmacher2012-05-211-0/+10
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon May 21 19:27:44 CEST 2012 on sn-devel-104
* s4-dsdb: allow modification of some deleted object if the show-deleted ↵Matthieu Patou2012-05-191-4/+9
| | | | | | | control is presented Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat May 19 20:28:01 CEST 2012 on sn-devel-104
* s4-dsdb: naming context needs to have the extended-dn syntax tooMatthieu Patou2012-05-191-0/+1
|
* libcli: make it easier to understand that a control was not correctly encodedMatthieu Patou2012-05-191-1/+1
|
* Move the set_write_time() call to after get_existing_share_mode_lock() ↵Jeremy Allison2012-05-191-3/+15
| | | | | | | | | | | | | | | | | | | | | | returns with a share mode. get_existing_share_mode_lock() isn't really the right call here, as we're being called after close_remove_share_mode() inside close_normal_file() so it's quite normal to not have an existing share mode here. However, get_share_mode_lock() doesn't work because that will create a new share mode if one doesn't exist - so stick with this call (just ignore any error we get if the share mode doesn't exist. The previous commit raised the error message debug level inside get_share_mode_lock_internal() so we don't always get a level 1 error message if get_existing_share_mode_lock() fails. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat May 19 06:26:33 CEST 2012 on sn-devel-104
* Raise the debug level from 1 to 5 in get_share_mode_lock_internal()Jeremy Allison2012-05-181-1/+2
| | | | | This isn't a fatal condition, there is a valid codepath that can cause this message.
* s4:torture: Add raw.session.reauth2 testVolker Lendecke2012-05-181-0/+142
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri May 18 18:25:42 CEST 2012 on sn-devel-104
* s4:torture: rename raw.session.reauth => raw.session.reauth1Stefan Metzmacher2012-05-181-3/+3
| | | | metze
* s3:smbd: allow creating new spnego sessions only with a 0 vuidStefan Metzmacher2012-05-181-0/+5
| | | | | | Found by the raw.context test. metze
* s3:smbd: SMBtdis should return ERRSRV, ERRinvnid instead of NETWORK_NAME_DELETEDStefan Metzmacher2012-05-181-1/+1
| | | | | | Found by the raw.context test. metze
* selftest/Samba3: add 'smbd:suicide mode = yes'Stefan Metzmacher2012-05-181-0/+1
| | | | metze
* s3:idmap_cache: improve checks for format of value string in ↵Michael Adam2012-05-181-0/+15
| | | | | | | idmap_cache_find_sid2unixid() Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri May 18 16:34:27 CEST 2012 on sn-devel-104
* s3:idmap_cache: add common exit point to idmap_cache_find_sid2unixid()Michael Adam2012-05-181-12/+10
|
* s3:idmap_cache: improve debug messages in idmap_cache_find_sid2unixid()Michael Adam2012-05-181-5/+24
|
* s3: Revert the serverid changes, they need more workVolker Lendecke2012-05-1811-262/+46
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri May 18 13:12:14 CEST 2012 on sn-devel-104
* s4-torture: Improve torture test boilerplate, use torture_assert()Andrew Bartlett2012-05-1818-279/+93
| | | | | | | | | This ensures that if this fails, it is reported as a subunit error correctly. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri May 18 09:35:13 CEST 2012 on sn-devel-104
* s4-torture: Always use torture_assert() to handle failuresAndrew Bartlett2012-05-181-9/+6
|
* s4-torture: provide correct torture failures for failure to connectAndrew Bartlett2012-05-181-11/+9
|
* build: Also look for iconv in /usr/local by defaultAndrew Bartlett2012-05-181-2/+2
| | | | | | | This should help the build find iconv on FreeBSD and similar systems, and make it possible to operate with 8-bit character sets. Andrew Bartlett
* Add include/lib folders from the commandlineThomas Nagy2012-05-182-1/+71
| | | | | | By using opt.add_option(..., match=['Checking for library iconv'], dest='iconvdir'), all configuration tests displaying 'Checking for library iconv' will get $(iconvdir)/lib and $(iconvdir)/include
* s4-torture: Fix rpc.samr.priv test to use torture_assert() macrosAndrew Bartlett2012-05-181-51/+16
|
* autobuild: Run ABI check on samba4-libs as well.Andrew Bartlett2012-05-181-5/+5
| | | | | | | Because this build is without the developer options (so as to check that we build without those) we do not do an ABI check by default. Andrew Bartlett
* build: Move generated files out of the normal build treeAndrew Bartlett2012-05-185-86/+96
| | | | | | This avoids some dual-build-system interactions. Andrew Bartlett
* build: Move generated version.h to a waf-invisible locationAndrew Bartlett2012-05-183-3/+3
| | | | | | | Generally, it is better if our generated header files for the autoconf build do not end up in places that the waf build can see. Andrew Bartlett
* pygensec: Fix init of variable if not specified.Jelmer Vernooij2012-05-181-1/+1
| | | | | | | | | Thanks to Wolfgang Sourdeau for reporting this. Bug: https://bugzilla.samba.org/show_bug.cgi?id=8946 Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri May 18 04:50:17 CEST 2012 on sn-devel-104
* Note that "keepalive" only applies to SMB1 connections.Jeremy Allison2012-05-181-0/+3
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 18 02:59:34 CEST 2012 on sn-devel-104
* Fix the waf build with the new "cleans up stale processes" test.Jeremy Allison2012-05-181-0/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 18 00:20:36 CEST 2012 on sn-devel-104
* s3: Check for serverid_exists in close_directoryVolker Lendecke2012-05-171-0/+3
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Check for serverid_exists in close_remove_share_modeVolker Lendecke2012-05-171-0/+3
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Be less picky on stale share mode entriesVolker Lendecke2012-05-171-1/+3
| | | | | | If a process died, the share mode entry might be bogus. Ignore those entries. Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Check for serverid_exists in find_oplock_typesVolker Lendecke2012-05-171-0/+20
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Test whether get_share_mode_lock cleans up stale processesVolker Lendecke2012-05-174-1/+179
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Check for serverid_exists in rename_share_filenameVolker Lendecke2012-05-171-0/+4
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Do not check the PIDs is parse_share_modesVolker Lendecke2012-05-171-42/+0
| | | | | | We do that when conflicts arise Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Check for serverid_exists in smb_posix_unlinkVolker Lendecke2012-05-171-0/+3
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Check for serverid_exists in open_mode_checkVolker Lendecke2012-05-171-0/+5
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>