gd/samba-autobuild/.git
9 years agoReplaced DS_FLAG_ATTR_IS_CRITICAL with SCHEMA_FLAG_ATTR_IS_CRITICAL.
Nadezhda Ivanova [Mon, 3 May 2010 14:47:56 +0000 (16:47 +0200)]
Replaced DS_FLAG_ATTR_IS_CRITICAL with SCHEMA_FLAG_ATTR_IS_CRITICAL.

9 years agos3-rpcclient: Fix Bug #7277. rpcclient was sending invalid data, causing cupsaddsmb...
Günther Deschner [Mon, 3 May 2010 13:54:14 +0000 (15:54 +0200)]
s3-rpcclient: Fix Bug #7277. rpcclient was sending invalid data, causing cupsaddsmb to fail.

Guenther

9 years agotsocket: Fixed the documentation of tsocket_address_bsd_sockaddr.
Andreas Schneider [Mon, 3 May 2010 09:25:26 +0000 (11:25 +0200)]
tsocket: Fixed the documentation of tsocket_address_bsd_sockaddr.

9 years agoAdded a couple of systemFlags, needed for determining filtered attributes.
Nadezhda Ivanova [Mon, 3 May 2010 13:38:46 +0000 (15:38 +0200)]
Added a couple of systemFlags, needed for determining filtered attributes.

9 years agoAdded a function to check if an attribute can belong to a filtered replica.
Nadezhda Ivanova [Mon, 3 May 2010 12:50:10 +0000 (14:50 +0200)]
Added a function to check if an attribute can belong to a filtered replica.

9 years agos3-lanman: fix api_DosPrintQEnum().
Günther Deschner [Mon, 3 May 2010 11:42:32 +0000 (13:42 +0200)]
s3-lanman: fix api_DosPrintQEnum().

This was a subtile bug where the OpenPrinter call (called directly via
dispatcher table) was modifiying r->in.printername in a way that all printers on
a server had the printername stripped off the server unc. Once we switch to full
NDR marshalling in inter RAP<->RPC server communication there is no danger
anymore to have these kind of nasty effects.

Guenther

9 years agos3: re-run make samba3-idl.
Günther Deschner [Mon, 3 May 2010 10:51:26 +0000 (12:51 +0200)]
s3: re-run make samba3-idl.

Guenther

9 years agopidl: indent cosmetics for s3 server stubs.
Günther Deschner [Mon, 3 May 2010 10:48:55 +0000 (12:48 +0200)]
pidl: indent cosmetics for s3 server stubs.

Guenther

9 years agos4-smbtorture: add test_netprintjobsetinfo to RAP-PRINTING.
Günther Deschner [Mon, 3 May 2010 09:57:06 +0000 (11:57 +0200)]
s4-smbtorture: add test_netprintjobsetinfo to RAP-PRINTING.

Guenther

9 years agos4-smbtorture: add smbcli_rap_netprintjobsetinfo().
Günther Deschner [Mon, 3 May 2010 09:46:57 +0000 (11:46 +0200)]
s4-smbtorture: add smbcli_rap_netprintjobsetinfo().

Guenther

9 years agos4-smbtorture: add rap_cli_push_param() and rap_cli_push_sendbuf().
Günther Deschner [Mon, 3 May 2010 09:45:52 +0000 (11:45 +0200)]
s4-smbtorture: add rap_cli_push_param() and rap_cli_push_sendbuf().

Guenther

9 years agos3-lanman: exit early for unsupported levels in api_PrintJobInfo().
Günther Deschner [Mon, 3 May 2010 09:58:06 +0000 (11:58 +0200)]
s3-lanman: exit early for unsupported levels in api_PrintJobInfo().

Guenther

9 years agos3: re-run make samba3-idl.
Günther Deschner [Fri, 30 Apr 2010 15:37:34 +0000 (17:37 +0200)]
s3: re-run make samba3-idl.

Guenther

9 years agorap: add rap_NetPrintJobSetInfo to IDL.
Günther Deschner [Fri, 30 Apr 2010 15:37:16 +0000 (17:37 +0200)]
rap: add rap_NetPrintJobSetInfo to IDL.

Guenther

9 years agos4-waf: fixed symlink path for autogen.sh
Andrew Tridgell [Mon, 3 May 2010 08:22:22 +0000 (10:22 +0200)]
s4-waf: fixed symlink path for autogen.sh

thanks to Nadya for noticing :-)

9 years agos4-waf: switch Samba4 over to the waf build by default
Andrew Tridgell [Mon, 3 May 2010 07:12:43 +0000 (09:12 +0200)]
s4-waf: switch Samba4 over to the waf build by default

the old autogen.sh is now calld autogen-autotools.sh

For now autogen.sh is a link to autogen-waf.sh. We can remove
autogen-waf.sh in the future, but for now I'm leaving it in place so
as not to break existing scripts (both build farm, and the scripts for
the standalone libs)

9 years agoConsolidate all get SEC_DESC into single procedure get_secdesc
Matthew McGillis [Mon, 3 May 2010 01:08:29 +0000 (18:08 -0700)]
Consolidate all get SEC_DESC into single procedure get_secdesc

9 years agoalways pass filename as const char
Matthew McGillis [Mon, 3 May 2010 01:08:02 +0000 (18:08 -0700)]
always pass filename as const char

9 years agobuild: uname on opensolaris returns 1 for success
Andrew Tridgell [Sun, 2 May 2010 14:12:14 +0000 (16:12 +0200)]
build: uname on opensolaris returns 1 for success

check for -1 as failure, not 0 for success

9 years agos4-ldb: use a parent context in the ldb utils
Andrew Tridgell [Sun, 2 May 2010 13:53:14 +0000 (15:53 +0200)]
s4-ldb: use a parent context in the ldb utils

This avoids a talloc free with references error on exit

9 years agos4: Fix python binding for drsblobs
Matthieu Patou [Mon, 12 Apr 2010 20:58:50 +0000 (00:58 +0400)]
s4: Fix python binding for drsblobs

This binding needs symbols in drsblobs_c.c otherwise we have unresolved symbols

9 years agos4 python: fix glues functions manipulating NTTIME
Matthieu Patou [Wed, 14 Apr 2010 20:18:14 +0000 (00:18 +0400)]
s4 python: fix glues functions manipulating NTTIME

The fix include reverse function (from NTTIME to timestamp) + fix
on the transformation of a NTTIME to a PyLong object

9 years agopidl: Fix the generation of py helper for 64 bit integer
Matthieu Patou [Wed, 14 Apr 2010 20:18:46 +0000 (00:18 +0400)]
pidl: Fix the generation of py helper for 64 bit integer

Up to now the generation of code for python helpers dealing with 64 bits (NTTIME,hyper, ...)
was broken because they were assumed to be Int (PyInt_From ...) as Integer is always 32 bits
in python.
This fix use PyLong and states that the incomming data is a long long as it should be 64 bit at least.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
9 years agos3: Unify DEBUG_KRB5_TKT_REGAIN and DEBUG_KRB5_TKT_RENEWAL
Volker Lendecke [Sat, 1 May 2010 12:51:15 +0000 (14:51 +0200)]
s3: Unify DEBUG_KRB5_TKT_REGAIN and DEBUG_KRB5_TKT_RENEWAL

I don't think it makes sense to #ifdef this one case separately.

Metze, Bo Yang, please check!

9 years agos3: Fix a typo
Volker Lendecke [Sat, 1 May 2010 12:39:01 +0000 (14:39 +0200)]
s3: Fix a typo

9 years agos3: Fix the code order in append_auth_data
Volker Lendecke [Sun, 25 Apr 2010 13:36:02 +0000 (15:36 +0200)]
s3: Fix the code order in append_auth_data

This is to comply with the comment

"currently, anything from here on potentially overwrites extra_data."

Günther, please check!

9 years agos4:credentials Make the CCACHE in credentials depend on the things that built it
Andrew Bartlett [Sat, 1 May 2010 00:33:08 +0000 (10:33 +1000)]
s4:credentials Make the CCACHE in credentials depend on the things that built it

This means that we consider the ccache only as reliable as the least
specified of the inputs we used.

This means that we will regenerate the ccache if any of the inputs change.

Andrew Bartlett

9 years agotalloc: Documentation fix for talloc
Holger Hans Peter Freyther [Sat, 1 May 2010 13:18:45 +0000 (15:18 +0200)]
talloc: Documentation fix for talloc

9 years agos4:dsdb Fix use of memory after free in repl_meta_data
Andrew Bartlett [Sat, 1 May 2010 08:22:20 +0000 (18:22 +1000)]
s4:dsdb Fix use of memory after free in repl_meta_data

The upgraded link values are were allocated on tmp_ctx, and need to be
kept until they are written to the DB.  If we don't give the correct
context, they will be gone after the talloc_free(tmp_ctx).

Found by Matthieu Patou <mat+Informatique.Samba@matws.net>

Andrew Bartlett

9 years agoPlumb the SMB2 front end into the blocking lock backend.
Jeremy Allison [Sat, 1 May 2010 04:03:20 +0000 (21:03 -0700)]
Plumb the SMB2 front end into the blocking lock backend.

Metze, you'll probably be happier with this work as it
doesn't abuse tevent in the way you dislike. This is a
first cut at the code, which will need lots of testing
but I'm hoping this will give people an idea of where I'm
going with this.

Jeremy.

9 years agosmbd: move printfile_offset() within write_file()
Simo Sorce [Wed, 28 Apr 2010 23:42:04 +0000 (19:42 -0400)]
smbd: move printfile_offset() within write_file()

9 years agos4-smbtorture: add test_netprintjobgetinfo().
Günther Deschner [Fri, 30 Apr 2010 15:06:29 +0000 (17:06 +0200)]
s4-smbtorture: add test_netprintjobgetinfo().

Guenther

9 years agos4-smbtorture: add smbcli_rap_netprintjobgetinfo().
Günther Deschner [Fri, 30 Apr 2010 15:06:03 +0000 (17:06 +0200)]
s4-smbtorture: add smbcli_rap_netprintjobgetinfo().

Guenther

9 years agos3: re-run make samba3-idl.
Günther Deschner [Fri, 30 Apr 2010 15:04:42 +0000 (17:04 +0200)]
s3: re-run make samba3-idl.

Guenther

9 years agorap: add rap_NetPrintJobGetInfo to IDL.
Günther Deschner [Fri, 30 Apr 2010 15:04:14 +0000 (17:04 +0200)]
rap: add rap_NetPrintJobGetInfo to IDL.

Guenther

9 years agos4-smbtorture: fix smbcli_rap_netprintjobenum().
Günther Deschner [Fri, 30 Apr 2010 15:05:17 +0000 (17:05 +0200)]
s4-smbtorture: fix smbcli_rap_netprintjobenum().

It is just fine for a printq to have no pending jobs.

Guenther

9 years agos4-smbtorture: add test_netprintjobenum to RAP-PRINTING.
Günther Deschner [Fri, 30 Apr 2010 12:57:19 +0000 (14:57 +0200)]
s4-smbtorture: add test_netprintjobenum to RAP-PRINTING.

Guenther

9 years agos4-smbtorture: add smbcli_rap_netprintjobenum().
Günther Deschner [Fri, 30 Apr 2010 12:52:48 +0000 (14:52 +0200)]
s4-smbtorture: add smbcli_rap_netprintjobenum().

Guenther

9 years agos3: re-run make samba3-idl.
Günther Deschner [Fri, 30 Apr 2010 11:52:56 +0000 (13:52 +0200)]
s3: re-run make samba3-idl.

Guenther

9 years agos3: add rap_NetPrintJobEnum (again a call not documented in MS-RAP).
Günther Deschner [Fri, 30 Apr 2010 11:52:14 +0000 (13:52 +0200)]
s3: add rap_NetPrintJobEnum (again a call not documented in MS-RAP).

Guenther

9 years agos4-smbtorture: pause and resume printq in RAP-PRINTING test.
Günther Deschner [Fri, 30 Apr 2010 11:38:49 +0000 (13:38 +0200)]
s4-smbtorture: pause and resume printq in RAP-PRINTING test.

Guenther

9 years agos4-smbtorture: use rap_status in smbcli_rap_* functions.
Günther Deschner [Fri, 30 Apr 2010 11:36:59 +0000 (13:36 +0200)]
s4-smbtorture: use rap_status in smbcli_rap_* functions.

Guenther

9 years agos3: re-run make samba3-idl.
Günther Deschner [Fri, 30 Apr 2010 11:42:02 +0000 (13:42 +0200)]
s3: re-run make samba3-idl.

Guenther

9 years agorap: use rap_status in IDL.
Günther Deschner [Fri, 30 Apr 2010 11:38:04 +0000 (13:38 +0200)]
rap: use rap_status in IDL.

Guenther

9 years agorap: add rap_status to IDL.
Günther Deschner [Fri, 30 Apr 2010 11:35:41 +0000 (13:35 +0200)]
rap: add rap_status to IDL.

Guenther

9 years agos4-smbtorture: add smbcli_rap_netprintqueueresume() and smbcli_rap_netprintqueuepurge().
Günther Deschner [Fri, 30 Apr 2010 11:34:20 +0000 (13:34 +0200)]
s4-smbtorture: add smbcli_rap_netprintqueueresume() and smbcli_rap_netprintqueuepurge().

Guenther

9 years agos4-smbtorture: add test_netprintq to RAP-PRINTING.
Günther Deschner [Fri, 30 Apr 2010 09:57:40 +0000 (11:57 +0200)]
s4-smbtorture: add test_netprintq to RAP-PRINTING.

Guenther

9 years agos4-smbtorture: add smbcli_rap_netprintqueuepause().
Günther Deschner [Fri, 30 Apr 2010 09:57:14 +0000 (11:57 +0200)]
s4-smbtorture: add smbcli_rap_netprintqueuepause().

Guenther

9 years agos3: re-run make samba3-idl.
Günther Deschner [Fri, 30 Apr 2010 09:56:47 +0000 (11:56 +0200)]
s3: re-run make samba3-idl.

Guenther

9 years agorap: add IDL for rap_NetPrintQueue{Pause,Continue,Purge}.
Günther Deschner [Fri, 30 Apr 2010 09:55:18 +0000 (11:55 +0200)]
rap: add IDL for rap_NetPrintQueue{Pause,Continue,Purge}.

it seems like they are not documented (at least not in MS-RAP).

Guenther

9 years agopidl: Fix display field for time fields with newer versions of Wireshark.
Jeff Morriss [Thu, 29 Apr 2010 22:11:54 +0000 (00:11 +0200)]
pidl: Fix display field for time fields with newer versions of Wireshark.

Pidl generates some Wireshark dissector fields of type FT_ABSOLUTE_TIME.
Starting some time not too long ago, these fields need a 'display' field
other than BASE_NONE or BASE_DEC.  This commit fixes this,
*assuming* that all the times are "local."

9 years agoCarefully label SMB1-specific locking calls.
Jeremy Allison [Fri, 30 Apr 2010 00:08:12 +0000 (17:08 -0700)]
Carefully label SMB1-specific locking calls.

Jeremy.

9 years agoMove the global blocking lock records into the smb1 state.
Jeremy Allison [Thu, 29 Apr 2010 23:50:15 +0000 (16:50 -0700)]
Move the global blocking lock records into the smb1 state.

Jeremy

9 years agos4-smbtorture: fix rap_pull_rap_PrintQueue2 and 4.
Günther Deschner [Thu, 29 Apr 2010 23:45:44 +0000 (01:45 +0200)]
s4-smbtorture: fix rap_pull_rap_PrintQueue2 and 4.

Guenther

9 years agos3: re-run make samba3-idl.
Günther Deschner [Thu, 29 Apr 2010 23:45:24 +0000 (01:45 +0200)]
s3: re-run make samba3-idl.

Guenther

9 years agorap: fix rap_PrintQueue2 and rap_PrintQueue4.
Günther Deschner [Thu, 29 Apr 2010 23:44:58 +0000 (01:44 +0200)]
rap: fix rap_PrintQueue2 and rap_PrintQueue4.

Guenther

9 years agorap: let the rap print function be autogenerated again.
Günther Deschner [Thu, 29 Apr 2010 23:11:44 +0000 (01:11 +0200)]
rap: let the rap print function be autogenerated again.

Guenther

9 years agos3: re-run make samba3-idl.
Günther Deschner [Thu, 29 Apr 2010 23:21:13 +0000 (01:21 +0200)]
s3: re-run make samba3-idl.

Guenther

9 years agorap: use astring in IDL.
Günther Deschner [Thu, 29 Apr 2010 21:27:27 +0000 (23:27 +0200)]
rap: use astring in IDL.

Guenther

9 years agos4-smbtorture: test all levels in test_netprintqgetinfo and test_netprintqenum.
Günther Deschner [Thu, 29 Apr 2010 17:26:12 +0000 (19:26 +0200)]
s4-smbtorture: test all levels in test_netprintqgetinfo and test_netprintqenum.

Guenther

9 years agos4-smbtorture: add rap_pull_rap_PrintQueue4.
Günther Deschner [Thu, 29 Apr 2010 17:24:20 +0000 (19:24 +0200)]
s4-smbtorture: add rap_pull_rap_PrintQueue4.

Guenther

9 years agos4-smbtorture: add rap_pull_rap_PrintQueue2.
Günther Deschner [Thu, 29 Apr 2010 17:23:53 +0000 (19:23 +0200)]
s4-smbtorture: add rap_pull_rap_PrintQueue2.

Guenther

9 years agos3: re-run make samba3-idl.
Günther Deschner [Thu, 29 Apr 2010 23:20:34 +0000 (01:20 +0200)]
s3: re-run make samba3-idl.

Guenther

9 years agorap: fill in rap_PrintQueue4 IDL.
Günther Deschner [Thu, 29 Apr 2010 17:21:59 +0000 (19:21 +0200)]
rap: fill in rap_PrintQueue4 IDL.

Guenther

9 years agos3: re-run make samba3-idl.
Günther Deschner [Thu, 29 Apr 2010 23:19:53 +0000 (01:19 +0200)]
s3: re-run make samba3-idl.

Guenther

9 years agorap: fix jobinfo IDL.
Günther Deschner [Thu, 29 Apr 2010 17:20:07 +0000 (19:20 +0200)]
rap: fix jobinfo IDL.

Guenther

9 years agos4-smbtorture: fix parsing of rap_pull_rap_PrintQueue1 and rap_pull_rap_PrintQueue2.
Günther Deschner [Thu, 29 Apr 2010 17:21:40 +0000 (19:21 +0200)]
s4-smbtorture: fix parsing of rap_pull_rap_PrintQueue1 and rap_pull_rap_PrintQueue2.

Guenther

9 years agos3: re-run make samba3-idl.
Günther Deschner [Thu, 29 Apr 2010 23:19:20 +0000 (01:19 +0200)]
s3: re-run make samba3-idl.

Guenther

9 years agorap: fix some rap_PrintQueue IDL structures.
Günther Deschner [Thu, 29 Apr 2010 17:20:56 +0000 (19:20 +0200)]
rap: fix some rap_PrintQueue IDL structures.

Guenther

9 years agos4-smbtorture: add test_netprintjob() to RAP-PRINTING.
Günther Deschner [Thu, 29 Apr 2010 17:24:50 +0000 (19:24 +0200)]
s4-smbtorture: add test_netprintjob() to RAP-PRINTING.

Guenther

9 years agoAttempt to fix bug #7399 - SMB2: QUERY_DIRECTORY is returning invalid values.
Jeremy Allison [Thu, 29 Apr 2010 20:40:25 +0000 (13:40 -0700)]
Attempt to fix bug #7399 - SMB2: QUERY_DIRECTORY is returning invalid values.

Based on an initial patch from Ira Cooper <samba@ira.wakeful.net>.

Jeremy.

9 years agos3: range-check idmap script output
Volker Lendecke [Thu, 29 Apr 2010 10:14:08 +0000 (12:14 +0200)]
s3: range-check idmap script output

Not doing so results in the id mapping succeeding once unchecked and later on
being refused, because when reading from the tdb we do the checks.

9 years agos3: Fix an uninitialized variable in idmap_tdb2_sid_to_id()
Volker Lendecke [Thu, 29 Apr 2010 10:11:04 +0000 (12:11 +0200)]
s3: Fix an uninitialized variable in idmap_tdb2_sid_to_id()

When we find an invalid record in the database, there's no point in checking
the non-existing value against the range limits.

9 years agos3: Fix some nonempty blank lines
Volker Lendecke [Thu, 29 Apr 2010 10:09:48 +0000 (12:09 +0200)]
s3: Fix some nonempty blank lines

9 years agos4-smbtorture: add smbcli_rap_netprintjob{pause,continue,delete}.
Günther Deschner [Thu, 29 Apr 2010 12:22:55 +0000 (14:22 +0200)]
s4-smbtorture: add smbcli_rap_netprintjob{pause,continue,delete}.

Guenther

9 years agorap: add IDL for NetPrintJob{Pause,Continue,Delete}.
Günther Deschner [Thu, 29 Apr 2010 12:12:14 +0000 (14:12 +0200)]
rap: add IDL for NetPrintJob{Pause,Continue,Delete}.

Guenther

9 years agos3-lanman: fix api_DosPrintQGetInfo().
Günther Deschner [Thu, 29 Apr 2010 11:27:58 +0000 (13:27 +0200)]
s3-lanman: fix api_DosPrintQGetInfo().

Found by torture test.

Guenther

9 years agos4-smbtorture: add test_netprintqgetinfo to RAP-PRINTING.
Günther Deschner [Thu, 29 Apr 2010 11:19:23 +0000 (13:19 +0200)]
s4-smbtorture: add test_netprintqgetinfo to RAP-PRINTING.

Guenther

9 years agos4-smbtorture: add smbcli_rap_netprintqgetinfo().
Günther Deschner [Thu, 29 Apr 2010 11:18:33 +0000 (13:18 +0200)]
s4-smbtorture: add smbcli_rap_netprintqgetinfo().

Guenther

9 years agorap: add rap_NetPrintQGetInfo to IDL.
Günther Deschner [Thu, 29 Apr 2010 10:16:17 +0000 (12:16 +0200)]
rap: add rap_NetPrintQGetInfo to IDL.

Guenther

9 years agos4-smbtorture: rework smbcli_rap_netprintqenum a bit.
Günther Deschner [Thu, 29 Apr 2010 11:17:27 +0000 (13:17 +0200)]
s4-smbtorture: rework smbcli_rap_netprintqenum a bit.

Guenther

9 years agos4: remove unused references to swat
Stefan Metzmacher [Thu, 29 Apr 2010 05:51:32 +0000 (07:51 +0200)]
s4: remove unused references to swat

metze

9 years agos4:dynconfig: fix fhs variables and list them all explicit
Stefan Metzmacher [Thu, 29 Apr 2010 06:29:56 +0000 (08:29 +0200)]
s4:dynconfig: fix fhs variables and list them all explicit

This adds 'samba' subdirs to smb.conf and setup.

metze

9 years agos4:dynconfig: reorder non fhs variables
Stefan Metzmacher [Thu, 29 Apr 2010 06:29:45 +0000 (08:29 +0200)]
s4:dynconfig: reorder non fhs variables

metze

9 years agorap: fill in rap_PrintQueue2 IDL.
Günther Deschner [Thu, 29 Apr 2010 00:41:51 +0000 (02:41 +0200)]
rap: fill in rap_PrintQueue2 IDL.

Guenther

9 years agos4-smbtorture: implement and test level 3 and 5 of PrintQEnum RAP.
Günther Deschner [Thu, 29 Apr 2010 00:39:44 +0000 (02:39 +0200)]
s4-smbtorture: implement and test level 3 and 5 of PrintQEnum RAP.

Guenther

9 years agos4-smbtorture: add NDR_PRINT macros for RAP tests (when called with -d10).
Günther Deschner [Wed, 28 Apr 2010 23:13:06 +0000 (01:13 +0200)]
s4-smbtorture: add NDR_PRINT macros for RAP tests (when called with -d10).

Guenther

9 years agos3-pdb_ldap: fix memleak.
Günther Deschner [Wed, 28 Apr 2010 22:52:17 +0000 (00:52 +0200)]
s3-pdb_ldap: fix memleak.

Guenther

9 years agos3-lanman: fix api_DosPrintQEnum.
Günther Deschner [Wed, 28 Apr 2010 22:29:05 +0000 (00:29 +0200)]
s3-lanman: fix api_DosPrintQEnum.

Found by torture test.

Guenther

9 years agos4-rap: add rap print helpers.
Günther Deschner [Wed, 28 Apr 2010 21:42:00 +0000 (23:42 +0200)]
s4-rap: add rap print helpers.

Guenther

9 years agos4:libnet Make 'net vampire' more robust to command line arguments
Andrew Bartlett [Wed, 28 Apr 2010 22:51:01 +0000 (08:51 +1000)]
s4:libnet Make 'net vampire' more robust to command line arguments

When we have just joined a domain, we know a bit about that domain.
Use these to override previous guesses as to what domain and realm to
use for the rest of the join.

Andrew Bartlett

9 years agos4:howto Improve OpenLDAP backend instructions
Andrew Bartlett [Wed, 28 Apr 2010 21:58:48 +0000 (07:58 +1000)]
s4:howto Improve OpenLDAP backend instructions

9 years agos4/rodc: RODC FAS initial implementation
Anatoliy Atanasov [Mon, 26 Apr 2010 06:56:59 +0000 (09:56 +0300)]
s4/rodc: RODC FAS initial implementation

9 years agos4/tort: Add simple unit test for dsdb_schema_info object creation
Kamen Mazdrashki [Fri, 23 Apr 2010 22:21:15 +0000 (01:21 +0300)]
s4/tort: Add simple unit test for dsdb_schema_info object creation

9 years agos4/dsdb: schemaInfo revision may be 0
Kamen Mazdrashki [Fri, 23 Apr 2010 13:35:21 +0000 (16:35 +0300)]
s4/dsdb: schemaInfo revision may be 0

In case schemaInfo value is still not set, WinAD supplies
schemaInfo blob with revision = 0 and GUID_ZERO

9 years agos4/dsdb: remove unused dsdb_schema_info_create() function
Kamen Mazdrashki [Fri, 23 Apr 2010 12:37:10 +0000 (15:37 +0300)]
s4/dsdb: remove unused dsdb_schema_info_create() function

9 years agos4/dsdb: Update Schema cache with updated schemaInfo value
Kamen Mazdrashki [Thu, 22 Apr 2010 15:11:39 +0000 (18:11 +0300)]
s4/dsdb: Update Schema cache with updated schemaInfo value

Error checking is simplified and my leave leeks.
I did it this way to make code more readable, and if we
get error in those lines, it will be WERR_NOMEM in which
case we are in a much deeper troubles than delayed freeing
of few bytes.

9 years agos4/samldb: Create initial schemaInfo value if it doesn't exists yet
Kamen Mazdrashki [Thu, 22 Apr 2010 14:59:22 +0000 (17:59 +0300)]
s4/samldb: Create initial schemaInfo value if it doesn't exists yet

9 years agos4/dsdb: Use default schemaInfo value when no such value is given
Kamen Mazdrashki [Thu, 22 Apr 2010 14:24:15 +0000 (17:24 +0300)]
s4/dsdb: Use default schemaInfo value when no such value is given

Having no value for schemaInfo is totally OK as it turns out.
In such cases, we should use a default value with
all fields set to 0.

9 years agos4/test: schemaInfo may not to be set yet
Kamen Mazdrashki [Thu, 22 Apr 2010 01:39:04 +0000 (04:39 +0300)]
s4/test: schemaInfo may not to be set yet

On newly provisioned Forest schemaInfo is not initially set.
It should be created after firs Schema modification