summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2009-09-30allow for outstanding_aio_calls to be decrementedOlaf Flebbe1-2/+4
2009-09-30s3-printing: use regval_ctr_addvalue_multi_sz.Günther Deschner1-17/+4
Guenther
2009-09-30s3-registry: add regval_ctr_addvalue_multi_sz.Günther Deschner2-0/+18
Guenther
2009-09-30s3-rpc_parse: remove unused prs_string.Günther Deschner2-45/+0
Guenther
2009-09-30w32err: WERR_GROUP_NOT_FOUND renamed to WERR_GROUPNOTFOUNDKamen Mazdrashki1-4/+4
In Win 32 we have NERR_GroupNotFound which maps to WERR_GROUP_NOT_FOUND currently and we have ERROR_GROUP_NOT_FOUND which maps to nothing, so it is to be added Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2009-09-30w32err: WERR_DC_NOT_FOUND replaced with WERR_DCNOTFOUNDKamen Mazdrashki1-2/+2
It turns out in win32 ERROR_DC_NOT_FOUND exists and it is an error for Device Context (DC), not Domain Controller Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2009-09-30s3-netlogon: properly implement _netr_NetrEnumerateTrustedDomains().Günther Deschner1-6/+33
Guenther
2009-09-30s3: remove unused unistr2_term_codes.Günther Deschner1-3/+0
Guenther
2009-09-30s3: remove unused regval_convert_multi_sz().Günther Deschner2-54/+0
Guenther
2009-09-30s3: remove unused regval_build_multi_sz().Günther Deschner2-55/+0
Guenther
2009-09-30s3-rpc_parse: remove unused UNISTR2 struct and init function.Günther Deschner3-67/+0
Guenther
2009-09-30s3: use pull_reg_multi_sz in rpcclient and net.Günther Deschner2-14/+13
Guenther
2009-09-30s3-util: use pull_reg_multi_sz in reg_pull_multi_sz.Günther Deschner1-26/+10
Guenther
2009-09-30s3-registry: use pull_reg_multi_sz().Günther Deschner1-13/+14
Guenther
2009-09-30s3-util: add pull_reg_sz() and pull_reg_multi_sz() convenience functions.Günther Deschner2-0/+37
Guenther
2009-09-30s3: use push_reg_multi_sz().Günther Deschner2-16/+16
Guenther
2009-09-30s3-registry: use regval_ctr_addvalue_sz().Günther Deschner8-142/+50
Greatly simplifies and cleanes up the code. Guenther
2009-09-30s3-registry: add regval_ctr_addvalue_sz.Günther Deschner2-0/+18
Guenther
2009-09-30s3-registry: use push_reg_sz().Günther Deschner9-133/+123
Guenther
2009-09-30s3-util: add push_reg_sz() and push_reg_multi_sz() convenience functions.Günther Deschner2-0/+32
Guenther
2009-09-29s3: Remove the lua interpreter againVolker Lendecke107-28677/+4
This was meant to support async winbind. But as the hairy parts of async winbind (getgrent) are done without it, it can go again.
2009-09-28Don't defer a talloc_move'd pointer.Jeremy Allison1-1/+1
Jeremy.
2009-09-28Second part of fix for bug #6235 - domain enumeration breaks if master ↵Jeremy Allison1-1/+1
browser has space in name. Ensure we ask for the #20 name as we're using it as a server. Jeremy.
2009-09-28s3:winbind: remove a pointless initializationVolker Lendecke1-1/+1
2009-09-28s3:gencache: Add my copyrightVolker Lendecke1-0/+1
2009-09-28s3:winbind: Make check_info3_in_group, sanitize its memory handlingVolker Lendecke2-15/+23
2009-09-28s3:winbind: Make "check_request_flags" publically availableVolker Lendecke2-2/+4
2009-09-28s3:winbind: Sanitize the args for find_auth_domain: It only needs the flagsVolker Lendecke3-9/+10
2009-09-28s3:winbind: Make append_data publically available as append_auth_dataVolker Lendecke2-6/+12
2009-09-28s3/VERSION: Raise version up to 3.5.0.Karolin Seeger1-1/+1
Karolin
2009-09-28changed debuglevel for two messages in the GPFS module from 0 to 10 they ↵Christian Ambach1-2/+2
spammed the logs on a test machine and they are just debug messages, so let's move them to the level of the other debug messages in the file Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2009-09-25s3:smbd/password - move list pointers into blocksMatthias Dieter Wallnöfer1-6/+6
2009-09-25s3-libndr: fix build warning.Günther Deschner1-0/+3
Guenther
2009-09-25s3:winbindd_cm: don't invalidate the whole connection when just samr gave ↵Stefan Metzmacher1-1/+12
ACCCESS_DENIED metze
2009-09-25s3:rpc_client: don't randomly fragment rpc pdu's in developer modeStefan Metzmacher1-2/+2
This is really confusing and also breaks against windows, as it doesn't accept fragmented bind requests. metze
2009-09-24Reduce debug log level from 0 -> 7 on non-critical message.Jeremy Allison1-1/+1
Jeremy.
2009-09-24Revert b39c390280d1f268e2550c731057aec550a3f086 - casts should notJeremy Allison5-26/+26
be here. Jeremy.
2009-09-24Revert 918b5a7e057bd91289ec06b3ef8d95da43a50ede. This codeJeremy Allison1-6/+6
should *not* return const. Jeremy.
2009-09-24s3: Fix up various string "const" warningsMatthias Dieter Wallnöfer4-25/+25
My changed introduced some warnings. Fix them.
2009-09-24s3:util_str "str_list_make_v3" - introduce also here the "const" resultMatthias Dieter Wallnöfer2-10/+10
I did this to match with the default util strlist library.
2009-09-24s3:vfs_default - correct function parametersMatthias Dieter Wallnöfer1-1/+2
2009-09-24s3-winbindd: no reason to call winbindd_can_contact_domain() three times in ↵Günther Deschner1-12/+0
query_user(). Guenther
2009-09-24s3: remove unused printing macros.Günther Deschner1-11/+0
Guenther
2009-09-24s3 onefs: Fix 1 second share mode delay handlingSteven Danneman1-3/+33
When racing to the open and loosing we may get a share_mode violation. In this case handle the 1-second delay via a defferred open properly. This requires us to retrieve the share_mode_lock before deferring open so we don't dereference a NULL pointer assuming we already had the lck because we were the first opener.
2009-09-24s3 onefs: Fix a race condition exists in onefs_open.c between multiple opens ↵Steven Danneman1-5/+19
to the same file. Two openers can stat a file at the same time, see that it doesn't exist, and then both race to open it first. The loser will enter onefs_open_file_ntcreate believing that the file doesnt exist, and thus skip any current state lookups for that file. This includes setting the file_id, and having a valid stat buffer. Normally on first create the file_id will be set during the open, but the second opener in this scenario may fail the open (oplock/share mode) and file_id will not be set, nor will the stat buffer be valid. In the error paths of this patch, we now double check that the file_id and the stat buffer are valid before doing other operations.
2009-09-24s3 onefs: Add some debugging/asserts to give more info when there is bad ↵Zack Kirsch2-9/+26
deferred open state. Signed-off-by: Tim Prouty <tprouty@samba.org>
2009-09-24s3: Add more helpful debugging to some of the streams codeTim Prouty3-2/+25
2009-09-24vfs catia: Fix a NULL dereference when CATIA is loaded with no mappings ↵Aravind Srinivasan1-1/+8
specified. When we use the CATIA vfs module and don't have any mapping specified, we return NULL for the mapped_name, thereby resulting in segfaults. When we don't have catia mapping, we should just use the old name instead of returning NULL for the mapped_name. Signed-off-by: Tim Prouty <tprouty@samba.org>
2009-09-24vfs catia: Fix the double translation that was happening with createfile and ↵Aravind Srinivasan6-101/+78
open. Since the catia translation is implemented for open, it should not also be done in createfile. By removing createfile from catia, translation is now done correctly for the primary open path. In order to support systems that have custom createfile implementations that don't eventually call SMB_VFS_OPEN, SMB_VFS_TRANSLATE_NAME has been expanded to take an additional argument that specifies direction. Signed-off-by: Tim Prouty <tprouty@samba.org>
2009-09-24vfs catia: Fix a possible NULL dereferenceAravind Srinivasan1-2/+9
Also free some unfreed memory. Signed-off-by: Tim Prouty <tprouty@samba.org>