summaryrefslogtreecommitdiffstats
path: root/ipaserver/ipaldap.py
Commit message (Collapse)AuthorAgeFilesLines
* Clean up existing DN object usageJohn Dennis2011-07-291-7/+0
|
* Convert nsaccountlock to always work as bool towards Python codeAlexander Bokovoy2011-07-131-1/+1
| | | | | | | | https://fedorahosted.org/freeipa/ticket/1259 Python code will see nsaccountlock as bool. JavaScript code will also see it as bool. This allows native boolean operations with the lock field. Passes both CLI and WebUI tests.
* Enable 389-ds SSL host checking by defauiltRob Crittenden2011-05-201-6/+51
| | | | | | | | | | | | | Enforce that the remote hostname matches the remote SSL server certificate when 389-ds operates as an SSL client. Also add an update file to turn this off for existing installations. This also changes the way the ldapupdater modlist is generated to be more like the framework. Single-value attributes are done as replacements and there is a list of force-replacement attributes. ticket 1069
* Wait for memberof task and DS to start before proceeding in installation.Rob Crittenden2011-04-221-0/+23
| | | | | | | | | | | | | This was causing a replica DS instance to crash if the task was not completed when we attempted a shutdown to do a restart. In replication.py we were restarting the DS instance without waiting for the ports to become available. It is unlikely that the dn of the memberof task will change but just in case I noted it in the two places it is referenced. ticket 1188
* Fix ORDERING in some attributetypes and remove other unnecessary elements.Rob Crittenden2011-04-051-4/+10
| | | | | | | | | | | Looking at the schema in 60basev2.ldif there were many attributes that did not have an ORDERING matching rule specified correctly. There were also a number of attributeTypes that should have been just SUP distinguishedName that had a combination of SUP, SYNTAX, ORDERING, etc. This requires 389-ds-base-1.2.8.0-1+ ticket 1153
* Use wrapper for sasl gssapi binds so it behaves like other bindsSimo Sorce2011-03-011-2/+6
| | | | | | | | | | By calling directly sasl_interactive_bind_s() we were not calling __lateinit() This in turn resulted in some variables like dbdir not to be set on the IPAadmin object. Keep all bind types in the same place so the same common sbind steps can be performed in each case. Related to: https://fedorahosted.org/freeipa/ticket/1022
* Fix assorted bugs found by pylintJakub Hrozek2011-01-251-2/+0
|
* Remove common entries when deleting a master.Simo Sorce2010-12-211-0/+29
| | | | Fixes: https://fedorahosted.org/freeipa/ticket/550
* Change FreeIPA license to GPLv3+Jakub Hrozek2010-12-201-5/+5
| | | | | | | | | | The changes include: * Change license blobs in source files to mention GPLv3+ not GPLv2 only * Add GPLv3+ license text * Package COPYING not LICENSE as the license blobs (even the old ones) mention COPYING specifically, it is also more common, I think https://fedorahosted.org/freeipa/ticket/239
* Add LDAP upgrade over ldapi support.Rob Crittenden2010-06-011-2/+12
| | | | | | | | | This disables all but the ldapi listener in DS so it will be quiet when we perform our upgrades. It is expected that any other clients that also use ldapi will be shut down by other already (krb5 and dns). Add ldapi as an option in ipaldap and add the beginning of pure offline support (e.g. direct editing of LDIF files).
* Don't pass non-existent arguments to _handle_errors()Rob Crittenden2009-05-191-9/+5
|
* Add a reason to the NotFound exception so we can provide more robust errorsRob Crittenden2009-05-131-4/+4
|
* Fix replica installation for self-signed CA (no dogtag)Rob Crittenden2009-05-041-0/+58
|
* Rename errors2.py to errors.py. Modify all affected files.Pavel Zuna2009-04-231-14/+14
|
* Finish work replacing the errors module with errors2Rob Crittenden2009-04-201-39/+71
| | | | | | Once this is committed we can start the process of renaming errors2 as errors. I thought that combinig this into one commit would be more difficult to review.
* Raise a more specific error when a user lacks the proper permissions.Rob Crittenden2009-03-251-1/+5
| | | | | The info part of the message will contain details on what permission failed on what attribute.
* Enforce netgroup uniqueness, allow netgroups to be members of netgroupsRob Crittenden2009-02-271-0/+6
| | | | | When adding an entry, convert a constraint violation of "already exists" into a DuplicateEntry exception so the user gets a useful response
* Remove more unused files and functions, replace ipaerror with new error classesRob Crittenden2009-02-061-3/+3
|
* Applied Rob's errors patchRob Crittenden2009-02-031-6/+6
|
* Add new method, delAttr(), to completely remove an attributeRob Crittenden2009-01-191-3/+10
| | | | Fix some errors that weren't being raised properly
* Renamed ipa_server/ to ipaserver/ and tests/test_ipa_server/ to ↵Jason Gerard DeRose2009-01-041-0/+546
tests/test_ipaserver