summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-12-30Fix a spinning smbd when printingVolker Lendecke1-1/+1
Without this, we end up adding more than one timed event. In the event handler print_notify_event_send_messages() only one event will be deleted, all others will fire indefinitely.
2008-12-30Print the vuid in BENCH-SESSSETUPVolker Lendecke1-0/+2
2008-12-30Second part of the bugfix for #5933Volker Lendecke1-7/+13
Incrementing the next vuid did not correctly overflow Now we survive BENCH-SESSSETUP with -o 100000. Takes a while though :-) Thanks a lot to Ofer Tal <otsmb@shmoop.org> for reporting #5933
2008-12-30First part of bugfix for #5933Volker Lendecke1-3/+0
Ofer Tal <otsmb@shmoop.org> fully correctly noted that we're incrementing num_validated_vuids twice per session setup, but decrement it only once. Looking at sesssetup.c we always call register_initial_vuid() before register_existing_vuid(), so there's no point in incrementing it in register_existing_vuid(). Jeremy, please check!
2008-12-30Move a comment to its placeVolker Lendecke1-5/+5
2008-12-30Simplify invalidate_vuid slightlyVolker Lendecke1-4/+0
get_valid_user_struct_internal() checks for UID_FIELD_INVALID itself
2008-12-30Simplify is_partial_auth_vuid slightlyVolker Lendecke1-5/+1
2008-12-30Simplify invalidate_all_vuids() slightlyVolker Lendecke1-5/+2
invalidate_vuid takes care of removing the user_struct from validated_users
2008-12-30Fix the merged buildStefan Metzmacher1-0/+1
metze
2008-12-30lib/tevent: fix standalone make distclean realdistcleanStefan Metzmacher1-2/+2
Bug report by Brad Hards <bradh@frogmouth.net>. metze
2008-12-29pidl: don't generate invalid C codeStefan Metzmacher1-1/+3
When we don't know how to handle a type for the python bindings, we should not generate invalid C code. Jelmer: please fix do the full fix for this. metze
2008-12-29s3:pdb_tdb: store the next rid counter in passdb.tdb instead of ↵Stefan Metzmacher1-75/+47
winbind_idmap.tdb This upgrades the TDBSAM_VERSION to 4 and SAMU_BUFFER_V4. metze
2008-12-29s3:passdb: add SAMU_BUFFER_V4 with no changesStefan Metzmacher2-2/+19
The upgrade is required because of the followin TDBSAM_VERSION upgrade. metze
2008-12-29s3:passdb: make marshalling struct samu from and to a buffer more genericStefan Metzmacher4-667/+679
This marshalling isn't specific to tdbsam and it's ugly to have the related functions in two different files. metze
2008-12-29s4:cluster: fix dependency to TDB_WRAPStefan Metzmacher1-0/+1
metze
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher211-684/+681
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
2008-12-29s4:pvfs_aio: use teventStefan Metzmacher2-12/+12
metze
2008-12-29s4:sys_lease_linux: use teventStefan Metzmacher2-8/+8
metze
2008-12-29Fix SESSSETUP_BENCH torture test for long runtimesVolker Lendecke1-6/+9
deadtime hits without any files open. To enable long runtimes, open a file with delete_on_close set.
2008-12-29s4:cluster: remove old/broken ctdb codeStefan Metzmacher97-28446/+1
We don't need a full copy of ctdb... If we want to readd cluster support, we should just use a ctdb client library. metze
2008-12-29s4: remove unused dbwrap codeStefan Metzmacher8-561/+0
If we readd this later, we should share the code with samba3 and make it async/non-blocking. metze
2008-12-29s4: Revert "r24284: change brlock_tdb.c to use the dbwrap API. This actually ↵Stefan Metzmacher2-72/+101
makes the" This reverts commit 4792285282e2ec78ccb0ebc3cac6465d1d26ef10. Conflicts: source4/ntvfs/common/brlock_tdb.c source4/ntvfs/common/config.mk
2008-12-29Add code to test write_data_iov a bitVolker Lendecke1-0/+11
2008-12-29Attempt to fix bug 5953: Make cli_send_smb_direct_writeX use writevVolker Lendecke1-27/+13
It seems there are SMB servers around which can't cope with the write header being sent in a packet of its own. With writev we keep the advantage of direct writes, giving the kernel the chance to coalesce the write calls.
2008-12-29Make write_data use write_data_iovVolker Lendecke1-24/+24
2008-12-29Add write_data_iovVolker Lendecke2-0/+70
2008-12-29Add sys_writevVolker Lendecke2-0/+15
2008-12-29s4 winbind: Copy SID to avoid "discard const" warningKai Blin1-1/+2
2008-12-29s4 winbind: Add support for WINBINDD_GETGRGID callKai Blin3-1/+208
2008-12-29s4 libnet: Add support for groupinfo by sid lookupKai Blin4-27/+87
2008-12-29s4 winbind: Fix typos in debug outputKai Blin1-2/+2
2008-12-29wbinfo4: Add --gid-info optionKai Blin1-0/+37
2008-12-29wbinfo: Add --gid-info option.Kai Blin1-0/+30
2008-12-29s4 winbind: Add implementation for WINBINDD_GETGRNAMKai Blin3-1/+200
2008-12-29s4 winbind: Avoid a "discards const" compiler warning.Kai Blin1-2/+2
2008-12-29s4 libnet: Add group_name member to struct libnet_GroupInfo's out struct.Kai Blin2-3/+6
2008-12-29s4:kdc: pass down event_context explicitStefan Metzmacher3-1/+4
metze
2008-12-29s4:libnet_samdump_keytab: pass down event_context explicitStefan Metzmacher1-1/+3
metze
2008-12-29s3:dbwrap: fix dbwrap_store_uint32() to match dbwrap_store_int32()Stefan Metzmacher2-3/+3
All callers expect 0 an success and -1 on error. metze
2008-12-29pyglue: fix the build with automatic dependeciesStefan Metzmacher1-1/+1
metze
2008-12-29lib/tevent: rename event_* => tevent_* in the header fileStefan Metzmacher11-117/+208
We have compat macros to keep the callers happy. metze
2008-12-28Add -D option to sharesec util to delete the entire security descriptor.Steven Danneman1-8/+23
* also modified --usage descriptions to be more accurate
2008-12-28Change error messages in sharesec util to go to stderr instead of stdoutSteven Danneman1-10/+10
2008-12-28Make sure share_info.tdb is open before attempting to delete an entrySteven Danneman1-2/+6
2008-12-28Make sharesec utility part of the default binary install.Steven Danneman1-2/+2
2008-12-28Cleaned up whitespace issues in sharesec.cSteven Danneman1-35/+39
2008-12-28Fix Samba 3 merged build - include tevent.Jelmer Vernooij1-0/+11
2008-12-26Fix some tevent includes, trying to fix the buildKai Blin3-4/+4
2008-12-26Try to fix the build by fixing some typos in the vfs codeKai Blin1-3/+3
2008-12-25Fix bug #5990 - strict allocate should be checked before ftruncateJeremy Allison1-0/+14
reported by and based on a patch by Yasuma Takeda <yasuma@osstech.co.jp>. Jeremy.