1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

10144 Commits

Author SHA1 Message Date
Andrew Bartlett
459a2301a5 r18361: Invert the way we handle LookupSids2/LookupSids3 and LookupNames3/LookupNames4
The latter calls don't supply a policy handle

The latter calls now acquire a policy handle, then call the earlier
calls.  This means we still share the codepaths, but don't need to
fetch policy state when it is already provided.

Andrew Bartlett
(This used to be commit 5fa9e96bd0)
2007-10-10 14:18:18 -05:00
Andrew Tridgell
f793748f43 r18360: better handling of child process killing in standard mode
(This used to be commit 6a2144caab)
2007-10-10 14:18:18 -05:00
Andrew Tridgell
cb487062c8 r18359: better handling of child process killing in standard mode
(This used to be commit 3752cc2b57)
2007-10-10 14:18:18 -05:00
Andrew Tridgell
2d60d3b492 r18358: handle errors in the RPC-LSA async test
(This used to be commit d46c3be9f9)
2007-10-10 14:18:18 -05:00
Andrew Bartlett
2059aa0949 r18357: Convert more crypto tests from using function results as initialisers.
(Fails on older Unix C compilers)

Andrew Bartlett
(This used to be commit a4cc13a93f)
2007-10-10 14:18:17 -05:00
Andrew Tridgell
bfe8de6949 r18356: doing 1000 of these requests can take over an hour under
valgrind. Reduce to 50, which is plenty for testing the code
(This used to be commit 911c8e1c73)
2007-10-10 14:18:17 -05:00
Andrew Tridgell
8942893c39 r18355: increase the delays waiting for all events to propogate in the
RAW-NOTIFY test.
(This used to be commit 81fd19ba3f)
2007-10-10 14:18:17 -05:00
Andrew Bartlett
cbed4ba5af r18354: It seems safe to enable the DIGEST-MD5 module now.
Andrew Bartlett
(This used to be commit 8357f8be45)
2007-10-10 14:18:17 -05:00
Andrew Tridgell
691ba583af r18353: try to fix the assumption of NULL being handled in printf()
permanently by replacing printf() on systems that don't have a C99
printf lib
(This used to be commit eacb5357c3)
2007-10-10 14:18:16 -05:00
Andrew Tridgell
f466901945 r18352: printf("%s") is not safe for NULL strings on all platforms, but
d_printf() is. This fixes a crash on solaris
(This used to be commit 52d1566711)
2007-10-10 14:18:16 -05:00
Andrew Tridgell
db96ce03e9 r18351: functions as initialisers in structures doesn't work on some compilers
(This used to be commit db694a7c82)
2007-10-10 14:18:16 -05:00
Andrew Tridgell
620a1488b3 r18350: we have to check for lstat() to keep roken happen on hpux
(This used to be commit e251c211f7)
2007-10-10 14:18:15 -05:00
Andrew Tridgell
c4f16ffcf9 r18349: don't do validation when using valgrind. It's way too slow (can be
hours for a single test)
(This used to be commit febaf6af4c)
2007-10-10 14:18:14 -05:00
Andrew Tridgell
2c6a880321 r18348: fixed a valgrind error in RPC-SRVSVC
(This used to be commit cc89ef3e1f)
2007-10-10 14:18:14 -05:00
Andrew Tridgell
81e4403e79 r18347: run slapd in the foreground so timelimit can kill it
(This used to be commit 8cc456e6dc)
2007-10-10 14:18:14 -05:00
Andrew Tridgell
d939ff7bee r18346: make sure we kill off the slapd process
(This used to be commit 0e1d4be23a)
2007-10-10 14:18:13 -05:00
Simo Sorce
dc221581f0 r18345: test also flags
(This used to be commit 06469a6ba0)
2007-10-10 14:18:13 -05:00
Simo Sorce
8f107700a5 r18344: add a test to show hoe NetNameValidate behaves.
fix the misleading idl names
(This used to be commit 8367b3bcee)
2007-10-10 14:18:13 -05:00
Andrew Tridgell
a8421e8107 r18343: fixed setlinebuf() prototype, added test for it, and use it in two
places to avoid a #ifdef
(This used to be commit 095b805774)
2007-10-10 14:18:13 -05:00
Andrew Tridgell
3dc237eb28 r18342: a bit more explanation of these strange values
(This used to be commit e191f84f24)
2007-10-10 14:18:13 -05:00
Andrew Tridgell
06bc06cf08 r18341: ooh this gets subtle - this needed for xfs on linux
(This used to be commit 9d688eb9cb)
2007-10-10 14:18:12 -05:00
Andrew Tridgell
a9aa66ab32 r18340: some HPUX boxes don't have ptrdiff_t
(This used to be commit f3b24ea48a)
2007-10-10 14:18:12 -05:00
Andrew Tridgell
5c104c1d2f r18339: need these checks for roken.h on hpux
(This used to be commit e98e0a28a0)
2007-10-10 14:18:12 -05:00
Stefan Metzmacher
d159cffe2f r18338: this isn't needed anymore
metze
(This used to be commit 91800fd80c)
2007-10-10 14:18:12 -05:00
Andrew Tridgell
d82ed849cc r18337: more -Ae tests in check_cc.m4
honor the MMAP_BLACKLIST
(This used to be commit c2f2dbb5d1)
2007-10-10 14:18:11 -05:00
Andrew Tridgell
2e24543b21 r18336: autoconf tries to force on C89 mode on HP-UX, using the -Ae
flag. Unfortunately that flag conflicts with the -AC99 flag, and we
get lots of breakage.

This is a trick to force off the -Ae option
(This used to be commit eb93fb8e54)
2007-10-10 14:18:11 -05:00
Andrew Tridgell
3f8383cd61 r18335: more portable bool tests
(This used to be commit 45a3a6a566)
2007-10-10 14:18:11 -05:00
Andrew Tridgell
ee66b69a8b r18334: AIX 5.1 doesn't have any of 'users', 'guest', 'other' or 'unknown'
it does have 'usr'
(This used to be commit 96db975024)
2007-10-10 14:18:11 -05:00
Stefan Metzmacher
2cebef3a9e r18333: $< is broken in older BSD version:
when $@ is foo/bar.o, $< could be torture/foo/bar.c
if it also exists. So better use $* which is foo/bar
to get foo/bar.c

metze
(This used to be commit 7aad9f81d9)
2007-10-10 14:18:11 -05:00
Andrew Tridgell
fc8960ee9a r18332: added back in our shared mmap test code
(This used to be commit 6ff100b266)
2007-10-10 14:18:10 -05:00
Andrew Tridgell
0ee52751f3 r18331: fixed a warning
(This used to be commit 997ed10bf5)
2007-10-10 14:18:10 -05:00
Andrew Tridgell
f6d98fe853 r18330: don't mix pointer types in RPC replies
(This used to be commit cc86719f53)
2007-10-10 14:18:10 -05:00
Stefan Metzmacher
bcabebf502 r18329: print out special make variables when failing, to track down the
build failures on older BSD systems with broken make

metze
(This used to be commit 7edb40569a)
2007-10-10 14:18:10 -05:00
Andrew Tridgell
2696cc3120 r18328: when we bail out early, set *offset to 0
(This used to be commit 8123046460)
2007-10-10 14:18:10 -05:00
Andrew Tridgell
f658414c5f r18327: 'struct token' is defined on some hosts
(This used to be commit b2bba4e726)
2007-10-10 14:18:09 -05:00
Stefan Metzmacher
354bf04db9 r18326: these are not used anymore, I found the bug on *BSD
it's the broken BSD make again where we endup with this:

... -c torture/libnet/libnet_rpc.c -o libnet/libnet_rpc.o

metze
(This used to be commit 97d73452c5)
2007-10-10 14:18:09 -05:00
Andrew Tridgell
aab0622a75 r18325: more warnings and one compile error on aix fixed
(This used to be commit 6e7e151432)
2007-10-10 14:18:09 -05:00
Andrew Tridgell
cac69cdd74 r18324: fixed a uninitialised variable
(This used to be commit 08562d6ebe)
2007-10-10 14:18:09 -05:00
Andrew Tridgell
fbb301a72d r18323: this function returns a pointer, not a bool
(This used to be commit 86ef345cbf)
2007-10-10 14:18:09 -05:00
Andrew Tridgell
d2e72c46c1 r18322: fixed a compilation problem on AIX caused by lex not putting config.h
first. That leads to a conflicting define for lseek() due to
_LARGE_FILES being defined after standards headers are included
(This used to be commit 9034238e27)
2007-10-10 14:18:08 -05:00
Andrew Tridgell
9adf2883ef r18321: fixed some warnings on AIX
(This used to be commit 449fab2c26)
2007-10-10 14:18:08 -05:00
Andrew Tridgell
3cc41b70da r18320: the raw write size limit test hurts too many hosts. Limit it to 2^33
bytes if --dangerous is not set.
(This used to be commit 90e5136ea4)
2007-10-10 14:18:08 -05:00
Andrew Tridgell
89efea81d9 r18319: fixed the directory search resume code on IRIX
The problem was twofold:

  1) irix returns 64 bit numbers in telldir(). The protocol uses a 32
     bit resume key. We now cope with this properly using the code in
     pvfs_list_seek_ofs().

  2) irix returns 0xFFFFFFFF from telldir() for the last entry in the
     directory. When added to DIR_OFFSET_BASE this became
     DIR_OFFSET_DOTDOT which meant an infinite loop!
(This used to be commit 8cce9740ed)
2007-10-10 14:18:08 -05:00
Simo Sorce
c74d5b9204 r18318: Implement DiskEnum
Fix spelling and consistencies issues in idl
(This used to be commit 1347c971ac)
2007-10-10 14:18:08 -05:00
Simo Sorce
fb15300c60 r18317: Make sure we actually have a valid reply or fail
(This used to be commit 41cb3a9258)
2007-10-10 14:18:07 -05:00
Simo Sorce
b2355bf077 r18316: Build the parent too
(This used to be commit 1fcf725bc0)
2007-10-10 14:18:07 -05:00
Simo Sorce
92689d1805 r18315: Implement netSrvGetInfo level 102
fix names to be consistent between level 101 and 102 and typo in idl
(This used to be commit 1962fb92d7)
2007-10-10 14:18:07 -05:00
Simo Sorce
b0f6a94d9a r18314: Handle the case where a dir has the sticky bit set and the OS gives back
EPERM when trying to access user xattrs. Just pretend no attributes are set.

Simo.
(This used to be commit 53463ca796)
2007-10-10 14:18:06 -05:00
Andrew Tridgell
e91cee468e r18309: FreeBSD 6.1 has a symbol ldap_new_connection() in the system ldap
library. Even though we don't like to that library, it gets loaded via
nss-ldap, which means nss-ldap calls into the samba ldap lib with the
wrong parameters, and crashes.

We really need to use a completely different namespace in libcli/ldap/
(This used to be commit c440e0eed9)
2007-10-10 14:18:06 -05:00
Andrew Tridgell
66c16b5143 r18308: get this right ....
(This used to be commit 3697cd6597)
2007-10-10 14:18:06 -05:00