summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* For some strange reason using :Jeremy Allison2009-07-243-6/+5
| | | | | | | uint8 hash[XATTR_SD_HASH_SIZE]; doesn't have the same effect as : uint8 hash[64]; Jeremy.
* Fix hash function in acl_xattr to be SHA256, makeJeremy Allison2009-07-246-90/+249
| | | | | | | | the hash function selectable. Upgrade version. Compiles but not fully tested yet (coming). Make vfs_acl_tdb.c compile - this needs updating to match acl_xattr (also coming soon). Jeremy.
* add my copyright after the VFS rewriteVolker Lendecke2009-07-243-0/+3
|
* Move the "enum _vfs_op_type" to full_auditVolker Lendecke2009-07-242-142/+142
| | | | | It's only used there now. Someone should now go in and simplify full_audit... :-)
* Make the smbd VFS typesafeVolker Lendecke2009-07-2453-2411/+2660
|
* Fix the chain2 testVolker Lendecke2009-07-241-1/+3
|
* In chain_reply, copy the subrequests' error to the main requestVolker Lendecke2009-07-241-0/+15
|
* Fix a few uninitialized variable warningsVolker Lendecke2009-07-2410-20/+20
| | | | I know those warnings are bogus, but both Coverity and gcc don't get it.
* s4:gensec_gssapi: pass the correct oid to the gssapi layer.Stefan Metzmacher2009-07-241-4/+11
| | | | metze
* s4:gensec/spengo: make sure we send the blob with the micListMech signature ↵Stefan Metzmacher2009-07-241-1/+1
| | | | | | | | to the peer We should even do this if the submech has no more data to send. metze
* Some more VFS type errorsVolker Lendecke2009-07-241-2/+2
|
* Fix some nonempty blank linesVolker Lendecke2009-07-241-4/+4
|
* Fix some C++ warningsVolker Lendecke2009-07-241-4/+7
|
* s4:ldb: add support for the new Recycle Bin Feature LDAP controlsStefan Metzmacher2009-07-232-0/+68
| | | | | | | LDB_CONTROL_SHOW_RECYCLED_OID 1.2.840.113556.1.4.2064 LDB_CONTROL_SHOW_DEACTIVATED_LINK_OID 1.2.840.113556.1.4.2065 metze
* s4:libcli/ldap: add support for new Recycle Bin Feature LDAP ControlsStefan Metzmacher2009-07-231-0/+40
| | | | | | | LDAP_SERVER_SHOW_RECYCLED_OID 1.2.840.113556.1.4.2064 LDAP_SERVER_SHOW_DEACTIVATED_LINK_OID 1.2.840.113556.1.4.2065 metze
* frsrpc.idl: add definition of frsrpc_FrsNOP()Stefan Metzmacher2009-07-231-1/+1
| | | | metze
* frsrpc.idl: add idl for frsrpc_FrsVerifyPromotionParent()Stefan Metzmacher2009-07-231-1/+9
| | | | metze
* Fix typos reported by OPC Oota.John H Terpstra2009-07-231-4/+4
|
* Merge branch 'master' of ssh://jht@git.samba.org/data/git/sambaJohn H Terpstra2009-07-23388-6755/+13066
|\
| * [SAMBA 4 / NETLOGON] Modify type of SAM contextsMatthias Dieter Wallnöfer2009-07-231-9/+7
| | | | | | | | | | | | | | | | | | | | In the SAMBA 4 DCE/RPC NETLOGON server the SAM context references have generally the type "void *". But we know that those context objects are based on the "struct ldb_context" type. We've always to cast for using a SAM/LDB call. This I didn't find very appealing and so I assigned the right (detailed) type to each "sam_ctx". Therefore, the casts could disappear. Also this change is only cosmetic.
| * frstrans.idl: add new DFS-R FrsTransport interface with dummy functionsStefan Metzmacher2009-07-222-1/+91
| | | | | | | | metze
| * frsrpc.idl: add definition for frsrpc_FrsStartPromotionParent()Stefan Metzmacher2009-07-221-1/+22
| | | | | | | | metze
| * s3: Change unix_convert to use an smb_filename struct internallyTim Prouty2009-07-222-138/+168
| | | | | | | | | | | | | | | | | | | | | | | | This allows SMB_VFS_[L]STAT to be called directly. Additionally, I changed NTSTATUS result to be named status for consistency. I also removed the stat_cache_add() from build_stream_path() because stat_cache_lookup() is never actually called on a file with a stream. There is no reason why the stat cache couldn't be consulted for streams in the future. Jeremy/Volker, please take a look at this one when you get a chance.
| * s3: Convert some callers of vfs_lstat_smb_fname to SMB_VFS_LSTAT()Tim Prouty2009-07-222-9/+30
| |
| * s3: Convert some callers of vfs_stat_smb_fname to SMB_VFS_STAT()Tim Prouty2009-07-224-26/+37
| |
| * librpc: fix the merged build of ndr_frsrpc.cStefan Metzmacher2009-07-221-1/+1
| | | | | | | | metze
| * Revert "net: Use samba default command line arguments."Kai Blin2009-07-2212-172/+209
| | | | | | | | | | | | | | | | | | | | This reverts commit fb262f79fab00374023e59476e8d05a1015a7041 and related commits c36031778e1983ddb11d3e1fcab35e738dbf94bc 72fd5fa6bb78a054fad5e5ebe19a0c0387a7d45b and 38cd0e086f50ce54d88a19aa5a6803469af90489 This change caused more trouble than it solved. We need to do this differently. Reverting so we don't accidently release this.
| * s4:provision Fix provision on FreeBSDAndrew Bartlett2009-07-221-0/+1
| | | | | | | | | | | | | | | | | | | | We were missing the 'cn' attribute, which we then prepare a sorted list based on. On Linux, strcmp(NULL, NULL) does not segfault, where it does on FreeBSD. Reported by Timur I. Bakeyev <timur@com.bat.ru> Andrew Bartlett
| * s3: plumb smb_filename through some of the trans2 posix_* functionsTim Prouty2009-07-211-60/+38
| |
| * s3: Remove unnecessary callers of get_full_smb_filenameTim Prouty2009-07-215-159/+81
| | | | | | | | | | | | | | This often times means explicitly denying certain operations on a stream as they are not supported or don't make sense at a particular level. At some point in the future these can be enabled, but for now it's better to remove ambiguity
| * s3: Remove the now unused fname parameter from filename_convert()Tim Prouty2009-07-217-56/+26
| |
| * s3: Fix RENAME_FLAG_RENAME path to stop calling unix_convert twiceTim Prouty2009-07-211-50/+75
| |
| * s3: Remove unnecessary fname argument from callers of filename_convertTim Prouty2009-07-211-9/+14
| |
| * s3: Plumb smb_filename through map_open_params_to_ntcreateTim Prouty2009-07-214-20/+22
| |
| * frsrpc.idl: make the chunk array in frsrpc_CommPktChunkCtr dynamicStefan Metzmacher2009-07-214-5/+135
| | | | | | | | | | | | | | | | We add an extra num_chunks to the frsrpc_CommPktChunkCtr structure and use hand modified ndr_push/pull functions to let it not appear on the wire. metze
| * frsrpc.idl: almost complete the idl for the frsrpc_FrsSendCommPkt() functionStefan Metzmacher2009-07-211-87/+312
| | | | | | | | | | | | TODO: The amount of chunks is dynamic, we need to fix that metze
| * frsapi.idl: fill the frsapi_WriterCommand() functionStefan Metzmacher2009-07-211-1/+8
| | | | | | | | metze
| * frsapi.idl: fix some unknown field namesStefan Metzmacher2009-07-212-16/+16
| | | | | | | | metze
| * do not log chdir with level 0 if reason is access deniedChristian Ambach2009-07-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | this changes the level of logs caused by users trying to access shares or subdirectories for which they do not have access to in the ACL this can fill up the samba log even with log level 0 and is more an expected kind of logs that IMHO should not be logged with such a high level. All other errors while chdir() will still be logged with level 0 Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
| * s3:dbwrap: use the transaction wrapper in dbwrap_trans_store().Michael Adam2009-07-211-26/+23
| | | | | | | | | | | | | | Now dbwrap_util.c contains only one call to each of transaction_start, transaction_commit and transaction_cancel. Michael
| * s3:dbwrap: use the transaction wrapper in dbwrap_trans_delete().Michael Adam2009-07-211-28/+12
| | | | | | | | Michael
| * tdb: fix locking errorRusty Russell2009-07-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 54a51839ea65aa788b18fce8de0ae4f9ba63e4e7 "Make tdb transaction lock recursive (samba version)" was broken: I "cleaned it up" and prevented it from ever unlocking. To see the problem: $ bin/tdbtorture -s 1248142523 tdb_brlock failed (fd=3) at offset 8 rw_type=1 lck_type=14 len=1 tdb_transaction_lock: failed to get transaction lock tdb_transaction_start failed: Resource deadlock avoided My testcase relied on the *count* being correct, which it was. Fixing that now. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Michael Adam <obnox@samba.org>
| * s3: Add some asserts to the filename util functionsTim Prouty2009-07-201-0/+12
| | | | | | | | | | | | In the smb_filename struct stream_name must equal NULL if there is no stream name. These asserts should catch any future offenders of this invariant early.
| * s3: Plumb smb_filename through open_fake_fileTim Prouty2009-07-203-20/+26
| |
| * s3: Separate out a new file: filename_utils.cTim Prouty2009-07-206-254/+280
| | | | | | | | This is to ease the linking pain of everything that links LOCKING_OBJ
| * s3: Move is_ntfs_stream*() to filename.cTim Prouty2009-07-203-26/+26
| |
| * s3: Finish plumbing the fsp->fsp_name smb_fname conversion through the modules.Tim Prouty2009-07-2023-263/+312
| |
| * s3: Change fsp->fsp_name to be an smb_filename struct!Tim Prouty2009-07-2032-590/+585
| |
| * s3 onefs oplocks: Replace static fstring with talloc'd dbg_ctx()Tim Prouty2009-07-201-16/+16
| |
| * s3: Change file_structs to be allocated with talloc instead of mallocTim Prouty2009-07-201-10/+15
| |