1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-19 10:03:58 +03:00

1144 Commits

Author SHA1 Message Date
Andrew Bartlett
3408a2d18f Make a seperate template for the refint configuration too
(This used to be commit d2a527acc5ee6fe9b943657dc9c3ace920b2d619)
2008-07-18 18:58:56 +10:00
Andrew Bartlett
cfc2063f23 Put the memberof template into a seperate setup/ file.
Set a memberof-dn in a fruitless attempt to fix the ACL problem I'm
having with OpenLDAP

Andrew Bartlett
(This used to be commit 6d6e03834a1a77a8ceba41fbe8c9d49680065ba3)
2008-07-18 18:44:07 +10:00
Andrew Bartlett
fe9fa62a05 Reorder whitespace in generated slapd.conf
This helps us see the real groupings in the generated memberOf
handling.

Andrew Bartlett
(This used to be commit ec70ebb8310e563324233662f8e779c55fb87514)
2008-07-16 14:04:24 +10:00
Andrew Bartlett
e400b3ec4e Fix asking for credentials for non-LDAP provisions.
(This used to be commit 78416f4840df4f8d1f9cc5e46a48b19c86888050)
2008-07-15 18:44:58 +10:00
Andrew Bartlett
0f1eea2672 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)
2008-07-15 15:46:32 +10:00
Andrew Bartlett
a6b842f963 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)
2008-07-15 15:15:12 +10:00
Andrew Bartlett
44ea6a26fd 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)
2008-07-12 15:26:42 +10:00
Andrew Bartlett
9ea25cacf1 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)
2008-06-19 11:05:20 +10:00
Simo Sorce
370f95acfc Try to get a bit further with provisioning
(This used to be commit 649f6c0c1084828dda7d50bd2904208192de77da)
2008-06-16 17:52:50 -04:00
Jelmer Vernooij
4c144bbc9e Clarify error when SWIG can't be found - it's not required unless you
intend to do development.
(This used to be commit 0f57fcaa2e8af3e2b03ba401f4fda812fe55745b)
2008-06-11 00:11:11 +02:00
Jelmer Vernooij
230503ad84 Add working Python bindings for NBT.
(This used to be commit 9c88f5e1de9db34751f16c2247fa91ae2445c5f7)
2008-06-11 00:05:58 +02:00
Andrew Bartlett
be14efbdf9 Revert Jelmer's CFLAGS commit e2b71a0ecbf10a78a59a8ec6371bdee57b1bfa6c
This commit broke the build, because not all files (libreplace, popt)
were updated.

Andrew Bartlett
(This used to be commit 3faacf4351d68a10aea78b53768571d2059772ae)
2008-05-31 08:35:55 +10:00
Jelmer Vernooij
2772871146 Fix samdb python test.
(This used to be commit 0e3d488cc108174ca0f875aab16b9771c2933f19)
2008-05-30 14:15:40 +02:00
Jelmer Vernooij
5107f093c2 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-defs
Conflicts:

	source/samba4-skip
(This used to be commit 7b0e0eb346c2f6a240b20fbcf14029539c6512b9)
2008-05-30 12:18:07 +02:00
Andrew Bartlett
21377a7ea9 Fix the samba4.dcerpc.bare.python test.
The loadparm context isn't really optional, as otherwise we can't find
the right server to connect to.

Andrew Bartlett
(This used to be commit 2b5acb5e95b46dd39c6f54b5bb7e15ddb180f7ec)
2008-05-30 15:26:10 +10:00
Andrew Bartlett
d579540085 Fix rpcecho test.
(This used to be commit df8399ba9dee9d1c706a3e56451c9f2cade96dae)
2008-05-30 15:09:59 +10:00
Andrew Bartlett
b9babfe4cc Fix up provision and samdb tests.
This fixes up the provision to operate with a target directory - it
must override the smb.conf in this case.

Andrew Bartlett
(This used to be commit 89fc39f7edb214065aff461bc225f41443eae3c7)
2008-05-30 14:26:47 +10:00
Jelmer Vernooij
39f50afc57 Move CFLAGS handling out of smb_build.
(This used to be commit e2b71a0ecbf10a78a59a8ec6371bdee57b1bfa6c)
2008-05-30 02:07:28 +02:00
Jelmer Vernooij
6f7b2b6933 Fix samdb test and enable it.
(This used to be commit 6b202d3780f8ff50e0bdfa4a749c43b5639e4880)
2008-05-29 17:38:12 +02:00
Jelmer Vernooij
e16f0e15b4 Update after changes to the provision API, make sure temp dir gets cleaned
up.
(This used to be commit 064e9ddb3786bd7df8785b39754b1e6674496b66)
2008-05-29 17:31:16 +02:00
Jelmer Vernooij
90aeca8ebd Check test directory is cleaned up by Python tests.
(This used to be commit c338269b4b9f2bf4d3386880c1d733a8e47e2c8d)
2008-05-29 17:29:56 +02:00
Andrew Bartlett
b7c8e020a6 Print prefixMap in a human-readable format.
This should allow the prefixMap to be edited, until we find the right
way to autogenerate it.

Andrew Bartlett
(This used to be commit 24ae9a55ec326807afd8d5bfa0a422a6668bd7c3)
2008-05-29 18:38:17 +10:00
Andrew Kroeger
815c0ef2ed provision: Add missing string parameter token when assigning ldap_backend.
(This used to be commit 7d26145a7fba22b2e1c7c57053aab3180a22089d)
2008-05-28 22:43:25 -05:00
Jelmer Vernooij
936b973acb Use new dynconfig.h location.
(This used to be commit c3f556915f09d078253e4c5539910a1cf420eeca)
2008-05-27 14:36:28 +02:00
Jelmer Vernooij
8f25f40a2e Remove unused literal EJS bindings.
(This used to be commit da3094d1ba86a8f4967ca1993383b0767439f79f)
2008-05-26 14:10:34 +02:00
Jelmer Vernooij
3a76da248d Remove unused libjs functions.
(This used to be commit 657a87fecc2e79e3c3f66c551e392cc341bca8cf)
2008-05-26 14:08:17 +02:00
Jelmer Vernooij
1b6396f114 Remove unused param ejs bindings.
(This used to be commit 4dd0d46e27696b6d29d4b6a63c56667ce5e03db6)
2008-05-26 14:03:55 +02:00
Jelmer Vernooij
75e2e1061e Remove unused rand EJS bindings.
(This used to be commit 4016427b77b2bc202a8dc4064ddc7e13f36db06d)
2008-05-26 14:02:37 +02:00
Jelmer Vernooij
4e9ca6caf9 Remove unused EJS net bindings.
(This used to be commit 3923414849c5a3b14379e2cd3e61d862150800a6)
2008-05-26 14:00:28 +02:00
Jelmer Vernooij
335688f640 Revert "remove unused credentials ejs module."
This reverts commit 9861cae1aebdef41f098df71be4e5a33f6af9bf1.
(This used to be commit a429dc730f97388f0b4478b44522b1fe53f8569a)
2008-05-26 13:43:54 +02:00
Jelmer Vernooij
ec362bdbc0 Remove unused datablob and nbt ejs bindings.
(This used to be commit f758553ac50d374f64a8763055dc4f12ab9b0c68)
2008-05-26 13:40:17 +02:00
Jelmer Vernooij
cbe439383a remove unused credentials ejs module.
(This used to be commit 9861cae1aebdef41f098df71be4e5a33f6af9bf1)
2008-05-26 13:36:05 +02:00
Jelmer Vernooij
40a90e6a55 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-pyirpc
(This used to be commit e1af9708c9b40edfa21862028672882797218174)
2008-05-26 12:19:09 +02:00
Jelmer Vernooij
58b1ab92a1 Fix import.
(This used to be commit 17231443a0e3b0ebc4b75db3d721fe0b4e1170c6)
2008-05-26 05:15:19 +02:00
Jelmer Vernooij
57f6663f3a Remove obsolete ejs winreg example.
(This used to be commit f1a2d2bc00dac56080b2bd560074ec66d12a3129)
2008-05-26 05:15:11 +02:00
Jelmer Vernooij
976eca077d Move some scripts to examples directory since they're not really generically useful.
(This used to be commit 4026493e91f8096e5d602cd42f9a83d2d75042db)
2008-05-26 05:15:07 +02:00
Jelmer Vernooij
575f124385 Cope with no server being active.
(This used to be commit 893119bb4c9c297966d43d37fe73faa747b7c86e)
2008-05-26 05:12:31 +02:00
Jelmer Vernooij
4b3641695b Finish smbstatus in Python.
(This used to be commit 988508c2d3269cc88ed38df2fc207a1c0aaccc6b)
2008-05-26 05:00:45 +02:00
Jelmer Vernooij
d5434f0b4b Allow using IRPC functions on the messaging bus from Python.
(This used to be commit 6ecf81ae13dffa05356c1177c617206c120fb7d7)
2008-05-26 04:14:28 +02:00
Jelmer Vernooij
fd712bb878 Remove unused cli ejs module.
(This used to be commit 170d5aef80f37c26171a40e818cc8b557828d04b)
2008-05-26 02:11:32 +02:00
Jelmer Vernooij
5c89184c42 Remove unused nss module.
(This used to be commit 5f75a4f0c0343fe459f5c231f4b5ac89cea43b42)
2008-05-26 02:07:47 +02:00
Jelmer Vernooij
1aeb4cc04f Remove unused EJS code.
(This used to be commit 3b70a3de4aa63bd6c325fd620c71bd6111d3d2b8)
2008-05-26 02:05:11 +02:00
Jelmer Vernooij
c17166fb3d Convert smbstatus to Python.
(This used to be commit f14ad6cd92227c7ed5c570b581e5db82b7d42e25)
2008-05-26 02:04:00 +02:00
Jelmer Vernooij
5df9e0576e Fix missing colon.
(This used to be commit 6b1576f544e2ea2b5ea0b234b724c4989dd49cca)
2008-05-25 14:41:54 +02:00
Jelmer Vernooij
521354e4b3 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-pyirpc
(This used to be commit 0a9330ee2a38bff13bf9af48114e6eecd962680b)
2008-05-25 06:38:05 +02:00
Jelmer Vernooij
74126bc6d0 Expose transfer and abstract syntax.
(This used to be commit a875e07a37568b7e51c290074d5e3834c2caa4d6)
2008-05-25 04:54:38 +02:00
Jelmer Vernooij
928ecbaebb Add support for secondary contexts from Python.
(This used to be commit 16d1ad050546ae6500153438db8d3c857e6f3ad5)
2008-05-25 04:23:03 +02:00
Jelmer Vernooij
a2446e5f85 Add initial work for script that uses probing to figure out IDL.
(This used to be commit 4e5687e813e50d0bc8d6314e389d1d7a0be2f8c1)
2008-05-25 02:32:21 +02:00
Jelmer Vernooij
21ce0ff006 Allow connecting to a DCE/RPC interface with Python for which we don't have IDL.
(This used to be commit e3178d522c95871f1db35d7e058906502387a553)
2008-05-24 22:56:49 +02:00
Jelmer Vernooij
75e7962d2e Add convenience functions for setting Python objects from errors.
(This used to be commit f1de723b89251cbc8140b838941f304a34871bf3)
2008-05-24 22:13:32 +02:00