kai/samba.git
15 years agoFix asking for credentials for non-LDAP provisions.
Andrew Bartlett [Tue, 15 Jul 2008 08:44:58 +0000 (18:44 +1000)]
Fix asking for credentials for non-LDAP provisions.
(This used to be commit 78416f4840df4f8d1f9cc5e46a48b19c86888050)

15 years agoRework provision to handle both simple and SASL binds.
Andrew Bartlett [Tue, 15 Jul 2008 05:46:32 +0000 (15:46 +1000)]
Rework provision to handle both simple and SASL binds.

Fedora DS is still setup for simple binds only, at this point.
(it also fails on other issues).

Andrew Bartlett
(This used to be commit b24c572d5a38c1f6906751c2ad2f809e1995b510)

15 years agoConnect to the LDAP backend with SASL credentials.
Andrew Bartlett [Tue, 15 Jul 2008 05:15:12 +0000 (15:15 +1000)]
Connect to the LDAP backend with SASL credentials.

This reworks our LDAP backend code to move from anonymous access to a
shared-secret SASL-protected connection.  (SASL selects NTLM or
DIGEST-MD5 on my system).

To get this working, we must pre-populate the LDAP backend with a DN
to store ths SASL secret on, and we use back-ldif for this.

This gives us a reasonable basis to deploy a replicated OpenLDAP
backend solution.

Andrew Bartlett
(This used to be commit cd0745253c4a9ec59a035e830e54d74a05b71aaa)

15 years agoMake up a full hostname for ldapi connections.
Andrew Bartlett [Tue, 15 Jul 2008 05:10:29 +0000 (15:10 +1000)]
Make up a full hostname for ldapi connections.

The DIGEST-MD5 SASL method requires a hostname, so provide one.

Andrew Bartlett
(This used to be commit edfb2ed1f22bc735af5a0c3d3ae6ab6771d28f2c)

15 years agoAdd a standard filter for finding the LDAP secrets.
Andrew Bartlett [Tue, 15 Jul 2008 05:09:32 +0000 (15:09 +1000)]
Add a standard filter for finding the LDAP secrets.
(This used to be commit 28c784966809d634e8497e0716b30bad018467b4)

15 years agoCleanup ldap_bind_sasl.
Andrew Bartlett [Tue, 15 Jul 2008 05:08:57 +0000 (15:08 +1000)]
Cleanup ldap_bind_sasl.

With these changes, we don't leak the LDAP socket, and don't reset all
credentials feature flags, just the ones we are actually incompatible
with.

Andrew Bartlett
(This used to be commit 72e52a301102941c41ab423e0212fe9a1aed0405)

15 years agoUse secrets.ldb to store credentials to contact LDAP backend.
Andrew Bartlett [Tue, 15 Jul 2008 05:07:13 +0000 (15:07 +1000)]
Use secrets.ldb to store credentials to contact LDAP backend.

This makes Samba4 behave much like Samba3 did, and use a single set of
administrative credentials for it's connection to LDAP.

Andrew Bartlett
(This used to be commit e396a59788d77aa2fbf3b523c3773fe0e5c976c0)

15 years agoAllow ldap credentials to be (optionally) stored in secrets.ldb
Andrew Bartlett [Tue, 15 Jul 2008 05:05:41 +0000 (15:05 +1000)]
Allow ldap credentials to be (optionally) stored in secrets.ldb

This includes a simple bind DN, or SASL credentials.

The error messages are reworked as on systems without an LDAP backend,
we will fail to find this record very often.

Andrew Bartlett
(This used to be commit 95825ae6d5e9d9846f3a7505a81ebe603826227e)

15 years agoTry to make NTLMSSP less fussy for unimportant messages.
Andrew Bartlett [Tue, 15 Jul 2008 05:04:06 +0000 (15:04 +1000)]
Try to make NTLMSSP less fussy for unimportant messages.

We don't really care (because nobody uses them) what we send as the
domain and workstation in the negotiate packet.

Andrew Bartlett
(This used to be commit 9ac07e14873df2c18d0e9501691c2d4c4047e218)

15 years agoFix 'make gdbtest-enb' and the GDB_PROVISION option.
Andrew Bartlett [Tue, 15 Jul 2008 05:01:43 +0000 (15:01 +1000)]
Fix 'make gdbtest-enb' and the GDB_PROVISION option.
(This used to be commit 79c4d8e2fabc9c33d978c064b9c01ca45e463ced)

15 years agoRemove C++ keywords from events.h header.
Andrew Bartlett [Mon, 14 Jul 2008 08:47:10 +0000 (18:47 +1000)]
Remove C++ keywords from events.h header.

Andrew Bartlett
(This used to be commit 7ca421eb32bed3c400f863b654712d922c82bfb9)

15 years agorename sambaPassword -> userPassword.
Andrew Bartlett [Sat, 12 Jul 2008 05:26:42 +0000 (15:26 +1000)]
rename sambaPassword -> userPassword.

This attribute is used in a very similar way (virtual attribute
updating the password) in AD on Win2003, so eliminate the difference.

This should not cause a problem for on-disk passwords, as by default
we do not store the plaintext at all.

Andrew Bartlett
(This used to be commit 1cf0d751493b709ef6b2234ec8847a7499f48ab3)

15 years agoUse common code to fill in allowedAttributes in kludge_acl.
Andrew Bartlett [Fri, 11 Jul 2008 05:11:32 +0000 (15:11 +1000)]
Use common code to fill in allowedAttributes in kludge_acl.

This code is now in common with ad2oLschema.

Andrew Bartlett
(This used to be commit 0a797388ca442c3ad4809888897b1c63b65a7fdf)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Thu, 10 Jul 2008 08:07:51 +0000 (18:07 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit f956908cde7dd40643ff49cf433d0cf7765027de)

15 years agoAvoid the use of extensibleObject in ldap mapping backend.
Andrew Bartlett [Thu, 10 Jul 2008 07:54:43 +0000 (17:54 +1000)]
Avoid the use of extensibleObject in ldap mapping backend.

Instead of extensibleObject, we use the new (more correct) ad2oLschema
tool, and a new objectClass called 'samba4Top', which we add and
remove in the same way we did extensibleObject.

Andrew Bartlett
(This used to be commit 5ab20aa8b43415751f77602fff3a3008bf2186db)

15 years agoMake ad2oLschema even simpler, by moving the heavy work into dsdb.
Andrew Bartlett [Thu, 10 Jul 2008 05:52:44 +0000 (15:52 +1000)]
Make ad2oLschema even simpler, by moving the heavy work into dsdb.

This will allow the kludge_acl and schema code to leverage the same
work.  (We might even get schema validation soon! :-)

Andrew Bartlett
(This used to be commit cecd04ce1f8ce2af2fb654b3abc1499092405d60)

15 years ago(Hopefully) fix the build by re-adding security.NTACL
Jeremy Allison [Thu, 10 Jul 2008 00:46:11 +0000 (17:46 -0700)]
(Hopefully) fix the build by re-adding security.NTACL
const char. The deletion earlier was a typo.
Jeremy.
(This used to be commit aa27344b96929c925b30965a1cd20e69c3dbd515)

15 years agoAdd in a version2 of the NT security descriptor store
Jeremy Allison [Wed, 9 Jul 2008 23:55:51 +0000 (16:55 -0700)]
Add in a version2 of the NT security descriptor store
that can store a timestamp along with the SD. Allows
us to check for validity against the POSIX st_ctime.
Keeps the IDL consistent with Samba3.3 IDL.
Jeremy.
(This used to be commit 29843a6b339a581de714924219632390b156aa4f)

15 years agoldb_map: eliminate "discards qualifyer" warning (const).
Michael Adam [Fri, 27 Jun 2008 07:22:53 +0000 (09:22 +0200)]
ldb_map: eliminate "discards qualifyer" warning (const).

Michael
(This used to be commit b7c14af3790bcf825367a7f16d2aaa375b04393c)

15 years agolibnet_domain: eliminate "discards qualifier" warning (const).
Michael Adam [Fri, 27 Jun 2008 07:22:11 +0000 (09:22 +0200)]
libnet_domain: eliminate "discards qualifier" warning (const).

Michael
(This used to be commit ea99590046f50ec2d0c4afe0163fc8660a797ba4)

15 years agodsdb: eliminate disards qualifyer compile warning.
Michael Adam [Thu, 26 Jun 2008 21:30:42 +0000 (23:30 +0200)]
dsdb: eliminate disards qualifyer compile warning.

Michael
(This used to be commit 3b0917dbc5399dc6835b523d762b244bdcf45b79)

15 years agoRevert "tdbtool: fix off-by-one error in argument length. (bug #2344)"
Michael Adam [Wed, 9 Jul 2008 10:48:05 +0000 (12:48 +0200)]
Revert "tdbtool: fix off-by-one error in argument length. (bug #2344)"

This reverts commit fafb8ad2b81b9a46cf8259bedc1dca5023b06115.

This fix is not valid:

1. convert_string() is not only used for key strings but also for data.

2. Some databases use string_tdb_data() i.e. non-null-terminated strings
   as keynames and others (like the one I was using), use
   string_term_tdb_data(), i.e. zero-terminated key strings.

After discussion with Metze, the easiest (and proper way) to
handle this is to specify key names as "keyname\0" for databases
which use string_term_tdb_data().

Sorry for the noise...

Michael
(This used to be commit 17c012c4645f4e9542537c15f80d9b4e74304d11)

15 years agotdbtool: fix off-by-one error in argument length. (bug #2344)
Michael Adam [Tue, 8 Jul 2008 13:33:36 +0000 (15:33 +0200)]
tdbtool: fix off-by-one error in argument length. (bug #2344)

This prevented all commands operating on keys (all non-traverse commands)
in tdbtool to fail with a "fetch failed" or "delete failed" message.

It seems that it fixes bug #2344 ...

Apparently this bug was introduced with 94e53472666ed in 2005.
Either nobody is using tdbtool or else tdb_find() has become
more strict about the key legth in the meantime. :-)

Michael
(This used to be commit fafb8ad2b81b9a46cf8259bedc1dca5023b06115)

15 years agorpc_server: use the transport session_info if available
Stefan Metzmacher [Sat, 17 May 2008 00:40:37 +0000 (02:40 +0200)]
rpc_server: use the transport session_info if available

metze
(This used to be commit 76dd521bcf53a245bd1412968e9b921e5c2f10c9)

15 years agopacket: make it possible to free the packet_context from the send_callback
Stefan Metzmacher [Mon, 7 Jul 2008 16:55:59 +0000 (18:55 +0200)]
packet: make it possible to free the packet_context from the send_callback

metze
(cherry picked from commit 20795c4a0d5f75561561470231de1a2fad2906ff)
(This used to be commit 5d5b4e4ab23e1c630dfde2b9f296681e3979c4e0)

15 years agosmb_server/smb: handle incoming multi fragmented nttrans requests
Stefan Metzmacher [Mon, 7 Jul 2008 17:40:35 +0000 (19:40 +0200)]
smb_server/smb: handle incoming multi fragmented nttrans requests

metze
(This used to be commit 9a5f7bf68b20e3b490b209b5cfc4408566320f2e)

15 years agosmb_server/smb: prepare multi fragmented nttrans requests
Stefan Metzmacher [Mon, 7 Jul 2008 17:37:14 +0000 (19:37 +0200)]
smb_server/smb: prepare multi fragmented nttrans requests

metze
(This used to be commit 36a39b92d732a682e38ad4b3f733951fee4757ed)

15 years agolibcli/raw: remove unused smb_raw_max_trans_data() function
Stefan Metzmacher [Mon, 7 Jul 2008 14:34:36 +0000 (16:34 +0200)]
libcli/raw: remove unused smb_raw_max_trans_data() function

metze
(This used to be commit d235ce673705641e06b4ad5f5679e146b59a19e1)

15 years agotorture: .in.max_data should not depend on the smb max size
Stefan Metzmacher [Mon, 7 Jul 2008 16:07:47 +0000 (18:07 +0200)]
torture: .in.max_data should not depend on the smb max size

We now support async multi fragment SMBtrans calls.

metze
(This used to be commit ba8499867af90dcd88455476b1f58a2ab18f159b)

15 years agorap: trans->in.max_data should not depend on the smb max size
Stefan Metzmacher [Mon, 7 Jul 2008 16:04:44 +0000 (18:04 +0200)]
rap: trans->in.max_data should not depend on the smb max size

We now support async multi fragment SMBtrans calls.

metze
(This used to be commit 66e0c1754f14cf0100ca2d3e9c0cd8c87f9dc1e6)

15 years agodcerpc_smb: trans->in.max_data should not depend on the smb max size
Stefan Metzmacher [Mon, 7 Jul 2008 16:01:28 +0000 (18:01 +0200)]
dcerpc_smb: trans->in.max_data should not depend on the smb max size

We now support async multi fragment SMBtrans calls.

metze
(This used to be commit 6813e22e9d300696a40993476629227d5cc4d35f)

15 years agolibcli/raw: make multi fragmented nttrans requests possible
Stefan Metzmacher [Mon, 7 Jul 2008 13:04:59 +0000 (15:04 +0200)]
libcli/raw: make multi fragmented nttrans requests possible

metze
(This used to be commit a6aa055097313975299f214d8ebe8d45aa51d10a)

15 years agosmb_server/smb: trans(2) setup count is uint8_t
Stefan Metzmacher [Mon, 7 Jul 2008 12:00:53 +0000 (14:00 +0200)]
smb_server/smb: trans(2) setup count is uint8_t

metze
(This used to be commit 1b507a9b8e2ede5a4eb542bdf7a0eab9269b9f7b)

15 years agolibcli/raw: trans(2) setup count is uint8_t
Stefan Metzmacher [Mon, 7 Jul 2008 12:00:09 +0000 (14:00 +0200)]
libcli/raw: trans(2) setup count is uint8_t

metze
(This used to be commit 48ccb51caf7976ec07c8a9bfc1afd3076bf4ee22)

15 years agolibcli/raw: remove unused smbcli_request_receive_more() function
Stefan Metzmacher [Fri, 4 Jul 2008 18:47:24 +0000 (20:47 +0200)]
libcli/raw: remove unused smbcli_request_receive_more() function

metze
(This used to be commit e1d81388fcabba9a947ed0be9ccae875e2b19135)

15 years agolibcli/raw: use the new recv_helper infrastructure for trans/trans2 replies
Stefan Metzmacher [Fri, 4 Jul 2008 18:46:10 +0000 (20:46 +0200)]
libcli/raw: use the new recv_helper infrastructure for trans/trans2 replies

metze
(This used to be commit ec67c61b6a82e4f39a15f37a98ae3fe93bb81316)

15 years agolibcli/raw: use the new recv_helper infrastructure for nttrans replies
Stefan Metzmacher [Fri, 4 Jul 2008 18:07:52 +0000 (20:07 +0200)]
libcli/raw: use the new recv_helper infrastructure for nttrans replies

metze
(This used to be commit 5bf136e233e26b4372155f494bae5118ef777a76)

15 years agolibcli/raw: add a recv_helper hook infrastructure
Stefan Metzmacher [Fri, 4 Jul 2008 17:52:23 +0000 (19:52 +0200)]
libcli/raw: add a recv_helper hook infrastructure

The recv helper will be called when a response comes
and the recv helper can decide to let the request
on the SMBCLI_REQUEST_RECV when more reponse packets
are expected. It's up to the helper function
to keep a reference to the in buffers, each incoming
response overwrites req->in.

metze
(This used to be commit 6d84af89ba96627abe142ba7080c24ae2421ed6c)

15 years agolibcli/raw: the nttrans setup count is only 8-bit
Stefan Metzmacher [Fri, 4 Jul 2008 18:16:36 +0000 (20:16 +0200)]
libcli/raw: the nttrans setup count is only 8-bit

metze
(This used to be commit a65599cc83a12ec61e5a6ba6ad9628619a0dc8a3)

15 years agosmb_server/smb: transs and transs2 calls have different word counts
Stefan Metzmacher [Mon, 7 Jul 2008 11:00:24 +0000 (13:00 +0200)]
smb_server/smb: transs and transs2 calls have different word counts

Also add a note about NT_STATUS_DOS(ERRSRV, ERRerror).

metze
(This used to be commit 4287b7c1323796cf0688d0fae9b5bd4e840e3d48)

15 years agosmb_server/smb: fix crash bug with fragmented trans calls
Stefan Metzmacher [Mon, 7 Jul 2008 10:56:26 +0000 (12:56 +0200)]
smb_server/smb: fix crash bug with fragmented trans calls

We need to use smbsrv_setup_secondary_request(req) to send the
trans ack, because smbsrv_send_reply(req) destroys 'req'
and the partial trans list had dead elements in the list.

Also make sure the partial list element is removed by a talloc
destructor.

metze
(This used to be commit 221f4d6e534a40b7def6e51dc6b4f9e8057d18b7)

15 years agodcerpc.idl: the signing overhead can be more than 32 bytes
Stefan Metzmacher [Thu, 3 Jul 2008 11:40:31 +0000 (13:40 +0200)]
dcerpc.idl: the signing overhead can be more than 32 bytes

Windows seems to use 64 here, so we do now.

Before we got nca_proto_error fault because we send fragments
larger than the negotiated max frag size.

If the max frag size is 5840, we're sending 5837 bytes
when the auth_len is 45 and that matches w2k3 traffic.

metze
(This used to be commit 351947dba3f7a26ac871d4aa7b6bba4cd472383a)

15 years agorpc_server: use the same chunk_size logic as we we use in the client
Stefan Metzmacher [Thu, 3 Jul 2008 11:39:55 +0000 (13:39 +0200)]
rpc_server: use the same chunk_size logic as we we use in the client

metze
(This used to be commit 9ff0ce42b32bf0f1463d2cb9c2a6595f51b13d04)

15 years agoFix bug #5578, reported by sendel2000@hotbox.ru. Bad (non-Samba) use of strlcat gives...
Jeremy Allison [Wed, 2 Jul 2008 19:01:15 +0000 (12:01 -0700)]
Fix bug #5578, reported by sendel2000@hotbox.ru. Bad (non-Samba) use of strlcat gives error.
Jeremy.
(This used to be commit e633dc4ec2d72c3d34b5e096e0460e07e07ab514)

15 years agoMerge commit 'origin/v4-0-stable' into v4-0-test
Stefan Metzmacher [Wed, 2 Jul 2008 13:43:57 +0000 (15:43 +0200)]
Merge commit 'origin/v4-0-stable' into v4-0-test
(This used to be commit 91c899290f6962f277c103f11d5d8dc0a7c9aa02)

15 years agoMerge commit 'release-4-0-0alpha5' into v4-0-stable
Stefan Metzmacher [Wed, 2 Jul 2008 13:33:20 +0000 (15:33 +0200)]
Merge commit 'release-4-0-0alpha5' into v4-0-stable
(This used to be commit d6652540c2dda9091ccc6d05c3ebb24a663c9fac)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Wed, 2 Jul 2008 11:47:21 +0000 (21:47 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit b4e7063058ac8587c526dd9133aee345e99f8ef8)

15 years agoMove ad2oLschema and oLschema2ldif into Samba4, out of LDB
Andrew Bartlett [Wed, 2 Jul 2008 11:30:08 +0000 (21:30 +1000)]
Move ad2oLschema and oLschema2ldif into Samba4, out of LDB

LDB does not know about nor process the AD schema, so it makes no
sense to have this tool there.  I've been changing it anyway, to use a
common schema manipulation library, and will enhance these links in
the future.

Andrew Bartlett
(This used to be commit c7704805b9a3541e4c8768278c8289b0aa6ed5e3)

15 years agoldap_server: allow modifies to the root dse record and pass them to the ldb layer
Stefan Metzmacher [Wed, 2 Jul 2008 08:28:42 +0000 (10:28 +0200)]
ldap_server: allow modifies to the root dse record and pass them to the ldb layer

metze
(This used to be commit 3da6f7f95d7c04cff49fa2312f94c059686d11e4)

15 years agoFill in the auxiliary classes into the dsdb_schema.
Andrew Bartlett [Wed, 2 Jul 2008 05:19:49 +0000 (15:19 +1000)]
Fill in the auxiliary classes into the dsdb_schema.

Andrew Bartlett
(This used to be commit 615564b3daec0ffe17d05599b7ec8688619f5c65)

15 years agoCollapse auxillary classes in LDAP schema conversion.
Andrew Bartlett [Wed, 2 Jul 2008 05:15:54 +0000 (15:15 +1000)]
Collapse auxillary classes in LDAP schema conversion.

MS-ADTS 3.1.1.3.1.1.5 describes the behaviour of auxiliary classes.
In effect, these are additional MUST or MAY attributes that are
appeneded to the parent class (the auxiliary does not become listed in
the objectClass attribute), and so we do just that, and merge them
here, for export to OpenLDAP as it's schema.

Andrew Bartlett
(This used to be commit d674e92591ea90eb3b2117d8dd21f79f718d7730)

15 years agoschema_fsmo: prepare auto allocation of schema oid prefixes
Stefan Metzmacher [Mon, 30 Jun 2008 15:17:24 +0000 (17:17 +0200)]
schema_fsmo: prepare auto allocation of schema oid prefixes

This implements the logic in the schema_fsmo_add() function,
but it only calls a dummy dsdb_create_prefix_mapping() yet.

metze
(This used to be commit 9018b85e834de6714a78304ba1c7018838e30a61)

15 years agoschema_fsmo: move fsmo info into struct dsdb_schema
Stefan Metzmacher [Tue, 1 Jul 2008 14:35:13 +0000 (16:35 +0200)]
schema_fsmo: move fsmo info into struct dsdb_schema

metze
(This used to be commit 8538d305c803268c712a90879f29a2a74ba0ef03)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Tue, 1 Jul 2008 04:54:23 +0000 (14:54 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit cd5e48649ce0987952b2b55ea79c3ecceecfafd5)

15 years agoCreate PREFIX/var/lib and PREFIX/var/run in 'make install'.
Andrew Bartlett [Tue, 1 Jul 2008 04:53:31 +0000 (14:53 +1000)]
Create PREFIX/var/lib and PREFIX/var/run in 'make install'.

This is a problem because the location of the winbind privilaged pipe
moved.

Andrew Bartlett
(This used to be commit 68afc2893c032be0a8a31d996f90574ceb6c10ad)

15 years agoschema_fsmo: only set module->private_data in case we keep the struct for a long...
Stefan Metzmacher [Mon, 30 Jun 2008 15:15:49 +0000 (17:15 +0200)]
schema_fsmo: only set module->private_data in case we keep the struct for a long time

metze
(This used to be commit 82940f6ca120026378e6deb49a07becb2d581f45)

15 years agodrsuapi.idl: remove some unknows from DsGetNCChanges() (update samba4 callers)
Stefan Metzmacher [Mon, 30 Jun 2008 11:03:17 +0000 (13:03 +0200)]
drsuapi.idl: remove some unknows from DsGetNCChanges() (update samba4 callers)

metze
(This used to be commit d41b3dd6ffc4fd894bc05798dbc2ff4b53933a06)

15 years agodrsuapi.idl: remove some unknows from DsGetNCChanges()
Stefan Metzmacher [Mon, 30 Jun 2008 11:01:02 +0000 (13:01 +0200)]
drsuapi.idl: remove some unknows from DsGetNCChanges()

metze
(This used to be commit 924ef407bd20331cc94f5aeb58f53a5838ae00a4)

15 years agoA couple more package updates
Andrew Bartlett [Mon, 30 Jun 2008 11:54:43 +0000 (21:54 +1000)]
A couple more package updates
(This used to be commit bb6e0ee953dfc59d0e04f9ea2daf051f6a6ff837)

15 years agoOn the way to alpha6!
Andrew Bartlett [Mon, 30 Jun 2008 11:54:28 +0000 (21:54 +1000)]
On the way to alpha6!
(This used to be commit 97b7a521da183b63c494b395d330f70d5cd4e233)

15 years agoMerge branch '4-0-stable' into 4-0-local
Andrew Bartlett [Mon, 30 Jun 2008 11:54:01 +0000 (21:54 +1000)]
Merge branch '4-0-stable' into 4-0-local
(This used to be commit 857df6e91874407f70436749e3dad13ada003e6e)

15 years agoMerge branch '4-0-local' into v4-0-stable
Andrew Bartlett [Mon, 30 Jun 2008 09:34:11 +0000 (19:34 +1000)]
Merge branch '4-0-local' into v4-0-stable
(This used to be commit dc238848b3987a187212bd8088916c5b34755b0f)

15 years agoMore updates for spec file, for alpha5
Andrew Bartlett [Mon, 30 Jun 2008 09:34:02 +0000 (19:34 +1000)]
More updates for spec file, for alpha5
(This used to be commit 6459adb6ac2bf94a1e60c1450dbef43360f30888)

15 years agoEnsure we install smbd as well...
Andrew Bartlett [Mon, 30 Jun 2008 09:31:20 +0000 (19:31 +1000)]
Ensure we install smbd as well...
(This used to be commit 72aaa905b3a9c71578c362554b6ab75edd2cd695)

15 years agoMark as 'not a git snapshot'.
Andrew Bartlett [Mon, 30 Jun 2008 08:12:20 +0000 (18:12 +1000)]
Mark as 'not a git snapshot'.
(This used to be commit 74e95269fcded3454253452802f404d529508ce5)

15 years agoPrepare for alpha5 tarball.
Andrew Bartlett [Mon, 30 Jun 2008 08:07:26 +0000 (18:07 +1000)]
Prepare for alpha5 tarball.

Now we have packaging/Fedora in the tree, make that directory or copy
files into there.

Andrew Bartlett
(This used to be commit 333bd6a219d7c3f3dc0d2fe2034cf13255e8c148)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Mon, 30 Jun 2008 08:06:02 +0000 (18:06 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 757acb6802cfb0e98e91e6062c62b6c5a852302b)

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 agoMark as alpha5 release
Andrew Bartlett [Mon, 30 Jun 2008 04:08:03 +0000 (14:08 +1000)]
Mark as alpha5 release
(This used to be commit 0d9cc2d5333a0f8eb4f92b47a664f979f0ea6bdd)

15 years agoFix small formatting details in WHATSNET for an alpha5 release.
Andrew Bartlett [Mon, 30 Jun 2008 04:04:43 +0000 (14:04 +1000)]
Fix small formatting details in WHATSNET for an alpha5 release.

Andrew Bartlett
(This used to be commit 23494a91de6d1c36a5db0d622f707f2c15b3f549)

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)