1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

9634 Commits

Author SHA1 Message Date
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 f72079029abb594677bf8c2b63e40c07e910004f)
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 505d55de69e1c5a9e763534dd392caac79e49ff1)
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 5928112cbc004f59660c8131abccc0f4933c2da3)
2007-10-10 14:08:51 -05:00
Simo Sorce
e47c00414f r16022: ooops, a bit too aggressive commit :-)
(This used to be commit 959c8c35ef170e03a5f698d0fa11616583cc6f66)
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 6b214f232eefc4ffbc98dfb68c99d1f0c97ae6db)
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 88b7d4206407aba74f3f6d56a8c88ef847731b12)
2007-10-10 14:08:50 -05:00
Stefan Metzmacher
2176bcc3ab r16012: do the type checks before anythingelse
metze
(This used to be commit 092e52c51884706317564a5a5397f137689d78cb)
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 d49464be56ff714b9b251867cabc7811c137ee76)
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 07b014f770714474660f68c6ebc510bfbb232abc)
2007-10-10 14:08:50 -05:00
Stefan Metzmacher
b20d76085b r16009: fix the build
metze
(This used to be commit d53562f126c374ff93f368cb2e8a247762b3395b)
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 2ce4a2da29dd18b92580014cc765c0f950fb74df)
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 b607acf6f0b3567a40a3e35911c690feda243f50)
2007-10-10 14:08:49 -05:00
Stefan Metzmacher
9a9a99b90a r16006: only (f)getxattr returns ssize_t
metze
(This used to be commit d4af8da7c9b4c510ceb1ef96f6ff4bbf717a16d9)
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 8f8480e453ced38cbf27d0a1a45843c5eb126016)
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 62c64f1ddc71436aab6a2f3f2ecc3e6dcb752db9)
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 2bda7b63be1257210601dac3e2b1070f48d765b4)
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 1250355909533e033f30e6a960c58cfc9ec760ba)
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 e0e4f86b30185e01975eff91c2ce7ab7ca5353c1)
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 ecff7b70aadb9ac27731a5b44aa20b49ac82321a)
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 ee6fe3a80fd5038c2b141bf8a85139f99ac96e4d)
2007-10-10 14:08:47 -05:00
Rafal Szczesniak
04bc987b29 r15996: Implement a missing monitor message.
rafal
(This used to be commit 37ec35672e23c8a3e3f1f44d2fce69a0729519fb)
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 e1842c9b55ffd0792fea2cff37b812d319c76f1f)
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 103f64c7cf9854e8f41f2aede68aec622cd554b6)
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 658f9a15890f17643da1217c332aea27915ee46e)
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 9e93e6f5fb654e4162bbc039306a4b79003e22d7)
2007-10-10 14:08:46 -05:00
Jelmer Vernooij
49b29f67d4 r15986: Declare struct tm
(This used to be commit 139d9369dc1b7daaf980a0c95b0921388ec39913)
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 941f93f93f3ce9dacaafe80520b8751f738e7032)
2007-10-10 14:08:46 -05:00
Stefan Metzmacher
bd22992274 r15979: some farmating...
metze
(This used to be commit 53ec76d8d2edaa37bbccb6de838248931a3a76d2)
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 7b9d7119205c442f338deab07122ce1548bad9b6)
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 f38b042ded6ec9b243c15d7710261708f208d289)
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 54e5aeff87b859960dfc5e4b6e3ab026ce5470ff)
2007-10-10 14:08:45 -05:00
Stefan Metzmacher
a6c4541fdf r15963: fix warnings
metze
(This used to be commit 11b49a440567eb3fa3391c15f5486c63141f1b97)
2007-10-10 14:08:45 -05:00
Stefan Metzmacher
b7ab5074fa r15962: fix a crash when connect fails
metze
(This used to be commit 0540a5f220bac6f9b9782c22e23a0b19f9aa86cb)
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 1908f0cd6230c22aabb0e1eab2f9d37d17f12f18)
2007-10-10 14:08:45 -05:00
Stefan Metzmacher
9796f75568 r15956: fix warnings
metze
(This used to be commit e874a099667c7213cc8dda0a94bf749d7706fbb5)
2007-10-10 14:08:44 -05:00
Stefan Metzmacher
8d0d05ddfd r15955: fix whitespaces
metze
(This used to be commit a3d1ce6d3b8e771d28ab4418679b89a388579360)
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 acfaa98b5ea686feb81350baf09b3f4480f96edc)
2007-10-10 14:08:44 -05:00
Andrew Tridgell
86f86f99ef r15950: another printf() crash on solaris
(This used to be commit 5a065b9225f7a7fe221c61e26a08abc0d29f3bb9)
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 b8f6f62acd2ae79c87303b72e8bea22abc3a6b6e)
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 061b519b27cecbeb0687426201caaa7e8d95d856)
2007-10-10 14:08:43 -05:00
Simo Sorce
17936b09db r15945: Check ltdb_modified results
(This used to be commit bbda863f0766e4f4100a644f9a1ddcd8e18d29cd)
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 55d97ef88f377ef1dbf7b1774a15cf9035e2f320)
2007-10-10 14:08:43 -05:00
Simo Sorce
0c7b82e5f6 r15942: Remove the sync internal ldb calls altogether.
This means that some modules have been disabled as well as they
have not been ported to the async interface

One of them is the ugly objectclass module.
I hope that the change in samldb module will make the MMC happy
without the need of this crappy module, we need proper handling
in a decent schema module.

proxy and ldb_map have also been disabled
ldb_sqlite3 need to be ported as well (currenlty just broken).
(This used to be commit 51083de795bdcbf649de926e86969adc20239b6d)
2007-10-10 14:08:43 -05:00
Rafal Szczesniak
787d67c2cd r15941: We don't use call levels, at the moment. Remove them until we do.
rafal
(This used to be commit 592387a769521d221a89d374ef72c6123160cfed)
2007-10-10 14:08:42 -05:00
Rafal Szczesniak
f40a2e9786 r15940: Add new field to pass username to libnet_rpc_userinfo function.
rafal
(This used to be commit 16b4b4dbb7aa1a239e680457d3cb4e3db3d38dc7)
2007-10-10 14:08:42 -05:00
Rafal Szczesniak
2a87a112f7 r15939: Add tests for userinfo call with username argument provided
which enables optional stage resolving username to a rid.

rafal
(This used to be commit f57a8ace6f55174a30f42a7c2cb01d6917c07be7)
2007-10-10 14:08:42 -05:00
Rafal Szczesniak
95399b1e66 r15938: Extend userinfo call with one optional stage - lookup for
username to resolve it to a rid, when a sid argument is not
explicitly provided.

rafal
(This used to be commit 9bc4ef267c3d6720422e2a2f7f2c1572ba694d2d)
2007-10-10 14:08:42 -05:00
Rafal Szczesniak
ab7d25c4d1 r15937: Currently, we don't use nor support distinguished call levels, so remove
them until we do such thing. There's no need to complicate things more
at the moment.

rafal
(This used to be commit 94fb191e6b862a6b05bc962c56a0a3d34a67f6b7)
2007-10-10 14:08:42 -05:00
Simo Sorce
2613d19937 r15933: remove the last sync call to ldb_request
(This used to be commit 10d66aa61dab2e59e5a510cf34b1cfad86fc2529)
2007-10-10 14:08:41 -05:00
Simo Sorce
03703a58d7 r15932: Remove per request creds
They have never benn used and make little sense too imo
(This used to be commit f0c1d08d50f8a3e25650ac85b178ec7a43e433d9)
2007-10-10 14:08:41 -05:00