summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-libads: Map LDAP_TIMELIMIT_EXCEEDED as NT_STATUS_IO_TIMEOUTAndrew Bartlett2012-05-261-0/+3
| | | | | | | | This allows Samba to then handle this error in the same way it would for RPC connections Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org>
* dns_hosts_file: move to a separate subsystemAlexander Bokovoy2012-05-253-7/+9
| | | | | | | | | | | After discussion with Kai move dns_hosts_file to a separate subsystem and merge it into libaddns private library for s3/s4 client use. Also remove dependency in libcli/nbt, the code from libcli/dns subsystems is not used there at all. Autobuild-User: Alexander Bokovoy <ab@samba.org> Autobuild-Date: Fri May 25 22:22:44 CEST 2012 on sn-devel-104
* s3-configure.in: when ADS support is disabled, unset HAVE_GSSAPIAlexander Bokovoy2012-05-251-0/+1
|
* s3:selftest: run smbtorture3 CLEANUP3 in the s3dc:local environmentStefan Metzmacher2012-05-251-0/+4
| | | | | | | | | metze Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 25 20:09:15 CEST 2012 on sn-devel-104
* s3: Test whether get_share_mode_lock cleans up stale processesVolker Lendecke2012-05-255-2/+181
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Do not check the PIDs is parse_share_modesVolker Lendecke2012-05-251-42/+0
| | | | | | | We do that when conflicts arise Signed-off-by: Jeremy Allison <jra@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Ensure we only return NT_STATUS_DELETE_PENDING if the share modes are valid.Jeremy Allison2012-05-251-3/+20
| | | | | | Ensure we only return *file_existed = true if there were valid share modes. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Check for serverid_exists in close_directoryVolker Lendecke2012-05-251-0/+3
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Check for serverid_exists in close_remove_share_modeVolker Lendecke2012-05-251-0/+3
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Be less picky on stale share mode entriesVolker Lendecke2012-05-251-1/+3
| | | | | | | If a process died, the share mode entry might be bogus. Ignore those entries. Signed-off-by: Jeremy Allison <jra@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Check for serverid_exists in find_oplock_typesVolker Lendecke2012-05-251-0/+18
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Check for serverid_exists in rename_share_filenameVolker Lendecke2012-05-251-0/+4
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Check for serverid_exists in smb_posix_unlinkVolker Lendecke2012-05-251-0/+3
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Check for serverid_exists in open_mode_checkVolker Lendecke2012-05-251-0/+5
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Check for serverid_exists in notify_deferred_opensVolker Lendecke2012-05-251-2/+8
| | | | | | | We will remove the check in parse_share_modes soon Signed-off-by: Jeremy Allison <jra@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Fix an invalid state only reachable on server crash/abort.Jeremy Allison2012-05-251-0/+11
| | | | | | | Remove any delete-on-close tokens and clear the count if there are no valid share modes. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Add "share_mode_stale_pid"Volker Lendecke2012-05-252-0/+33
| | | | | | | | This is a helper routine that prunes a dead share mode entry on demand. This prepares for removing the serverids_exist call in parse_share_modes. Signed-off-by: Jeremy Allison <jra@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Fix bug #8373 - Can't join XP Pro workstations to 3.6.1 DC.Jeremy Allison2012-05-252-5/+11
| | | | | | | Treat LIBNDR_FLAG_NOALIGN and LIBNDR_FLAG_REMAINING the same as the other align flags - make them mutually exclusive. Combined work from Metze, Günther and Jeremy.
* s3:smbd: move global smbd_msg_state to smbXsrv_connectionStefan Metzmacher2012-05-253-18/+21
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri May 25 11:01:27 CEST 2012 on sn-devel-104
* s3:smbd: move global koplocks to smbd_server_connectionStefan Metzmacher2012-05-253-4/+20
| | | | metze
* s3:smbd: pass smbd_server_connection to should_notify_deferred_opens()Stefan Metzmacher2012-05-253-3/+3
| | | | metze
* s3:smbd: move global oplocks vars to smbd_server_connectionStefan Metzmacher2012-05-253-16/+21
| | | | metze
* s3:smbd: remove unused get_number_of_exclusive_open_oplocks()Stefan Metzmacher2012-05-252-10/+0
| | | | metze
* move VERSION to alpha22Andrew Bartlett2012-05-251-2/+2
| | | | | | | | | | We will change this to beta once we both fix the VERSION parsing scripts and we agree that the next release will indeed be the beta. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri May 25 04:19:30 CEST 2012 on sn-devel-104
* WHATSNEW: update for alpha21, and mark as releaseAndrew Bartlett2012-05-252-9/+9
| | | | | | The plan has changed. This will we hope be the last alpha. Andrew Bartlett
* wintest: s3fs is now the default in provisionAndrew Bartlett2012-05-251-2/+1
|
* doc: Explain our build systems for Samba 4.0Andrew Bartlett2012-05-251-0/+97
|
* s3:smbd/signing: use smbd_server_connection as talloc parent for its smb1 ↵Stefan Metzmacher2012-05-251-2/+2
| | | | | | | | | signing state metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri May 25 00:23:53 CEST 2012 on sn-devel-104
* s3-passdb: Fix negative SID->uid/gid/both cache handlingIra Cooper2012-05-241-0/+14
| | | | | | -1 uid/gid/both signals a non existent uid/gid/both. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd: remove global 'smbd_server_conn' !!!Stefan Metzmacher2012-05-246-42/+63
| | | | | | | | | | For now we still use a global 'global_smbXsrv_connection' in order to pass the connection state to exit_server*(). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu May 24 20:07:20 CEST 2012 on sn-devel-104
* s3:smbd: only call file_init_global() in the parent smbdStefan Metzmacher2012-05-242-2/+6
| | | | metze
* s3:smbd/files: split file_init_global() out of file_init()Stefan Metzmacher2012-05-242-13/+35
| | | | metze
* s3:smbd: remove unused var in smbXsrv_connection_init_tables()Stefan Metzmacher2012-05-241-2/+0
| | | | metze
* s4:smb_server/smb: fix talloc_free() bugStefan Metzmacher2012-05-241-1/+1
| | | | | | | ERROR: talloc_free with references at ../source4/smb_server/smb/receive.c:637 reference at ../source4/ntvfs/posix/pvfs_wait.c:86 metze
* waf: for MIT krb5 build require kerberos version above 1.9Alexander Bokovoy2012-05-241-1/+8
| | | | | | | | | MIT krb5 implementation provides sufficient support for features used in Samba 4 starting with 1.9. Require version above when using system MIT krb5 build. Autobuild-User: Alexander Bokovoy <ab@samba.org> Autobuild-Date: Thu May 24 18:15:36 CEST 2012 on sn-devel-104
* s3-smbldap: Add API for external callback to perform LDAP bind in smbldapAlexander Bokovoy2012-05-242-1/+21
| | | | | | | | | | | | | | | | | | | In order to support other bind methods, introduce a generic bind callback. When smbldap_state.bind_callback is set, it means there is an alternative way to perform LDAP bind to ldap_simple_bind_s() so call it instead. The call is wrapped in become_root()/unbecome_root() to allow proper permissions in smbd to access needed resources in the callback, for example, credential caches. When run outside smbd, become_root()/unbecome_root() are no-op. The API expectation is similar to ldap_simple_bind_s(). A caller of smbldap API can pass additional information to the callback by setting smbldap_state.bind_callback_data pointer. Both callback and the data pointer elements of smbldap_state structure get cleaned up if someone sets proper credentials on smbldap_state with smbldap_set_creds() so if you are interested in using smbldap_state.bind_dn with the callback, make sure to set callback after credentials are set.
* s4/scripting: in MIT build do not install samba-tool, it is not usable yetAlexander Bokovoy2012-05-242-7/+4
|
* s4-selftest: Demonstrate the correct behaviour between specified usernames ↵Andrew Bartlett2012-05-241-0/+8
| | | | | | | | | and kerberos ccache This shows that a username/password on the command line must always override any credentials cache in the environment. Andrew Bartlett
* auth/credentials: 'workgroup' set via command line will not drop existing ccacheAlexander Bokovoy2012-05-243-14/+7
| | | | | | | | | | The root cause for existing ccache being invalidated was use of global loadparm with 'workgroup' value set as if from command line. However, we don't really need to take 'workgroup' parameter value's nature into account when invalidating existing ccache. When -U is used on the command line, one can specify a password to force ccache invalidation. The commit also reverts previous fix now that root cause is clear.
* s3:smbd/msdfs: pass allow_broken_path to resolve_dfspath_wcard()Stefan Metzmacher2012-05-244-1/+6
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu May 24 16:14:01 CEST 2012 on sn-devel-104
* s3:smbd/msdfs: pass 'allow_broken_path' to get_referred_path()Stefan Metzmacher2012-05-244-8/+13
| | | | | | | | Note the DCERPC code should not be smb2 specific! I wonder why this is at all smb2 specific... metze
* s3:smbd/msdfs: let create_conn_struct() also fake the 'smbd_server_connection'Stefan Metzmacher2012-05-244-23/+63
| | | | metze
* s3:smbd/files: work without sconn->file_bmap and assign fsp->fnum = -1Stefan Metzmacher2012-05-241-23/+39
| | | | | | | For faked connection_structs we do not need valid fnum values, e.g. in the dfs and printing code. metze
* s3:smbd/files: fix error path and correctly cleanupStefan Metzmacher2012-05-241-7/+7
| | | | metze
* selftest: Run only the samba3 tests on builds without the AD DCAndrew Bartlett2012-05-241-1/+6
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu May 24 11:51:40 CEST 2012 on sn-devel-104
* WHATSNEW: Move to document changes for beta1Andrew Bartlett2012-05-241-57/+51
| | | | | | This is not the beta1 release, but this is the preperation for such a release. Andrew Bartlett
* s4-provision: Make s3fs the default way to install a new Samba4 DCAndrew Bartlett2012-05-242-2/+3
| | | | | | | | | | With s3fs now well settled into master, we now throw the swtich and make it the default. There is still much to do, but we need to be using s3fs by default to find out exactly what that is. Andrew Bartlett
* s4-selftest: Always delete the user at the end of test_passwords.shAndrew Bartlett2012-05-241-1/+1
| | | | | | | If this test is run in the "dc" environment (rather than "dc:local") is would not delete the test user. Andrew Bartlett
* dlz_bind9: Make the talloc destructor static and return 0.Amitay Isaacs2012-05-241-1/+2
| | | | | Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Thu May 24 03:32:50 CEST 2012 on sn-devel-104
* dlz_bind9: Fix the named crash on reloading namedAmitay Isaacs2012-05-241-1/+17
| | | | | | | | | | When reloading zones, named first creates new zone instance and then shuts down the old instance. Since ldb layer, keeps the same LDB open, talloc_free() on samdb handle, causes talloc "access after use" error. This patch keeps only single context (dlz_bind9_data) and uses reference counting to decide when to actually free the context. Since samdb handle is reused, use talloc_unlink() instead of talloc_free() on samdb handle.