Martin Nagy
5149803873
Configure BIND LDAP driver to use SASL authentication
...
We use /etc/named.keytab generated by ipa-server-install to authenticate
against the LDAP server. Also tidy up /etc/named.conf since we're there.
2009-07-10 09:55:29 -04:00
Simo Sorce
9fe707a3f2
Basic changes to get a default principal for DNS
...
Also moves delagation layout installation in dsinstance.
This is needed to allow us to set default membership in
other modules like bindinstance.
Signed-off-by: Martin Nagy <mnagy@redhat.com>
2009-07-10 09:42:22 -04:00
Simo Sorce
24089821fb
Check error in kpasswd
2009-07-10 09:42:21 -04:00
Pavel Zuna
94181d54fe
Make object classes of automatically created entries lowercase.
...
This makes them more consistent with entries created by plugins.
It's a cosmetic thing, not that useful.
2009-07-10 08:58:44 -04:00
Pavel Zuna
551648b8a9
Change command names from *group-del-member to *group-remove-member.
...
Signed-off-by: Jason Gerard DeRose <jderose@redhat.com>
2009-07-09 13:25:19 -06:00
Pavel Zuna
3b613091bb
Import explode_dn from ldap.functions for backward compatibility with older version of python-ldap. Fix bug in add_entry_to_group.
...
Resolves 510149
2009-07-08 12:15:58 -04:00
Rob Crittenden
45a40635bb
Add class variable to indicate whether SSL is required or not.
...
Older python-ldap versions will crash if you call ldap.get_option()
on a value that has not been set.
2009-07-07 22:57:23 -04:00
Pavel Zuna
f59cab1ccd
Fix bug in ldap2.modify_password and make adding/removing members slightly more efficient.
2009-07-07 22:56:56 -04:00
Rob Crittenden
ac2970e52f
Add unit test for password plugin
2009-07-07 22:56:45 -04:00
Pavel Zuna
48d6669796
Fix unit tests to handle new group-{add, del}-member semantics.
2009-07-02 13:33:05 -04:00
Pavel Zuna
34b5b0d563
Fix bug: number of found entries was reported incorrectly in some plugins.
2009-07-02 13:33:05 -04:00
Pavel Zuna
537ba4034d
Make basegroup-{add, del}-member print failed members with error descriptions.
2009-07-02 13:33:05 -04:00
Pavel Zuna
5e4c0014df
Fix bug: when deleting hosts, their services where deleted incorrectly
2009-07-02 13:33:04 -04:00
Pavel Zuna
3c5988d078
Remove outstanding 2's from plugins.
2009-07-02 13:33:04 -04:00
Pavel Zuna
72e4816140
Add unit tests for new plugins.
2009-07-02 13:33:04 -04:00
Pavel Zuna
57b55d8e2f
Add utility functions for plugin unit testing.
2009-07-02 13:33:04 -04:00
Pavel Zuna
12ee586392
Remove unit tests for old plugins.
2009-07-02 13:33:04 -04:00
Pavel Zuna
da461998c1
Add automount plugin.
2009-07-02 13:33:03 -04:00
Pavel Zuna
57123f2a99
Fix minor bugs, typos, etc. discovered by unit tests in plugins.
2009-07-02 13:33:03 -04:00
Pavel Zuna
341a47f5a3
Fix bug in basegroup and passwd plugins (incorrect use of find_entry_by_attr).
2009-07-02 13:33:02 -04:00
Pavel Zuna
4b6a6c405c
Rename *-create/*-delete commands to *-add/*-del respectively.
2009-07-02 13:33:02 -04:00
Pavel Zuna
89993d9939
Fix Encoder.decode test.
2009-07-02 13:33:02 -04:00
Pavel Zuna
c2d2344268
Replace references to basegroup2 in taskgroup plugin.
2009-07-02 13:33:02 -04:00
Pavel Zuna
b6cfae46e4
Rename plugins2 to plugins.
2009-07-02 13:33:02 -04:00
Pavel Zuna
e1e1db9c9f
Rename plugins2 files (remove '2' suffix').
2009-07-02 13:33:01 -04:00
Pavel Zuna
8c7883364c
Remove use_ldap2 constant.
2009-07-02 13:33:01 -04:00
Pavel Zuna
ebdebe802d
Remove all references to use_ldap2.
2009-07-02 13:33:01 -04:00
Pavel Zuna
3ce00484f4
Always use new LDAP backend when creating context.
2009-07-02 13:33:00 -04:00
Pavel Zuna
4b993782e6
Delete plugins using old LDAP backend.
2009-07-02 13:33:00 -04:00
rcrit
9352d2fc10
Add a local implementation of httplib.SSLFile and httplib.FakeSocket
...
Python 2.6 changed its internal implementation which makes it difficult
to override in a way that is backwards compatible.
508953
2009-07-01 08:51:23 -04:00
rcrit
79029e8179
Fix configure with newer auto* and libtool on Fedora-11
2009-07-01 08:51:18 -04:00
Rob Crittenden
e46fd3401e
Two new arguments for the help built-in command: topics and commands
...
ipa help topics will show all topics (equivalent to ipa help)
ipa help commands will show list of all available commands
2009-06-15 14:03:12 -04:00
Rob Crittenden
b83badd73b
Fix typo in variable name, object_classs->object_class
2009-06-15 13:55:58 -04:00
Pavel Zuna
79ac9c6c78
Add conversion of attribute name synonyms when generating modlists.
2009-06-15 13:11:44 -04:00
Pavel Zuna
2ff4b3906f
Change plugins2 using find_entries to support incomplete (truncated) search results.
2009-06-15 11:19:04 -04:00
Pavel Zuna
48e1f47ed1
Add new set of base classes for plugins using LDAP.
2009-06-15 11:18:59 -04:00
Pavel Zuna
ad54fc3399
Add support for incomplete (truncated) search results.
...
ldap2.find_entries now returns a tuple containing 2 values. First,
a list of entries (dn, entry_attrs), Second, the truncated flag. If
the truncated flag is True, search results hit a server limitation
and are incomplete.
This patch also removes decoding of non-string scalar python types into
unicode (they are left unchanged).
2009-06-15 11:18:55 -04:00
Pavel Zuna
473e03d2f7
Add host plugin port to new LDAP backend.
2009-06-12 15:53:25 -04:00
Pavel Zuna
6e84f08143
Fix bugs in ldap2.
2009-06-12 15:10:57 -04:00
Pavel Zuna
b8fdcb3a0b
Add passwd plugin port to new LDAP backend.
2009-06-10 11:55:09 -04:00
Pavel Zuna
a5292b2280
Add ACI plugin port to new LDAP backend.
2009-06-10 11:55:03 -04:00
Pavel Zuna
8edaff5266
Generate crud.Search arguments with get_args.
2009-06-10 11:53:20 -04:00
Pavel Zuna
dc23be6878
Make get_dn parameter list more generic. Fix Attribute name regex.
...
The old name regex made it impossible to have Attribute instances with
names composed of more than two words separated by underscores.
2009-06-10 11:53:14 -04:00
Pavel Zuna
4b08770b78
Add 'parent_key' kwarg in Param class.
2009-06-10 11:53:10 -04:00
Pavel Zuna
c47d716e95
Modify PluginProxy to use __public__ defined in derived classes instead of base classes.
2009-06-10 11:53:07 -04:00
Pavel Zuna
789fec4381
Add service plugin port to new LDAP backend.
2009-06-10 11:51:49 -04:00
Pavel Zuna
87bfd6b21a
Fix bug in ldap2.normalize_dn.
...
DN was always returned as lower-case, sometimes resulting in 2 RDN values with different cases when creating entries.
2009-06-10 11:51:15 -04:00
Pavel Zuna
cda0f85ce5
Fix bug in Encoder where tuples were encoded into lists. Fix Encoder and Command.args_options_2_entry unit tests.
2009-06-10 11:51:10 -04:00
Rob Crittenden
16f19990ae
Fix plugin API errors
2009-06-03 09:49:14 -04:00
Rob Crittenden
3e8aac875f
Fix the help text
2009-06-03 09:46:42 -04:00