kai/samba.git
15 years agonbt_server/wins: don't force wins_ldb as shared_module
Stefan Metzmacher [Sat, 28 Jun 2008 18:42:27 +0000 (20:42 +0200)]
nbt_server/wins: don't force wins_ldb as shared_module

metze
(This used to be commit 861b79c91fb39b6b7f40d57000770f0f839e6c59)

15 years agodsdb: don't force the build of ldb modules as shared_module
Stefan Metzmacher [Fri, 27 Jun 2008 13:34:31 +0000 (15:34 +0200)]
dsdb: don't force the build of ldb modules as shared_module

metze
(This used to be commit 3379630a91bd96a34f99ed24ac92380bd97ccb07)

15 years agoldb_ildap: don't force the build as shared_module
Stefan Metzmacher [Sat, 28 Jun 2008 18:41:45 +0000 (20:41 +0200)]
ldb_ildap: don't force the build as shared_module

metze
(This used to be commit 0aef6d394d7a93cce9aee17af1153b07ea1a9c07)

15 years agoauth: don't force the build of auth_server as shared_module
Stefan Metzmacher [Sat, 28 Jun 2008 08:50:49 +0000 (10:50 +0200)]
auth: don't force the build of auth_server as shared_module

metze
(This used to be commit b5187dd58ccae03e22ba8857c344a2d7d94f13b3)

15 years agolib/talloc: build as MERGED_OBJ instead of STATIC_LIBRARY
Stefan Metzmacher [Sat, 28 Jun 2008 09:01:20 +0000 (11:01 +0200)]
lib/talloc: build as MERGED_OBJ instead of STATIC_LIBRARY

metze
(This used to be commit 5bf414efbdf279fd1b85eb47e7b47656bc435f11)

15 years agolib/events: build as MERGED_OBJ instead of STATIC_LIBRARY
Stefan Metzmacher [Sat, 28 Jun 2008 08:59:02 +0000 (10:59 +0200)]
lib/events: build as MERGED_OBJ instead of STATIC_LIBRARY

metze
(This used to be commit a2a506ba2e044699d147486e987b11d839373784)

15 years agosmb_build: use MERGED_OBJ instead of STATIC_LIBRARY
Stefan Metzmacher [Fri, 27 Jun 2008 13:33:36 +0000 (15:33 +0200)]
smb_build: use MERGED_OBJ instead of STATIC_LIBRARY

metze
(This used to be commit 54b06a1c839a9af4565635011e3e624271769cc7)

15 years agosmb_build: enable implicit make rules
Stefan Metzmacher [Fri, 27 Jun 2008 13:31:35 +0000 (15:31 +0200)]
smb_build: enable implicit make rules

metze
(This used to be commit be3f3e18d476431f991d08317eb94b4aebe927e6)

15 years agoldb: allow ldb modules to specify LDB_MODULE(name) or LDB_BACKEND(name)
Stefan Metzmacher [Sat, 28 Jun 2008 08:49:49 +0000 (10:49 +0200)]
ldb: allow ldb modules to specify LDB_MODULE(name) or LDB_BACKEND(name)

metze
(This used to be commit 1d5b714438a955d76f92f4ccd8aa2f7f89ffa5fd)

15 years agoldb: fix the init function names for some modules
Stefan Metzmacher [Sat, 28 Jun 2008 08:49:49 +0000 (10:49 +0200)]
ldb: fix the init function names for some modules

metze
(This used to be commit a485a363c3dc1b6b4d12410ed8e390b4d64a739f)

15 years agoUpdate Fedora packaging per feedback on review ticket.
Andrew Bartlett [Mon, 30 Jun 2008 03:42:50 +0000 (13:42 +1000)]
Update Fedora packaging per feedback on review ticket.

https://bugzilla.redhat.com/show_bug.cgi?id=453083
(This used to be commit ddb62bf6cc9371c11778ea6630ef0fbbe22cd4f9)

15 years agoRework samdb handling for 'netlogon' packets.
Andrew Bartlett [Mon, 30 Jun 2008 02:22:50 +0000 (12:22 +1000)]
Rework samdb handling for 'netlogon' packets.

Don't reopen the samdb for every netlogon packet, and use the
system_session(), as we must access data not available to anonymous.
Perhaps we should consider a 'authenticated but not system' token, if
we want more control on this.

Andrew Bartlett
(This used to be commit d10c9b71ea7f2670c4ea5ec569bcb7f49ec41362)

15 years agoRelax the ldap.py tests so that they pass against OpenLDAP CVS.
Andrew Bartlett [Mon, 30 Jun 2008 01:27:55 +0000 (11:27 +1000)]
Relax the ldap.py tests so that they pass against OpenLDAP CVS.

This requires a patched OpenLDAP checked out from their CVS HEAD.  I
hope to see the patches incorporated soon.

Andrew Bartlett
(This used to be commit 963bcfc777679ba122189ea6cf7f94b8d46cdce7)

15 years agoLoosen ldap.py tests on the LDAP backend.
Andrew Bartlett [Sun, 29 Jun 2008 23:38:52 +0000 (09:38 +1000)]
Loosen ldap.py tests on the LDAP backend.

Allow LDAP backend to return parts of the DN in a different case, when
verifying memberOf.

Andrew Bartlett
(This used to be commit daddfae9fd8b7375bd4f469808378edc60a55be0)

15 years agoNon-zero exit code on failure.
Jelmer Vernooij [Sat, 28 Jun 2008 13:26:46 +0000 (15:26 +0200)]
Non-zero exit code on failure.
(This used to be commit 9c220c0dce31fbe4b2f6433f40a52162d21c03f7)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Sat, 28 Jun 2008 12:04:19 +0000 (22:04 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 6479f481dbf2f5c83edec0702ece73e83b6c810e)

15 years agoselftest changes for 'winbind privileged dir' change.
Andrew Bartlett [Sat, 28 Jun 2008 12:03:52 +0000 (22:03 +1000)]
selftest changes for 'winbind privileged dir' change.
(This used to be commit c19b28f7579268133939aebe06e1c947d4415182)

15 years agodynconfig changes for 'winbind privileged dir' changes.
Andrew Bartlett [Sat, 28 Jun 2008 12:02:58 +0000 (22:02 +1000)]
dynconfig changes for 'winbind privileged dir' changes.
(This used to be commit 7e20919d5ba9244362503e450273938a7cc94796)

15 years agoUse a configure-specified directory for the winbind priv pipe
Andrew Bartlett [Sat, 28 Jun 2008 12:02:19 +0000 (22:02 +1000)]
Use a configure-specified directory for the winbind priv pipe

This makes it easier for RPMs to specify an group for access to that
directory.

Andrew Bartlett
(This used to be commit fa361354433fb9a5c09c84997a7c51f3052c294e)

15 years agoMore work to use %{name} rather than 'samba'
Andrew Bartlett [Sat, 28 Jun 2008 11:38:19 +0000 (21:38 +1000)]
More work to use %{name} rather than 'samba'
(This used to be commit a18363d72ac58ee27b4ff3b065f3fab50722718a)

15 years agoUpdate WHATSNEW towards an alpha5 release.
Andrew Bartlett [Sat, 28 Jun 2008 11:37:00 +0000 (21:37 +1000)]
Update WHATSNEW towards an alpha5 release.

Andrew Bartlett
(This used to be commit 7b1bccc33eecce6a8f5b486c321c0e6dd52f108f)

15 years agopvfs: create a pvfs_acl subsystem
Stefan Metzmacher [Sat, 28 Jun 2008 08:28:15 +0000 (10:28 +0200)]
pvfs: create a pvfs_acl subsystem

That means that the pvfs_acl implementations no longer register
as ntvfs modules (which was wrong)

metze
(This used to be commit 89e90556ec57fce24faf0ed3d6fe262edd974b28)

15 years agopvfs: pvfs_aio should be a subsystem instead of an extra ntvfs module
Stefan Metzmacher [Sat, 28 Jun 2008 08:27:16 +0000 (10:27 +0200)]
pvfs: pvfs_aio should be a subsystem instead of an extra ntvfs module

metze
(This used to be commit c904e28bef95cb0d61bf86f2ba1cef2d4e018d5f)

15 years agoPlace the Fedroa package into Samba4's GIT tree
Andrew Bartlett [Sat, 28 Jun 2008 08:25:47 +0000 (18:25 +1000)]
Place the Fedroa package into Samba4's GIT tree

I'll keep this here at least until Fedora picks things up.

Andrew Bartlett
(This used to be commit c161de2245cd26aa26642f09736fc6eeba14cf6d)

15 years agoTone down the language in BUGS.txt
Andrew Bartlett [Sat, 28 Jun 2008 08:12:10 +0000 (18:12 +1000)]
Tone down the language in BUGS.txt
(This used to be commit 7bb1da210ac58b7a8b89077cb9fcde504a0b4b2e)

15 years agoFix the wbinfo test on the LDAP backend.
Andrew Bartlett [Sat, 28 Jun 2008 08:04:35 +0000 (18:04 +1000)]
Fix the wbinfo test on the LDAP backend.

The problem was that we would do a blocking wait for the LDAP server,
which was also blocking on us returning (because we were in single
process mode).

The LDAP connection being made here is useless anyway, and will need
to be an async ldb_connect() before anybody reintroucues it (nobody in
their right mind would program a winbindd backend on pure LDAP, when
the ldb abstraction is available).

Andrew Bartlett
(This used to be commit 23280b2e6ed5afb968bf0b8c40febb085eed38a1)

15 years agontlm_auth: eliminate "cast pointer from integer of different size" warnings on 64bit.
Michael Adam [Fri, 27 Jun 2008 11:21:42 +0000 (13:21 +0200)]
ntlm_auth: eliminate "cast pointer from integer of different size" warnings on 64bit.

Michael
(This used to be commit a0b2440c70a3f453c22159a02ff4a82fe6439cad)

15 years agontlmssp: get rid of "cast to pointer from integer of different size" warning on 64 bit
Michael Adam [Fri, 27 Jun 2008 10:42:07 +0000 (12:42 +0200)]
ntlmssp: get rid of "cast to pointer from integer of different size" warning on 64 bit

Not sure if this check is actually necessary, though:
the second should be sufficient.

Michael
(This used to be commit 2813882ef3cc3609a74ad83bcee6be0c2cd53494)

15 years agotdb_unpack: Eliminate "cast to pointer from integer of different size" warning on...
Michael Adam [Fri, 27 Jun 2008 06:23:26 +0000 (08:23 +0200)]
tdb_unpack: Eliminate "cast to pointer from integer of different size" warning on 64bit.

The 'p' type is just a flag to mark the presence of a pointer,
not a real pointer itself.

The code is now the same as in Samba3's tdb_unpack.

Michael
(This used to be commit a516bc9a2d4ce86244d0e2fbfacf6fda5e12e987)

15 years agogsskrb5: just don't force, but allow the flags when GSS_CF_NO_CI_FLAGS is given
Stefan Metzmacher [Fri, 27 Jun 2008 09:34:05 +0000 (11:34 +0200)]
gsskrb5: just don't force, but allow the flags when GSS_CF_NO_CI_FLAGS is given

metze
(This used to be commit f10c9ca3612d7bdc4c2c221e959f8c48ec2f9349)

15 years agogsskrb5: fix gss_krb5_cred_no_ci_flags_x_oid_desc variable name
Stefan Metzmacher [Fri, 27 Jun 2008 09:33:00 +0000 (11:33 +0200)]
gsskrb5: fix gss_krb5_cred_no_ci_flags_x_oid_desc variable name

metze
(This used to be commit d88be1a1cb543b4e2cc5d15262da786558aa276d)

15 years agocredentials: gss_set_cred_option() doesn't like GSS_C_NO_BUFFER
Stefan Metzmacher [Fri, 27 Jun 2008 09:31:49 +0000 (11:31 +0200)]
credentials: gss_set_cred_option() doesn't like GSS_C_NO_BUFFER

metze
(This used to be commit 31cf1a781efce932d0574d7840979fcd0a07ec08)

15 years agoFix if_version for interfaces with a if_version_minor field different from 0
Julien Kerihuel [Fri, 30 May 2008 22:47:14 +0000 (00:47 +0200)]
Fix if_version for interfaces with a if_version_minor field different from 0

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 7b6927832a1118b142d0d8a3a5548761f5a04f1a)

15 years agoFix a non-empty line with just spaces
Volker Lendecke [Fri, 27 Jun 2008 10:14:41 +0000 (12:14 +0200)]
Fix a non-empty line with just spaces
(This used to be commit ba6394cb654f2a6683b5e97fad8e838d8e457e06)

15 years agoFix the definition of abspath for gnu make < 3.81
Volker Lendecke [Fri, 27 Jun 2008 10:14:19 +0000 (12:14 +0200)]
Fix the definition of abspath for gnu make < 3.81
(This used to be commit f2725f14918b7d1cd7664fe41ad0fc184aa794c8)

15 years agoRemove events from require line:
Julien Kerihuel [Fri, 27 Jun 2008 07:55:30 +0000 (09:55 +0200)]
Remove events from require line:

The events library is not installed and prevent OpenChange from linking
with ldb. The following patch removes events reference from ldb pc file.

We are currently fixing this bug in openchange upstream using 'sed' in
our installsamba4.sh script, but this hack won't work with a packaged
version of samba4.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 0b8508f75eac84ef68850e91300fb837a621cc77)

15 years agopynbt: eliminate "initialization from incompatible pointer type" warning
Michael Adam [Fri, 27 Jun 2008 07:12:57 +0000 (09:12 +0200)]
pynbt: eliminate "initialization from incompatible pointer type" warning

by fixing the signature of py_nbt_node_init().

Jelmer - please check!

Michael
(This used to be commit a7ee17a10f330297dc4d9d15499276b3985c7a51)

15 years agonbt_server/wins: add forward declaration for struct event_context
Stefan Metzmacher [Fri, 27 Jun 2008 07:40:00 +0000 (09:40 +0200)]
nbt_server/wins: add forward declaration for struct event_context

metze
(This used to be commit 5ff4ffd162339583c7f6ebee0c8a2efc30d8b65f)

15 years agolib/ldb: add forward declaration for struct event_context
Stefan Metzmacher [Fri, 27 Jun 2008 07:39:30 +0000 (09:39 +0200)]
lib/ldb: add forward declaration for struct event_context

metze
(This used to be commit 9bbdc682a985f210874c008a0abc25645e7fbd50)

15 years agocredentials: gss_set_cred_option() needs gss_cred_id_t * argument, not gss_cred_id_t.
Michael Adam [Thu, 26 Jun 2008 21:32:37 +0000 (23:32 +0200)]
credentials: gss_set_cred_option() needs gss_cred_id_t * argument, not gss_cred_id_t.

This call was added in f573c1ff4443f3002c310d3ba29d8c343ad03907.
Metze, please check!

Michael
(This used to be commit 2b40fd7e950a7f06d2c589eadc0f604a4c65e325)

15 years agomkversion.sh: printf %s is more portable than echo -e
Stefan Metzmacher [Wed, 25 Jun 2008 17:14:34 +0000 (19:14 +0200)]
mkversion.sh: printf %s is more portable than echo -e

metze
(This used to be commit 274ae4b06a3d2e99ee4fd7f04430d361d500d451)

15 years agoFix installation of Samba4 into an empty tree.
Andrew Bartlett [Fri, 27 Jun 2008 02:56:20 +0000 (12:56 +1000)]
Fix installation of Samba4 into an empty tree.

Jelmer's previous patch failed because sh is very fussy about it's
syntax, but only compaled in this case if you take the 'no existing
binary' path.

Andrew Bartlett
(This used to be commit 9cb5327ac9811b3c1309d0e4082da3f54ab2a050)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Fri, 27 Jun 2008 02:03:23 +0000 (12:03 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 9607e79c3db9743617397c347bb69f87f6525801)

15 years agoUse make magic for installing/uninstalling binaries.
Jelmer Vernooij [Thu, 26 Jun 2008 09:51:22 +0000 (11:51 +0200)]
Use make magic for installing/uninstalling binaries.
(This used to be commit 97b724417fc8110f7c591779b0c17bd072be304f)

15 years agoUse make template for installing binaries.
Jelmer Vernooij [Thu, 26 Jun 2008 09:39:59 +0000 (11:39 +0200)]
Use make template for installing binaries.
(This used to be commit 3fb35fc03d5cfb48d0d4f51564ef76e99e74f81c)

15 years agoMove blackbox tests closer to what they're testing.
Jelmer Vernooij [Thu, 26 Jun 2008 08:56:59 +0000 (10:56 +0200)]
Move blackbox tests closer to what they're testing.
(This used to be commit c9b2e2aa861ccc01e5d92cfe468be1f6324ed294)

15 years agoOnly try to detect the events lib dir if it wasn't set earlier.
Jelmer Vernooij [Thu, 26 Jun 2008 08:11:49 +0000 (10:11 +0200)]
Only try to detect the events lib dir if it wasn't set earlier.
(This used to be commit 3f48f68800176d992a1bd9b6349f22ec152fc34a)

15 years agoUse variable for selftest directory.
Jelmer Vernooij [Wed, 25 Jun 2008 18:04:35 +0000 (20:04 +0200)]
Use variable for selftest directory.
(This used to be commit 78760606fa71c370ae3c05b077c5146166bdaa7b)

15 years agoFix another reference to ldbdir.
Jelmer Vernooij [Wed, 25 Jun 2008 17:58:41 +0000 (19:58 +0200)]
Fix another reference to ldbdir.
(This used to be commit 6416b637ea6570edd27eb8ef3005c408d311f3a3)

15 years agoUse ldbsrcdir rather than ldbdir.
Jelmer Vernooij [Wed, 25 Jun 2008 17:39:50 +0000 (19:39 +0200)]
Use ldbsrcdir rather than ldbdir.
(This used to be commit 25f500d2233198b88c1d54268f5f6f461cea75d9)

15 years agoUse variable for popt source dir.
Jelmer Vernooij [Wed, 25 Jun 2008 17:06:59 +0000 (19:06 +0200)]
Use variable for popt source dir.
(This used to be commit effc25e805facea001ebd64d383f1a536c61d0e3)

15 years agoUse ldbsrcdir rather than ldbdir.
Jelmer Vernooij [Wed, 25 Jun 2008 17:04:03 +0000 (19:04 +0200)]
Use ldbsrcdir rather than ldbdir.
(This used to be commit a422c6c5ff47f36ef3376f54e707561c6a53ac23)

15 years agoUndefine HAVE_KRB5_ENCRYPT_BLOCK because Heimdal really doesn't have it.
Jelmer Vernooij [Wed, 25 Jun 2008 15:24:38 +0000 (17:24 +0200)]
Undefine HAVE_KRB5_ENCRYPT_BLOCK because Heimdal really doesn't have it.
(This used to be commit 55a6e852c77ffb91d2e0a0503dab06214f675db8)

15 years agoUse workaround for $(abspath)
Jelmer Vernooij [Wed, 25 Jun 2008 15:12:19 +0000 (17:12 +0200)]
Use workaround for $(abspath)
(This used to be commit 21b4d017a2cccdaa6ab4ed32409f19c612293fd0)

15 years agoRevert "Remove the dependency on $(abspath) in makefiles"
Jelmer Vernooij [Wed, 25 Jun 2008 14:51:37 +0000 (16:51 +0200)]
Revert "Remove the dependency on $(abspath) in makefiles"

This reverts commit c85a3632623184cb97c2e8567ca77834e81070a4.
(This used to be commit 1a771c664444ff43e141238f473273700b392aa7)

15 years agowbinfo: Output string for sid type in lookupsid.
Kai Blin [Wed, 30 Apr 2008 06:15:34 +0000 (08:15 +0200)]
wbinfo: Output string for sid type in lookupsid.
(This used to be commit 8b4c7fb200598b7f747fc681f76d464760f693ee)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Fri, 20 Jun 2008 09:04:14 +0000 (19:04 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit edd9ecce9511871d9c9942d50eb91c68a8e04ec9)

15 years agosmbd: make sure the parent smbd stays alive forever
Stefan Metzmacher [Fri, 20 Jun 2008 09:03:12 +0000 (11:03 +0200)]
smbd: make sure the parent smbd stays alive forever

The problem was that the parent smbd doesn't have
any event when the process model standard was in use.

Now we always add an fd event for stdin, but may not
ask for any events to trigger.

metze
(This used to be commit fa6c00734ccf9bfe7a962253ddb5e2a1722c9b09)

15 years agoDepend on NDR_DRSBLOBS explicity.
Andrew Bartlett [Fri, 20 Jun 2008 08:22:15 +0000 (18:22 +1000)]
Depend on NDR_DRSBLOBS explicity.

Something else ensures this links correctly (for the moment) but for
the long-term let's declare our depenency (for the prefixMap stuff)
here.

Andrew Bartlett
(This used to be commit 5fcb39594b07c7b7a11985711a912b7a4d629ae7)

15 years agoInclude events_util.h in events_aio.c
Volker Lendecke [Thu, 19 Jun 2008 10:39:25 +0000 (12:39 +0200)]
Include events_util.h in events_aio.c

Without this, linking fails with DLIST_ADD and DLIST_REMOVE being undefined

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 87385e4c873f80956dc1c43424dd4f49a993586c)

15 years agoRemove the dependency on $(abspath) in makefiles
Volker Lendecke [Thu, 19 Jun 2008 10:29:50 +0000 (12:29 +0200)]
Remove the dependency on $(abspath) in makefiles

This is not around before GNU make 3.81, for me this fixes the build
on GNU make 3.80

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit c85a3632623184cb97c2e8567ca77834e81070a4)

15 years agocredentials: set GSS_KRB5_CRED_NO_CI_FLAGS_X to avoid GSS_C_CONF_FLAG and GSS_C_INTEG...
Stefan Metzmacher [Wed, 11 Jun 2008 05:59:20 +0000 (07:59 +0200)]
credentials: set GSS_KRB5_CRED_NO_CI_FLAGS_X to avoid GSS_C_CONF_FLAG and GSS_C_INTEG_FLAG

metze
(This used to be commit f573c1ff4443f3002c310d3ba29d8c343ad03907)

15 years agoChange detection of objectCategory short fomm
Andrew Bartlett [Thu, 19 Jun 2008 08:06:35 +0000 (18:06 +1000)]
Change detection of objectCategory short fomm

To actually validate the DN, we load and call the validation fucntion,
not just check the 'ldb_dn_is_valid()' function.

Andrew Bartlett
(This used to be commit 5fb5a4e13db3a03da414876efa717c3de44ca77c)

15 years agoFix segfault caused by talloc_free() being called while still processing
Andrew Bartlett [Thu, 19 Jun 2008 07:59:57 +0000 (17:59 +1000)]
Fix segfault caused by talloc_free() being called while still processing

The problem here was that with the packet code set to serialise, we
can have multiple packets 'processing' at once, and previously the
second packet (allowed because we are spining on an event context down
the stack) would clear the flag.

Andrew Bartlett
(This used to be commit 33789111241a1d97fc105ec4edd7b8054895b28c)

15 years agoRemove old ldap.js test, we have replicated it in python now.
Andrew Bartlett [Thu, 19 Jun 2008 04:53:14 +0000 (14:53 +1000)]
Remove old ldap.js test, we have replicated it in python now.

This will soon allow the removal of smbscript, once the samba3sam test
conversion is complete.

Andrew Bartlett
(This used to be commit 60c93b9777d9bd7dce89f9024ba767f5404ac72d)

15 years agoAdd a blackbox test for the provision-backend script.
Andrew Bartlett [Thu, 19 Jun 2008 01:05:20 +0000 (11:05 +1000)]
Add a blackbox test for the provision-backend script.

This test (as most tests do :-) found a few bugs, also fixed in this
commit.

Andrew Bartlett
(This used to be commit d96a6482dad54d1d27a87107865e833a9c32cf53)

15 years agoDon't sign NTP packets to disabled accounts
Andrew Bartlett [Wed, 18 Jun 2008 23:34:04 +0000 (09:34 +1000)]
Don't sign NTP packets to disabled accounts

(As this would allow an offline attack on their password)

Andrew Bartlett
(This used to be commit e28481fc0976231c6f4cb7a5f7c7708f4becdb18)

15 years agoUse friendly NTSTATUS message in python code when possible.
Jelmer Vernooij [Tue, 17 Jun 2008 12:21:02 +0000 (14:21 +0200)]
Use friendly NTSTATUS message in python code when possible.
(This used to be commit 09cf8c7dd82bb95e2f8782782286869654d96375)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-fixmodulesdir
Jelmer Vernooij [Tue, 17 Jun 2008 11:48:29 +0000 (13:48 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-fixmodulesdir
(This used to be commit 30a33cd0a64c434d6aee551f641343c3b2a6d9ca)

15 years agoMake sure events pc file gets installed.
Jelmer Vernooij [Tue, 17 Jun 2008 11:42:19 +0000 (13:42 +0200)]
Make sure events pc file gets installed.
(This used to be commit e12c0b61573f27969a79d4c07a8fd42f6c931d7e)

15 years agoChange our module code to not use the special symbol name init_module()
Andrew Tridgell [Tue, 17 Jun 2008 03:11:29 +0000 (13:11 +1000)]
Change our module code to not use the special symbol name init_module()

Current glibc libraries include a function called init_module(). If we
use the same name, then a dlsym() can find the glibc function if the
module doesn't have an initialisation function.

In ldb, none of our modules have an init_module(), so we end up calling the libc
functions with bogus arguments.
(This used to be commit 1b0621068998590e7b1e9528b78744dcd2cd5909)

15 years agoAvoid including events_util.h in events_internal.h since the latter is
Jelmer Vernooij [Tue, 17 Jun 2008 00:21:46 +0000 (02:21 +0200)]
Avoid including events_util.h in events_internal.h since the latter is
installed.
(This used to be commit 7a7e8f30dd3e5bfad788a098872afa8263321cbb)

15 years agoTry to get a bit further with provisioning
Simo Sorce [Mon, 16 Jun 2008 21:51:42 +0000 (17:51 -0400)]
Try to get a bit further with provisioning
(This used to be commit 649f6c0c1084828dda7d50bd2904208192de77da)

15 years agoChange order of includes in swig file to avoid warnings.
Jelmer Vernooij [Mon, 16 Jun 2008 21:25:48 +0000 (23:25 +0200)]
Change order of includes in swig file to avoid warnings.
(This used to be commit 0e1fccbd73eb0f219ea9662c56ee6da8a92f641a)

15 years agoRemove support for deprecated JS provisioning.
Jelmer Vernooij [Mon, 16 Jun 2008 21:19:14 +0000 (23:19 +0200)]
Remove support for deprecated JS provisioning.
(This used to be commit 9a5859c33e2377f3c5ee8d637fa81d49cb6f5456)

15 years agoAdd include in swig file as well.
Jelmer Vernooij [Mon, 16 Jun 2008 13:25:48 +0000 (15:25 +0200)]
Add include in swig file as well.
(This used to be commit c623313189728dd0553384e2e115cf10db4c7f25)

15 years agoFix build
Simo Sorce [Mon, 16 Jun 2008 13:04:33 +0000 (09:04 -0400)]
Fix build
(This used to be commit 220b58070239141158d796bd782d62cc36cd19db)

15 years agoFix ldb_wrap.c
Simo Sorce [Mon, 16 Jun 2008 13:04:06 +0000 (09:04 -0400)]
Fix ldb_wrap.c
(This used to be commit fd9f7c56752a06433cc26fa61a16d87941cbb2d3)

15 years agoFix cleanup.
Simo Sorce [Sun, 15 Jun 2008 15:15:12 +0000 (11:15 -0400)]
Fix cleanup.
(This used to be commit acbe365e34571218fe312f52edec98f4fe5b76be)

15 years agoNote that making ldb the event context parent seem to lead to races when
Simo Sorce [Sun, 15 Jun 2008 15:11:14 +0000 (11:11 -0400)]
Note that making ldb the event context parent seem to lead to races when
freeing up resources. Try to avoid races by making the autofree context
be the parent of the event system
(This used to be commit 10ffa87b6b7ebfe51e81819feb93a72e9ec10418)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-fixmodulesdir
Jelmer Vernooij [Sun, 15 Jun 2008 17:18:48 +0000 (19:18 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-fixmodulesdir
(This used to be commit 1659a572c49b2f9cf336b27ec1c1bec1b86d688e)

15 years agoFix standalone ldb build.
Jelmer Vernooij [Sun, 15 Jun 2008 17:16:35 +0000 (19:16 +0200)]
Fix standalone ldb build.
(This used to be commit 4ac91e301455721b76f7f456bc50c5c6e47c05d3)

15 years agoFix ldb python bindings after events changes.
Jelmer Vernooij [Sun, 15 Jun 2008 17:16:06 +0000 (19:16 +0200)]
Fix ldb python bindings after events changes.
(This used to be commit dd1f24d0c6dfb19ba08282b91998f6881782c4fb)

15 years agoCleanup.
Simo Sorce [Sun, 15 Jun 2008 15:15:12 +0000 (11:15 -0400)]
Cleanup.
Remove trailing spaces and try to fit 80 column where possible.
(This used to be commit b32a040c2f0eb28d68837bde727437ca118d1b18)

15 years agoNow that we pass down the event context, start removing calls to
Simo Sorce [Sun, 15 Jun 2008 15:11:14 +0000 (11:11 -0400)]
Now that we pass down the event context, start removing calls to
event_context_init() where possible
(This used to be commit 412f7a98dd809306ac9f35003fce554e1e1252e7)

15 years agoCleanup,
Simo Sorce [Sun, 15 Jun 2008 00:37:40 +0000 (20:37 -0400)]
Cleanup,
Remove trailing spaces and try to fit 80 columns where possible
(This used to be commit edf6b77a1314d8f91839836855ae049393f73aca)

15 years agoUps fix typo in error type
Simo Sorce [Sun, 15 Jun 2008 00:18:50 +0000 (20:18 -0400)]
Ups fix typo in error type
(This used to be commit eb351e33e58abdacdf44cf700f028cc13f52c4c8)

15 years agoCosmetic fixes.
Simo Sorce [Sat, 14 Jun 2008 21:33:27 +0000 (17:33 -0400)]
Cosmetic fixes.
Remove trailing spaces adn try to fit 80 columns where possible
(This used to be commit 5457c667647ec156bb7b4f86ce580def4e9350d5)

15 years agoFix events_aio
Simo Sorce [Sat, 14 Jun 2008 19:54:46 +0000 (15:54 -0400)]
Fix events_aio
(This used to be commit d5525b79649ff75d6e9e853615949e4fbe9e0b6e)

15 years agoAvoid using .DEFAULT_GOAL - it's only available in gmake 3.81 and higher.
Jelmer Vernooij [Sat, 14 Jun 2008 19:40:23 +0000 (21:40 +0200)]
Avoid using .DEFAULT_GOAL - it's only available in gmake 3.81 and higher.
(This used to be commit 9a169c341bfb0c4ff423f05c27345d439890576c)

15 years agoUse a custom init function for samba4 that sets a samba4
Simo Sorce [Sat, 14 Jun 2008 17:00:53 +0000 (13:00 -0400)]
Use a custom init function for samba4 that sets a samba4
specific debug function.
By default do not debug, this is the most appropriate action for a library
as we cannot assume what stderr is use for in the main app.
The main app is responsible to set ev_debug_stderr if they so desire.
(This used to be commit e566a2f308ac6fb4b526a744f7059b565670aea5)

15 years agoMake up the right dependencies now that ldb depends on libevents
Simo Sorce [Sat, 14 Jun 2008 15:24:17 +0000 (11:24 -0400)]
Make up the right dependencies now that ldb depends on libevents
(This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)

15 years agoThis patch make it possible to build the events library completely
Simo Sorce [Sat, 14 Jun 2008 15:23:31 +0000 (11:23 -0400)]
This patch make it possible to build the events library completely
standalone with no ties to internal samba4 functions
Samba4 itself just uses the plain library, compatibility glue is
in events_s4.c only
(This used to be commit 7109b6a5a19eb2dbef4259104858b171298bad6e)

15 years agoUse proper python errors.
Jelmer Vernooij [Sat, 14 Jun 2008 10:20:12 +0000 (12:20 +0200)]
Use proper python errors.
(This used to be commit f54084b65fce67457cb838544c83ceb17c7d88db)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-fixmodulesdir
Jelmer Vernooij [Sat, 14 Jun 2008 10:15:24 +0000 (12:15 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-fixmodulesdir
(This used to be commit 168bb8473c0cfeb388f9955059f92410b8ba5d06)

15 years agoFix prototype for pthread process model.
Jelmer Vernooij [Sat, 14 Jun 2008 10:14:27 +0000 (12:14 +0200)]
Fix prototype for pthread process model.
(This used to be commit 280c411613b21acc1e65e5657b209d266dbad8d3)

15 years agoMissed these on the last commit
Jim McDonough [Thu, 12 Jun 2008 11:06:07 +0000 (07:06 -0400)]
Missed these on the last commit
(This used to be commit 0e8f946ed02a6d2d9469f9ccab5f3342b2b80725)

15 years agoInitial automated wintest.
Jim McDonough [Thu, 12 Jun 2008 11:02:14 +0000 (07:02 -0400)]
Initial automated wintest.

Added a blackbox test which looks for $WINTEST_CONF_DIR,
gets configuration vars from *.conf in that dir, disables
smbwrapper, and runs RAW-OPEN torture test.

Scripts are coming to startup/shutdown vm's.
(This used to be commit 74a0a9bb54b2583dde7a5fbadd4d10858de12ee7)

15 years agoUse variables for source dir of python ldb bindings.
Jelmer Vernooij [Wed, 11 Jun 2008 00:52:43 +0000 (02:52 +0200)]
Use variables for source dir of python ldb bindings.
(This used to be commit cd4eddd31354f4ae45e8747da1a70340000716c3)

15 years agoUse variables for source dir of python tdb bindings.
Jelmer Vernooij [Wed, 11 Jun 2008 00:47:09 +0000 (02:47 +0200)]
Use variables for source dir of python tdb bindings.
(This used to be commit 22e7bcfbe4534c070ac2dd5f39773ea023dfa7f7)