summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2009-07-15s3:smbd: check quota access against sec_initial_uid() instead of 0Stefan Metzmacher1-6/+6
And return an NTSTATUS mapped from errno. Instead of hardcoded values. metze
2009-07-15s3:lib: map ENOSYS to NT_STATUS_NOT_SUPPORTED instead of NT_STATUS_ACCESS_DENIEDStefan Metzmacher1-0/+1
Jeremy: please check and decide if we want to backport this. metze
2009-07-15s3:make test: smbtorture from s3 needs to take the config file path via the ↵Stefan Metzmacher1-0/+3
SMB_CONF_PATH envvar metze
2009-07-15Consolidate gencache also every 100 writes in a single processVolker Lendecke1-0/+14
2009-07-15Consolidate string and data_blob routines in gencacheVolker Lendecke3-147/+65
2009-07-15Make gencache more stableVolker Lendecke7-15/+299
This provides a compromise between stability and performance: gencache is a persistent database these days that for performance reasons can not use tdb transactions for all writes. This patch splits up gencache into gencache.tdb and gencache_notrans.tdb. gencache_notrans is used with CLEAR_IF_FIRST, writes to it don't use transactions. By default every 5 minutes and when a program exits, all entries from _notrans.tdb are transferred to gencache.tdb in one transaction.
2009-07-15Add tdb_data_cmpVolker Lendecke2-0/+21
2009-07-15Remove gencache_init/shutdownVolker Lendecke11-144/+1
gencache_get/set/del/iterate call gencache_init() internally anyway. And we've been very lazy calling gencache_shutdown, so this seems not really required.
2009-07-15Fix some nonempty blank linesVolker Lendecke1-21/+20
2009-07-15Remove gencache_[un]lock_keyVolker Lendecke3-33/+0
2009-07-15TDB_CONTEXT -> "struct tdb_context"Volker Lendecke1-1/+1
2009-07-15Replace ASSERTs in gencache with "return false"Volker Lendecke1-12/+18
It's a bit strong to panic here I think.
2009-07-14s3-passdb: fix wbc build warning.Günther Deschner1-2/+2
Guenther
2009-07-14Fix bug 5886Volker Lendecke1-8/+26
Ok, that's a very long-standing one. I finally got around to install a recent OpenLDAP and test the different variants of setting a NULL password etc. Thanks all for your patience! Volker
2009-07-14s3: allow setting the TCP_QUICKACK socket optionBjörn Jacke1-0/+3
2009-07-14Attempt to fix the buildVolker Lendecke1-22/+0
2009-07-14Create a talloc_stackframe for each file in wildcard unlinkVolker Lendecke1-0/+10
There might be *many* files to delete
2009-07-14TALLOC_FREE(sd) in check_open_rights upon an errorVolker Lendecke1-0/+1
2009-07-14Revert this commit :Jeremy Allison8-224/+39
s3: Make smbd aware of permission change of usershare. Since usershare are relatively volatile and non-previledge users must disconnect from smbd and reconnect to it to make share permission in effect. For now. This is a feature request and I think we need to design it a little differently so as not to touch core change_to_user() code. Jeremy.
2009-07-15s3: fix build of pdbedit and net_sam. Guenther, please check. Signed-off-by: ↵Bo Yang2-5/+5
Bo Yang <boyang@samba.org>
2009-07-15s3: Fix double free in net usershare.Bo Yang1-28/+4
Signed-off-by: Bo Yang <boyang@samba.org>
2009-07-15S3: Small fix to get rid of annoying log message.Bo Yang2-2/+7
Signed-off-by: Bo Yang <boyang@samba.org>
2009-07-15s3: Make smbd aware of permission change of usershare. Since usershare are ↵Bo Yang8-28/+235
relatively volatile and non-previledge users must disconnect from smbd and reconnect to it to make share permission in effect.
2009-07-14s3: make d9c0d58236 better readble and reduce indentationBjörn Jacke1-13/+13
2009-07-14s3: don't make same innetgr check twiceBjörn Jacke1-8/+11
2009-07-14s3-account_policy: add pdb_policy_type enum.Günther Deschner16-166/+179
Guenther
2009-07-14s3-account_policy: remove trailing whitespace.Günther Deschner1-32/+32
Guenther
2009-07-14reject ACLs with DESC_DACL_PROTECTED on GPFSChristian Ambach1-0/+5
as GPFS does not support the ACE4_FLAG_NO_PROPAGATE NFSv4 flag (which would be the mapping for the DESC_DACL_PROTECTED flag), the status of this flag is currently silently ignored by Samba. That means that if you deselect the "Allow inheritable permissions..." checkbox in Windows' ACL dialog and then apply the ACL, the flag will be back immediately. To make sure that automatic migration with e.g. robocopy does not lead to ACLs silently (and unintentionally) changed, this patch adds an explicit check for this flag and if set, it will return NT_STATUS_NOT_SUPPORTED so errors are shown up on the Windows side and the Administrator is aware of the ACLs not being settable like intended Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2009-07-13Make cli_posix_lock/unlock asynchronous.Jeremy Allison4-63/+247
Jeremy.
2009-07-13Fix set_posix_lock check which had been reversed in the recentJeremy Allison1-1/+1
changes. Jeremy.
2009-07-13s3-pdb_ads: set correct pdb field with the value from 'accountExpires' ↵Günther Deschner1-1/+1
attribute. Guenther
2009-07-13s3:net: Fix Bug #6222. Default to DRSUAPI replication for net rpc vampire keytabStefan Metzmacher1-4/+7
metze Signed-off-by: Günther Deschner <gd@samba.org>
2009-07-13s3-rpc_server: pass down full unix token to map_max_allowed_access().Günther Deschner3-18/+37
Also use unix_token->uid instead of geteuid() when checking for mapping of the SEC_FLAG_MAXIMUM_ALLOWED flag. Guenther
2009-07-13libds: merge the UF<->ACB flag mapping functions.Günther Deschner6-163/+15
Guenther
2009-07-13libds: share UF_ flags between samba3 and 4.Günther Deschner1-125/+2
Guenther
2009-07-13s3:smbd: close_file() handles named pipes just fine, no reason to return ↵Stefan Metzmacher1-5/+0
NOT_SUPPORTED metze
2009-07-13s3:smbd: make smbd_do_qfsinfo() non static for use in SMB2 GetInfoStefan Metzmacher2-8/+17
metze
2009-07-13s3:smbd: split out smbd_do_qfsinfo() from call_trans2qfsinfo()Stefan Metzmacher1-79/+93
metze
2009-07-13s3:smbd: make smbd_do_setfilepathinfo() non static for use in SMB2 SetInfoStefan Metzmacher2-8/+17
metze
2009-07-13s3:smbd: split out smbd_do_setfilepathinfo() from call_trans2setfilepathinfo()Stefan Metzmacher1-188/+216
metze
2009-07-12s3:smbd: start SMB2 GetInfo support for File*Information levelsStefan Metzmacher1-1/+139
TODO: the EA levels are not fully supported. metze
2009-07-12s3:smbd: add support for marshalling SMB2 FileFullEaInformationStefan Metzmacher1-0/+92
metze
2009-07-12s3:smbd: add support for marshalling SMB2 FileAllInformationStefan Metzmacher1-0/+36
metze
2009-07-12s3:smbd: filter out SMB2 specific private query info levels for SMB1Stefan Metzmacher1-0/+9
metze
2009-07-12s3:smbd: make smbd_do_qfilepathinfo() non static for use in SMB2Stefan Metzmacher2-15/+31
metze
2009-07-12s3:smbd: split calculation and mashalling of file index and access_maskStefan Metzmacher1-13/+19
metze
2009-07-12s3:smbd: split out smbd_do_qfilepathinfo() from call_trans2qfilepathinfo()Stefan Metzmacher1-459/+504
This prepares SMB2 GetInfo. metze
2009-07-12s3:smbd: add missing return after reply_nterror()Stefan Metzmacher1-0/+1
metze
2009-07-10Remove reply_unixerror() - no longer needed. Should make Metze's refactoring ↵Jeremy Allison7-87/+79
a lot easier. Jeremy.
2009-07-10Add hash values to the xattr ACLS to determine whenJeremy Allison1-55/+158
an underlying POSIX ACL is changed out from under us. Passes RAW-ACL test up to "invalid owner" problem when trying to create a file owned by Everyone. Now needs porting to modules/vfs_acl_tdb.c Jeremy.