kai/samba-autobuild/.git
16 years agor12808: Actually, with that we can avoid roken compleatly.
Andrew Bartlett [Mon, 9 Jan 2006 22:34:34 +0000 (22:34 +0000)]
r12808: Actually, with that we can avoid roken compleatly.

Andrew Bartlett
(This used to be commit 37f342b01095787d4a63a419c6ab3657680c2637)

16 years agor12807: I'm wondering if this might fix AIX on the build farm...
Andrew Bartlett [Mon, 9 Jan 2006 22:30:08 +0000 (22:30 +0000)]
r12807: I'm wondering if this might fix AIX on the build farm...

Andrew Bartlett
(This used to be commit 8f70d6270a788494dd07430f778ee90a51551e66)

16 years agor12806: tridge: in revision 12634 you introduced to validate the ndr_print output
Stefan Metzmacher [Mon, 9 Jan 2006 22:28:26 +0000 (22:28 +0000)]
r12806: tridge: in revision 12634 you introduced to validate the ndr_print output
and RPC-ECHO doesn't pass under valgrind anymore with this

metze
(This used to be commit 2482bf969d5b903a01ace8fa9237dd440b98196c)

16 years agor12805: merge from samba3
Stefan Metzmacher [Mon, 9 Jan 2006 22:19:51 +0000 (22:19 +0000)]
r12805: merge from samba3

metze
(This used to be commit e6dff57793c302f8537274a628dba8ab01a2fed8)

16 years agor12804: This patch reworks the Samba4 sockets layer to use a socket_address
Andrew Bartlett [Mon, 9 Jan 2006 22:12:53 +0000 (22:12 +0000)]
r12804: This patch reworks the Samba4 sockets layer to use a socket_address
structure that is more generic than just 'IP/port'.

It now passes make test, and has been reviewed and updated by
metze. (Thankyou *very* much).

This passes 'make test' as well as kerberos use (not currently in the
testsuite).

The original purpose of this patch was to have Samba able to pass a
socket address stucture from the BSD layer into the kerberos routines
and back again.   It also removes nbt_peer_addr, which was being used
for a similar purpose.

It is a large change, but worthwhile I feel.

Andrew Bartlett
(This used to be commit 88198c4881d8620a37086f80e4da5a5b71c5bbb2)

16 years agor12803: if we free the ndr structure how should we access the private pointer anymore?
Stefan Metzmacher [Mon, 9 Jan 2006 21:59:42 +0000 (21:59 +0000)]
r12803: if we free the ndr structure how should we access the private pointer anymore?

thanks valgrind!

metze
(This used to be commit ab58decf8248f3923703fabdaab697f1a8d116c8)

16 years agor12801: Some more include/ cleanups (remove unused macros + move files
Jelmer Vernooij [Mon, 9 Jan 2006 21:44:30 +0000 (21:44 +0000)]
r12801: Some more include/ cleanups (remove unused macros + move files
to specific dirs)
(This used to be commit 243cf760b077e155f5ac508aeebf819f7708a84e)

16 years agor12800: Replace tmp_ctx with mem_ctx to make variables name more
Rafal Szczesniak [Mon, 9 Jan 2006 21:22:27 +0000 (21:22 +0000)]
r12800: Replace tmp_ctx with mem_ctx to make variables name more
consistent along the file.

rafal
(This used to be commit aaccb91cca5da8a869878326da298d22a3b8b2ae)

16 years agor12799: print out function and location too
Stefan Metzmacher [Mon, 9 Jan 2006 20:30:44 +0000 (20:30 +0000)]
r12799: print out function and location too

metze
(This used to be commit a5ef3eef9cbedd273556068ba59c07ccb0060098)

16 years agor12798: print timestamps into the log file, this is not nice code,
Stefan Metzmacher [Mon, 9 Jan 2006 18:25:06 +0000 (18:25 +0000)]
r12798: print timestamps into the log file, this is not nice code,
but it works for now

metze
(This used to be commit ec7dbb5a98c112e86399ffcff14eb42c99d8e31d)

16 years agor12797: check for a error
Stefan Metzmacher [Mon, 9 Jan 2006 17:43:48 +0000 (17:43 +0000)]
r12797: check for a error

metze
(This used to be commit ed4fbfcf3e5b7133e73ee031ad5c68659690e2b1)

16 years agor12796: use the correct address as initiator
Stefan Metzmacher [Mon, 9 Jan 2006 17:03:17 +0000 (17:03 +0000)]
r12796: use the correct address as initiator

metze
(This used to be commit ba97e7c06af6f919a66622c1a6b6e58980ab2b9e)

16 years agor12795: remember the gensec_security context
Stefan Metzmacher [Mon, 9 Jan 2006 16:20:02 +0000 (16:20 +0000)]
r12795: remember the gensec_security context

metze
(This used to be commit ec1a7b5cefc32172ea97338a7101fe8416071b69)

16 years agor12793: fix bugs
Stefan Metzmacher [Mon, 9 Jan 2006 15:50:08 +0000 (15:50 +0000)]
r12793: fix bugs

metze
(This used to be commit 65be02a9801444c01230903d130b2d71b6c15617)

16 years agor12792: fix compiler warning
Stefan Metzmacher [Mon, 9 Jan 2006 15:45:12 +0000 (15:45 +0000)]
r12792: fix compiler warning

metze
(This used to be commit 1eca5f46c60d09fccbef5e605c06b1b3e3b65feb)

16 years agor12791: fix compiler warning
Stefan Metzmacher [Mon, 9 Jan 2006 14:58:39 +0000 (14:58 +0000)]
r12791: fix compiler warning

metze
(This used to be commit 6647feb761a272b687d12685bc096e4ebdd02abe)

16 years agor12790: fix compiler warning
Stefan Metzmacher [Mon, 9 Jan 2006 14:19:24 +0000 (14:19 +0000)]
r12790: fix compiler warning

metze
(This used to be commit c65ebc8b5574f9bd05270964dee9d4882e2d1828)

16 years agor12785: make the iface_*() functions return strings which do not get
Andrew Tridgell [Mon, 9 Jan 2006 02:43:38 +0000 (02:43 +0000)]
r12785: make the iface_*() functions return strings which do not get
overwritten by another call (due to the implied static in
iface_ntoa()). This should save abartlet some pain
(This used to be commit 2244f298ace9f8832695cafd17c54324c11416f1)

16 years agor12784: implement a simplified version of verifying old active replicas, with the...
Stefan Metzmacher [Sun, 8 Jan 2006 23:32:15 +0000 (23:32 +0000)]
r12784: implement a simplified version of verifying old active replicas, with the owner
server, we you nbt name queries for this....

I assume w2k3 uses DCERPC calls or some WINSREPL calls for this,
but our version should work till I find out more details...

metze
(This used to be commit ff81f9e78043d29feb4832acee682ec93a9c8ed6)

16 years agor12783: add a comment about matching more than 1 handler per message (andrew
Andrew Tridgell [Sun, 8 Jan 2006 22:58:59 +0000 (22:58 +0000)]
r12783: add a comment about matching more than 1 handler per message (andrew
thought this might be a bug)
(This used to be commit e1cd3f4b89e10c9a42f5939377df0eafb8c184a4)

16 years agor12782: Don't segfault if we cannot setup messaging.
Andrew Bartlett [Sun, 8 Jan 2006 22:00:57 +0000 (22:00 +0000)]
r12782: Don't segfault if we cannot setup messaging.

Andrew Bartlett
(This used to be commit 59c380e048423d706ab65513c09dbefecb5819ae)

16 years agor12780: propagate local records, when replicas are rejected on conflicts
Stefan Metzmacher [Sun, 8 Jan 2006 21:25:38 +0000 (21:25 +0000)]
r12780: propagate local records, when replicas are rejected on conflicts

metze
(This used to be commit c64aef570eea8bde685aeb66cb482586e36ea020)

16 years agor12779: allow static tomstones
Stefan Metzmacher [Sun, 8 Jan 2006 20:57:26 +0000 (20:57 +0000)]
r12779: allow static tomstones

metze
(This used to be commit 966872646e5ac38ed5b3eb41cf339ec8f1583f17)

16 years agor12778: export TEST_DATA_PREFIX in make test
Stefan Metzmacher [Sun, 8 Jan 2006 20:50:18 +0000 (20:50 +0000)]
r12778: export TEST_DATA_PREFIX in make test

metze
(This used to be commit beea805a61d15dbb38add0a9c333e01279f71ada)

16 years agor12777: use TEST_DATA_PREFIX if available
Stefan Metzmacher [Sun, 8 Jan 2006 20:47:48 +0000 (20:47 +0000)]
r12777: use TEST_DATA_PREFIX if available

metze
(This used to be commit 7e702939faf70d0c02fa71b315043795bc4a1d84)

16 years agor12776: use $ENV{TEST_DATA_PREFIX} for test files if available
Stefan Metzmacher [Sun, 8 Jan 2006 20:20:18 +0000 (20:20 +0000)]
r12776: use $ENV{TEST_DATA_PREFIX} for test files if available

metze
(This used to be commit 5552eaa37c228872736688bb65b4f678bdfeddf4)

16 years agor12775: free elements early...
Stefan Metzmacher [Sun, 8 Jan 2006 18:25:40 +0000 (18:25 +0000)]
r12775: free elements early...

metze
(This used to be commit 49f78e21fe4a293fdb4d9d49d16dbed3ef8137b1)

16 years agor12774: - fix the build on OpenBSD
Stefan Metzmacher [Sun, 8 Jan 2006 18:20:56 +0000 (18:20 +0000)]
r12774: - fix the build on OpenBSD

I'll try to remove TIME_T_MIN/TIME_T_MAX completly later,
but for now I try to build on all platfarms

metze
(This used to be commit d51244b6613dc07076da56937d09e4020c596475)

16 years agor12773: - remove unused variable, fix the build with some old compilers
Stefan Metzmacher [Sun, 8 Jan 2006 18:12:35 +0000 (18:12 +0000)]
r12773: - remove unused variable, fix the build with some old compilers

metze
(This used to be commit 1253784c923b569593b5207c14567c637f3a7ae7)

16 years agor12772: - create variables for the %(patsubst ...) statements for the idl files
Stefan Metzmacher [Sun, 8 Jan 2006 17:13:13 +0000 (17:13 +0000)]
r12772: - create variables for the %(patsubst ...) statements for the idl files
- this also fixes the build on BSD systems

metze
(This used to be commit 31ff172773f1700bfd7ff24fc764d37d9b6e82c1)

16 years agor12770: Remove the alloca.h header as it is not used in the code afaics
Simo Sorce [Sun, 8 Jan 2006 14:00:28 +0000 (14:00 +0000)]
r12770: Remove the alloca.h header as it is not used in the code afaics
(This used to be commit d4454287cf14cfdf1ceeb090da40492314703fb9)

16 years agor12769: Make ldb_next_request() evident, I was much confused on first sight
Simo Sorce [Sun, 8 Jan 2006 13:50:06 +0000 (13:50 +0000)]
r12769: Make ldb_next_request() evident, I was much confused on first sight

Simo.
(This used to be commit 2f0c7b896274e5e15e150c70d7ebe70355f6c4c0)

16 years agor12767: Add some trusted lookups
Volker Lendecke [Sun, 8 Jan 2006 13:26:04 +0000 (13:26 +0000)]
r12767: Add some trusted lookups
(This used to be commit 568fc8a3412e07ac3084f441e693bc82b9ea912b)

16 years agor12766: fix the build
Volker Lendecke [Sun, 8 Jan 2006 12:44:41 +0000 (12:44 +0000)]
r12766: fix the build
(This used to be commit d73c343904f32956ba97e4ad82af9c9a75f5d70c)

16 years agor12765: Revert an accidential commit
Volker Lendecke [Sun, 8 Jan 2006 12:31:06 +0000 (12:31 +0000)]
r12765: Revert an accidential commit
(This used to be commit d96c84126dcc1ec97e39814f21de167528fe886f)

16 years agor12764: Add a test for lsa_lookup. This will be expanded when I get around to add
Volker Lendecke [Sun, 8 Jan 2006 12:29:11 +0000 (12:29 +0000)]
r12764: Add a test for lsa_lookup. This will be expanded when I get around to add
trusted domains.

Volker
(This used to be commit 8b8bb85ad365721bfa1cf5309d53d851f2013c22)

16 years agor12763: Oops. If you call ldb_search from within an ldb module's search
Andrew Bartlett [Sun, 8 Jan 2006 02:05:20 +0000 (02:05 +0000)]
r12763: Oops.  If you call ldb_search from within an ldb module's search
request handler, you really have to watch the recursion issues...

Andrew Bartlett
(This used to be commit 46628e86a2be6d334b2d0427e7052517c7ab1d4c)

16 years agor12762: Simo correctly asked that the policy logic (which attributes contain
Andrew Bartlett [Sun, 8 Jan 2006 01:46:30 +0000 (01:46 +0000)]
r12762: Simo correctly asked that the policy logic (which attributes contain
passwords) be moved into the database, and not be hard-coded in the
module source.

Andrew Bartlett
(This used to be commit 1fbe09ce818ac1603bd747610262865b8698fe04)

16 years agor12761: get the TIME_T_MIN and TIME_T_MAX right again, merging from samba3 was a...
Stefan Metzmacher [Sun, 8 Jan 2006 00:09:49 +0000 (00:09 +0000)]
r12761: get the TIME_T_MIN and TIME_T_MAX right again, merging from samba3 was a bad idea...
as in samba4 we use TIME_T_MIN = 0 (maybe we should do this in samba3 too) because
negativ values mean error.

but still restrict TIME_T_MAX to INT32_MAX, to not overflow gmtime() on 64 bit systems,
is this behavior documented somewhere?

metze
(This used to be commit 333b1b8c4885c47a0d14d83896fce6740fa4d663)

16 years agor12755: check the return value of ldb_timestring(), as this fails,
Stefan Metzmacher [Sat, 7 Jan 2006 10:56:55 +0000 (10:56 +0000)]
r12755: check the return value of ldb_timestring(), as this fails,
when gmtime() fails...

metze
(This used to be commit 523746f2712371041800301294c73bb7686bf2d5)

16 years agor12754: - sync TIME_T_MAX calculation from samba3
Stefan Metzmacher [Sat, 7 Jan 2006 10:28:48 +0000 (10:28 +0000)]
r12754: - sync TIME_T_MAX calculation from samba3
- but limit TIME_T_MAX to INT32_MAX, otherwise 64 platfroms are broken
  because gmtime() will fail with INT64_MAX passed in!

I'm not sure if that's the best fix for this problem, but it works...

Should we port the INT32_MAX limitation to samba3?

Comments, please?

metze
(This used to be commit 396fa81be5b950aa2120cff19540a0236f79a685)

16 years agor12753: Try to fix the build after a 'make clean'. (the wildcards will not
Andrew Bartlett [Sat, 7 Jan 2006 00:06:58 +0000 (00:06 +0000)]
r12753: Try to fix the build after a 'make clean'.  (the wildcards will not
expand because they don't exist yet).  Thanks again to HotaruT.

Andrew Bartlett
(This used to be commit d3abfecec5c9468e93d2d40181ce5d20f8135566)

16 years agor12752: Clean up compile_et and asn1_compile as well.
Andrew Bartlett [Fri, 6 Jan 2006 23:15:06 +0000 (23:15 +0000)]
r12752: Clean up compile_et and asn1_compile as well.

Andrew Bartlett
(This used to be commit 2a6023d7414c1c337bb24a8c6882a17380cbc658)

16 years agor12751: Another make clean fix.
Andrew Bartlett [Fri, 6 Jan 2006 23:12:12 +0000 (23:12 +0000)]
r12751: Another make clean fix.

Andrew Bartlett
(This used to be commit 9e6997d5bde306f442b2c7379870af6495e11d25)

16 years agor12750: Clean up more asn1 generated files (pointed out by <HotaruT>).
Andrew Bartlett [Fri, 6 Jan 2006 22:55:03 +0000 (22:55 +0000)]
r12750: Clean up more asn1 generated files (pointed out by <HotaruT>).

Andrew Bartlett
(This used to be commit 5d42638170245b684b45459d0538ea86fa811214)

16 years agor12749: Fix the newuser script.
Andrew Bartlett [Fri, 6 Jan 2006 21:45:36 +0000 (21:45 +0000)]
r12749: Fix the newuser script.

Andrew Bartlett
(This used to be commit 42cdad5e3f06c307baf80396fd8449b803ef84c3)

16 years agor12748: Fix wrong handling of separation characters for RDNs
Simo Sorce [Fri, 6 Jan 2006 21:39:37 +0000 (21:39 +0000)]
r12748: Fix wrong handling of separation characters for RDNs
allow escaped separation chars as part of the attr value
of an RDN
(This used to be commit 7ba341d6c3745cd99c4c79933f9bd54f41e12a9c)

16 years agor12747: Add a couple more token tests, used by the kludge ACL module.
Andrew Bartlett [Fri, 6 Jan 2006 21:20:09 +0000 (21:20 +0000)]
r12747: Add a couple more token tests, used by the kludge ACL module.

Andrew Bartlett
(This used to be commit 10eadf48124d61f2eb586fb277a66aa4b9e6cad3)

16 years agor12746: An initial version of the kludge_acls module.
Andrew Bartlett [Fri, 6 Jan 2006 21:04:32 +0000 (21:04 +0000)]
r12746: An initial version of the kludge_acls module.

This should be replaced with real ACLs, which tridge is working on.
In the meantime, the rules are very simple:

- SYSTEM and Administrators can read all.

- Users and anonymous cannot read passwords, can read everything else

- list of 'password' attributes is hard-coded

Most of the difficult work in this was fighting with the C/js
interface to add a system_session() all, as it still doesn't get on
with me :-)

Andrew Bartlett
(This used to be commit be9d0cae8989429ef47a713d8f0a82f12966fc78)

16 years agor12745: Initial work to support a syntax to pass over controls via
Simo Sorce [Fri, 6 Jan 2006 19:42:08 +0000 (19:42 +0000)]
r12745: Initial work to support a syntax to pass over controls via
command line to ldbsearch. Very rough work, no checks are
done on the input yet (will segfault if you make it wrong).
Controls are passed via the --controls switch an are comma
separated (no escaping yet).

General syntax is <ctrl_name>:<criticality>
<ctrl_name> is a string
<criticality> is 1 or 0

Current semi-parsed controls are:

server_sort
syntax: server_sort:1:0:attributename

1st parm: criticality
2nd parm: reversed
3rd parm: attribute name to be used for sorting

todo: still missing suport for multiple sorting
  attributes and ordering rule
no check on result code

paged_results
syntax: paged_results:1:100

1st parm: criticality
2nd parm: number of results to be returned

todo: ldbsearch will return only the first batch
  (missing code to cycle over conditionally)
no check on result code

extended_dn
syntax: extended_dn:1:0

1st parm: criticality
2nd parm: type, see MS docs on meaning

Simo.
(This used to be commit 4c685ac0d1638a1d5392dfe733baf0db77e84858)

16 years agor12744: For correctly written scripts, we don't need this anymore. Only use
Andrew Bartlett [Fri, 6 Jan 2006 19:37:13 +0000 (19:37 +0000)]
r12744: For correctly written scripts, we don't need this anymore.  Only use
the cmdline credentials if we ask for it.

Andrew Bartlett
(This used to be commit 874dd09759eb0243988f39363c94785ae2e68485)

16 years agor12743: Remove the ugly way we had to make a second stage init and introduce
Simo Sorce [Fri, 6 Jan 2006 16:12:45 +0000 (16:12 +0000)]
r12743: Remove the ugly way we had to make a second stage init and introduce
a second_stage_init private function for modules that need a second stage init.

Simo.
(This used to be commit 5e8b365fa2d93801a5de1d9ea76ce9d5546bd248)

16 years agor12739: Add support for using credentials in the provision process.
Andrew Bartlett [Fri, 6 Jan 2006 12:29:06 +0000 (12:29 +0000)]
r12739: Add support for using credentials in the provision process.

This should allow us to provision to a 'normal' LDAP server.

Also add in 'session info' hooks (unused).  Both of these need to be
hooked in on the webserver.

Andrew Bartlett
(This used to be commit b349d2fbfefd0e0d4620b9e8e0c4136f900be1ae)

16 years agor12738: Use a talloc_reference to ensure this doesn't get free()'ed too early.
Andrew Bartlett [Fri, 6 Jan 2006 12:24:49 +0000 (12:24 +0000)]
r12738: Use a talloc_reference to ensure this doesn't get free()'ed too early.

Andrew Bartlett
(This used to be commit 0f8c162211662de59f42a96fe5bdf56ed5be883f)

16 years agor12734: forgot to add qsort
Simo Sorce [Fri, 6 Jan 2006 04:15:41 +0000 (04:15 +0000)]
r12734: forgot to add qsort
(This used to be commit df1ccca3499015d68a6f9f86286d9f66b6c0476c)

16 years agor12733: Merge ldap/ldb controls into main tree
Simo Sorce [Fri, 6 Jan 2006 04:01:23 +0000 (04:01 +0000)]
r12733: Merge ldap/ldb controls into main tree
There's still lot of work to do but the patch is stable
enough to be pushed into the main samba4 tree.

Simo.
(This used to be commit 77125feaff252cab44d26593093a9c211c846ce8)

16 years agor12732: This option does nothing.
Andrew Bartlett [Fri, 6 Jan 2006 03:56:47 +0000 (03:56 +0000)]
r12732: This option does nothing.

Andrew Bartlett
(This used to be commit 708ce7de3034cfef3c6d8c7d49df8851ad1e5827)

16 years agor12731: Simplify and re-implemenet support for --parameter-name=foo
Andrew Bartlett [Fri, 6 Jan 2006 02:50:46 +0000 (02:50 +0000)]
r12731: Simplify and re-implemenet support for --parameter-name=foo
--service-name=bar in testparm.

Andrew Bartlett
(This used to be commit be067e9a04a4dca02a9472ae7385dc0bf26735ea)

16 years agor12730: Reimplement --parameter-name, and bring in common samba options.
Andrew Bartlett [Fri, 6 Jan 2006 02:28:36 +0000 (02:28 +0000)]
r12730: Reimplement --parameter-name, and bring in common samba options.

This changes -s from meaning 'suppress prompt' to 'services file'.

Andrew Bartlett
(This used to be commit 0f78bd743b8bc415e47006a683c53bfdff1bc1e1)

16 years agor12729: Implement the --section-name option, for dumping only one section.
Andrew Bartlett [Fri, 6 Jan 2006 02:13:01 +0000 (02:13 +0000)]
r12729: Implement the --section-name option, for dumping only one section.

Andrew Bartlett
(This used to be commit 3c49dd9219b12f5ed229ba108a02b85a18146df8)

16 years agor12728: Revive testparm.
Andrew Bartlett [Fri, 6 Jan 2006 00:46:35 +0000 (00:46 +0000)]
r12728: Revive testparm.

It needs work to not dump defaults from loadparm.c, but otherwise it works.

Andrew Bartlett
(This used to be commit 1260fcf46579d708a406625f548add9be9fdc6fb)

16 years agor12725: some minor updates
Stefan Metzmacher [Thu, 5 Jan 2006 16:43:56 +0000 (16:43 +0000)]
r12725: some minor updates

metze
(This used to be commit f2e97983f278211c6d70400ce1f43d6a69df0d8a)

16 years agor12724: fix warnings
Stefan Metzmacher [Thu, 5 Jan 2006 16:42:42 +0000 (16:42 +0000)]
r12724: fix warnings

metze
(This used to be commit 4ca1a9a6063ef0caee09eb5310d079ee054d91b4)

16 years agor12720: By metze's request, rename the ntPwdHistory attribute to
Andrew Bartlett [Thu, 5 Jan 2006 09:03:13 +0000 (09:03 +0000)]
r12720: By metze's request, rename the ntPwdHistory attribute to
sambaNTPassword.  Likewise lmPwdHistory -> sambaLMPwdHistory.

The idea here is to avoid having conflicting formats when we get to
replication.  We know the base data matches, but we may need to use a
module to munge formats.

Andrew Bartlett
(This used to be commit 8e608dd4bf4f108e02274a9977ced04a0a270570)

16 years agor12719: Rename unicodePwd -> sambaPassword.
Andrew Bartlett [Thu, 5 Jan 2006 06:53:39 +0000 (06:53 +0000)]
r12719: Rename unicodePwd -> sambaPassword.

Because we don't know the syntax of unicodePwd, we want to avoid using
that attribute name.  It may cause problems later when we get
replication form windows.

I'm doing this before the tech preview, so we don't get too many
supprises as folks upgrade databases into later versions.

Andrew Bartlett
(This used to be commit 097d9d0b7fd3b1a10fb7039f0671fd459bed2d1b)

16 years agor12718: We don't use unicodePwd directly any more.
Andrew Bartlett [Thu, 5 Jan 2006 05:58:48 +0000 (05:58 +0000)]
r12718: We don't use unicodePwd directly any more.

Andrew Bartlett
(This used to be commit c10491fb9be1eb8a13f03ed16fd3ed799315287e)

16 years agor12717: Always compile the skel module, so we know when we break it.
Andrew Bartlett [Thu, 5 Jan 2006 04:56:19 +0000 (04:56 +0000)]
r12717: Always compile the skel module, so we know when we break it.

Also fix up all the current issues with the skel module.

Andrew Bartlett
(This used to be commit d0a0a8de3fa73d8f06a801203e00b90ed8359b98)

16 years agor12716: Tridge points out that the request argument to ldb_next_request must
Andrew Bartlett [Thu, 5 Jan 2006 02:14:01 +0000 (02:14 +0000)]
r12716: Tridge points out that the request argument to ldb_next_request must
be a valid talloc() pointer, as other modules may rely on this.

Andrew Bartlett
(This used to be commit 356c8c56090a7c4254609c0cc138c994b618fa55)

16 years agor12711: Update copyrights
Jelmer Vernooij [Wed, 4 Jan 2006 11:23:12 +0000 (11:23 +0000)]
r12711: Update copyrights
(This used to be commit a02b0c5568977e1a2a396460d13a24076d4681f0)

16 years agor12710: Fix socket_wrapper: Make sure to fill in the socket family on the
Andrew Bartlett [Wed, 4 Jan 2006 05:40:35 +0000 (05:40 +0000)]
r12710: Fix socket_wrapper: Make sure to fill in the socket family on the
returned address.

Andrew Bartlett
(This used to be commit 57b0aae0d4b52d9a9879c4606d2e4b3ef0d3d0d7)

16 years agor12708: This is equivilant, but doesn't cause a warning.
Andrew Bartlett [Wed, 4 Jan 2006 01:28:03 +0000 (01:28 +0000)]
r12708: This is equivilant, but doesn't cause a warning.

Andrew Bartlett
(This used to be commit 964f7fc6ca4ac7578ca0d467392d4e174211b6e2)

16 years agor12706: Add list of parameters that need work
Jelmer Vernooij [Tue, 3 Jan 2006 22:09:33 +0000 (22:09 +0000)]
r12706: Add list of parameters that need work
(This used to be commit 46b4a526987e634d1c96798533d119140243081d)

16 years agor12704: role => server role
Jelmer Vernooij [Tue, 3 Jan 2006 21:20:48 +0000 (21:20 +0000)]
r12704: role => server role
(This used to be commit 5884a7effff0b11e82c9d273dbd0407b0f2eb02d)

16 years agor12703: Fix handling of short passdb backends (also reported by Steinar Gunderson)
Jelmer Vernooij [Tue, 3 Jan 2006 20:26:57 +0000 (20:26 +0000)]
r12703: Fix handling of short passdb backends (also reported by Steinar Gunderson)
(This used to be commit 4c562c42b43d98f4c6bdbacc5cb1dd5e65bc3418)

16 years agor12702: - reload the partner configuration, when the sequenceNumber of the wins_confi...
Stefan Metzmacher [Tue, 3 Jan 2006 20:19:39 +0000 (20:19 +0000)]
r12702: - reload the partner configuration, when the sequenceNumber of the wins_config.ldb
  changes
- use a periodic run interval of 15 secs per default, as we no longer
  send push notifies with each run

metze
(This used to be commit 0382b3135c770847be33fbf8ee500f2c0bf265e2)

16 years agor12701: the first scavenging run should happen after half of the renew_interval,
Stefan Metzmacher [Tue, 3 Jan 2006 20:07:34 +0000 (20:07 +0000)]
r12701: the first scavenging run should happen after half of the renew_interval,
and not on startup

metze
(This used to be commit fd234ebbac30a10083e2898eb291d8a4fef7198f)

16 years agor12700: fix name release of replica records, we need to become the owner and allocate...
Stefan Metzmacher [Tue, 3 Jan 2006 20:03:51 +0000 (20:03 +0000)]
r12700: fix name release of replica records, we need to become the owner and allocate a new versionID
so that it gets replicated to the old owning wins server directly

metze
(This used to be commit 72198f00ea933db68f7ec5d85cac00c98b37a077)

16 years agor12699: correctly escape invalid DN characters (reported by Steinar H. Gunderson).
Jelmer Vernooij [Tue, 3 Jan 2006 19:39:53 +0000 (19:39 +0000)]
r12699: correctly escape invalid DN characters (reported by Steinar H. Gunderson).
this still doesn't work as a bug in ldb causes it to not understand
escaped characters in DNs when parsing DNs
(This used to be commit 10da56fb6cc57b6c0650a8dc81ded5faa643a96e)

16 years agor12698: Declare model_ops (required for NetBSD)
Jelmer Vernooij [Tue, 3 Jan 2006 18:35:00 +0000 (18:35 +0000)]
r12698: Declare model_ops (required for NetBSD)
(This used to be commit 5e6df39363fba961e09e836e4b5a0115b278be90)

16 years agor12697: Support empty fullname fields in unix accounts
Jelmer Vernooij [Tue, 3 Jan 2006 18:11:17 +0000 (18:11 +0000)]
r12697: Support empty fullname fields in unix accounts
(This used to be commit 3d70ebca0b706ae22bc7a3f48c2247c450c42026)

16 years agor12696: Reduce the size of include/structs.h
Jelmer Vernooij [Tue, 3 Jan 2006 17:27:33 +0000 (17:27 +0000)]
r12696: Reduce the size of include/structs.h
(This used to be commit 63917616016133c623fc6ff59454bc313ee7dd8f)

16 years agor12695: A dot is allowed in NetBIOS names.
Jelmer Vernooij [Tue, 3 Jan 2006 17:22:19 +0000 (17:22 +0000)]
r12695: A dot is allowed in NetBIOS names.
(This used to be commit f4ac7d6359b5a6de04a6ea518dec99f4c9b49b3d)

16 years agor12694: Move some headers to the directory of the subsystem they belong to.
Jelmer Vernooij [Tue, 3 Jan 2006 15:40:05 +0000 (15:40 +0000)]
r12694: Move some headers to the directory of the subsystem they belong to.
(This used to be commit c722f665c90103f3ed57621c460e32ad33e7a8a3)

16 years agor12693: Move core data structures out of smb.h into core.h
Jelmer Vernooij [Tue, 3 Jan 2006 13:41:17 +0000 (13:41 +0000)]
r12693: Move core data structures out of smb.h into core.h
torture prototypes in seperate header
(This used to be commit 73610639b23ca3743077193fa0b1de7c7f65944d)

16 years agor12687: Push the real list of supported GENSEC mechanisms out on
Andrew Bartlett [Tue, 3 Jan 2006 04:25:12 +0000 (04:25 +0000)]
r12687: Push the real list of supported GENSEC mechanisms out on
supportedSASLMechanism in the rootdse.  (Second half of a patch
commited earlier today).

Andrew Bartlett
(This used to be commit 4b67b5d688493c385e12734fd2c0c9dbc1b238e4)

16 years agor12686: Push the real SASL list into the rootdse.
Andrew Bartlett [Tue, 3 Jan 2006 00:10:15 +0000 (00:10 +0000)]
r12686: Push the real SASL list into the rootdse.

Get this out of the server credentials, and push it down to ldb via an
opaque pointer.

Andrew Bartlett
(This used to be commit 61700252e05e0be6b4ffa72ffc24a95c665597e3)

16 years agor12685: Add comments on builtin LDAP and KDC.
Andrew Bartlett [Mon, 2 Jan 2006 23:16:52 +0000 (23:16 +0000)]
r12685: Add comments on builtin LDAP and KDC.

Andrew Bartlett
(This used to be commit a7c168d8899a0cdafdbb40f0fb1b42a4a87857c6)

16 years agor12684: A better error code for SAMR transaction failures.
Andrew Bartlett [Mon, 2 Jan 2006 22:50:12 +0000 (22:50 +0000)]
r12684: A better error code for SAMR transaction failures.

Andrew Bartlett
(This used to be commit 9c127f35ceae5106ee21c930c3570c0b87341cf6)

16 years agor12683: Fix declaration and initialisation placement.
Andrew Bartlett [Mon, 2 Jan 2006 22:34:18 +0000 (22:34 +0000)]
r12683: Fix declaration and initialisation placement.

Andrew Bartlett
(This used to be commit 17e20930ec05f6385a8fccfc77fb0aca89ecef52)

16 years agor12682: This patch finally fixes our kpasswdd implementation to be compatible
Andrew Bartlett [Mon, 2 Jan 2006 22:00:40 +0000 (22:00 +0000)]
r12682: This patch finally fixes our kpasswdd implementation to be compatible
with clients compiled against the MIT Kerberos implementation.  (Which
checks for address in KRB-PRIV packets, hence my comments on socket
functions earlier today).

It also fixes the 'set password' operation to behave correctly (it was
previously a no-op).

This allows Samba3 to join Samba4.  Some winbindd operations even work,
which I think is a good step forward.  There is naturally a lot of work
to do, but I wanted at least the very basics of Samba3 domain membership
to be available for the tech preview.

Andrew Bartlett
(This used to be commit 4e80a557f9c68b01ac6d5bb05716fe5b3fd400d4)

16 years agor12681: Allow an entry to have no kerberos keys. This occours when an entry
Andrew Bartlett [Mon, 2 Jan 2006 21:56:29 +0000 (21:56 +0000)]
r12681: Allow an entry to have no kerberos keys.  This occours when an entry
is new, and has no password.  It may also occour in the future if we
allow PKINIT.  In any case, it shouldn't segfault :-)

Andrew Bartlett
(This used to be commit 686fea241b7a8ca286099eadfa2ed177367dafdc)

16 years agor12680: Support setting the environment variable SMB_BUILD_VERBOSE to
Jelmer Vernooij [Mon, 2 Jan 2006 21:41:15 +0000 (21:41 +0000)]
r12680: Support setting the environment variable SMB_BUILD_VERBOSE to
print out more debug info
(This used to be commit a54fefbfc5b2796cf8c47f22629ec86bca39cd39)

16 years agor12679: create a sperate function to create the 'winsOwner' part of the search filter,
Stefan Metzmacher [Mon, 2 Jan 2006 18:25:30 +0000 (18:25 +0000)]
r12679: create a sperate function to create the 'winsOwner' part of the search filter,
this is to handle the special '0.0.0.0' of old or manual added owned records

metze
(This used to be commit 4c7306608cc3f86c31ed044bc41eda905b64b31f)

16 years agor12677: get rid of the special cases for the local wins owner table entry,
Stefan Metzmacher [Mon, 2 Jan 2006 17:19:09 +0000 (17:19 +0000)]
r12677: get rid of the special cases for the local wins owner table entry,
the call to winsdb_get_maxVersion() is moved into place.

This allows us to fetch records with the owner address that matches
our local_owner address, this is important if the restart with an empty wins.ldb.
w2k3 does this in the same way when you remove the database files from disk and restart
the WINS-Service.

metze
(This used to be commit e43de87d06614206a858e1102cd82e7f02163bba)

16 years agor12675: fix some dependencies and don't use long lines
Stefan Metzmacher [Mon, 2 Jan 2006 16:54:58 +0000 (16:54 +0000)]
r12675: fix some dependencies and don't use long lines

metze
(This used to be commit 80bf8b5716bf49b5aaf289cee66a6aac72877dad)

16 years agor12674: make use of the winsdb functions
Stefan Metzmacher [Mon, 2 Jan 2006 16:14:08 +0000 (16:14 +0000)]
r12674: make use of the winsdb functions

metze
(This used to be commit 9a7da608e2099ea1d037b6985358649a6e35a714)

16 years agor12673: create functions for get_maxVersion(), set_maxVersion() and get_seqnumber()
Stefan Metzmacher [Mon, 2 Jan 2006 14:27:54 +0000 (14:27 +0000)]
r12673: create functions for get_maxVersion(), set_maxVersion() and get_seqnumber()
at the winsdb layer. the ones in wrepl_server/ will be removed later.

metze
(This used to be commit 22cdbc75df3bedfc651891f708a3439ccc77abcc)

16 years agor12671: Modules don't have to be linked with their subsystem.
Jelmer Vernooij [Mon, 2 Jan 2006 03:27:11 +0000 (03:27 +0000)]
r12671: Modules don't have to be linked with their subsystem.
(This used to be commit 8f5edcc6a2ec02a496ef77b7044a56bb8f4be0f1)

16 years agor12670: Make a couple of dependencies stricter
Jelmer Vernooij [Mon, 2 Jan 2006 00:16:08 +0000 (00:16 +0000)]
r12670: Make a couple of dependencies stricter
Re-introduce and use the OUTPUT_TYPE property for MODULEs to force
specific modules to always be included
(This used to be commit f9eede3d40098eddc3618ee48f9253cdddb94a6f)

16 years agor12661: Happy New Year!
Stefan Metzmacher [Sun, 1 Jan 2006 18:03:14 +0000 (18:03 +0000)]
r12661: Happy New Year!

metze
(This used to be commit c563aefb429c4891958032d1ea1fad01cbf89e4a)