summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-09-26s4/make: Remove object files in ../libds as part of "make clean".Jelmer Vernooij1-1/+1
2009-09-25Fix the opaque sample module for the new VFS interface.Jeremy Allison1-216/+389
Jeremy.
2009-09-25Update the advice for the new VFS system.Jeremy Allison1-4/+3
Jeremy.
2009-09-25Remove unused static fn.Jeremy Allison1-5/+0
Jeremy.
2009-09-25Rewrite vfs_transparent example for the new VFS changes.Jeremy Allison1-131/+291
Jeremy.
2009-09-25Fix vfs module sample for new interface.Jeremy Allison1-6/+5
Jeremy.
2009-09-26samba.tests.provision: Remove broken become_dc test.Jelmer Vernooij1-25/+1
2009-09-26pidl(s4.python): Fix arguments to PyCObject_FromVoidPtr for string_array's.Jelmer Vernooij1-1/+1
Caught by Guenther.
2009-09-26pythonbindings: allow add() to have an array of controls as second parameterMatthieu Patou2-4/+67
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-09-25Fixing timeval calculationSimo Sorce1-1/+1
The code was always doubling microseconds when attempting to round up.
2009-09-25lib/util: fix build warning.Günther Deschner1-1/+1
Guenther
2009-09-25s4:LDIFs - enhance the section commentsMatthias Dieter Wallnöfer2-0/+12
2009-09-25s4:auth/gensec/schannel - fix a const warningMatthias Dieter Wallnöfer1-1/+2
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-25s4:schannel: fix some compiler warningsStefan Metzmacher1-2/+4
If we only do signing we can pass down a const data buffer. 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-24Merge branch 'master' of git://git.samba.org/sambaNadezhda Ivanova11-170/+141
2009-09-24Fixed a dereferenced null pointer.Nadezhda Ivanova1-16/+14
2009-09-24mount.cifs: print output to stderrJeff Layton1-108/+101
When a mount fails, mount.cifs often prints an error message. In most cases, this error goes to stdout instead of stderr like it should. Fix it to print errors to stderr instead. Reported-by: Jan Engelhardt <jengelh@gmx.de> Signed-off-by: Jeff Layton <jlayton@redhat.com>
2009-09-24Reduce debug log level from 0 -> 7 on non-critical message.Jeremy Allison1-1/+1
Jeremy.
2009-09-24Patches to fix typos thanks to OPC oota.John H Terpstra2-5/+5
2009-09-24Bug fix thanks to vjbangis virayJohn H Terpstra1-4/+4
2009-09-24Remove the const from the str_list_XXX functions thatJeremy Allison2-24/+24
allocate both list and containing strings. This fixes problems that people have tried to cast away and are not needed. 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-24s4 torture: Fix RAW-STREAMS to request more specific permissionsTim Prouty1-1/+2
This allows RAW-STREAMS to pass when the user isn't root on some systems that don't give full access rights to non-root users.
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>
2009-09-24s4-drs: el may not be a talloc pointerAndrew Tridgell1-1/+1
Use msg->elements for the new element values
2009-09-24s4-drs: regenerate IDL after ndr size changeAndrew Tridgell2-3/+3
2009-09-24s4-drs: add defines for replication flags on attributesAndrew Tridgell2-5/+5
2009-09-24s4-ldb: sort replPropertyMetaData by attidAndrew Tridgell1-1/+16
We need to sort on both module add and modify
2009-09-24s4-ldb: add instanceType in repl_meta_data moduleAndrew Tridgell1-0/+8
We need to add instanceType on new records if not added by caller. This is needed in repl_meta_data to ensure we fill in the meta data for replication
2009-09-24s4-drs: fixed the size of DN binary blobs on the wireAndrew Tridgell1-1/+1
Comparison with w2k8 traces shows the size field of drsuapi_DsReplicaObjectIdentifier3Binary is taken from drsuapi_DsReplicaObjectIdentifier3 Thanks to metze for spotting this
2009-09-24s4-drs: include deleted objects in getncchanges replyAndrew Tridgell1-1/+6
Even though we don't create deleted objects ourselves yet, we need to pass along deleted objects we receive from other replication partners
2009-09-24s4-drs: add SHOW_DELETED control on dsdb utility callsAndrew Tridgell1-2/+60
The dsdb_find_dn_by_guid() and dsdb_find_sid_by_dn() are using by the DRS server call getncchanges on objects that may be deleted.
2009-09-24s4-libnet: allow the functional level of becomeDC to be specifiedAndrew Tridgell1-1/+2
Use ads:functional level = 4 for DS_DC_FUNCTION_2008_R2 See libds/common/flags.h
2009-09-24s4-libnet: avoid a steal with references errorAndrew Tridgell1-1/+2