summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-pylibsmb: Factor out py_tevent_cond_waitVolker Lendecke2012-09-231-14/+19
|
* build: Remove unused define UNIXWAREAndrew Bartlett2012-09-231-2/+1
| | | | | Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sun Sep 23 08:33:02 CEST 2012 on sn-devel-104
* lib/replace: Remove unused nap and therefore the SCO defineAndrew Bartlett2012-09-231-2/+1
| | | | | | In any case, the Samba Team stopped supporting SCO systems a long time ago. Andrew Bartlett
* build: Make waf configure match autoconf for HPUX ACLsAndrew Bartlett2012-09-231-0/+1
|
* build: Rework waf STAT_ST_BLOCKSIZE to match autoconf, with 512 as the defaultAndrew Bartlett2012-09-231-6/+13
| | | | | | | The autoconf build simply has 512 as the default, without a warning. Rather than enumerate every OS ever made, just handle the known exceptions. Andrew Bartlett
* lib/util: Remove unbuilt file util_getent.c and BROKEN_GETGRNAMAndrew Bartlett2012-09-231-5/+0
| | | | | | | Removing this unbuilt file allows removing BROKEN_GETGRNAM which was only ever defined per-OS, not based on an actual test. Andrew Bartlett
* build: Remove unused IRIX and IRIX6 definesAndrew Bartlett2012-09-231-6/+1
|
* s3:vfs_fake_acls fix a compiler warningChristian Ambach2012-09-231-1/+1
| | | | | | | about acl being potentially uninitialized Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Sun Sep 23 01:08:39 CEST 2012 on sn-devel-104
* s3:winbindd fix a compiler warningChristian Ambach2012-09-221-1/+1
| | | | about result being potentially uninitialized
* s3:smbd:smb2: initialize variable in vfs_default_durable_reconnect()Michael Adam2012-09-221-1/+1
| | | | Found by Ambi's state-of-the-art compiler!
* s3:smbd: remove struct member smbd_smb2_request.cancelled - it was only writtenMichael Adam2012-09-226-8/+0
|
* s3:smb2_lock: let smbd_smb2_create_cancel() trigger NT_STATUS_CANCELEDStefan Metzmacher2012-09-221-14/+2
| | | | | | Instead of violating the tevent_req layers. metze
* s3:smb2_lock: smbd_smb2_notify_recv() can already return NT_STATUS_CANCELEDStefan Metzmacher2012-09-221-18/+0
| | | | | | That's why we can remove the code that violates the tevent_req layers. metze
* s3:smb2_notify: make use of tevent_req_defer_callback() instead of custom ↵Stefan Metzmacher2012-09-221-34/+1
| | | | | | tevent_immediate metze
* s3:smb2_notify: don't call tevent_req_done() from smbd_smb2_notify_cancel()Stefan Metzmacher2012-09-221-2/+1
| | | | | | | smbd_notify_cancel_by_smbreq() will already trigger this via smbd_smb2_notify_reply() and smbd_smb2_notify_reply_trigger(). metze
* s3:smb2_lock: let smbd_smb2_lock_cancel() trigger NT_STATUS_CANCELEDStefan Metzmacher2012-09-221-26/+3
| | | | | | Instead of violating the tevent_req layers. metze
* s3:smb2_server: avoid segfault in smbd_smb2_request_pending_queue()Stefan Metzmacher2012-09-221-2/+6
| | | | | | | | | | | | Because we should not call smbd_smb2_request_error() on an request that is still running. If the subreq implementes a cancel function, this should take care of triggering smbd_smb2_request_error. metze Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbd:smb2: simplify smbd_smb2_request_validate() and ↵Michael Adam2012-09-222-51/+3
| | | | | | | | | | | smbd_smb2_request_dispatch() removes unnneccary checks/assignments for compound_related and next_status and duplicate setting of error status. And remove (now) unused next_status from struct smbd_smb2_request. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s3:smbd:smb2: add check for session_status for compound requestsMichael Adam2012-09-221-3/+3
|
* s3:smb2_server: do the req->next_status check before the signing checksStefan Metzmacher2012-09-221-15/+15
| | | | | | | | Windows 2012 returns NT_STATUS_INVALID_PARAMETER to the smb2.compound.invalid1 test if that uses signing (instead of NT_STATUS_ACCESS_DENIED). metze
* s3:smb2_server: reset req->last_session_id and req->last_tid after using itStefan Metzmacher2012-09-221-0/+4
| | | | | | | | | | | | | | If we can find a valid session or tcon we'll set it after the lookup, but it need to make sure to reset it if we don't find the session. This fixes a problem where a compound unrelated request between related requests doesn't reset the session. If we have 3 requests in a compound chain, request 3 should never use the id's cached from request 1. It should only every inherit handles from request 2. metze
* s3: Compound requests should continue processing.Ira Cooper2012-09-221-3/+2
| | | | | | This patch addresses #9173. Signed-off-by: Michael Adam <obnox@samba.org>
* build: Fix enabled handling for HAVE_LDAP, we need to use bld.CONFIG_SETAndrew Bartlett2012-09-223-9/+9
| | | | | Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat Sep 22 09:09:17 CEST 2012 on sn-devel-104
* build: Try not build with LDAP if we do not have ldap.hAndrew Bartlett2012-09-221-1/+1
|
* s3:pdb_ldap remove unused functionChristian Ambach2012-09-221-23/+0
| | | | | Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Sat Sep 22 04:28:37 CEST 2012 on sn-devel-104
* s3:rpcclient fix a compiler warningChristian Ambach2012-09-221-0/+2
|
* s3:utils/net fix a compiler warningChristian Ambach2012-09-221-1/+1
| | | | ret might be used uninitialized in out-of-memory condition
* s3:smbd: release the share mode lock before calling exit_server() (bug #9191)Stefan Metzmacher2012-09-211-0/+2
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Sep 21 22:36:57 CEST 2012 on sn-devel-104
* s3:dbwrap_ctdb: set errno = ENOSYS if clustering is not supportedGregor Beck2012-09-211-0/+1
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Sep 21 18:05:56 CEST 2012 on sn-devel-104
* winbind: Extend wbcAuthenticateUserEx to provide PACChristof Schmitt2012-09-203-6/+153
| | | | | | | | | | | | | | With this new interface, external applications that have authenticated to an ADS can pass the PAC from the Kerberos ticket to wbcAuthenticateUserEx. winbindd decodes and extracts the info3 information for the external application. If winbindd can verify the PAC signature, the info3 from the PACis also added to the netsamlogon_cache. The info3 data can be used by the external application to get the uid and primary gid. The data in netsamlogon_cache allows to retrieve the complete group list through the NSS function getgrouplist. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* vfs: fix acl_blob_get* in vfs_full_auditDavid Disseldorp2012-09-201-9/+11
| | | | | | | Plumb-in functions and use correct return types. Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Thu Sep 20 20:42:09 CEST 2012 on sn-devel-104
* vfs: fix lock logging in vfs_full_auditDavid Disseldorp2012-09-201-4/+4
|
* s3-printing: Increase debug level for info that the db is empty.Andreas Schneider2012-09-201-1/+2
| | | | | Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Thu Sep 20 12:01:48 CEST 2012 on sn-devel-104
* s3:smb2_server: fix usage of invalid memory in smb2_signing_check_pdu()Stefan Metzmacher2012-09-201-1/+1
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Sep 20 07:18:31 CEST 2012 on sn-devel-104
* s3:winbind:idmap_tdb_common: improve readability of assignment by adding an "if"Michael Adam2012-09-201-3/+5
| | | | in idmap_tdb_common_sids_to_unixids()
* s3:winbind:idmap_tdb_common: improve readability of assignment by adding an "if"Michael Adam2012-09-201-3/+5
| | | | in idmap_tdb_common_unixids_to_sids()
* s3: Fix idmap_hashVolker Lendecke2012-09-201-1/+1
| | | | | | | | | Calling be_init with NULL safely crashes, because we dereference NULL. We don't need to call it here, this is called in all workers anyway. Thanks to Jiri Sasek <jiri.sasek@oracle.com> for finding this. Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Thu Sep 20 05:03:54 CEST 2012 on sn-devel-104
* s3: Use SBVAL in put_long_date_timespecVolker Lendecke2012-09-191-2/+1
| | | | | Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Wed Sep 19 01:16:25 CEST 2012 on sn-devel-104
* s3: Fix some nonempty line endingsVolker Lendecke2012-09-181-12/+12
| | | | | Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Tue Sep 18 22:39:07 CEST 2012 on sn-devel-104
* quota: add supprt for gfs2Björn Jacke2012-09-181-0/+2
| | | | | | | | | | gfs2 uses the same generic quota interface as xfs and it has the same base block/quota block size ratio and seems to work nice with the xfs quota module. (People using gfs should be aware that quota reporting is lagging quite a bit on gfs. If you copy a file on a gfs volume the quota values are being updated with a delay of 30s here with kernel 3.5. This reporting can lead to data corruption if a client thinks he can write but actually he suddently can't.)
* panic action is defined as GLOBAL_VAR(szPanicAction) not ↵Matthieu Patou2012-09-181-1/+0
| | | | | | | | | GLOBAL_VAR(panic_action) Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Sep 18 06:12:00 CEST 2012 on sn-devel-104
* source3/script: fix installman.sh after the last build-manpages-nogit changeMichael Adam2012-09-181-2/+2
| | | | | | | | | | | | | | commit cfdab79729e8507a7504b0224c60454d3bc40ffc Author: Michael Adam <obnox@samba.org> Date: Wed Sep 12 15:46:35 2012 +0200 release-scripts: let build-manpages-nogit store generated docs under ./bin/docs not under ./docs Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Fix service control for non-internal services.Vladimir Marek2012-09-181-4/+0
| | | | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Sep 18 01:42:23 CEST 2012 on sn-devel-104
* s3:libsmb fix a double free errorChristian Ambach2012-09-171-1/+0
| | | | | | | t refers to self->thread_state that is freed a few lines below Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Mon Sep 17 22:04:13 CEST 2012 on sn-devel-104
* s3:libsmb fix a potential crashChristian Ambach2012-09-161-9/+12
| | | | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Sun Sep 16 22:31:38 CEST 2012 on sn-devel-104
* s3:vfs_gpfs: fix buildChristian Ambach2012-09-161-5/+5
| | | | after recent VFS changes
* s3:auth fix a compiler warningChristian Ambach2012-09-161-3/+2
|
* quota: also log which fs type we foundBjörn Jacke2012-09-151-1/+1
| | | | | Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Sat Sep 15 02:18:16 CEST 2012 on sn-devel-104
* autoconf: check for dn_expand also in libinetBjörn Jacke2012-09-151-0/+1
| | | | see bug #7472
* wafbuild: check for dn_expand also in libinetBjörn Jacke2012-09-151-0/+1
| | | | see bug #7472