abartlet/samba.git/.git
16 years agor16070: Fix kludge_acls
Simo Sorce [Wed, 7 Jun 2006 00:42:19 +0000 (00:42 +0000)]
r16070: Fix kludge_acls
(This used to be commit 795f8ebe8eecf28f5729754dc248d2a8411effb9)

16 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
(This used to be commit 25e85975459acc556c0d46f1683dd4bbdd94874b)

16 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
(This used to be commit 52b4e83a1c2cd47bf2f8b6d65419dae12631725a)

16 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
(This used to be commit 272a0957283daafb6cbf52219263b94856155d65)

16 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
(This used to be commit 9ddcfacbcedc5eea2730d4bf902c0fcd02bcfa11)

16 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
(This used to be commit 4e8d7b7fb310a668ae8653bc06036c94249b2b2a)

16 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
(This used to be commit 1a868b451a47798dc539e0754ab2b075813ed368)

16 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
(This used to be commit 4e39d7bb245bc337ac496c7e39a510d1c5611c71)

16 years agor16059: Remove accidential commit
Volker Lendecke [Tue, 6 Jun 2006 11:50:14 +0000 (11:50 +0000)]
r16059: Remove accidential commit
(This used to be commit e980066111cf442102b849b04a411c3f2df8e05b)

16 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
(This used to be commit 6613093e69f273f32bdafde0d0c8f122e8466dc0)

16 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
(This used to be commit ae2913898c983dcba69b5d0b89c428e450e9bf5f)

16 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
(This used to be commit 8455aafb1547ae843b066db716a892fda14438b4)

16 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
(This used to be commit 9a9c2bc4aaa4afc947fb490f48bf037e03d2f223)

16 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
(This used to be commit b1e0d4747b412929e1d4e24d6d9e504df3ddc824)

16 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
(This used to be commit 9164c24d8741384ff5173fbf6cf3337f42d80e70)

16 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
(This used to be commit 60b45bf8b6d0d2bb216e319891d50d0e07ab3010)

16 years agor16043: Fix error message
Simo Sorce [Mon, 5 Jun 2006 00:46:52 +0000 (00:46 +0000)]
r16043: Fix error message
(This used to be commit 2898df2cee22f2d478440e9576bec15140909e45)

16 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.
(This used to be commit d346531d0a3e7160ae2a3bdc430521148b485540)

16 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
(This used to be commit 3f2a136b9f77062e5044b2b86f8e2a79348e0ff0)

16 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
(This used to be commit f6e587e7066dbafef437e5b3854a34916f72fcb1)

16 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.
(This used to be commit b52e5d6a0cb1a32e62759eaa49ce3e4cc804cc92)

16 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
(This used to be commit f72079029abb594677bf8c2b63e40c07e910004f)

16 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
(This used to be commit 505d55de69e1c5a9e763534dd392caac79e49ff1)

16 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
(This used to be commit 5928112cbc004f59660c8131abccc0f4933c2da3)

16 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 :-)
(This used to be commit 959c8c35ef170e03a5f698d0fa11616583cc6f66)

16 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.
(This used to be commit 6b214f232eefc4ffbc98dfb68c99d1f0c97ae6db)

16 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
(This used to be commit 88b7d4206407aba74f3f6d56a8c88ef847731b12)

16 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
(This used to be commit 092e52c51884706317564a5a5397f137689d78cb)

16 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
(This used to be commit d49464be56ff714b9b251867cabc7811c137ee76)

16 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
(This used to be commit 07b014f770714474660f68c6ebc510bfbb232abc)

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

metze
(This used to be commit d53562f126c374ff93f368cb2e8a247762b3395b)

16 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
(This used to be commit 2ce4a2da29dd18b92580014cc765c0f950fb74df)

16 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
(This used to be commit b607acf6f0b3567a40a3e35911c690feda243f50)

16 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
(This used to be commit d4af8da7c9b4c510ceb1ef96f6ff4bbf717a16d9)

16 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
(This used to be commit 8f8480e453ced38cbf27d0a1a45843c5eb126016)

16 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
(This used to be commit 62c64f1ddc71436aab6a2f3f2ecc3e6dcb752db9)

16 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
(This used to be commit 2bda7b63be1257210601dac3e2b1070f48d765b4)

16 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
(This used to be commit 1250355909533e033f30e6a960c58cfc9ec760ba)

16 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
(This used to be commit e0e4f86b30185e01975eff91c2ce7ab7ca5353c1)

16 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
(This used to be commit ecff7b70aadb9ac27731a5b44aa20b49ac82321a)

16 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
(This used to be commit ee6fe3a80fd5038c2b141bf8a85139f99ac96e4d)

16 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
(This used to be commit 37ec35672e23c8a3e3f1f44d2fce69a0729519fb)

16 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
(This used to be commit e1842c9b55ffd0792fea2cff37b812d319c76f1f)

16 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
(This used to be commit 103f64c7cf9854e8f41f2aede68aec622cd554b6)

16 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
(This used to be commit 658f9a15890f17643da1217c332aea27915ee46e)

16 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
(This used to be commit 9e93e6f5fb654e4162bbc039306a4b79003e22d7)

16 years agor15986: Declare struct tm
Jelmer Vernooij [Wed, 31 May 2006 17:34:04 +0000 (17:34 +0000)]
r15986: Declare struct tm
(This used to be commit 139d9369dc1b7daaf980a0c95b0921388ec39913)

16 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
(This used to be commit 941f93f93f3ce9dacaafe80520b8751f738e7032)

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

metze
(This used to be commit 53ec76d8d2edaa37bbccb6de838248931a3a76d2)

16 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
(This used to be commit 7b9d7119205c442f338deab07122ce1548bad9b6)

16 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
(This used to be commit f38b042ded6ec9b243c15d7710261708f208d289)

16 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
(This used to be commit 54e5aeff87b859960dfc5e4b6e3ab026ce5470ff)

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

metze
(This used to be commit 11b49a440567eb3fa3391c15f5486c63141f1b97)

16 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
(This used to be commit 0540a5f220bac6f9b9782c22e23a0b19f9aa86cb)

16 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
(This used to be commit 1908f0cd6230c22aabb0e1eab2f9d37d17f12f18)

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

metze
(This used to be commit e874a099667c7213cc8dda0a94bf749d7706fbb5)

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

metze
(This used to be commit a3d1ce6d3b8e771d28ab4418679b89a388579360)

16 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
(This used to be commit acfaa98b5ea686feb81350baf09b3f4480f96edc)

16 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
(This used to be commit 5a065b9225f7a7fe221c61e26a08abc0d29f3bb9)

16 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.
(This used to be commit b8f6f62acd2ae79c87303b72e8bea22abc3a6b6e)

16 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.
(This used to be commit 061b519b27cecbeb0687426201caaa7e8d95d856)

16 years agor15945: Check ltdb_modified results
Simo Sorce [Tue, 30 May 2006 01:46:14 +0000 (01:46 +0000)]
r15945: Check ltdb_modified results
(This used to be commit bbda863f0766e4f4100a644f9a1ddcd8e18d29cd)

16 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...
(This used to be commit 55d97ef88f377ef1dbf7b1774a15cf9035e2f320)

16 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).
(This used to be commit 51083de795bdcbf649de926e86969adc20239b6d)

16 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
(This used to be commit 592387a769521d221a89d374ef72c6123160cfed)

16 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
(This used to be commit 16b4b4dbb7aa1a239e680457d3cb4e3db3d38dc7)

16 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
(This used to be commit f57a8ace6f55174a30f42a7c2cb01d6917c07be7)

16 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
(This used to be commit 9bc4ef267c3d6720422e2a2f7f2c1572ba694d2d)

16 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
(This used to be commit 94fb191e6b862a6b05bc962c56a0a3d34a67f6b7)

16 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
(This used to be commit 10d66aa61dab2e59e5a510cf34b1cfad86fc2529)

16 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
(This used to be commit f0c1d08d50f8a3e25650ac85b178ec7a43e433d9)

16 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
(This used to be commit e363020115fc17caee6c3230d46fff41670a27d4)

16 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.
(This used to be commit 7d65105e885a28584e8555453b90232c43a92bf7)

16 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
(This used to be commit 5c2bc9a4f6074735cf3fba4461a23132a9877b0c)

16 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
(This used to be commit 9197187c4290847721432db09bdfb2f1d06e51ba)

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

rafal
(This used to be commit a528b64054551c780bd546c92edf189409fa358b)

16 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
(This used to be commit 8cafbe7afedc90346cbd0cbedc2571143ae3dbc6)

16 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
(This used to be commit 51501cdeef0f253d52112a368a07815ef1fbccca)

16 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
(This used to be commit 4298fde656ac72a2f0fae9f25e3b5b1f3948f8f5)

16 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)
(This used to be commit 6af1d738b9668d4f0eb6194ac0f84af9e73f8c2e)

16 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
(This used to be commit 0ef6ecda1dd009174c2c684a1dd3adabf4772daf)

16 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
(This used to be commit 37f6dc130e697c840676c96aadc295bcde6a0bca)

16 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
(This used to be commit e9314ceb2026041b7b01cb2b73e125ba64590932)

16 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()
(This used to be commit b52adaa04564afb7133f442b6f997d99b74dcaa3)

16 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
(This used to be commit dd1ef82560c62c8c10e9d43b8d1d68512fe0aae5)

16 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.
(This used to be commit c088654e34caf99569f25899733dac9a42197990)

16 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.
(This used to be commit dcce824080f3437c835b32381b73380fab720554)

16 years agor15893: Update TODO
Jelmer Vernooij [Thu, 25 May 2006 21:04:29 +0000 (21:04 +0000)]
r15893: Update TODO
(This used to be commit 446c4a175f1ce925a4882c32b189ac9237ed584b)

16 years agor15892: Remove the COM management code - DCOM should be
Jelmer Vernooij [Thu, 25 May 2006 19:34:05 +0000 (19:34 +0000)]
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)

16 years agor15883: Make sure timegm() prototype is available (on systems where we've had to
Jim McDonough [Thu, 25 May 2006 15:12:23 +0000 (15:12 +0000)]
r15883: Make sure timegm() prototype is available (on systems where we've had to
replace it)
(This used to be commit eef117e4454ed5faeddfc0b18bd4f0128c922f36)

16 years agor15882: I forgot to add in this prototype for strtok_r()
Andrew Tridgell [Thu, 25 May 2006 13:23:24 +0000 (13:23 +0000)]
r15882: I forgot to add in this prototype for strtok_r()
(This used to be commit 971cead2ad66fca55a32639090d97b8186c1dae7)

16 years agor15881: fixed the RAW-ACLS test for 64 bit systems (was failing on ppc64)
Andrew Tridgell [Thu, 25 May 2006 07:14:33 +0000 (07:14 +0000)]
r15881: fixed the RAW-ACLS test for 64 bit systems (was failing on ppc64)
(This used to be commit c954a6662de70fb36772e85b96aecf64761a66aa)

16 years agor15880: the ntvfs_handle changes broke rpc on big-endian boxes, as the
Andrew Tridgell [Thu, 25 May 2006 04:46:38 +0000 (04:46 +0000)]
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)

16 years agor15879: strtok_r() replacement, for solaris
Andrew Tridgell [Thu, 25 May 2006 02:09:00 +0000 (02:09 +0000)]
r15879: strtok_r() replacement, for solaris
(This used to be commit df5bd916db3cfbd6c145177fd8992261f03a5cbc)

16 years agor15878: Add explicit initialization to make the IBM checker happy.
Jelmer Vernooij [Wed, 24 May 2006 23:09:29 +0000 (23:09 +0000)]
r15878: Add explicit initialization to make the IBM checker happy.
(This used to be commit 3a5d3eb62c61d264fb583d2c94e3b3446988051b)

16 years agor15877: Fix error message - caught by the IBM checker
Jelmer Vernooij [Wed, 24 May 2006 22:57:14 +0000 (22:57 +0000)]
r15877: Fix error message - caught by the IBM checker
(This used to be commit dd0b912fdd107817273391cab223304f0399c3b5)

16 years agor15876: Fix build on IPv6-less systems.
Jelmer Vernooij [Wed, 24 May 2006 22:17:01 +0000 (22:17 +0000)]
r15876: Fix build on IPv6-less systems.
(This used to be commit 180925659fad50ff82693284587ae4e735458c6b)

16 years agor15875: Fix bug in smbclients 'put' command tridge found a while ago. Add tests
Jelmer Vernooij [Wed, 24 May 2006 22:15:03 +0000 (22:15 +0000)]
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)

16 years agor15871: Fix systems with native iconv
Jelmer Vernooij [Wed, 24 May 2006 18:23:57 +0000 (18:23 +0000)]
r15871: Fix systems with native iconv
(This used to be commit 8ce292bdf3589e5d054bf9a534846c29dfc71124)

16 years agor15870: Improve detection of iconv - should prevent HAVE_ICONV_H being
Jelmer Vernooij [Wed, 24 May 2006 17:57:54 +0000 (17:57 +0000)]
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)