ira/wip.git
16 years agor3964: fix compiler warnings
Stefan Metzmacher [Thu, 25 Nov 2004 19:02:42 +0000 (19:02 +0000)]
r3964: fix compiler warnings

metze

16 years agor3963: fix conpiler warnings
Stefan Metzmacher [Thu, 25 Nov 2004 19:01:35 +0000 (19:01 +0000)]
r3963: fix conpiler warnings

metze

16 years agor3962: fix compiler warnings
Stefan Metzmacher [Thu, 25 Nov 2004 18:25:22 +0000 (18:25 +0000)]
r3962: fix compiler warnings

metze

16 years agor3961: - fix compiler warnings
Stefan Metzmacher [Thu, 25 Nov 2004 18:23:58 +0000 (18:23 +0000)]
r3961: - fix compiler warnings
- remove unused typedef

metze

16 years agor3960: fix compiler warnings
Stefan Metzmacher [Thu, 25 Nov 2004 18:02:35 +0000 (18:02 +0000)]
r3960: fix compiler warnings

metze

16 years agor3959: fix compiler warnings
Stefan Metzmacher [Thu, 25 Nov 2004 18:01:40 +0000 (18:01 +0000)]
r3959: fix compiler warnings

metze

16 years agor3958: fix the build for now
Stefan Metzmacher [Thu, 25 Nov 2004 17:57:33 +0000 (17:57 +0000)]
r3958: fix the build for now

tridge: please fix that!

metze

16 years agor3957: fix compiler warning
Stefan Metzmacher [Thu, 25 Nov 2004 17:56:20 +0000 (17:56 +0000)]
r3957: fix compiler warning

metze

16 years agor3956: start to decode the repsFrom and repsTo fileds but not ready
Stefan Metzmacher [Thu, 25 Nov 2004 11:20:09 +0000 (11:20 +0000)]
r3956: start to decode the repsFrom and repsTo fileds but not ready

metze

16 years agor3953: the lm verifier key in passwoed ChangePasswordUser3 is based on the nt
Andrew Tridgell [Thu, 25 Nov 2004 04:01:31 +0000 (04:01 +0000)]
r3953: the lm verifier key in passwoed ChangePasswordUser3 is based on the nt
hash, not the lm hash

16 years agor3952: added validation of the lm and nt verifiers to our server side password change...
Andrew Tridgell [Thu, 25 Nov 2004 01:13:44 +0000 (01:13 +0000)]
r3952: added validation of the lm and nt verifiers to our server side password change code.

16 years agor3945: expanded the BASE-PROPERTIES test to print a nicely formatted list of
Andrew Tridgell [Wed, 24 Nov 2004 22:26:19 +0000 (22:26 +0000)]
r3945: expanded the BASE-PROPERTIES test to print a nicely formatted list of
the capabilities and filesystem attribute bits of the server.

16 years agor3942: decode the 'replUpToDateVector' blob
Stefan Metzmacher [Wed, 24 Nov 2004 14:33:40 +0000 (14:33 +0000)]
r3942: decode the 'replUpToDateVector' blob

metze

16 years agor3941: make sure we don't keep pounding on a ncacn_ip_tcp connection after it is...
Andrew Tridgell [Wed, 24 Nov 2004 11:24:33 +0000 (11:24 +0000)]
r3941: make sure we don't keep pounding on a ncacn_ip_tcp connection after it is dead

16 years agor3939: - added "posix:fakeoplocks" option for testing with oplocks forced on
Andrew Tridgell [Wed, 24 Nov 2004 06:09:14 +0000 (06:09 +0000)]
r3939: - added "posix:fakeoplocks" option for testing with oplocks forced on

- added support for sticky write times after a setfileinfo, by using a
  write_time field in the DosAttrib xattr structure.

16 years agor3938: cleaned some old stuff out of loadparm
Andrew Tridgell [Wed, 24 Nov 2004 06:07:19 +0000 (06:07 +0000)]
r3938: cleaned some old stuff out of loadparm

16 years agor3927: add idl file for NDR encoded LDAP attributes used for the directory service
Stefan Metzmacher [Tue, 23 Nov 2004 17:38:32 +0000 (17:38 +0000)]
r3927: add idl file for NDR encoded LDAP attributes used for the directory service

metze

16 years agor3926: fix compiler warnings
Stefan Metzmacher [Tue, 23 Nov 2004 17:35:37 +0000 (17:35 +0000)]
r3926: fix compiler warnings

metze

16 years agor3922: Add yet another NETLOGON RPC. This is another varient of SamLogon,
Andrew Bartlett [Tue, 23 Nov 2004 12:34:11 +0000 (12:34 +0000)]
r3922: Add yet another NETLOGON RPC.  This is another varient of SamLogon,
that works only on SCHANNEL secured connections (as it needs the
implicit credentials).

Fix some of the IDL.

Andrew Bartlett

16 years agor3921: Cross-test SIDs in RPC-SAMSYNC, fix the build.
Andrew Bartlett [Tue, 23 Nov 2004 11:02:27 +0000 (11:02 +0000)]
r3921: Cross-test SIDs in RPC-SAMSYNC, fix the build.

Andrew Bartlett

16 years agor3920: - it seem that we need to send a magic bind_guid in DsBind()
Stefan Metzmacher [Tue, 23 Nov 2004 08:57:42 +0000 (08:57 +0000)]
r3920: - it seem that we need to send a magic bind_guid in DsBind()
  to make DsWriteAccountSpn() work

- add idl and torture test for DsWriteAccountSpn()

metze

16 years agor3919: Add more info levels to the QueryTrustedDomainInfo structures, with
Andrew Bartlett [Tue, 23 Nov 2004 03:11:38 +0000 (03:11 +0000)]
r3919: Add more info levels to the QueryTrustedDomainInfo structures, with
names and other assistance from the ethereal sources.

More work needs to be done to validate some of the levels, which do
not appear in the query - perhaps they are modification levels.

Andrew Bartlett

16 years agor3917: A few more LSA RPCs found in my wanderings (for trusted domains, these
Andrew Bartlett [Tue, 23 Nov 2004 00:31:00 +0000 (00:31 +0000)]
r3917: A few more LSA RPCs found in my wanderings (for trusted domains, these
seem to be 'shortcut' RPCs, that just avoid an open/query pair).

Rename a few others to give us a slightly sensible pattern.

Andrew Bartlett

16 years agor3916: w2k3 does not check the max_setup count in nttrans requests
Andrew Tridgell [Tue, 23 Nov 2004 00:09:23 +0000 (00:09 +0000)]
r3916: w2k3 does not check the max_setup count in nttrans requests

16 years agor3915: a few updates to the DsCrackNames() torture test
Stefan Metzmacher [Mon, 22 Nov 2004 17:30:32 +0000 (17:30 +0000)]
r3915: a few updates to the DsCrackNames() torture test

metze

16 years agor3914: add idl, torture test and simple server for netr_DrsGetDCNameEx2()
Stefan Metzmacher [Mon, 22 Nov 2004 17:14:57 +0000 (17:14 +0000)]
r3914: add idl, torture test and simple server for netr_DrsGetDCNameEx2()

metze

16 years agor3913: fix the build
Stefan Metzmacher [Mon, 22 Nov 2004 17:08:25 +0000 (17:08 +0000)]
r3913: fix the build

metze

16 years agor3910: add some error codes
Stefan Metzmacher [Mon, 22 Nov 2004 14:28:09 +0000 (14:28 +0000)]
r3910: add some error codes

metze

16 years agor3909: Fix cross-reference test for trusted domains.
Andrew Bartlett [Mon, 22 Nov 2004 12:34:34 +0000 (12:34 +0000)]
r3909: Fix cross-reference test for trusted domains.

Andrew Bartlett

16 years agor3908: We know that this field is a flag of some kind, and matches the output on...
Andrew Bartlett [Mon, 22 Nov 2004 12:01:14 +0000 (12:01 +0000)]
r3908: We know that this field is a flag of some kind, and matches the output on LSA.

Andrew Bartlett

16 years agor3907: * Rename lsa_Name to lsa_String
Andrew Bartlett [Mon, 22 Nov 2004 11:59:59 +0000 (11:59 +0000)]
r3907: * Rename lsa_Name to lsa_String

* Add new IDL to LSA, to query information about trusted domains (for
  cross-check with SamSync).

Andrew Bartlett

16 years agor3906: fix compiler warnings
Stefan Metzmacher [Mon, 22 Nov 2004 10:59:46 +0000 (10:59 +0000)]
r3906: fix compiler warnings

metze

16 years agor3905: (oops, missing file: samsync.c)
Andrew Bartlett [Mon, 22 Nov 2004 08:50:20 +0000 (08:50 +0000)]
r3905: (oops, missing file: samsync.c)

* Add new LSA calls to open trusted domains

* Add new tests for ACCOUNTs in SamSync

* Clean up names in NETLOGON and LSA

* Verify Security Descriptors against LSA, as well as SamR

Andrew Bartlett

16 years agor3904: * Add new LSA calls to open trusted domains
Andrew Bartlett [Mon, 22 Nov 2004 08:47:47 +0000 (08:47 +0000)]
r3904: * Add new LSA calls to open trusted domains

* Add new tests for ACCOUNTs in SamSync

* Clean up names in NETLOGON and LSA

* Verify Security Descriptors against LSA, as well as SamR

Andrew Bartlett

16 years agor3903: better fix for -r 3902
Stefan Metzmacher [Mon, 22 Nov 2004 08:31:36 +0000 (08:31 +0000)]
r3903: better fix for -r 3902
(not introduce new warnings:-)

metze

16 years agor3902: fix compiler warnings
Stefan Metzmacher [Mon, 22 Nov 2004 08:15:27 +0000 (08:15 +0000)]
r3902: fix compiler warnings

metze

16 years agor3901: fix compiler warnings
Stefan Metzmacher [Mon, 22 Nov 2004 07:59:14 +0000 (07:59 +0000)]
r3901: fix compiler warnings

metze

16 years agor3900: fix compiler warning
Stefan Metzmacher [Mon, 22 Nov 2004 07:56:13 +0000 (07:56 +0000)]
r3900: fix compiler warning

metze

16 years agor3899: fix compiler warnings
Stefan Metzmacher [Mon, 22 Nov 2004 07:54:16 +0000 (07:54 +0000)]
r3899: fix compiler warnings

metze

16 years agor3898: Work towards local/server DCOM support, start working
Jelmer Vernooij [Sun, 21 Nov 2004 17:47:09 +0000 (17:47 +0000)]
r3898: Work towards local/server DCOM support, start working
on Simple example server side implementation

16 years agor3897: add a locking infrastructure
Simo Sorce [Sun, 21 Nov 2004 15:51:54 +0000 (15:51 +0000)]
r3897: add a locking infrastructure

16 years agor3896: Correct header files in rpc server templates plus
Jelmer Vernooij [Sat, 20 Nov 2004 23:35:28 +0000 (23:35 +0000)]
r3896: Correct header files in rpc server templates plus
some other minor fixes

16 years agor3891: Add rot (Running Object Table) interface
Jelmer Vernooij [Sat, 20 Nov 2004 18:51:58 +0000 (18:51 +0000)]
r3891: Add rot (Running Object Table) interface

16 years agor3888: Just proving :-) to tridge that a Setfileinfo with a modified
Jeremy Allison [Sat, 20 Nov 2004 02:33:12 +0000 (02:33 +0000)]
r3888: Just proving :-) to tridge that a Setfileinfo with a modified
write time is sticky, and causes any subsequent writes not to update
the last write time. Added write that extends the file followed by
fnum specific smbflush. It stays the same time :-).
Jeremy.

16 years agor3887: Much better understanding of delayed write time, and the interaction
Jeremy Allison [Sat, 20 Nov 2004 01:51:32 +0000 (01:51 +0000)]
r3887: Much better understanding of delayed write time, and the interaction
with setfileinfo modifying the write time. I have some ideas on how
to emulate this in the Samba server now but the commented case will
be very hard...
Jeremy.

16 years agor3886: Trying to understand delayed file write update times. Added another
Jeremy Allison [Sat, 20 Nov 2004 01:09:25 +0000 (01:09 +0000)]
r3886: Trying to understand delayed file write update times. Added another
test that uses 2 connections and queries the time via pathinfo, not fileinfo.
MSDN states : "When writing to a file, the last write time is not fully updated
until all handles used for writing have been closed." - but this is obviously
untrue. W2K3 seems to use a 2 second granularity for this. Next I'll try using
SetFileTime equivalent to see if this takes the same time to take effect.
Jeremy.

16 years agor3885: Add security descriptor comparison to our RPC-SAMSYNC test. We now
Andrew Bartlett [Sat, 20 Nov 2004 00:29:04 +0000 (00:29 +0000)]
r3885: Add security descriptor comparison to our RPC-SAMSYNC test.  We now
verify that the security descriptor found in the SamSync is the same
as what is available over SAMR.

Unfortunately, the administrator seems unable to retrieve the SACL on
the security descriptor, so I've added a new function to compare with
a mask.

Andrew Bartlett

16 years agor3881: Split up the LIBNDR_GEN subsystem into NDR_* and RPC_NDR_* subsystems.
Jelmer Vernooij [Fri, 19 Nov 2004 20:21:13 +0000 (20:21 +0000)]
r3881: Split up the LIBNDR_GEN subsystem into NDR_* and RPC_NDR_* subsystems.
This reduces the total size of the samba binaries from 119 Mb to 73 Mb.
Next step will be to have the build system obtain some of this information
by itself, so that we don't have to write ~10 lines per interface manually.

16 years agor3876: fix compiler warnings
Stefan Metzmacher [Fri, 19 Nov 2004 15:43:35 +0000 (15:43 +0000)]
r3876: fix compiler warnings

metze

16 years agor3870: Delete wrappers for tdb_lockkeys() and tdb_unlockkeys().
Tim Potter [Fri, 19 Nov 2004 02:57:35 +0000 (02:57 +0000)]
r3870: Delete wrappers for tdb_lockkeys() and tdb_unlockkeys().

16 years agor3869: in the NDR encoded replPropertyMetaData attribute in ADS
Stefan Metzmacher [Fri, 19 Nov 2004 02:35:48 +0000 (02:35 +0000)]
r3869: in the NDR encoded replPropertyMetaData attribute in ADS
I see a new 64 bit time field which are seconds since 1601,

this will be mapped to NTTIME by th eparsing code

+#define NTTIME_1sec NTTIME

metze

16 years agor3861: - Put ndr and rpc client code in seperate files
Jelmer Vernooij [Thu, 18 Nov 2004 20:53:23 +0000 (20:53 +0000)]
r3861: - Put ndr and rpc client code in seperate files
- Add some const

16 years agor3838: use "security.NTACL" instead of "security.NTAcl" for the xattr name for ACLs
Andrew Tridgell [Thu, 18 Nov 2004 05:35:48 +0000 (05:35 +0000)]
r3838: use "security.NTACL" instead of "security.NTAcl" for the xattr name for ACLs

16 years agor3837: added support for LsaLookupSids in the LSA rpc server. This allows the GUI...
Andrew Tridgell [Thu, 18 Nov 2004 05:17:24 +0000 (05:17 +0000)]
r3837: added support for LsaLookupSids in the LSA rpc server. This allows the GUI ACL editor on w2k to
correctly display names instead of SIDs.

16 years agor3836: - fixed the handling of NT_STATUS_BUFFER_TOO_SMALL in nttrans server
Andrew Tridgell [Thu, 18 Nov 2004 04:19:26 +0000 (04:19 +0000)]
r3836: - fixed the handling of NT_STATUS_BUFFER_TOO_SMALL in nttrans server

- fixed revision number on default DACL

- fixed DACL_PRESENT bit in acl query

with these fixes cacls.exe and the GUI ACL editor in w2k both work
against pvfs. The GUI editor is slow as it times out looking up the
SID -> name mappings.

16 years agor3835: - added testing of setting an initial ACL on a file using NTTRANS create
Andrew Tridgell [Thu, 18 Nov 2004 03:59:24 +0000 (03:59 +0000)]
r3835: - added testing of setting an initial ACL on a file using NTTRANS create

- added support for initial ACLs in pvfs backend

16 years agor3834: - fixed XATTR_NTACL_NAME
Andrew Tridgell [Thu, 18 Nov 2004 03:45:06 +0000 (03:45 +0000)]
r3834: - fixed XATTR_NTACL_NAME

- pvfs now passes RAW-ACLS

16 years agor3833: NTACL is a better xattr name than DosAcl (tpot suggested this)
Andrew Tridgell [Thu, 18 Nov 2004 03:41:50 +0000 (03:41 +0000)]
r3833: NTACL is a better xattr name than DosAcl (tpot suggested this)

16 years agor3832: added NT ACL query/set to the posix NTVFS backend. The default ACL is
Andrew Tridgell [Thu, 18 Nov 2004 03:31:35 +0000 (03:31 +0000)]
r3832: added NT ACL query/set to the posix NTVFS backend. The default ACL is
based on the current nttoken, which is completely wrong, but works as a start.

The ACL is stored in the xattr system.DosAcl, using a NDR encoded IDL
union with a version number to allow for future expansion.

pvfs does not yet check the ACL for file access. At the moment the ACL
is just query/set.

We also need to do some RPC work to allow the windows ACL editor to be
used. At the moment is queries the ACL fine, but displays an error
when it fails to map the SIDs via rpc.

16 years agor3831: added nttrans server code for query/set security descriptor. This
Andrew Tridgell [Thu, 18 Nov 2004 02:06:11 +0000 (02:06 +0000)]
r3831: added nttrans server code for query/set security descriptor. This
means ACLs now can be set/fetched from the CIFS NTVFS backend.

16 years agor3830: unified the query/set security descriptor code with the rest of the
Andrew Tridgell [Thu, 18 Nov 2004 01:41:43 +0000 (01:41 +0000)]
r3830: unified the query/set security descriptor code with the rest of the
queryfileinfo/setfileinfo logic, so querying/setting a security
descriptor is treated as just another file query/set operation.

This will allow NTVFS backends to see the query/set security
descriptor operations as RAW_FILEINFO_SEC_DESC and
RAW_SFILEINFO_SEC_DESC operations.

16 years agor3829: added a RAW-ACLS test suite that tests query/set of ACLs on a file
Andrew Tridgell [Thu, 18 Nov 2004 01:02:27 +0000 (01:02 +0000)]
r3829: added a RAW-ACLS test suite that tests query/set of ACLs on a file

16 years agor3828: added testing of opening an existing file with EAs (the EAs are ignored)
Andrew Tridgell [Wed, 17 Nov 2004 22:13:30 +0000 (22:13 +0000)]
r3828: added testing of opening an existing file with EAs (the EAs are ignored)

16 years agor3827: fixed copyright notices to remove simo and lkcl who have no code left in this...
Andrew Tridgell [Wed, 17 Nov 2004 22:12:46 +0000 (22:12 +0000)]
r3827: fixed copyright notices to remove simo and lkcl who have no code left in this file

16 years agor3826: - added testing of ea lists in NTTRANS CREATE
Andrew Tridgell [Wed, 17 Nov 2004 22:00:15 +0000 (22:00 +0000)]
r3826: - added testing of ea lists in NTTRANS CREATE

- fixed push/pull of chained ea lists

- fixed a bug in the nttrans wire encoding

16 years agor3821: added client side code and test code for NTTRANS_CREATE
Andrew Tridgell [Wed, 17 Nov 2004 20:56:26 +0000 (20:56 +0000)]
r3821: added client side code and test code for NTTRANS_CREATE

16 years agor3810: create a LIB_SECURITY subsystem
Stefan Metzmacher [Wed, 17 Nov 2004 14:35:29 +0000 (14:35 +0000)]
r3810: create a LIB_SECURITY subsystem

- move dom_sid, security_descriptor, security_* funtions to one place
  and rename some of them

metze

16 years agor3809: fix compiler warning
Stefan Metzmacher [Wed, 17 Nov 2004 14:34:02 +0000 (14:34 +0000)]
r3809: fix compiler warning

metze

16 years agor3808: Put these in the same order as the IDL, to make it easier to spot what's unimp...
Andrew Bartlett [Wed, 17 Nov 2004 13:47:01 +0000 (13:47 +0000)]
r3808: Put these in the same order as the IDL, to make it easier to spot what's unimplemetned (tests of the group members)

Andrew Bartlett

16 years agor3807: Cross-check the basic attributes for groups and aliases in RPC-SAMSYNC.
Andrew Bartlett [Wed, 17 Nov 2004 13:39:37 +0000 (13:39 +0000)]
r3807: Cross-check the basic attributes for groups and aliases in RPC-SAMSYNC.

Andrew Bartlett

16 years agor3806: added support to smb_server and pvfs for the NTTRANS Create call. This
Andrew Tridgell [Wed, 17 Nov 2004 12:36:14 +0000 (12:36 +0000)]
r3806: added support to smb_server and pvfs for the NTTRANS Create call. This
call has an optional sec_desc and ea_list.

16 years agor3805: Fix the LSA portions of the RPC-SAMSYNC test - I was not using the LSA
Andrew Bartlett [Wed, 17 Nov 2004 12:27:16 +0000 (12:27 +0000)]
r3805: Fix the LSA portions of the RPC-SAMSYNC test - I was not using the LSA
secrets interface correctly.  (New interface added).

Andrew Bartlett

16 years agor3804: Add more comparison tests in RPC-SAMSYNC.
Andrew Bartlett [Wed, 17 Nov 2004 11:56:13 +0000 (11:56 +0000)]
r3804: Add more comparison tests in RPC-SAMSYNC.

This compares values for the domain and for secrets.  We still have
some problems we need to sort out for secrets.

Also rename a number of structures in samr.idl and netlogon.idl, to
better express their consistancy.

Andrew Bartlett

16 years agor3803: fixed detection of xattr support
Andrew Tridgell [Wed, 17 Nov 2004 10:02:55 +0000 (10:02 +0000)]
r3803: fixed detection of xattr support

16 years agor3801: added allocation size rounding. This is needed for ifstest.
Andrew Tridgell [Wed, 17 Nov 2004 07:17:55 +0000 (07:17 +0000)]
r3801: added allocation size rounding. This is needed for ifstest.

16 years agor3800: - fixed delete-on-close behaviour for streams
Andrew Tridgell [Wed, 17 Nov 2004 06:44:50 +0000 (06:44 +0000)]
r3800: - fixed delete-on-close behaviour for streams

- added a delete-on-close test to RAW-STREAMS

- don't allow rename of streams at the moment (I need to work out if
  its supposed to be allowed first)

16 years agor3799: - added the bit for FS_ATTR_NAMED_STREAMS support into qfsinfo filesystem...
Andrew Tridgell [Wed, 17 Nov 2004 06:30:06 +0000 (06:30 +0000)]
r3799: - added the bit for FS_ATTR_NAMED_STREAMS support into qfsinfo filesystem attribute reply

- pvfs passes the RAW-STREAMS test

16 years agor3798: added support for alternate data streams in xattrs into pvfs.
Andrew Tridgell [Wed, 17 Nov 2004 05:58:04 +0000 (05:58 +0000)]
r3798: added support for alternate data streams in xattrs into pvfs.

The trickiest part about this was getting the sharing and locking
rules right, as alternate streams are separate locking spaces from the
main file for the purposes of byte range locking, and separate for
most share violation rules.

I suspect there are still problems with delete on close with alternate
data streams. I'll look at that next.

16 years agor3793: add some streams tests that show how the :$DATA suffix is handled
Andrew Tridgell [Wed, 17 Nov 2004 00:39:20 +0000 (00:39 +0000)]
r3793: add some streams tests that show how the :$DATA suffix is handled

16 years agor3792: improved the posix -> nt error mapping, so we get things like
Andrew Tridgell [Wed, 17 Nov 2004 00:31:56 +0000 (00:31 +0000)]
r3792: improved the posix -> nt error mapping, so we get things like
NT_STATUS_HOST_UNREACHABLE instead of NT_STATUS_UNSUCCESSFUL

16 years agor3791: fixed declaration of torture_rpc_login
Andrew Tridgell [Tue, 16 Nov 2004 23:41:18 +0000 (23:41 +0000)]
r3791: fixed declaration of torture_rpc_login

16 years agor3790: use a registration function that is called from dcerpc_*_init functions
Jelmer Vernooij [Tue, 16 Nov 2004 21:07:08 +0000 (21:07 +0000)]
r3790: use a registration function that is called from dcerpc_*_init functions
rather then a large table in librpc/gen_ndr/tables.c. This will allow us
to only link in only the required gen_ndr files (speeds up linking quite a
bit, makes binaries smaller).

Each gen_ndr_* file now has a init function that calls the init functions
of the interfaces it contains. I did it this way to keep pidl's code simple,
though it might hurt startup time a bit. I'd be happy to change it if
people like one function better.

16 years agor3789: - fix error handling
Stefan Metzmacher [Tue, 16 Nov 2004 14:43:28 +0000 (14:43 +0000)]
r3789: - fix error handling
- formating changes

metze

16 years agor3788: give new accounts and groups a objectGUID
Stefan Metzmacher [Tue, 16 Nov 2004 13:20:32 +0000 (13:20 +0000)]
r3788: give new accounts and groups a objectGUID

metze

16 years agor3787: a function to generate a random GUID
Stefan Metzmacher [Tue, 16 Nov 2004 13:14:02 +0000 (13:14 +0000)]
r3787: a function to generate a random GUID

metze

16 years agor3786: send a mechListMIC to make the current samba3 client happy
Stefan Metzmacher [Tue, 16 Nov 2004 13:05:51 +0000 (13:05 +0000)]
r3786: send a mechListMIC to make the current samba3 client happy

metze

16 years agor3785: this strings are not const
Stefan Metzmacher [Tue, 16 Nov 2004 11:17:59 +0000 (11:17 +0000)]
r3785: this strings are not const

metze

16 years agor3784: do a samdb lookup for the DsCrackNames server
Stefan Metzmacher [Tue, 16 Nov 2004 10:56:51 +0000 (10:56 +0000)]
r3784: do a samdb lookup for the DsCrackNames server

metze

16 years agor3783: - don't use make proto for ldb anymore
Stefan Metzmacher [Tue, 16 Nov 2004 09:00:52 +0000 (09:00 +0000)]
r3783: - don't use make proto for ldb anymore

- split ldh.h out of samba's includes.h

- make ldb_context and ldb_module private to the subsystem

- use ltdb_ prefix for all ldb_tdb functions

metze

16 years agor3782: use ldb_ namespace
Stefan Metzmacher [Tue, 16 Nov 2004 06:14:36 +0000 (06:14 +0000)]
r3782: use ldb_ namespace

metze

16 years agor3770: - fix endless recursion loop in spnego fallback code
Stefan Metzmacher [Mon, 15 Nov 2004 20:31:12 +0000 (20:31 +0000)]
r3770: - fix endless recursion loop in spnego fallback code

- fix compiler warnings

metze

16 years agor3769: fix the build of shared libraries
Stefan Metzmacher [Mon, 15 Nov 2004 20:25:40 +0000 (20:25 +0000)]
r3769: fix the build of shared libraries

metze

16 years agor3768: Fix build of libraries
Jelmer Vernooij [Mon, 15 Nov 2004 19:53:45 +0000 (19:53 +0000)]
r3768: Fix build of libraries

16 years agor3762: - only load the readed bytes into the input buffer
Stefan Metzmacher [Mon, 15 Nov 2004 17:27:07 +0000 (17:27 +0000)]
r3762: - only load the readed bytes into the input buffer

- fix compiler warnings with gcc-4.0

metze

16 years agor3760: mention -o switch in help message
Simo Sorce [Mon, 15 Nov 2004 14:16:10 +0000 (14:16 +0000)]
r3760: mention -o switch in help message

16 years agor3757: Some fixes for ldb_ldap
Simo Sorce [Mon, 15 Nov 2004 12:30:28 +0000 (12:30 +0000)]
r3757: Some fixes for ldb_ldap
Now we pass also the test-ldap tests :-)

16 years agor3756: Fix netbios session request reply. The buffer should not be a stack-based
Volker Lendecke [Mon, 15 Nov 2004 12:24:02 +0000 (12:24 +0000)]
r3756: Fix netbios session request reply. The buffer should not be a stack-based
variable that is overwritten later.

Samba3 smbclient still does not like Samba4. In ntlmssp samba3 smbclient
expects an mechlistmic that 4 does not send.

Volker

16 years agor3755: add missing files
Simo Sorce [Mon, 15 Nov 2004 11:42:17 +0000 (11:42 +0000)]
r3755: add missing files

16 years agor3754: merge in ldb modules support from the tmp branch ldbPlugins
Simo Sorce [Mon, 15 Nov 2004 11:40:27 +0000 (11:40 +0000)]
r3754: merge in ldb modules support from the tmp branch ldbPlugins

16 years agor3753: Have some modules default to "NOT" and enable them again when
Jelmer Vernooij [Mon, 15 Nov 2004 11:13:35 +0000 (11:13 +0000)]
r3753: Have some modules default to "NOT" and enable them again when
their dependencies are found