kai/samba.git
13 years agor16100: Patch from Michael Wood <mwood@icts.uct.ac.za>: s/then/than/ for correct...
Gerald Carter [Thu, 8 Jun 2006 15:20:05 +0000 (15:20 +0000)]
r16100: Patch from Michael Wood <mwood@icts.uct.ac.za>: s/then/than/ for correct grammar

13 years agor16091: Without this patch Samba3 will not accept this, and simply setting the "92" to
Volker Lendecke [Thu, 8 Jun 2006 07:11:25 +0000 (07:11 +0000)]
r16091: Without this patch Samba3 will not accept this, and simply setting the "92" to
"100" will give funny permissions...

Volker

13 years agor16090: Fix standalone build after the rename of enum ldb_request_type in
Tim Potter [Thu, 8 Jun 2006 03:57:57 +0000 (03:57 +0000)]
r16090: Fix standalone build after the rename of enum ldb_request_type in
r15944.

Hey idra I think a better rename would be to keep the LDB_REQ suffix
here to remain consistent with the other enums (e.g ldb_reply_type,
ldb_async_wait_type and ldb_async_state).

13 years agor16089: Make doxygen target work if $DOXYGEN variable is empty.
Tim Potter [Thu, 8 Jun 2006 03:35:39 +0000 (03:35 +0000)]
r16089: Make doxygen target work if $DOXYGEN variable is empty.

13 years agor16087: Fix silly cut-and-paste typo that cost me much of my afternoon...
Andrew Bartlett [Thu, 8 Jun 2006 01:02:14 +0000 (01:02 +0000)]
r16087: Fix silly cut-and-paste typo that cost me much of my afternoon...

This only affects my new partitions module, which I will post soon,
but should be fixed anyway.

Andrew Bartlett

13 years agor16086: Ensure we can never dereference NULL pointers, and that describe what
Andrew Bartlett [Thu, 8 Jun 2006 01:00:46 +0000 (01:00 +0000)]
r16086: Ensure we can never dereference NULL pointers, and that describe what
these two DN comparison functions do.

Andrew Bartlett

13 years agor16085: Set the error string if we fail to find a valid op to execute. Helps
Andrew Bartlett [Thu, 8 Jun 2006 00:58:57 +0000 (00:58 +0000)]
r16085: Set the error string if we fail to find a valid op to execute.  Helps
in chasing down bugs :-)

Andrew Bartlett

13 years agor16084: Add private prototype for new ldb_connect_backend() function.
Andrew Bartlett [Wed, 7 Jun 2006 22:03:06 +0000 (22:03 +0000)]
r16084: Add private prototype for new ldb_connect_backend() function.

Andrew Bartlett

13 years agor16083: Make it possible to initialise a backend module, without it setting up
Andrew Bartlett [Wed, 7 Jun 2006 21:03:38 +0000 (21:03 +0000)]
r16083: Make it possible to initialise a backend module, without it setting up
the whole ldb structure.

Because the sequence number was a fn pointer on the main ldb context,
turn it into a full request (currently sync).

Andrew Bartlett

13 years agor16082: Index objectCategory like objectClass, as it is searched on a lot.
Andrew Bartlett [Wed, 7 Jun 2006 20:43:50 +0000 (20:43 +0000)]
r16082: Index objectCategory like objectClass, as it is searched on a lot.

Andrew Bartlett

13 years agor16073: On an incoming wildcard search, it is critical that the size be
Andrew Bartlett [Wed, 7 Jun 2006 04:23:42 +0000 (04:23 +0000)]
r16073: On an incoming wildcard search, it is critical that the size be
correct, or we try and do a memcmp on the trailing '\0'.

This happens because we now use memcmp for the prefix matching.

I just wish I had a test other than a particular invocation of the OSX
client.  (I've tried and failed so far)

Andrew Bartlett

13 years agor16072: Do basic wildcard searching in the ejs LDAP test.
Andrew Bartlett [Wed, 7 Jun 2006 04:16:02 +0000 (04:16 +0000)]
r16072: Do basic wildcard searching in the ejs LDAP test.

Unfortunetly this didn't find the wildcard bug, but at least it tests
something...

Andrew Bartlett

13 years agor16071: tdb has nested transactions
Simo Sorce [Wed, 7 Jun 2006 00:55:48 +0000 (00:55 +0000)]
r16071: tdb has nested transactions
change the code to exploit that in ldb

I still have to reintroduce transactions when you call ldb_request directly,
I have some plans I hop to be able to develop in the next weekend

13 years agor16070: Fix kludge_acls
Simo Sorce [Wed, 7 Jun 2006 00:42:19 +0000 (00:42 +0000)]
r16070: Fix kludge_acls

13 years agor16069: Remove unused destructor and an unused variable.
Andrew Bartlett [Tue, 6 Jun 2006 22:32:24 +0000 (22:32 +0000)]
r16069: Remove unused destructor and an unused variable.

Andrew Bartlett

13 years agor16068: Check against the correct result in the ldap.js test
Andrew Bartlett [Tue, 6 Jun 2006 22:31:20 +0000 (22:31 +0000)]
r16068: Check against the correct result in the ldap.js test

Andrew Bartlett

13 years agor16067: Remove const, it isn't required and just causes a warning.
Andrew Bartlett [Tue, 6 Jun 2006 22:10:52 +0000 (22:10 +0000)]
r16067: Remove const, it isn't required and just causes a warning.

Andrew Bartlett

13 years agor16066: The OSX AD plugin uses objectCategory searches a lot, and uses them
Andrew Bartlett [Tue, 6 Jun 2006 22:04:55 +0000 (22:04 +0000)]
r16066: The OSX AD plugin uses objectCategory searches a lot, and uses them
both fully qualified and in the 'short' form.  Now we test and support
this query format.

Andrew Bartlett

13 years agor16063: Make is clearer when we can't write to the smb.conf
Andrew Bartlett [Tue, 6 Jun 2006 17:55:41 +0000 (17:55 +0000)]
r16063: Make is clearer when we can't write to the smb.conf

Find more possible posix group names for the 'domain users' group, as
the existing options don't exist in OSX.

Andrew Bartlett

13 years agor16062: objectCategory is a DN, and needs to be matched as such.
Andrew Bartlett [Tue, 6 Jun 2006 17:54:10 +0000 (17:54 +0000)]
r16062: objectCategory is a DN, and needs to be matched as such.

Andrew Bartlett

13 years agor16061: Prove that removing the objectClass list in the samldb module breaks things.
Andrew Bartlett [Tue, 6 Jun 2006 17:19:58 +0000 (17:19 +0000)]
r16061: Prove that removing the objectClass list in the samldb module breaks things.

With this fix, we now correctly detect computers again, and get the
correct objectCategory, which is important for the OSX AD plugin.

Andrew Bartlett

13 years agor16059: Remove accidential commit
Volker Lendecke [Tue, 6 Jun 2006 11:50:14 +0000 (11:50 +0000)]
r16059: Remove accidential commit

13 years agor16058: Test a Join using SetUserInfo level 25, as XP does if the user did not
Volker Lendecke [Tue, 6 Jun 2006 11:48:20 +0000 (11:48 +0000)]
r16058: Test a Join using SetUserInfo level 25, as XP does if the user did not
exist. Samba3 right now fails to transfer the acb_info in the info21 sub-part
to the passdb backend, rendering the workstation locked.

Thanks to Tom Bork for finding this one.

Now working on a fix :-)

Volker

13 years agor16056: Fix errors found by trying to use our kpasswd server and the Apple client.
Andrew Bartlett [Tue, 6 Jun 2006 04:50:14 +0000 (04:50 +0000)]
r16056: Fix errors found by trying to use our kpasswd server and the Apple client.

Andrew Bartlett

13 years agor16053: Allow entries without an objectClass. We need this to permit the
Andrew Bartlett [Mon, 5 Jun 2006 23:22:22 +0000 (23:22 +0000)]
r16053: Allow entries without an objectClass.  We need this to permit the
cn=rootDSE entry.

(it was also crashing, as 'ac' wasn't initialised at this point)

Andrew Bartlett

13 years agor16052: Add .m4 file for XATTR detection (from ntvfs/posix/config.m4)
Andrew Bartlett [Mon, 5 Jun 2006 21:51:10 +0000 (21:51 +0000)]
r16052: Add .m4 file for XATTR detection (from ntvfs/posix/config.m4)

Andrew Bartlett

13 years agor16051: Move the XATTR compatability code into a new file, so I can use it for
Andrew Bartlett [Mon, 5 Jun 2006 21:48:29 +0000 (21:48 +0000)]
r16051: Move the XATTR compatability code into a new file, so I can use it for
the getntacl utility.

Andrew Bartlett

13 years agor16045: RPC-SAMBA3SESSIONKEY tests the different variants of joins (anon/auth smb,
Volker Lendecke [Mon, 5 Jun 2006 12:00:28 +0000 (12:00 +0000)]
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

13 years agor16044: Create a samba3 specific file in torture/rpc. The tests in there survive
Volker Lendecke [Mon, 5 Jun 2006 10:00:41 +0000 (10:00 +0000)]
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

13 years agor16043: Fix error message
Simo Sorce [Mon, 5 Jun 2006 00:46:52 +0000 (00:46 +0000)]
r16043: Fix error message

13 years agor16042: Fix crashbug caused by incorret error reporting.
Simo Sorce [Sun, 4 Jun 2006 22:39:57 +0000 (22:39 +0000)]
r16042: Fix crashbug caused by incorret error reporting.

13 years agor16040: Support more recent versions of autoconf
Jelmer Vernooij [Sun, 4 Jun 2006 20:42:12 +0000 (20:42 +0000)]
r16040: Support more recent versions of autoconf

13 years agor16039: Add missing #!, don't rely on bash
Jelmer Vernooij [Sun, 4 Jun 2006 20:36:52 +0000 (20:36 +0000)]
r16039: Add missing #!, don't rely on bash

13 years agor16036: Add a couple of new functions to corretly deal with timeouts.
Simo Sorce [Sun, 4 Jun 2006 05:28:13 +0000 (05:28 +0000)]
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.

13 years agor16028: Re-add the objectclass module, in the new async scheme.
Andrew Bartlett [Sat, 3 Jun 2006 11:57:20 +0000 (11:57 +0000)]
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

13 years agor16024: OpenBSD doesn't have ENOTSUP so use ENOSYS
Stefan Metzmacher [Sat, 3 Jun 2006 09:38:22 +0000 (09:38 +0000)]
r16024: OpenBSD doesn't have ENOTSUP so use ENOSYS

metze

13 years agor16023: we don't need a global variable here...
Stefan Metzmacher [Sat, 3 Jun 2006 07:21:51 +0000 (07:21 +0000)]
r16023: we don't need a global variable here...
noticed by the Mac OS 10 linker

metze

13 years agor16022: ooops, a bit too aggressive commit :-)
Simo Sorce [Sat, 3 Jun 2006 01:32:55 +0000 (01:32 +0000)]
r16022: ooops, a bit too aggressive commit :-)

13 years agor16021: While studying how to make samldb really async I found a critical situation...
Simo Sorce [Sat, 3 Jun 2006 00:54:33 +0000 (00:54 +0000)]
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.

13 years agor16013: hopefully fix the configure check for darwin
Stefan Metzmacher [Fri, 2 Jun 2006 21:10:19 +0000 (21:10 +0000)]
r16013: hopefully fix the configure check for darwin

metze

13 years agor16012: do the type checks before anythingelse
Stefan Metzmacher [Fri, 2 Jun 2006 20:55:17 +0000 (20:55 +0000)]
r16012: do the type checks before anythingelse

metze

13 years agor16011: we don't need sys/bitypes.h any more
Stefan Metzmacher [Fri, 2 Jun 2006 20:54:04 +0000 (20:54 +0000)]
r16011: we don't need sys/bitypes.h any more

metze

13 years agor16010: deal with the case that int64,uint64 are already typedef'ed
Stefan Metzmacher [Fri, 2 Jun 2006 17:06:03 +0000 (17:06 +0000)]
r16010: deal with the case that int64,uint64 are already typedef'ed

metze

13 years agor16009: fix the build
Stefan Metzmacher [Fri, 2 Jun 2006 14:57:18 +0000 (14:57 +0000)]
r16009: fix the build

metze

13 years agor16008: make debugging easier, and use the os name in the function name
Stefan Metzmacher [Fri, 2 Jun 2006 14:38:50 +0000 (14:38 +0000)]
r16008: make debugging easier, and use the os name in the function name
(I'll add a bsd wrapping later)

metze

13 years agor16007: If no error string was setup by the backend, ensure that we always get
Andrew Bartlett [Fri, 2 Jun 2006 14:33:57 +0000 (14:33 +0000)]
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

13 years agor16006: only (f)getxattr returns ssize_t
Stefan Metzmacher [Fri, 2 Jun 2006 14:26:15 +0000 (14:26 +0000)]
r16006: only (f)getxattr returns ssize_t

metze

13 years agor16005: add support for XATTR's on MacOS
Stefan Metzmacher [Fri, 2 Jun 2006 14:22:56 +0000 (14:22 +0000)]
r16005: add support for XATTR's on MacOS

Thanks to Bjoern Jacke for his help.

metze

13 years agor16004: - move #ifdef outof the real functions
Stefan Metzmacher [Fri, 2 Jun 2006 14:06:30 +0000 (14:06 +0000)]
r16004: - move #ifdef outof the real functions
- hopefully all build-farm hosts have ENOTSUP...

metze

13 years agor16003: Tru64 doesn't have strtoll/strtoull but the size of 'long' is equal to
Stefan Metzmacher [Fri, 2 Jun 2006 12:51:42 +0000 (12:51 +0000)]
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

13 years agor16002: fix the build on solaris
Stefan Metzmacher [Fri, 2 Jun 2006 08:44:31 +0000 (08:44 +0000)]
r16002: fix the build on solaris

Patch from Bjoern Jacke, thanks!

metze

13 years agor16001: we don't use u_intX_t any more
Stefan Metzmacher [Fri, 2 Jun 2006 07:52:05 +0000 (07:52 +0000)]
r16001: we don't use u_intX_t any more

metze

13 years agor16000: - use uint16_t instead of u_int16_t
Stefan Metzmacher [Fri, 2 Jun 2006 07:42:29 +0000 (07:42 +0000)]
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

13 years agor15999: password_hash module changes:
Andrew Bartlett [Fri, 2 Jun 2006 02:54:24 +0000 (02:54 +0000)]
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

13 years agor15996: Implement a missing monitor message.
Rafal Szczesniak [Thu, 1 Jun 2006 22:53:56 +0000 (22:53 +0000)]
r15996: Implement a missing monitor message.

rafal

13 years agor15993: don't use u_int32_t, as the main heimdal code also don't use
Stefan Metzmacher [Thu, 1 Jun 2006 17:59:05 +0000 (17:59 +0000)]
r15993: don't use u_int32_t, as the main heimdal code also don't use
it anymore

metze

13 years agor15992: fix the subsystem name,
Stefan Metzmacher [Thu, 1 Jun 2006 10:03:18 +0000 (10:03 +0000)]
r15992: fix the subsystem name,
hopefully fix the build on Mac OS 10.4.5

metze

13 years agor15991: try to fix the build on au2 IRIX 6.4
Stefan Metzmacher [Thu, 1 Jun 2006 08:34:18 +0000 (08:34 +0000)]
r15991: try to fix the build on au2 IRIX 6.4

metze

13 years agor15988: try to fix the build on au2 IRIX 6.4
Stefan Metzmacher [Thu, 1 Jun 2006 06:06:18 +0000 (06:06 +0000)]
r15988: try to fix the build on au2 IRIX 6.4

metze

13 years agor15986: Declare struct tm
Jelmer Vernooij [Wed, 31 May 2006 17:34:04 +0000 (17:34 +0000)]
r15986: Declare struct tm

13 years agor15981: we need to initialize 'ret' before 'goto failed'
Stefan Metzmacher [Wed, 31 May 2006 10:36:48 +0000 (10:36 +0000)]
r15981: we need to initialize 'ret' before 'goto failed'

metze

13 years agor15979: some farmating...
Stefan Metzmacher [Wed, 31 May 2006 10:22:38 +0000 (10:22 +0000)]
r15979: some farmating...

metze

13 years agor15978: - pass the error code back to the caller...
Stefan Metzmacher [Wed, 31 May 2006 10:17:05 +0000 (10:17 +0000)]
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

13 years agor15970: add a more verbose comment to tridge's fix for bigendian hosts.
Stefan Metzmacher [Tue, 30 May 2006 20:23:55 +0000 (20:23 +0000)]
r15970: add a more verbose comment to tridge's fix for bigendian hosts.

tridge: I'm fine with this fix

metze

13 years agor15964: fix error handling in ldb_ildap backend
Stefan Metzmacher [Tue, 30 May 2006 19:41:29 +0000 (19:41 +0000)]
r15964: fix error handling in ldb_ildap backend

metze

13 years agor15963: fix warnings
Stefan Metzmacher [Tue, 30 May 2006 19:09:34 +0000 (19:09 +0000)]
r15963: fix warnings

metze

13 years agor15962: fix a crash when connect fails
Stefan Metzmacher [Tue, 30 May 2006 19:08:44 +0000 (19:08 +0000)]
r15962: fix a crash when connect fails

metze

13 years agor15957: - add a test that fetches the schema from an windows LDAP server,
Stefan Metzmacher [Tue, 30 May 2006 17:57:35 +0000 (17:57 +0000)]
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

13 years agor15956: fix warnings
Stefan Metzmacher [Tue, 30 May 2006 17:04:40 +0000 (17:04 +0000)]
r15956: fix warnings

metze

13 years agor15955: fix whitespaces
Stefan Metzmacher [Tue, 30 May 2006 17:02:21 +0000 (17:02 +0000)]
r15955: fix whitespaces

metze

13 years agor15953: our timegm() replacement still doesn't work, so grab the one from
Andrew Tridgell [Tue, 30 May 2006 05:57:43 +0000 (05:57 +0000)]
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

13 years agor15950: another printf() crash on solaris
Andrew Tridgell [Tue, 30 May 2006 05:17:20 +0000 (05:17 +0000)]
r15950: another printf() crash on solaris

13 years agor15947: Do the same test on setting allocation info.
Jeremy Allison [Tue, 30 May 2006 03:57:43 +0000 (03:57 +0000)]
r15947: Do the same test on setting allocation info.
Jeremy.

13 years agor15946: Added check that proves that setpathinfo on an
Jeremy Allison [Tue, 30 May 2006 03:36:51 +0000 (03:36 +0000)]
r15946: Added check that proves that setpathinfo on an
oplocked open file generates a break.
Jeremy.

13 years agor15945: Check ltdb_modified results
Simo Sorce [Tue, 30 May 2006 01:46:14 +0000 (01:46 +0000)]
r15945: Check ltdb_modified results

13 years agor15944: rename LDB_ASYNC_ADD -> LDB_ADD, LDB_ASYNC_MODIFY -> LDB_MODIFY, etc...
Simo Sorce [Tue, 30 May 2006 00:33:52 +0000 (00:33 +0000)]
r15944: rename LDB_ASYNC_ADD -> LDB_ADD, LDB_ASYNC_MODIFY -> LDB_MODIFY, etc...

13 years agor15942: Remove the sync internal ldb calls altogether.
Simo Sorce [Mon, 29 May 2006 23:46:43 +0000 (23:46 +0000)]
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).

13 years agor15941: We don't use call levels, at the moment. Remove them until we do.
Rafal Szczesniak [Mon, 29 May 2006 22:01:31 +0000 (22:01 +0000)]
r15941: We don't use call levels, at the moment. Remove them until we do.

rafal

13 years agor15940: Add new field to pass username to libnet_rpc_userinfo function.
Rafal Szczesniak [Mon, 29 May 2006 22:00:46 +0000 (22:00 +0000)]
r15940: Add new field to pass username to libnet_rpc_userinfo function.

rafal

13 years agor15939: Add tests for userinfo call with username argument provided
Rafal Szczesniak [Mon, 29 May 2006 21:59:55 +0000 (21:59 +0000)]
r15939: Add tests for userinfo call with username argument provided
which enables optional stage resolving username to a rid.

rafal

13 years agor15938: Extend userinfo call with one optional stage - lookup for
Rafal Szczesniak [Mon, 29 May 2006 21:58:53 +0000 (21:58 +0000)]
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

13 years agor15937: Currently, we don't use nor support distinguished call levels, so remove
Rafal Szczesniak [Mon, 29 May 2006 21:53:59 +0000 (21:53 +0000)]
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

13 years agor15933: remove the last sync call to ldb_request
Simo Sorce [Mon, 29 May 2006 16:50:22 +0000 (16:50 +0000)]
r15933: remove the last sync call to ldb_request

13 years agor15932: Remove per request creds
Simo Sorce [Mon, 29 May 2006 11:57:09 +0000 (11:57 +0000)]
r15932: Remove per request creds
They have never benn used and make little sense too imo

13 years agor15930: Attempt to fix the buildfarm segfaults -- thanks Tridge for the hints
Volker Lendecke [Mon, 29 May 2006 10:59:43 +0000 (10:59 +0000)]
r15930: Attempt to fix the buildfarm segfaults -- thanks Tridge for the hints

13 years agor15927: Optimize ldb module traverse while keeping the API intact.
Simo Sorce [Mon, 29 May 2006 01:30:02 +0000 (01:30 +0000)]
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.

13 years agor15926: Add NET-API-DELETEUSER test to the standard tests run on 'make test'
Rafal Szczesniak [Sun, 28 May 2006 19:58:47 +0000 (19:58 +0000)]
r15926: Add NET-API-DELETEUSER test to the standard tests run on 'make test'

rafal

13 years agor15922: password_hash.c has proven to be a good way to research how to build an async...
Simo Sorce [Sun, 28 May 2006 15:20:53 +0000 (15:20 +0000)]
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

13 years agor15921: Include new headers.
Rafal Szczesniak [Sun, 28 May 2006 10:46:50 +0000 (10:46 +0000)]
r15921: Include new headers.

rafal

13 years agor15920: Move userman.c and userinfo.c definition into respective
Rafal Szczesniak [Sun, 28 May 2006 10:45:22 +0000 (10:45 +0000)]
r15920: Move userman.c and userinfo.c definition into respective
header files instead of composite.h

rafal

13 years agor15919: - Create function checking prerequisites like valid domain
Rafal Szczesniak [Sun, 28 May 2006 10:43:48 +0000 (10:43 +0000)]
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

13 years agor15916: Modify RPC-AUTHCONTEXT so that it can be anabled in samba3 make test
Volker Lendecke [Sun, 28 May 2006 08:21:35 +0000 (08:21 +0000)]
r15916: Modify RPC-AUTHCONTEXT so that it can be anabled in samba3 make test

13 years agor15913: Error passing in the async code is not in agood shape
Simo Sorce [Sun, 28 May 2006 02:10:44 +0000 (02:10 +0000)]
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)

13 years agor15912: Run an rpc request with an invalid uid and make sure NT_STATUS_INVALID_HANDLE
Volker Lendecke [Sat, 27 May 2006 21:39:56 +0000 (21:39 +0000)]
r15912: Run an rpc request with an invalid uid and make sure NT_STATUS_INVALID_HANDLE
is returned.

Volker

13 years agor15908: Mention ncalrpc in smbtorture help output
Jelmer Vernooij [Sat, 27 May 2006 12:16:48 +0000 (12:16 +0000)]
r15908: Mention ncalrpc in smbtorture help output
Update smbtorture manpage with binding string format explanation

13 years agor15907: Add simple manpage for gwsvcctl
Jelmer Vernooij [Sat, 27 May 2006 12:10:24 +0000 (12:10 +0000)]
r15907: Add simple manpage for gwsvcctl

13 years agor15902: more test code that should be using d_printf()
Andrew Tridgell [Fri, 26 May 2006 05:58:23 +0000 (05:58 +0000)]
r15902: more test code that should be using d_printf()

13 years agor15898: use d_printf() in some more places to fix more torture seg faults on
Andrew Tridgell [Fri, 26 May 2006 04:35:37 +0000 (04:35 +0000)]
r15898: use d_printf() in some more places to fix more torture seg faults on
solaris

13 years agor15897: switch to d_printf() in the libnet_share test, and neaten up the code
Andrew Tridgell [Fri, 26 May 2006 02:25:53 +0000 (02:25 +0000)]
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.

13 years agor15896: we're getting a lot of crashes on the build farm due to people
Andrew Tridgell [Fri, 26 May 2006 02:25:00 +0000 (02:25 +0000)]
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.