samba.git
16 years agor12501: Merge EJSHeader.pm into EJS.pm and simplify smbcalls_rpc.c a bit,
Jelmer Vernooij [Mon, 26 Dec 2005 22:47:40 +0000 (22:47 +0000)]
r12501: Merge EJSHeader.pm into EJS.pm and simplify smbcalls_rpc.c a bit,
now that it is guaranteed that the smbcalls modules are always initialized
after the EJS subsystem itself.
(This used to be commit 1e8670874bb7415c3e00a42516680fdb4ee2fca1)

16 years agor12500: Use init functions explicitly in a few more places. 'gensec' and 'librpc'
Jelmer Vernooij [Mon, 26 Dec 2005 21:58:31 +0000 (21:58 +0000)]
r12500: Use init functions explicitly in a few more places. 'gensec' and 'librpc'
are the only two subsystems left to convert.
(This used to be commit f6bbc72996aeee8607fc583140fd60be0e06e969)

16 years agor12499: Move smb_build.h out of includes.h
Jelmer Vernooij [Mon, 26 Dec 2005 18:48:23 +0000 (18:48 +0000)]
r12499: Move smb_build.h out of includes.h
(This used to be commit c92ace494f92084ddf178626cdf392d151043bc7)

16 years agor12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not using
Jelmer Vernooij [Mon, 26 Dec 2005 18:03:50 +0000 (18:03 +0000)]
r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not using
the difference between these at all, and in the future the
fact that INIT_OBJ_FILES include smb_build.h will be sufficient to
have recompiles at the right time.
(This used to be commit b24f2583edee38abafa58578d8b5c4b43e517def)

16 years agor12494: Support loading modules from .so files for most subsystems.
Jelmer Vernooij [Mon, 26 Dec 2005 16:46:55 +0000 (16:46 +0000)]
r12494: Support loading modules from .so files for most subsystems.
We now use a different system for initializing the modules for a subsystem.
Most subsystems now have an init function that looks something like this:

init_module_fn static_init[] = STATIC_AUTH_MODULES;
init_module_fn *shared_init = load_samba_modules(NULL, "auth");

run_init_functions(static_init);
run_init_functions(shared_init);

talloc_free(shared_init);

I hope to eliminate the other init functions later on (the
init_programname_subsystems; defines).
(This used to be commit b6d2ad4ce0a91c4be790dd258820c492ff1787ea)

16 years agor12490: Fix --warn-compat
Jelmer Vernooij [Mon, 26 Dec 2005 02:14:18 +0000 (02:14 +0000)]
r12490: Fix --warn-compat
(This used to be commit ba6a767f1b3a14e076ebd049b4fdcffd64173523)

16 years agor12489: Forward declare nbtd_iface_name
Jelmer Vernooij [Mon, 26 Dec 2005 02:04:09 +0000 (02:04 +0000)]
r12489: Forward declare nbtd_iface_name
(This used to be commit cfaa52cdbaf0b97a8830137a74976e08cabeac8d)

16 years agor12488: Fix MANIFEST to match recent changes
Jelmer Vernooij [Mon, 26 Dec 2005 01:37:18 +0000 (01:37 +0000)]
r12488: Fix MANIFEST to match recent changes
(This used to be commit 6ab0ce15083c23e287f89b5e38b63d267cf3d5fc)

16 years agor12487: Remove obsolete function
Jelmer Vernooij [Mon, 26 Dec 2005 00:07:17 +0000 (00:07 +0000)]
r12487: Remove obsolete function
(This used to be commit 865a2c9ecaeae83417509c01142ba4220c0b53d7)

16 years agor12484: Initial work on supporting non-typedeffed types
Jelmer Vernooij [Sun, 25 Dec 2005 17:12:52 +0000 (17:12 +0000)]
r12484: Initial work on supporting non-typedeffed types
(This used to be commit e7ac6c708dde7afb4c92a8cc4dea7a95b7054e3e)

16 years agor12483: Remove --tdr-header option (merged into --tdr-parser)
Jelmer Vernooij [Sun, 25 Dec 2005 15:19:55 +0000 (15:19 +0000)]
r12483: Remove --tdr-header option (merged into --tdr-parser)
(This used to be commit 45013467f57d646f3db099862665d2631272b446)

16 years agor12482: Add some more tests
Jelmer Vernooij [Sun, 25 Dec 2005 14:59:39 +0000 (14:59 +0000)]
r12482: Add some more tests
(This used to be commit 516b66e0f1c65688abb936b4432039bc431b872c)

16 years agor12481: Move parser-specific utility functions to idl.yp, remove some unused functions
Jelmer Vernooij [Sun, 25 Dec 2005 14:59:21 +0000 (14:59 +0000)]
r12481: Move parser-specific utility functions to idl.yp, remove some unused functions
Allow the use of non-typedef structs and unions when declaring variables. Allow the
use of the 'signed' and 'unsigned' qualifiers for integer types
(This used to be commit bc6b45e242c8d7b2ef1a6e6d3eb172c27afd952d)

16 years agor12480: Extend testsuite
Jelmer Vernooij [Sun, 25 Dec 2005 14:11:59 +0000 (14:11 +0000)]
r12480: Extend testsuite
(This used to be commit 1fa6c3568b9653f637da92e9a66695cd89825a2f)

16 years agor12470: Add helper module for pidl tests
Jelmer Vernooij [Sun, 25 Dec 2005 03:04:13 +0000 (03:04 +0000)]
r12470: Add helper module for pidl tests
Convert other pidl tests to use Test::More and run them from 'make test'
(This used to be commit 3a57d29a62112ab654e290ccc985fba7f67664c5)

16 years agor12465: Merge Parse::Pidl::Samba4::NDR::Header into Parse::Pidl::Samba4::NDR::Parser.
Jelmer Vernooij [Sun, 25 Dec 2005 01:33:35 +0000 (01:33 +0000)]
r12465: Merge Parse::Pidl::Samba4::NDR::Header into Parse::Pidl::Samba4::NDR::Parser.
Small optimization to avoid including NDR headers multiple times
(This used to be commit 6967b9884970b6f1d7617196ab024d401628a13c)

16 years agor12464: Add simple IDL parsing tests for pidl using the standard perl
Jelmer Vernooij [Sat, 24 Dec 2005 23:32:50 +0000 (23:32 +0000)]
r12464: Add simple IDL parsing tests for pidl using the standard perl
testing framework (Test::Simple, distributed with perl itself).
Run these tests from 'make test'
(This used to be commit 975d8816db6697dab828941b69a740e3a0a2c272)

16 years agor12463: Rename 'Samba' namespace to 'Samba4'
Jelmer Vernooij [Sat, 24 Dec 2005 22:11:44 +0000 (22:11 +0000)]
r12463: Rename 'Samba' namespace to 'Samba4'
(This used to be commit f25358270d44a5642adbb85ecaa50b2e5730d7f0)

16 years agor12462: Hide oo magic from callers of the parser
Jelmer Vernooij [Sat, 24 Dec 2005 21:57:51 +0000 (21:57 +0000)]
r12462: Hide oo magic from callers of the parser
(This used to be commit 0c225d2978b11898d334ec2d6da910e0cca0f4cd)

16 years agor12461: Some updates to the srvsvc IDL from Ronnie Sahlberg
Jelmer Vernooij [Sat, 24 Dec 2005 21:32:52 +0000 (21:32 +0000)]
r12461: Some updates to the srvsvc IDL from Ronnie Sahlberg
(This used to be commit ff7ef98f34811952331e72095505a2eae430fec0)

16 years agor12454: Forward declare struct nbt_iface_name
Jelmer Vernooij [Fri, 23 Dec 2005 18:02:26 +0000 (18:02 +0000)]
r12454: Forward declare struct nbt_iface_name
(This used to be commit d54fea5d0e5dc87f686b2134735e76ce7cd208af)

16 years agor12451: Add 'struct libnet_context;' - apparently the order of the prototypes
Jelmer Vernooij [Fri, 23 Dec 2005 14:21:50 +0000 (14:21 +0000)]
r12451: Add 'struct libnet_context;' - apparently the order of the prototypes
in proto.h previously already did this somehow, probably because it
was used as a return value before it was used as a parameter.
(This used to be commit 30861b0f0e6496d13fb61b2927e3f24d16a9b911)

16 years agor12450: Move generation of proto and full object lists to makefile.pm. 'make' now
Jelmer Vernooij [Fri, 23 Dec 2005 13:02:52 +0000 (13:02 +0000)]
r12450: Move generation of proto and full object lists to makefile.pm. 'make' now
handles expanding the protoheader object list, rather then the build system,
which makes the makefile quite a bit shorter.
(This used to be commit a4088ccc704f1338c040c53596ff606cc1651d03)

16 years agor12449: Fix some warnings
Jelmer Vernooij [Fri, 23 Dec 2005 13:01:26 +0000 (13:01 +0000)]
r12449: Fix some warnings
(This used to be commit 95f6e49cb897a392c67566b8a0f674a717a1783d)

16 years agor12448: add some usefull debug messages
Stefan Metzmacher [Fri, 23 Dec 2005 12:42:04 +0000 (12:42 +0000)]
r12448: add some usefull debug messages

metze
(This used to be commit 806d76134dc50e9f4eb1f17ead9d1ec9e27f7153)

16 years agor12446: Merge mkproto.sh's functionality into mkproto.pl
Jelmer Vernooij [Fri, 23 Dec 2005 12:29:13 +0000 (12:29 +0000)]
r12446: Merge mkproto.sh's functionality into mkproto.pl
Allow specifying the _PUBLIC_ keyword on functions to indicate a function
is public.

Public prototypes can now be written to a seperate header, although this
functionality is not used yet.
(This used to be commit e3466df6dfb62bbf8bee3acfa92996945054c2dd)

16 years agor12445: Fix header in manpage, make script executable
Jelmer Vernooij [Fri, 23 Dec 2005 12:28:26 +0000 (12:28 +0000)]
r12445: Fix header in manpage, make script executable
(This used to be commit 7ca00cd918760dccc51e56234126ead8535a22ef)

16 years agor12444: Initial version of a NEWS file that should contain a summary of changes
Jelmer Vernooij [Fri, 23 Dec 2005 11:24:00 +0000 (11:24 +0000)]
r12444: Initial version of a NEWS file that should contain a summary of changes
that matter to the user.
(This used to be commit e06757a863952d4fab486a194149a32139fd8847)

16 years agor12443: Forgot to rename two files
Jelmer Vernooij [Fri, 23 Dec 2005 10:24:24 +0000 (10:24 +0000)]
r12443: Forgot to rename two files
(This used to be commit abec9301635aea334f32a86a5414f2fd6174ea76)

16 years agor12442: only set the "wins server" parameter if it's not set
Stefan Metzmacher [Thu, 22 Dec 2005 23:03:02 +0000 (23:03 +0000)]
r12442: only set the "wins server" parameter if it's not set

metze
(This used to be commit 5054890b6871f1e25938ae76a2d660ce168877e8)

16 years agor12440: fix crash bugs
Stefan Metzmacher [Thu, 22 Dec 2005 22:03:25 +0000 (22:03 +0000)]
r12440: fix crash bugs

metze
(This used to be commit c7049f8bb60d075921e1ac4d04bf1a216cd0a5f2)

16 years agor12439: No need to keep walking this list if we find the match.
Andrew Bartlett [Thu, 22 Dec 2005 21:43:16 +0000 (21:43 +0000)]
r12439: No need to keep walking this list if we find the match.

Andrew Bartlett
(This used to be commit cf1883c3cc1feecf3ddd7f36dbbca3bdf068bee2)

16 years agor12437: if the client gives us an unicast name query with recursion_desired,
Stefan Metzmacher [Thu, 22 Dec 2005 20:35:01 +0000 (20:35 +0000)]
r12437: if the client gives us an unicast name query with recursion_desired,
it's a wins server request, even if it's a name of one of our interfaces

metze
(This used to be commit 33c1d4a078a16ad45a3957f4d053b089a76f9935)

16 years agor12436: Fix Samba4 as a server to Win2000 for the domain join.
Andrew Bartlett [Thu, 22 Dec 2005 20:34:00 +0000 (20:34 +0000)]
r12436: Fix Samba4 as a server to Win2000 for the domain join.

We still have Win2000 issues, but now we correctly handle the case
where NTLMSSP is chosen as an authentication mech, but the OID list
still contains Kerberos as a later option.

Andrew Bartlett
(This used to be commit dc2b2c33f89b84bd221c9009750a22ff42fc462d)

16 years agor12435: the max wins ttl is 6 days in windows and samba3
Stefan Metzmacher [Thu, 22 Dec 2005 18:21:19 +0000 (18:21 +0000)]
r12435: the max wins ttl is 6 days in windows and samba3

metze
(This used to be commit 0ed07057d37ec6684a01ba699073b4ba6d671697)

16 years agor12434: implement database scavenging, the only missing part is the verifying of...
Stefan Metzmacher [Thu, 22 Dec 2005 11:40:14 +0000 (11:40 +0000)]
r12434: implement database scavenging, the only missing part is the verifying of active replicas
with the owning wins server, after the verify interval passes.

metze
(This used to be commit 7d1f7ae9c65c09f8bf72e159b771f231f96e8591)

16 years agor12433: Add comment describing this function.
Andrew Bartlett [Thu, 22 Dec 2005 11:26:41 +0000 (11:26 +0000)]
r12433: Add comment describing this function.

Andrew Bartlett
(This used to be commit 07df0bdb44413e4eb956458e549430c94b1a38ef)

16 years agor12432: Re-indent and consistantly cancel the transaction.
Andrew Bartlett [Thu, 22 Dec 2005 11:26:12 +0000 (11:26 +0000)]
r12432: Re-indent and consistantly cancel the transaction.

Andrew Bartlett
(This used to be commit 2c8b988eb869d06328ebae586caeb565d7f6f054)

16 years agor12431: - the TIME_T_MAX needs to be a singed max value
Stefan Metzmacher [Thu, 22 Dec 2005 11:13:05 +0000 (11:13 +0000)]
r12431: - the TIME_T_MAX needs to be a singed max value
- fix the calculation of TIME_T_MAX -> nttime -> TIME_T_MAX

metze
(This used to be commit 9caf4b9a42b02db85b3eb233c74316dcccb12537)

16 years agor12430: Clarify libnet_join code. Add/fix comments.
Andrew Bartlett [Thu, 22 Dec 2005 09:58:51 +0000 (09:58 +0000)]
r12430: Clarify libnet_join code. Add/fix comments.

Andrew Bartlett
(This used to be commit a3372935eee12c99d8c4a29eda45e8d0f1039896)

16 years agor12429: make static records always active with a max expire time
Stefan Metzmacher [Thu, 22 Dec 2005 09:56:14 +0000 (09:56 +0000)]
r12429: make static records always active with a max expire time

metze
(This used to be commit 387d680b6f7d3470841a3c0ad3963b0c14853e45)

16 years agor12428: releases on 0x1D names are ignored
Stefan Metzmacher [Thu, 22 Dec 2005 09:37:21 +0000 (09:37 +0000)]
r12428: releases on 0x1D names are ignored

metze
(This used to be commit 84ba71ba274fca91f6f411a46e0a88dc3048df63)

16 years agor12427: Move SAMR CreateUser2 to transactions, and re-add support for
Andrew Bartlett [Thu, 22 Dec 2005 09:32:26 +0000 (09:32 +0000)]
r12427: Move SAMR CreateUser2 to transactions, and re-add support for
different computer account types.  (Earlier code changes removed the
BDC case).

We don't use the TemplateDomainController, so just have a
TemplateServer in provision_templates.ldif

Andrew Bartlett
(This used to be commit c4520ba2e6fad42a137983a2e1dbcd9c26db74e9)

16 years agor12426: w2k3 refused 0x1B names registered as group names
Stefan Metzmacher [Thu, 22 Dec 2005 08:41:02 +0000 (08:41 +0000)]
r12426: w2k3 refused 0x1B names registered as group names

metze
(This used to be commit 4ce4baa1b9f509e5b2ebe7921defc12c9cee74d4)

16 years agor12425: match w2k3 and store 0x1D names when they're registered as group name,
Stefan Metzmacher [Thu, 22 Dec 2005 08:27:10 +0000 (08:27 +0000)]
r12425: match w2k3 and store 0x1D names when they're registered as group name,
but queries still give not found

metze
(This used to be commit 2e69a7cc21d796e091127c71c0234f9cd09543fd)

16 years agor12424: static records should not be released
Stefan Metzmacher [Thu, 22 Dec 2005 08:13:17 +0000 (08:13 +0000)]
r12424: static records should not be released

metze
(This used to be commit 3f90e72e5a0b839ba16892e8ee8aa46967d081da)

16 years agor12423: Remove DEBUG(0) printouts in favor of more information to the caller.
Andrew Bartlett [Thu, 22 Dec 2005 06:58:26 +0000 (06:58 +0000)]
r12423: Remove DEBUG(0) printouts in favor of more information to the caller.
I assume this works better with SWAT and the like anyway.

Andrew Bartlett
(This used to be commit b11975703d5e32f6f3ad10079106b1345fa56b5c)

16 years agor12422: Some kerberos comments and clarifications.
Andrew Bartlett [Thu, 22 Dec 2005 06:50:04 +0000 (06:50 +0000)]
r12422: Some kerberos comments and clarifications.

Andrew Bartlett
(This used to be commit 31046cd22b45de6c62c9f122a81cfc898e818308)

16 years agor12421: Handle the case where we are a joining as different account types far better.
Andrew Bartlett [Thu, 22 Dec 2005 06:47:00 +0000 (06:47 +0000)]
r12421: Handle the case where we are a joining as different account types far better.

Andrew Bartlett
(This used to be commit 0ce82e8a41f0fdea9928e3e341680232cc640e18)

16 years agor12413: do some testing with 0x1E names
Stefan Metzmacher [Wed, 21 Dec 2005 23:05:32 +0000 (23:05 +0000)]
r12413: do some testing with 0x1E names

metze
(This used to be commit b96eadb890a29cfbcff43ede390ef842e16827ad)

16 years agor12412: - the 0x1E name must be registered as group name
Stefan Metzmacher [Wed, 21 Dec 2005 23:03:51 +0000 (23:03 +0000)]
r12412: - the 0x1E name must be registered as group name
- reject wins registration with a static record in the database

metze
(This used to be commit 66b57f5fbf1c2a35972950d655695f014e57d9c5)

16 years agor12411: Add 'net samdump keytab <keytab>'.
Andrew Bartlett [Wed, 21 Dec 2005 22:02:52 +0000 (22:02 +0000)]
r12411: Add 'net samdump keytab <keytab>'.

This extracts a remote windows domain into a keytab, suitable for use
in ethereal for kerberos decryption.

For the moment, like net samdump and net samsync, the 'password
server' smb.conf option must be set to the binding string for the
server. eg:

password server = ncacn_np:mypdc

Andrew Bartlett
(This used to be commit 272013438f53bb168f74e09eb70fc96112b84772)

16 years agor12408: as we always add the destinguishedName as autogenerated value,
Stefan Metzmacher [Wed, 21 Dec 2005 20:25:43 +0000 (20:25 +0000)]
r12408: as we always add the destinguishedName as autogenerated value,
don't store it on disk, as this would cause confusing results

metze
(This used to be commit c3d3309ba1567a4363c7c0235842833b5e2b6771)

16 years agor12405: I'm afraid I can't take care of the xplogin test in the near future, so remove
Volker Lendecke [Wed, 21 Dec 2005 09:08:38 +0000 (09:08 +0000)]
r12405: I'm afraid I can't take care of the xplogin test in the near future, so remove
it.

I'll add it again later when I have more time for it.

Volker
(This used to be commit 84ae166e9173e6f16a60503a3a996dfb4f085926)

16 years agor12397: Change the 'samba4' prefix in the Debian packages back to 'samba'
Jelmer Vernooij [Tue, 20 Dec 2005 14:15:35 +0000 (14:15 +0000)]
r12397: Change the 'samba4' prefix in the Debian packages back to 'samba'
(This used to be commit 2002ba90c58c5ae69d242986834d07f499e46253)

16 years agor12391: use the new periodic schedule system for the pull replication too
Stefan Metzmacher [Tue, 20 Dec 2005 00:55:28 +0000 (00:55 +0000)]
r12391: use the new periodic schedule system for the pull replication too

metze
(This used to be commit 3383568c31545a6716eb7045b56d516d507c0b4d)

16 years agor12388: fix debug messages
Stefan Metzmacher [Tue, 20 Dec 2005 00:33:41 +0000 (00:33 +0000)]
r12388: fix debug messages

metze
(This used to be commit 8b99b2d6c47ef5596269b57a71b275236b43a2a1)

16 years agor12385: call pidl with the perl found by configure
Stefan Metzmacher [Tue, 20 Dec 2005 00:06:31 +0000 (00:06 +0000)]
r12385: call pidl with the perl found by configure

metze
(This used to be commit 00b7800695938e2374a26208273996efeb9ab258)

16 years agor12384: I can't spell...
Andrew Bartlett [Tue, 20 Dec 2005 00:02:08 +0000 (00:02 +0000)]
r12384: I can't spell...
(This used to be commit 566bbfd067f43d86eacc1e867e6f64bac85e285d)

16 years agor12383: Fixes for Apple's AD client. Don't segfualt in the KDC, and they
Andrew Bartlett [Tue, 20 Dec 2005 00:00:48 +0000 (00:00 +0000)]
r12383: Fixes for Apple's AD client.  Don't segfualt in the KDC, and they
require the isSynchronized flag in the rootDSE.

Andrew Bartlett
(This used to be commit e48464c8844b4af1976d8379aef8db9baddd3687)

16 years agor12382: Ensure to return OK on anonymous mapping.
Andrew Bartlett [Mon, 19 Dec 2005 23:43:17 +0000 (23:43 +0000)]
r12382: Ensure to return OK on anonymous mapping.

Andrew Bartlett
(This used to be commit d61817ebb754c2a7a6783415fdf5267eaad460e9)

16 years agor12381: Try not to segfault on an anonymous LDAP bind, and map to a guest login.
Andrew Bartlett [Mon, 19 Dec 2005 23:29:47 +0000 (23:29 +0000)]
r12381: Try not to segfault on an anonymous LDAP bind, and map to a guest login.

Andrew Bartlett
(This used to be commit 5ac4178e36fade330fccb2dbb0607f524fe1f6ae)

16 years agor12380: add a wraper script that calls the perl scripts in heimdal_build/
Stefan Metzmacher [Mon, 19 Dec 2005 23:17:10 +0000 (23:17 +0000)]
r12380: add a wraper script that calls the perl scripts in heimdal_build/
with the correct perl version, that was detected with configure

metze
(This used to be commit 9e103e53d1245e44563eea78d398d1de9895bd0e)

16 years agor12379: export the detected perl
Stefan Metzmacher [Mon, 19 Dec 2005 23:14:13 +0000 (23:14 +0000)]
r12379: export the detected perl

metze
(This used to be commit abfb04764637bff2c752675441046130628bad65)

16 years agor12378: fix perl warnings
Stefan Metzmacher [Mon, 19 Dec 2005 23:13:12 +0000 (23:13 +0000)]
r12378: fix perl warnings

metze
(This used to be commit 918e7b4043f6c92997e66d552f62bf1bef81fb81)

16 years agor12373: Add RPC-JOIN as a test to always run.
Andrew Bartlett [Mon, 19 Dec 2005 22:37:46 +0000 (22:37 +0000)]
r12373: Add RPC-JOIN as a test to always run.

Andrew Bartlett
(This used to be commit 42c58d431268dcde9f195bf0c871c1c9ed75cb79)

16 years agor12372: - make the periodic scheduling a bit easier, instead of passing
Stefan Metzmacher [Mon, 19 Dec 2005 21:52:37 +0000 (21:52 +0000)]
r12372: - make the periodic scheduling a bit easier, instead of passing
  an uint32_t next_interval everywhere, we now call wreplsrv_periodic_schedule()
  if we want to schedule an event
- also prevent us from looping with a 0 interval, by using 1s as minimum interval

metze
(This used to be commit b6943b11fc6e501d5081d591336185518943ee5a)

16 years agor12370: - if we got a reply without a pending request, mark the socket as dead
Stefan Metzmacher [Mon, 19 Dec 2005 21:19:14 +0000 (21:19 +0000)]
r12370: - if we got a reply without a pending request, mark the socket as dead
  instead of segfaulting

metze
(This used to be commit 043f5c1054cd2dc95571d601b0872c4cb0d99588)

16 years agor12364: add UINT32_MAX and UINT64_MAX replacement defines
Stefan Metzmacher [Mon, 19 Dec 2005 17:10:18 +0000 (17:10 +0000)]
r12364: add UINT32_MAX and UINT64_MAX replacement defines
(hopefully fix the build on OpenBSD)

metze
(This used to be commit cbe06ade214bd29eab5c11fcd011a3c463bf78db)

16 years agor12363: minor fixes for win2000 join/login
Andrew Tridgell [Mon, 19 Dec 2005 11:50:28 +0000 (11:50 +0000)]
r12363: minor fixes for win2000 join/login

 - the objectClass needs to be added to the list of attributes to make
   the check for objectClass=computer work

 - the short version of the name needs to be used for the 'cn' in
   cracknames
(This used to be commit 53f0fb77c3c1bd15620f1dbb12e0d8f9fededf4b)

16 years agor12362: Along with a cracknames change in the previous commit, this should
Andrew Bartlett [Mon, 19 Dec 2005 07:11:58 +0000 (07:11 +0000)]
r12362: Along with a cracknames change in the previous commit, this should
allow Win2000 machines to again use kerberos with Samba4.

Andrew Bartlett
(This used to be commit 5770409dcd0151a7303b16c565b1f68845b8622d)

16 years agor12361: Add a new function: ldb_binary_encode_string()
Andrew Bartlett [Mon, 19 Dec 2005 07:07:11 +0000 (07:07 +0000)]
r12361: Add a new function: ldb_binary_encode_string()

This is for use on user-supplied arguments to printf style format
strings which will become ldb filters.  I have used it on LSA, SAMR
and the auth/ code so far.

Also add comments to cracknames code.

Andrew Bartlett
(This used to be commit 8308cf6e0472790c1c9d521d19322557907f4418)

16 years agor12360: Add simple bind support into our LDAP server.
Andrew Bartlett [Mon, 19 Dec 2005 06:56:45 +0000 (06:56 +0000)]
r12360: Add simple bind support into our LDAP server.

Needs changes to our client code for automated testing.

Andrew Bartlett
(This used to be commit e751d814149d847ff1699542a4fa81eb8ca129ec)

16 years agor12327: ENT_TYPE_ANY isn't used anywhere in Samba4, so don't implement it in hdb...
Andrew Bartlett [Sun, 18 Dec 2005 22:50:01 +0000 (22:50 +0000)]
r12327: ENT_TYPE_ANY isn't used anywhere in Samba4, so don't implement it in hdb-ldb.

Andrew Bartlett
(This used to be commit 96e124b7bb9a916bbdfbfa36d24a1dafa262c552)

16 years agor12325: - remove the hostcc object files with make clean
Stefan Metzmacher [Sun, 18 Dec 2005 22:28:41 +0000 (22:28 +0000)]
r12325: - remove the hostcc object files with make clean
- move the .SUFFIXES statement before the suffix rules
  this fixes the build with bsd make

metze
(This used to be commit 11da32df31db8cd0836bf66ce2650cb1c43c24c5)

16 years agor12324: use command line credentials if available in ldap.js
Andrew Tridgell [Sun, 18 Dec 2005 22:28:12 +0000 (22:28 +0000)]
r12324: use command line credentials if available in ldap.js
(This used to be commit f4f99f9af33699ac8fe43b09fa7542aab72a031a)

16 years agor12323: fixeed the use of options.get_credentials() for ldb
Andrew Tridgell [Sun, 18 Dec 2005 22:27:26 +0000 (22:27 +0000)]
r12323: fixeed the use of options.get_credentials() for ldb
(This used to be commit b27d81dca9fd07c83b11a5bb3a883ec3f28cca6a)

16 years agor12322: automatically use cmdline_credentials if the ldb object doesn't have
Andrew Tridgell [Sun, 18 Dec 2005 22:14:14 +0000 (22:14 +0000)]
r12322: automatically use cmdline_credentials if the ldb object doesn't have
its own credentials element
(This used to be commit de8975bdd3dc9b4f4d65000e126bbd11c43b3f06)

16 years agor12320: Add command-line processing hooks for simple bind DN, and password callback.
Andrew Bartlett [Sun, 18 Dec 2005 21:44:43 +0000 (21:44 +0000)]
r12320: Add command-line processing hooks for simple bind DN, and password callback.

We may change this in future.

Andrew Bartlett
(This used to be commit 5fec784d4795af0cf82d36766586ded134f62165)

16 years agor12310: Link simple bind support in our internal LDAP libs to LDB and the
Andrew Bartlett [Sun, 18 Dec 2005 05:01:15 +0000 (05:01 +0000)]
r12310: Link simple bind support in our internal LDAP libs to LDB and the
command line processing system.

This is a little ugly at the moment, but works.  What I cannot manage
to get to work is the extraction and propogation of command line
credentials into the js interface to ldb.

Andrew Bartlett
(This used to be commit f34ede763e7f80507d06224d114cf6b5ac7c8f7d)

16 years agor12309: fix a crash bug, which appens in an error case
Stefan Metzmacher [Sat, 17 Dec 2005 19:24:13 +0000 (19:24 +0000)]
r12309: fix a crash bug, which appens in an error case

metze
(This used to be commit 292bb4b6cb600ce286ded90d32d72123fdaae1d7)

16 years agor12304: split out the wins partner configuration into a seperate ldb.
Stefan Metzmacher [Sat, 17 Dec 2005 15:45:38 +0000 (15:45 +0000)]
r12304: split out the wins partner configuration into a seperate ldb.

now $privatedir/wins_config.ldb contains the wins partners
and $lockdir/wins.ldb contains the name records

metze
(This used to be commit baa4a7a9d4f16adf476846850a63dfbfd51b10b3)

16 years agor12302: - create the logfilebase directory with make install
Stefan Metzmacher [Sat, 17 Dec 2005 10:10:09 +0000 (10:10 +0000)]
r12302: - create the logfilebase directory with make install
- get rid of unreadable long lines

metze
(This used to be commit 98fa61714b61d8a725b1aca82f830fd0d24456d3)

16 years agor12301: FHS 2.2 says that /var/cache/* contains only cached data, which can we remove...
Stefan Metzmacher [Sat, 17 Dec 2005 09:28:39 +0000 (09:28 +0000)]
r12301: FHS 2.2 says that /var/cache/* contains only cached data, which can we removed without
losing data, we should keep our databases under /var/lib/*

should I merge this to samba3 too?

metze
(This used to be commit 82f5a0462e51e9e59d8d1ed402762d08cfca20fe)

16 years agor12294: Move dcerpc_pipe_open_sock() to async implementation.
Rafal Szczesniak [Fri, 16 Dec 2005 20:02:41 +0000 (20:02 +0000)]
r12294: Move dcerpc_pipe_open_sock() to async implementation.

rafal
(This used to be commit 02e79800346d232bb14c476f62a3e5ba30f79bd4)

16 years agor12288: make sure we always include heimdal_build/config.h, before
Stefan Metzmacher [Fri, 16 Dec 2005 14:48:14 +0000 (14:48 +0000)]
r12288: make sure we always include heimdal_build/config.h, before
heimdal/lib/roken/roken.h, this fixes the build on the 64bit machines

metze
(This used to be commit 657345da222a7aa0fc2c8d96881a969805a4d7a5)

16 years agor12287: move the wins.ldb into lockdir
Stefan Metzmacher [Fri, 16 Dec 2005 12:55:54 +0000 (12:55 +0000)]
r12287: move the wins.ldb into lockdir

metze
(This used to be commit bcf04a49e329af6c2a72c0a9cf037cc4efeeb26f)

16 years agor12286: handle absolute path and url in lock_path() as in private_path()
Stefan Metzmacher [Fri, 16 Dec 2005 12:49:51 +0000 (12:49 +0000)]
r12286: handle absolute path and url in lock_path() as in private_path()

metze
(This used to be commit 35d76f733793aecb89d82ce30a8cecb7371d3e95)

16 years agor12285: move the smbd.tmp into piddir, --with-fhs piddir is different
Stefan Metzmacher [Fri, 16 Dec 2005 11:54:05 +0000 (11:54 +0000)]
r12285: move the smbd.tmp into piddir, --with-fhs piddir is different
from lockdir and they are typically set to piddir=/var/run/samba
and lockdir=/var/lib/samba, and we should keep the temporary stuff
under /var/run/samba

metze
(This used to be commit 571a870618cf595930da3057b147058489c8a37b)

16 years agor12284: use the correct name for logging
Stefan Metzmacher [Fri, 16 Dec 2005 10:21:05 +0000 (10:21 +0000)]
r12284: use the correct name for logging

metze
(This used to be commit 6c457873f78397b7da47a4d98fe27d63ae60a379)

16 years agor12269: Update to current lorikeet-heimdal. This changed the way the hdb
Andrew Bartlett [Thu, 15 Dec 2005 20:38:24 +0000 (20:38 +0000)]
r12269: Update to current lorikeet-heimdal.  This changed the way the hdb
interface worked, so hdb-ldb.c and the glue have been updated.

Andrew Bartlett
(This used to be commit 8fd5224c6b5c17c3a2c04c7366b7e367012db77e)

16 years agor12268: Use transactions to ensure that the schannel db is consistant.
Andrew Bartlett [Thu, 15 Dec 2005 20:29:02 +0000 (20:29 +0000)]
r12268: Use transactions to ensure that the schannel db is consistant.

Andrew Bartlett
(This used to be commit 949137e3122a3163a9fc923a418633a791364afe)

16 years agor12267: Try to avoid segfault in kerberos libs, because we talloc_free()'ed
Andrew Bartlett [Thu, 15 Dec 2005 20:25:37 +0000 (20:25 +0000)]
r12267: Try to avoid segfault in kerberos libs, because we talloc_free()'ed
the old event context in the standard process modal child.

Andrew Bartlett
(This used to be commit 0f52a9ab071c181c7f764adc8be83e162e649931)

16 years agor12266: add --with-libdir option to overwrite the result that is set by --with-fhs...
Stefan Metzmacher [Thu, 15 Dec 2005 19:23:35 +0000 (19:23 +0000)]
r12266: add --with-libdir option to overwrite the result that is set by --with-fhs=yes/no

metze
(This used to be commit 8e3b0a99979021540a7fc741c441c6cc647755fe)

16 years agor12265: as all server_service modules are specified in smbd/config.mk
Stefan Metzmacher [Thu, 15 Dec 2005 19:13:40 +0000 (19:13 +0000)]
r12265: as all server_service modules are specified in smbd/config.mk
follow this rule for the winbind one too

metze
(This used to be commit 2ace7e0d2d608f7b5e9d17a2d533514fe0d22840)

16 years agor12260: move the string "smbd" to one place
Stefan Metzmacher [Thu, 15 Dec 2005 18:08:25 +0000 (18:08 +0000)]
r12260: move the string "smbd" to one place

metze
(This used to be commit dbb8f626706bc1d41d6629b04432a34840daa355)

16 years agor12256: Add helper script for installing pkg-config files
Jelmer Vernooij [Thu, 15 Dec 2005 17:19:27 +0000 (17:19 +0000)]
r12256: Add helper script for installing pkg-config files
(This used to be commit c05ffb05c85475669d72afcc183cfb54bd7c73d5)

16 years agor12255: - we don't use SIGUSR1 anymore, so ignore it
Stefan Metzmacher [Thu, 15 Dec 2005 16:53:20 +0000 (16:53 +0000)]
r12255: - we don't use SIGUSR1 anymore, so ignore it
- we don't handle SIGHUP just, so ignore it

metze
(This used to be commit 09a517bd974e47547d6c3f3ff932289c47845efe)

16 years agor12254: Add some (hopefully correct) descriptions for libraries that are installed.
Jelmer Vernooij [Thu, 15 Dec 2005 16:32:08 +0000 (16:32 +0000)]
r12254: Add some (hopefully correct) descriptions for libraries that are installed.
Install pkg-config files.
(This used to be commit a86abe84e2cae7c6188c094a92c6b62aace02fdf)

16 years agor12253: Automatically build seperate binaries without -rpath to install when
Jelmer Vernooij [Thu, 15 Dec 2005 15:59:10 +0000 (15:59 +0000)]
r12253: Automatically build seperate binaries without -rpath to install when
using shared libraries and developer mode is enabled.
(This used to be commit 507bee76dc26b048ead317ec5e10a9deb1ff7f09)