1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

9355 Commits

Author SHA1 Message Date
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
Volker Lendecke
279e9166de r15930: Attempt to fix the buildfarm segfaults -- thanks Tridge for the hints
(This used to be commit e363020115fc17caee6c3230d46fff41670a27d4)
2007-10-10 14:08:41 -05:00
Simo Sorce
3a4d7eb2c0 r15927: Optimize ldb module traverse while keeping the API intact.
I was sick of jumping inot each module for each request,
even the ones not handle by that module.
(This used to be commit 7d65105e885a28584e8555453b90232c43a92bf7)
2007-10-10 14:08:41 -05:00
Rafal Szczesniak
0bd3636a12 r15926: Add NET-API-DELETEUSER test to the standard tests run on 'make test'
rafal
(This used to be commit 5c2bc9a4f6074735cf3fba4461a23132a9877b0c)
2007-10-10 14:08:41 -05:00
Simo Sorce
3308a23850 r15922: password_hash.c has proven to be a good way to research how to build an async module
change asq.c to be more readble
(This used to be commit 9197187c4290847721432db09bdfb2f1d06e51ba)
2007-10-10 14:08:40 -05:00
Rafal Szczesniak
daa2c3f3f7 r15921: Include new headers.
rafal
(This used to be commit a528b64054551c780bd546c92edf189409fa358b)
2007-10-10 14:08:40 -05:00
Rafal Szczesniak
8a6ac85a96 r15920: Move userman.c and userinfo.c definition into respective
header files instead of composite.h

rafal
(This used to be commit 8cafbe7afedc90346cbd0cbedc2571143ae3dbc6)
2007-10-10 14:08:40 -05:00
Rafal Szczesniak
78fea25786 r15919: - Create function checking prerequisites like valid domain
opened and rpc pipe connected. Each user management routine
  calls the function before doing their job
- Initial work on user modify functionality (does nothing yet)

rafal
(This used to be commit 51501cdeef0f253d52112a368a07815ef1fbccca)
2007-10-10 14:08:40 -05:00
Volker Lendecke
b63d6b22e4 r15916: Modify RPC-AUTHCONTEXT so that it can be anabled in samba3 make test
(This used to be commit 4298fde656ac72a2f0fae9f25e3b5b1f3948f8f5)
2007-10-10 14:08:40 -05:00
Simo Sorce
90a5e19e03 r15913: Error passing in the async code is not in agood shape
Start enhancing it and fix some problems with incorrect evalutaion of the codes

Implement rdn rename (async only)
(This used to be commit 6af1d738b9668d4f0eb6194ac0f84af9e73f8c2e)
2007-10-10 14:08:39 -05:00
Volker Lendecke
53107aed4a r15912: Run an rpc request with an invalid uid and make sure NT_STATUS_INVALID_HANDLE
is returned.

Volker
(This used to be commit 0ef6ecda1dd009174c2c684a1dd3adabf4772daf)
2007-10-10 14:08:39 -05:00
Jelmer Vernooij
066ecf0c6f r15908: Mention ncalrpc in smbtorture help output
Update smbtorture manpage with binding string format explanation
(This used to be commit 37f6dc130e697c840676c96aadc295bcde6a0bca)
2007-10-10 14:08:39 -05:00
Jelmer Vernooij
f16c1be6e9 r15907: Add simple manpage for gwsvcctl
(This used to be commit e9314ceb2026041b7b01cb2b73e125ba64590932)
2007-10-10 14:08:39 -05:00
Andrew Tridgell
19b1b7b221 r15902: more test code that should be using d_printf()
(This used to be commit b52adaa04564afb7133f442b6f997d99b74dcaa3)
2007-10-10 14:08:38 -05:00
Andrew Tridgell
72209db1a1 r15898: use d_printf() in some more places to fix more torture seg faults on
solaris
(This used to be commit dd1ef82560c62c8c10e9d43b8d1d68512fe0aae5)
2007-10-10 14:08:38 -05:00
Andrew Tridgell
d6ac0e7d2f r15897: switch to d_printf() in the libnet_share test, and neaten up the code
a bit using local variables. This should fix a crash on solaris.
(This used to be commit c088654e34caf99569f25899733dac9a42197990)
2007-10-10 14:08:38 -05:00
Andrew Tridgell
33ffb31a49 r15896: we're getting a lot of crashes on the build farm due to people
assuming that printf("%s", NULL) is OK. The problem is that it is ok
with recent versions of glibc, so the bug isn't noticed by most
developers.

This configure change ensures that we replace snprintf() if it doesn't
handle NULL strings. Then we just need to make sure we use d_printf()
instead of printf() in torture tests to display possibly NULL strings.
(This used to be commit dcce824080f3437c835b32381b73380fab720554)
2007-10-10 14:08:38 -05:00
Jelmer Vernooij
b3a98698ff r15893: Update TODO
(This used to be commit 446c4a175f1ce925a4882c32b189ac9237ed584b)
2007-10-10 14:08:38 -05:00
Jelmer Vernooij
aecb20a264 r15892: Remove the COM management code - DCOM should be
based on Mono and its' COM support and utilize Samba's DCE/RPC + ORPC code
instead of having our own COM implementation in Samba, which is too much
work to implement and harder to code (C).

This only removes some of the code that I started working on to implement
the bits of COM I thought were needed to support DCOM from just Samba. This
code has never functioned properly, contains a couple of nasty hacks and
there should be no reason to pick it up again later, the processes are all
documented in the DCOM whitepaper.

This does NOT remove the marshalling code for the ORPC code or the torture
code that tested some of the ORPC code.
(This used to be commit 11df14219bf0b35329b293cae3234e064aabde54)
2007-10-10 14:08:37 -05:00
Jim McDonough
64fe1e92a5 r15883: Make sure timegm() prototype is available (on systems where we've had to
replace it)
(This used to be commit eef117e4454ed5faeddfc0b18bd4f0128c922f36)
2007-10-10 14:08:37 -05:00
Andrew Tridgell
aa01252bb3 r15882: I forgot to add in this prototype for strtok_r()
(This used to be commit 971cead2ad66fca55a32639090d97b8186c1dae7)
2007-10-10 14:08:37 -05:00
Andrew Tridgell
373bf313cd r15881: fixed the RAW-ACLS test for 64 bit systems (was failing on ppc64)
(This used to be commit c954a6662de70fb36772e85b96aecf64761a66aa)
2007-10-10 14:08:37 -05:00
Andrew Tridgell
f719eb9598 r15880: the ntvfs_handle changes broke rpc on big-endian boxes, as the
uint16_t fnum was being byte order converted twice in the ipc server.

Metze, can you have a look at this? This change does make rpc work
again, but perhaps you might like to approach it differently
(This used to be commit 50246e6282087fdf7050ea052ad516dc620d6c7e)
2007-10-10 14:08:37 -05:00
Andrew Tridgell
01b8c1913d r15879: strtok_r() replacement, for solaris
(This used to be commit df5bd916db3cfbd6c145177fd8992261f03a5cbc)
2007-10-10 14:08:36 -05:00
Jelmer Vernooij
26875d59ba r15878: Add explicit initialization to make the IBM checker happy.
(This used to be commit 3a5d3eb62c61d264fb583d2c94e3b3446988051b)
2007-10-10 14:08:36 -05:00
Jelmer Vernooij
1bd7f6ae63 r15877: Fix error message - caught by the IBM checker
(This used to be commit dd0b912fdd107817273391cab223304f0399c3b5)
2007-10-10 14:08:36 -05:00
Jelmer Vernooij
7ef96bd3c4 r15876: Fix build on IPv6-less systems.
(This used to be commit 180925659fad50ff82693284587ae4e735458c6b)
2007-10-10 14:08:36 -05:00
Jelmer Vernooij
ae67b20623 r15875: Fix bug in smbclients 'put' command tridge found a while ago. Add tests
for 'put' and 'get' commands so we don't break them again.

Fixes #3742
(This used to be commit 141600a624ca90374c2f306139015f8c7487cc0f)
2007-10-10 14:08:35 -05:00
Jelmer Vernooij
e157dccfaf r15871: Fix systems with native iconv
(This used to be commit 8ce292bdf3589e5d054bf9a534846c29dfc71124)
2007-10-10 14:08:35 -05:00
Jelmer Vernooij
ca61b4f3b5 r15870: Improve detection of iconv - should prevent HAVE_ICONV_H being
defined when the installed iconv library doesn't match our criteria as
well as some other minor fixes.
(This used to be commit 7937932615434a59c84d8a1b81e368f6a5f8e429)
2007-10-10 14:08:35 -05:00