Stefan Metzmacher
183c379fe5
s4:lib/tevent: rename structs
...
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-29 20:46:40 +01:00
Stefan Metzmacher
af29b82536
s4:pvfs_aio: use tevent
...
metze
2008-12-29 19:57:07 +01:00
Stefan Metzmacher
635a973be5
s4:sys_lease_linux: use tevent
...
metze
2008-12-29 19:57:00 +01:00
Volker Lendecke
3dfb0e9467
Fix SESSSETUP_BENCH torture test for long runtimes
...
deadtime hits without any files open. To enable long runtimes, open a file with
delete_on_close set.
2008-12-29 17:15:43 +01:00
Stefan Metzmacher
e36d64728f
s4:cluster: remove old/broken ctdb code
...
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-29 14:46:09 +01:00
Stefan Metzmacher
aec16efaf2
s4: remove unused dbwrap code
...
If we readd this later, we should share the code with
samba3 and make it async/non-blocking.
metze
2008-12-29 14:46:08 +01:00
Stefan Metzmacher
a7036d2bd0
s4: Revert "r24284: change brlock_tdb.c to use the dbwrap API. This actually makes the"
...
This reverts commit 4792285282
.
Conflicts:
source4/ntvfs/common/brlock_tdb.c
source4/ntvfs/common/config.mk
2008-12-29 14:46:06 +01:00
Volker Lendecke
86cb14db2b
Add code to test write_data_iov a bit
2008-12-29 13:24:28 +01:00
Volker Lendecke
e4d28dbc04
Attempt to fix bug 5953: Make cli_send_smb_direct_writeX use writev
...
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-29 13:24:28 +01:00
Volker Lendecke
afd70855b7
Make write_data use write_data_iov
2008-12-29 13:24:28 +01:00
Volker Lendecke
82a152fcf9
Add write_data_iov
2008-12-29 13:24:27 +01:00
Volker Lendecke
6251b97e02
Add sys_writev
2008-12-29 13:24:27 +01:00
Kai Blin
102028ec72
s4 winbind: Copy SID to avoid "discard const" warning
2008-12-29 12:52:28 +01:00
Kai Blin
1180b6964f
s4 winbind: Add support for WINBINDD_GETGRGID call
2008-12-29 12:52:27 +01:00
Kai Blin
855d2a927e
s4 libnet: Add support for groupinfo by sid lookup
2008-12-29 12:52:27 +01:00
Kai Blin
ec5ef61134
s4 winbind: Fix typos in debug output
2008-12-29 12:52:27 +01:00
Kai Blin
6958fac28d
wbinfo4: Add --gid-info option
2008-12-29 12:52:27 +01:00
Kai Blin
d3a0a6f2b3
wbinfo: Add --gid-info option.
2008-12-29 12:52:27 +01:00
Kai Blin
777350ee91
s4 winbind: Add implementation for WINBINDD_GETGRNAM
2008-12-29 12:52:27 +01:00
Kai Blin
dd8d4b6fd1
s4 winbind: Avoid a "discards const" compiler warning.
2008-12-29 12:52:26 +01:00
Kai Blin
181d4fd31a
s4 libnet: Add group_name member to struct libnet_GroupInfo's out struct.
2008-12-29 12:52:26 +01:00
Stefan Metzmacher
f271469931
s4:kdc: pass down event_context explicit
...
metze
2008-12-29 09:46:38 +01:00
Stefan Metzmacher
37b6950961
s4:libnet_samdump_keytab: pass down event_context explicit
...
metze
2008-12-29 09:46:38 +01:00
Stefan Metzmacher
a255f9ce71
s3:dbwrap: fix dbwrap_store_uint32() to match dbwrap_store_int32()
...
All callers expect 0 an success and -1 on error.
metze
2008-12-29 09:05:15 +01:00
Stefan Metzmacher
b719595fd6
pyglue: fix the build with automatic dependecies
...
metze
2008-12-29 08:42:03 +01:00
Stefan Metzmacher
7bf5768a52
lib/tevent: rename event_* => tevent_* in the header file
...
We have compat macros to keep the callers happy.
metze
2008-12-29 08:42:00 +01:00
Steven Danneman
9a90e4cecb
Add -D option to sharesec util to delete the entire security descriptor.
...
* also modified --usage descriptions to be more accurate
2008-12-28 17:45:41 -08:00
Steven Danneman
fd84ef938b
Change error messages in sharesec util to go to stderr instead of stdout
2008-12-28 17:45:33 -08:00
Steven Danneman
9affa82ac2
Make sure share_info.tdb is open before attempting to delete an entry
2008-12-28 17:45:26 -08:00
Steven Danneman
8f84d42f72
Make sharesec utility part of the default binary install.
2008-12-28 17:45:21 -08:00
Steven Danneman
04959a00e4
Cleaned up whitespace issues in sharesec.c
2008-12-28 17:45:16 -08:00
Jelmer Vernooij
f308c2f9da
Fix Samba 3 merged build - include tevent.
2008-12-28 04:12:46 +01:00
Kai Blin
ef1e9ed941
Fix some tevent includes, trying to fix the build
2008-12-26 14:11:10 +01:00
Kai Blin
daaa2c8231
Try to fix the build by fixing some typos in the vfs code
2008-12-26 14:10:38 +01:00
Jeremy Allison
5184baa959
Fix bug #5990 - strict allocate should be checked before ftruncate
...
reported by and based on a patch by Yasuma Takeda
<yasuma@osstech.co.jp>.
Jeremy.
2008-12-25 12:13:12 -08:00
Michael Adam
45db33e732
s3:idmap: Remove passd check from idmap_backends_unixid_to_sid().
...
As noted by Metzy, it makes no sense here to check id->sid.
What is worse, this might even be passed in uninitialized.
This still fixes the bug for me (of course), but we might need
to check, if another special handling of passdb is needed
(possibly changing from constant return code NT_STATUS_OK...)
Michael
Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-25 12:14:03 +01:00
Michael Adam
9a9b64dbdf
s:Fix uid_to_sid mapping when the idmap cache is empty.
...
This failed for backends other than passed, since
idmap_backends_unixid_to_sid() always asked passdb first,
which returned Success no matter whether a mapping was
found or not.
One effect wast that getpwuid failed after "net cache flush".
Only after filling the cache with a getpwnam call it succeeded.
This fix makes the behaviour of idmap_backends_unixid_to_sid()
exactly the same as that of idmap_backends_sid_to_unixid()
Michael
Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-25 12:14:02 +01:00
Stefan Metzmacher
83bcc4e027
lib/tevent: libtevent will change a lot until it's version 1.0.0
...
metze
2008-12-24 13:59:00 +01:00
Jelmer Vernooij
479b4b09e1
Fix accidental condition inversion.
2008-12-24 05:39:29 +01:00
Jelmer Vernooij
1feab85be6
Rename samba-socket -> samba_socket to fix a couple more compiler
...
warnings.
2008-12-24 00:15:43 +01:00
Jelmer Vernooij
30bdb68c9e
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2008-12-23 23:26:32 +01:00
Jelmer Vernooij
e94e7f8279
s4: Fix make clean to remove gen_ndr objects.
2008-12-23 23:24:12 +01:00
Jelmer Vernooij
dcc4081f75
Fix more compiler warnings.
2008-12-23 23:22:57 +01:00
Jelmer Vernooij
8df6af213a
Use 32-bit smbpid in interface as required by SMB2, in line with
...
1bdd08227e
.
2008-12-23 23:02:54 +01:00
Jelmer Vernooij
bd64688c6a
Fix more compiler warnings in various places.
2008-12-23 22:57:11 +01:00
Jelmer Vernooij
32e03f9fa5
Install tevent_internal.h, as Samba 4 needs it.
2008-12-23 22:57:00 +01:00
Jelmer Vernooij
5c75b65ca1
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2008-12-23 22:12:23 +01:00
Jelmer Vernooij
ff26cb4b1c
Fix compiler warnings in libnet.
2008-12-23 22:11:21 +01:00
Jelmer Vernooij
ef80d1b794
Fix use of "time offset" parameter, and add test to make sure I don't break it again :-)
2008-12-23 22:10:34 +01:00
Jeremy Allison
d0eeb9aa8d
Fix more asprintf warnings and some error path errors.
...
Jeremy.
2008-12-23 12:11:12 -08:00