summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-11-06mount.cifs: use lock/unlock_mtab scheme from util-linux-ng mount progJeff Layton5-69/+311
The util-linux-ng sources have a good, but rather complex scheme for locking the mtab before updating it. Mount helpers need to follow the same scheme. Advisory locking only works if everyone is using the same locking scheme. Copy the routines we need from util-linux-ng into a separate source file and then have mount.cifs and umount.cifs link in this object. The long term goal is to have these routines in a separate helper library (libmount). Mount helpers can then dynamically link in that lib. Until that happens, this should serve as a suitable stopgap solution. Signed-off-by: Jeff Layton <jlayton@redhat.com>
2008-11-06s4-smbtorture: add test for netr_DatabaseRedo.Günther Deschner1-0/+535
Guenther
2008-11-06s3-rpcclient: add database_redo command.Günther Deschner1-0/+67
Guenther
2008-11-06s3-build: rerun make samba3-idl.Günther Deschner6-23/+240
Guenther
2008-11-06netlogon: use 8bit SamDatabaseID and DeltaEnum in netr_ChangeLogEntry.Günther Deschner1-2/+2
Guenther
2008-11-06netlogon: add 8bit varients of netr_SamDatabaseID8Bit and netr_DeltaEnum.Günther Deschner6-2/+102
Guenther
2008-11-06netlogon-idl: use netr_ChangeLogEntry subcontext in netr_DatabaseRedo.Günther Deschner1-3/+3
Guenther
2008-11-06netlogon-idl: add netr_ChangeLogObject union.Günther Deschner1-3/+7
Guenther
2008-11-06netlogon-idl: add netr_ChangeLogFlags.Günther Deschner1-1/+9
Guenther
2008-11-06netlogon-idl: add netr_ChangeLogEntry.Günther Deschner1-0/+12
Guenther
2008-11-06Fix bug #5825 - Account locking out doesnt work with an LDAP backend.Based ↵Jeremy Allison1-1/+3
on a problem found by Boyang. Only the pdb_nds backend implements login attempts so this was broken for tdbsam and ldap. Jeremy.
2008-11-06s3-dsgetdcname: fix reply generation (forgot to map nt1 to nt5ex).Günther Deschner1-0/+2
Guenther
2008-11-06doserr: add WERR_NO_TRUST_SAM_ACCOUNT.Günther Deschner2-0/+2
Guenther
2008-11-06Start factoring out the inheritance differences.Jeremy Allison3-5/+5
Jeremy.
2008-11-06Final fix to make us pass NULL SD test in RAW-ACLs. Not sure if this is 100% ↵Jeremy Allison1-0/+3
right. Only inheritance left to fix. Jeremy.
2008-11-06Don't call FSET_NT_ACL on file create if there's no SD to set. Leave the ↵Jeremy Allison2-5/+6
default ACL in place. Jeremy.
2008-11-06Only one more issue with NULL ACL test left to solve.Jeremy Allison1-1/+1
Jeremy.
2008-11-06Fix crash in module, get more of the NULL acl test right.Jeremy Allison1-14/+18
Jeremy.
2008-11-05Add reference to bug #4308 to remind me to add regression test to smbtorture.Jeremy Allison1-1/+1
Jeremy.
2008-11-05s3-build: re-run make samba3-idl.Günther Deschner5-29/+84
Guenther
2008-11-05s3-samr-idl: fix samr_QueryUserInfo2.Günther Deschner1-1/+1
Guenther
2008-11-05s3-samr-idl: fix samr_ValidatePassword.Günther Deschner1-2/+2
Guenther
2008-11-05Fix the buildVolker Lendecke1-1/+1
2008-11-04Fix a const warningVolker Lendecke1-1/+1
2008-11-04Convert blocking.c to store a smb_request instead of just inbufVolker Lendecke2-89/+55
2008-11-04Simplify logic of cancel_pending_lock_requests_by_fid()Volker Lendecke1-20/+18
The only caller of this function is locking_close_file(). This checks itself if brl_lock != NULL. The additional check is not necessary here.
2008-11-04Slightly simplify logic in process_lockingX()Volker Lendecke1-7/+8
The "else" is pointless here, we did a "return True" in the if branch.
2008-11-04Slightly simplify logic in remove_pending_lock_requests_by_mid()Volker Lendecke1-13/+21
Use "continue" for (SVAL(blr->inbuf,smb_mid) != mid)
2008-11-04Slightly simplify logic in cancel_pending_lock_requests_by_fid()Volker Lendecke1-20/+24
Use a "continue" for (blr->fsp->fnum != fsp->fnum)
2008-11-04Convert blocking.c to use tallocVolker Lendecke1-23/+15
2008-11-04Rewrite aio.c to keep the whole smb_request structure, not just the inbufVolker Lendecke1-75/+41
2008-11-04Make "inbuf" a talloc child of "smb_request" for normal smb requestsVolker Lendecke3-3/+5
This is necessary if we want to keep the whole smb_request for deferred ops. The explicit settings of req->inbuf will be removed once all those deferring operations are converted to store the whole request and not just the inbuf.
2008-11-04Add construct_reply_common_req wrapperVolker Lendecke4-3/+9
The goal is to remove the remaining direct calls to construct_reply_common.
2008-11-04Fix nonempty blank linesVolker Lendecke1-3/+3
2008-11-04Use talloc for struct aio_extraVolker Lendecke1-27/+14
2008-11-04Fixed typo in source/utils/net_rap.cJoe Smith1-1/+1
2008-11-04s3-libnet_samsync: print new line in display output.Günther Deschner1-3/+3
Guenther
2008-11-04s4-smbtorture: fix some obvious copy-paste errors.Günther Deschner1-7/+7
Guenther
2008-11-04Ignore 3.0 style invalid group mappings during upgrade to ldbVolker Lendecke1-0/+7
2008-11-04Pass all of RAW-ACLS except for inheritence. Working on that next.Jeremy Allison4-4/+85
Jeremy.
2008-11-04Trigger (and fix) a bug in Samba3 making smbd an infinite data sourceVolker Lendecke3-0/+82
A deferred open directly followed by a ulogoffX makes smbd3 send an infinite stream of ERRinvuid replies :-(
2008-11-03Be more verbose about a directory ACL error.Jeremy Allison1-0/+5
Jeremy.
2008-11-03Pass the directory versions of the RAW-ACL (still not inheritance). Refactor ↵Jeremy Allison1-43/+83
some common code between open_file_ntcreate() and open_directory(). Jeremy.
2008-11-03Pass all the non-inherited S4 RAW-ACL tests.Jeremy Allison3-14/+15
Jeremy.
2008-11-04Use ldb_dn_from_ldb_val() to create a DN in the SAMR serverAndrew Bartlett1-2/+7
The previous code incorrectly cast an ldb_val into a char *. Andrew Bartlett
2008-11-04Re-add support for supporting the PAC over domain trusts.Andrew Bartlett1-19/+17
(This was not entered in lorikeet-heimdal.diff, so missed by metze's import). Andrew Bartlett
2008-11-04Give a better error when ldb_dn_from_ldb_val failsAndrew Bartlett1-1/+3
2008-11-04Use ldb_dn_from_ldb_val to avoid possible over-run of the value.Andrew Bartlett7-20/+20
The ldb_val is length-limited, and while normally NULL terminated, this avoids the chance that this particular value might not be, as well as avoiding a cast. Andrew Bartlett
2008-11-04Fix use of wrong union arm in linked_attributes moduleAndrew Bartlett1-1/+1
This bug occours frequenetly in ldb users because the union so happens to be layed out that this works. However, it is still incorrect usage... Andrew Bartlett
2008-11-04s3-build: re-run make samba3-idl.Günther Deschner5-37/+58
Guenther