1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

9392 Commits

Author SHA1 Message Date
Andrew Bartlett
ca62ddd8d9 r16051: Move the XATTR compatability code into a new file, so I can use it for
the getntacl utility.

Andrew Bartlett
(This used to be commit b1e0d4747b)
2007-10-10 14:08:53 -05:00
Volker Lendecke
2a9982aa52 r16045: RPC-SAMBA3SESSIONKEY tests the different variants of joins (anon/auth smb,
anon/auth bind).

Jeremy, this is the little test I promised to you that shows the places where
we need the SystemLibraryDTC key.

Volker
(This used to be commit 9164c24d87)
2007-10-10 14:08:53 -05:00
Volker Lendecke
232db0b46d r16044: Create a samba3 specific file in torture/rpc. The tests in there survive
against W2k3, but they are designed to walk existing Samba3 code paths. It
might be possible that I add something like that to other subdirs like raw/.

RPC-BINDSAMBA3 excercises the bind variants that samba3 supports right now.

RPC-NETLOGSAMBA3 does a samba3 style join, does some schannel-protected
netlogon operations and leaves again. Samba3 right now does not survive this,
I'm about to fix it soon. I'll also post a *VERY* dirty hack (fake users in
sys_getpwnam()) to be able to run this in the build farm.

Volker
(This used to be commit 60b45bf8b6)
2007-10-10 14:08:53 -05:00
Simo Sorce
68a06bf37e r16043: Fix error message
(This used to be commit 2898df2cee)
2007-10-10 14:08:52 -05:00
Simo Sorce
56c46ee241 r16042: Fix crashbug caused by incorret error reporting.
(This used to be commit d346531d0a)
2007-10-10 14:08:52 -05:00
Jelmer Vernooij
024502c81b r16040: Support more recent versions of autoconf
(This used to be commit 3f2a136b9f)
2007-10-10 14:08:52 -05:00
Jelmer Vernooij
5ca6189505 r16039: Add missing #!, don't rely on bash
(This used to be commit f6e587e706)
2007-10-10 14:08:52 -05:00
Simo Sorce
ca5accf224 r16036: Add a couple of new functions to corretly deal with timeouts.
Check timeouts are correctly verified.
Some minor fixed and removal of unused code.
(This used to be commit b52e5d6a0c)
2007-10-10 14:08:52 -05:00
Andrew Bartlett
b31c685ec2 r16028: Re-add the objectclass module, in the new async scheme.
Add a test to show that we need this, and to prove it works (for add
at least).

Andrew Bartlett
(This used to be commit f72079029a)
2007-10-10 14:08:51 -05:00
Stefan Metzmacher
dc4ccc6f65 r16024: OpenBSD doesn't have ENOTSUP so use ENOSYS
metze
(This used to be commit 505d55de69)
2007-10-10 14:08:51 -05:00
Stefan Metzmacher
594ae8f9e1 r16023: we don't need a global variable here...
noticed by the Mac OS 10 linker

metze
(This used to be commit 5928112cbc)
2007-10-10 14:08:51 -05:00
Simo Sorce
e47c00414f r16022: ooops, a bit too aggressive commit :-)
(This used to be commit 959c8c35ef)
2007-10-10 14:08:51 -05:00
Simo Sorce
68e72e389b r16021: While studying how to make samldb really async I found a critical situation handled in the incorrect way.
A while(1) loop may end up looping forever consuming all valid RIDs because of a secondary bug.
And anyway nextRid is supposed to always give back a new unique RID, if someone messed up the database let him
fix the problem first, trying to be smart here would probably end up in worst results.

Simo.
(This used to be commit 6b214f232e)
2007-10-10 14:08:51 -05:00
Stefan Metzmacher
18cc835e8a r16013: hopefully fix the configure check for darwin
metze
(This used to be commit 88b7d42064)
2007-10-10 14:08:50 -05:00
Stefan Metzmacher
2176bcc3ab r16012: do the type checks before anythingelse
metze
(This used to be commit 092e52c518)
2007-10-10 14:08:50 -05:00
Stefan Metzmacher
4ed9f119e0 r16011: we don't need sys/bitypes.h any more
metze
(This used to be commit d49464be56)
2007-10-10 14:08:50 -05:00
Stefan Metzmacher
a5d1826677 r16010: deal with the case that int64,uint64 are already typedef'ed
metze
(This used to be commit 07b014f770)
2007-10-10 14:08:50 -05:00
Stefan Metzmacher
b20d76085b r16009: fix the build
metze
(This used to be commit d53562f126)
2007-10-10 14:08:50 -05:00
Stefan Metzmacher
22367ca76e r16008: make debugging easier, and use the os name in the function name
(I'll add a bsd wrapping later)

metze
(This used to be commit 2ce4a2da29)
2007-10-10 14:08:49 -05:00
Andrew Bartlett
e3482ffeed r16007: If no error string was setup by the backend, ensure that we always get
at least a generic error, even when inside a transaction.

This helps debugging ldb/js interactions a lot...

Andrew Bartlett
(This used to be commit b607acf6f0)
2007-10-10 14:08:49 -05:00
Stefan Metzmacher
9a9a99b90a r16006: only (f)getxattr returns ssize_t
metze
(This used to be commit d4af8da7c9)
2007-10-10 14:08:49 -05:00
Stefan Metzmacher
8f553ab4a1 r16005: add support for XATTR's on MacOS
Thanks to Bjoern Jacke for his help.

metze
(This used to be commit 8f8480e453)
2007-10-10 14:08:49 -05:00
Stefan Metzmacher
f6a3c29ede r16004: - move #ifdef outof the real functions
- hopefully all build-farm hosts have ENOTSUP...

metze
(This used to be commit 62c64f1ddc)
2007-10-10 14:08:48 -05:00
Stefan Metzmacher
c62d1d21ab r16003: Tru64 doesn't have strtoll/strtoull but the size of 'long' is equal to
the size of 'long long' so we can use strtol/strtoul

Patch from Bjoern Jacke, thanks!
(I only added the SIZEOF_LONG == SIZEOF_LONG_LONG)

metze
(This used to be commit 2bda7b63be)
2007-10-10 14:08:48 -05:00
Stefan Metzmacher
4b74445676 r16002: fix the build on solaris
Patch from Bjoern Jacke, thanks!

metze
(This used to be commit 1250355909)
2007-10-10 14:08:48 -05:00
Stefan Metzmacher
b17ee8feb7 r16001: we don't use u_intX_t any more
metze
(This used to be commit e0e4f86b30)
2007-10-10 14:08:48 -05:00
Stefan Metzmacher
72ce1f31e9 r16000: - use uint16_t instead of u_int16_t
- use int32_t for seq_number

both changes let us use the types which the main heimdal code uses

metze
(This used to be commit ecff7b70aa)
2007-10-10 14:08:48 -05:00
Andrew Bartlett
08a48b1803 r15999: password_hash module changes:
- Quiet some IBM Checker warnings (enum mismatch)
 - Only search for the attributes we need
 - fix comments
 - fix copyrights

Andrew Bartlett
(This used to be commit ee6fe3a80f)
2007-10-10 14:08:47 -05:00
Rafal Szczesniak
04bc987b29 r15996: Implement a missing monitor message.
rafal
(This used to be commit 37ec35672e)
2007-10-10 14:08:47 -05:00
Stefan Metzmacher
ee1c2b79ed r15993: don't use u_int32_t, as the main heimdal code also don't use
it anymore

metze
(This used to be commit e1842c9b55)
2007-10-10 14:08:47 -05:00
Stefan Metzmacher
f6b3f9dd29 r15992: fix the subsystem name,
hopefully fix the build on Mac OS 10.4.5

metze
(This used to be commit 103f64c7cf)
2007-10-10 14:08:47 -05:00
Stefan Metzmacher
84e1121a1a r15991: try to fix the build on au2 IRIX 6.4
metze
(This used to be commit 658f9a1589)
2007-10-10 14:08:47 -05:00
Stefan Metzmacher
ba4f9bc008 r15988: try to fix the build on au2 IRIX 6.4
metze
(This used to be commit 9e93e6f5fb)
2007-10-10 14:08:46 -05:00
Jelmer Vernooij
49b29f67d4 r15986: Declare struct tm
(This used to be commit 139d9369dc)
2007-10-10 14:08:46 -05:00
Stefan Metzmacher
c27a242130 r15981: we need to initialize 'ret' before 'goto failed'
metze
(This used to be commit 941f93f93f)
2007-10-10 14:08:46 -05:00
Stefan Metzmacher
bd22992274 r15979: some farmating...
metze
(This used to be commit 53ec76d8d2)
2007-10-10 14:08:46 -05:00
Stefan Metzmacher
3dcbe5702d r15978: - pass the error code back to the caller...
- we were giving OPERATIONS_ERROR in all cases:-(
- we now pass ALREADY_EXIST fine to the caller,
  and the code in libnet_site.c is happy again.
- this bug wasn't noticed for a long time because
  the ldb_ildap code always passed SUCCESS to it's caller

metze
(This used to be commit 7b9d711920)
2007-10-10 14:08:45 -05:00
Stefan Metzmacher
b0bcd8a201 r15970: add a more verbose comment to tridge's fix for bigendian hosts.
tridge: I'm fine with this fix

metze
(This used to be commit f38b042ded)
2007-10-10 14:08:45 -05:00
Stefan Metzmacher
5cc28a0365 r15964: fix error handling in ldb_ildap backend
metze
(This used to be commit 54e5aeff87)
2007-10-10 14:08:45 -05:00
Stefan Metzmacher
a6c4541fdf r15963: fix warnings
metze
(This used to be commit 11b49a4405)
2007-10-10 14:08:45 -05:00
Stefan Metzmacher
b7ab5074fa r15962: fix a crash when connect fails
metze
(This used to be commit 0540a5f220)
2007-10-10 14:08:45 -05:00
Stefan Metzmacher
d494c66ca7 r15957: - add a test that fetches the schema from an windows LDAP server,
and stores it into structures.
- this prints out some useful information on the screen about
  attributes (will be extended for objectClasses too)
- the plan is to create hide the relation of structures behind an interface
  we can later use this interface in a lot of places:
  - our schema module for ldb
  - the ndr_print code for DsGetNCChanges, to translate the uint32 attribute
    and objectClass id's into names, display attribute values depending on the
    attribute syntax
  - ...

metze
(This used to be commit 1908f0cd62)
2007-10-10 14:08:45 -05:00
Stefan Metzmacher
9796f75568 r15956: fix warnings
metze
(This used to be commit e874a09966)
2007-10-10 14:08:44 -05:00
Stefan Metzmacher
8d0d05ddfd r15955: fix whitespaces
metze
(This used to be commit a3d1ce6d3b)
2007-10-10 14:08:44 -05:00
Andrew Tridgell
0a1a19d9d9 r15953: our timegm() replacement still doesn't work, so grab the one from
Heimdal which does work. This should fix most of the rest of the
failures on solaris
(This used to be commit acfaa98b5e)
2007-10-10 14:08:44 -05:00
Andrew Tridgell
86f86f99ef r15950: another printf() crash on solaris
(This used to be commit 5a065b9225)
2007-10-10 14:08:44 -05:00
Jeremy Allison
4dd65fdd48 r15947: Do the same test on setting allocation info.
Jeremy.
(This used to be commit b8f6f62acd)
2007-10-10 14:08:43 -05:00
Jeremy Allison
1204445aa0 r15946: Added check that proves that setpathinfo on an
oplocked open file generates a break.
Jeremy.
(This used to be commit 061b519b27)
2007-10-10 14:08:43 -05:00
Simo Sorce
17936b09db r15945: Check ltdb_modified results
(This used to be commit bbda863f07)
2007-10-10 14:08:43 -05:00
Simo Sorce
2d19dca9c8 r15944: rename LDB_ASYNC_ADD -> LDB_ADD, LDB_ASYNC_MODIFY -> LDB_MODIFY, etc...
(This used to be commit 55d97ef88f)
2007-10-10 14:08:43 -05:00