summaryrefslogtreecommitdiffstats
path: root/ipa-server
Commit message (Collapse)AuthorAgeFilesLines
...
* Sysrestore fixes.Simo Sorce2008-03-311-3/+8
| | | | | | | Latest patch used the wrong path and all files where actually going to /tmp even if a different path was specified. Makes also StateFile behave the same as FileStore, and be a public class, this way a common path can be used too.
* Some more function name errors due to merge from DS own memberof plugin thatSimo Sorce2008-03-311-6/+6
| | | | has different function names. This was a runtime linker crash bug :/
* On the delegation edit screen allow the direct entry of a group nameRob Crittenden2008-03-241-4/+28
| | | | | | Fix the redirection errors, it was going to back to the Add delegation page 438257
* Don't try to add the default group to a user when creating the group.Rob Crittenden2008-03-311-4/+19
| | | | | | This is done automatically and trying to do so will return an error. 432106
* Fix account activation.Rob Crittenden2008-03-312-12/+64
| | | | | | | | | | | | | | | | We do account activation by using a Class of Service based on group membership. A problem can happen if the entry itself has an nsaccountlock attribute and you try doing Class of Service work as well because the local attribute has priority. So try to detect that the entry has a local nsAccountLock attribute and report an appropriate error. Don't allow the admins or editors groups to be de-activated. Return a better error message if account [in]activation fails. Catch errors when doing group [in]activation. 439230
* Fix typoSimo Sorce2008-03-311-2/+2
|
* Better check for IPA nServer own address, avoid manually parsing /etc/hosts bySimo Sorce2008-03-301-36/+54
| | | | | | | using nsswitch calls that read it and also take in account any other name resolution mechanism that might be installed (like NIS lol :-). This also should make the check support IPv6 transparently too (not tested)
* Avoid listing a group as a memberOf itself when a circular groupingNathan Kinder2008-03-281-10/+23
| | | | | | | | | | is created. We basically just need to add a check to see if we're to use a group DN as the memberOf value when performing an operation on itself for all operation types. 439450
* Fixed handling of modify operations that delete all present memberNathan Kinder2008-03-281-2/+13
| | | | | | | | | | | | | values without specifying the values to delete in the memberOf plug-in. Member entries were not being updated because the code used the values in the mod to find the member entries to update. The fix is to detect when a delete modify has no values specified and just use the replace code since it compares the pre-op and post-op copies of the group to figure out what member entries to update. 439097
* Put replica info file into /var/lib/ipa instead of the current directoryRob Crittenden2008-03-281-2/+2
| | | | 439120
* Move sysrestore to ipa-python so it can be used by client scripts too.Simo Sorce2008-03-2712-350/+152
| | | | | | Change backup format so files are all in a single directory (no dir hierarchies) and use an index file so we can save also ownership and permission info for the restore (and eventually other data later on).
* Don't allow the admin user to be removed using the XML-RPC Interface.Rob Crittenden2008-03-281-0/+2
| | | | | | If a site really wants it gone then can delete it via LDAP. 439281
* Do case-less comparisons when considering objectclass but store theRob Crittenden2008-03-283-3/+7
| | | | | | | | | | current value to prevent unnecessary LPAP updates (and failed writes) Don't check against these lists on updates, only add them on new entries. Disable the ability to configure in the UI these values for now. 438256
* Properly detect when ports are available.Rob Crittenden2008-03-271-4/+3
| | | | | | | | The DS setup program uses Perl and does a similar port available test. It seems that perl always sets FD_CLOEXEC and python does not. This is why the port test would pass in python but fail in perl. 439024
* Put the replica hostname back together properlyRob Crittenden2008-03-271-2/+3
| | | | 439057
* Normalize member DN's when determining whether they are in a groupRob Crittenden2008-03-261-1/+5
| | | | | | as a direct or indirect member. 438387
* When getting members let user indicate what type of member they want.Rob Crittenden2008-03-275-11/+121
| | | | | | | | | | The memberOf attribute includes members that are directly in the group via the "member" attribute and those that are included as a result of being in a group that is in the group. The UI needs to be able to distinguish between the two. 438706
* Handle MODRDN operations properly for indirect group members.Nathan Kinder2008-03-261-1/+11
| | | | | | | Without this, an entry's memberOf attribute is not updated with the new group DN when an indirect group is renamed. This is in bugzilla for FDS as bz 438891.
* Make the memberof task a public function.Rob Crittenden2008-03-274-14/+29
| | | | | | | | | | | | | | This is used when a new replica is created as well as whenever a replica is re-initialized from another master. In order for this to work when not creating an instance the __init__ function needs to be able to determine the suffix and the dm_password is needed. I've also added the time to the RDN of the member task to ensure uniqueness. 438222
* Add additional detail to error messages.Rob Crittenden2008-03-255-24/+24
| | | | | | | | | This runs the risk of showing too much and confusing users but on the other hand it often includes required information detailing why the error occurred such as what attribute the user lacks write access too and why changing a password failed. 438057
* Make Install and Uninstall have different log filesSimo Sorce2008-03-241-2/+5
|
* Don't error out if the user isn't in any groups.Rob Crittenden2008-03-261-0/+3
| | | | 438222
* Fix file permissions on ca.crt when it is installed.Rob Crittenden2008-03-261-0/+1
| | | | 438220
* Add some missing man pagesRob Crittenden2008-03-1713-2/+396
| | | | 436501
* Re-root the IPA web UI to /ipa and the XML-RPC interface to /ipaxml.Rob Crittenden2008-03-245-30/+33
| | | | 438021
* We are really changing the kerberos principal key and not the password whenRob Crittenden2008-03-246-49/+49
| | | | | | | | | | we do updates, so use the right terminology internally. Also fix the actual field we update (and grant permission appropriately in delegations). The DS password handles updating userPassword and any Samba passwords as necessary. 438256
* Start ntpd after FDS so that the ntp user can be found.Rob Crittenden2008-03-241-2/+2
| | | | | | | Start httpd after ipa_webgui becuse otherwise mod_proxy may not like it if it can't connect to the UI listening port 438090
* Allow the realm to be included in the name passed to add_service_principal()Rob Crittenden2008-03-171-3/+6
| | | | | | | This is more kerberos-like and it doesn't hurt anything, we just won't allow realms other than our own to be used. 437566
* Adding items to the set needs to be lower case to prevent duplicates.Rob Crittenden2008-03-101-1/+1
| | | | | | | This function was assuming that the target list was all lower-case so the set could end up with duplicate values which would get kicked out by LDAP. 433680
* Remove ACI that was causing RDN changes to failRob Crittenden2008-03-102-5/+1
| | | | | | Fix for session code so RDN change can succeed 433523
* Add ability to initialize a replication agreementRob Crittenden2008-03-073-51/+73
| | | | | | | | Add ability to force a synch to occur Clean up a lot of unused code in ipaldap.py. This lets us do a simple bind without being root (it used to try to read dse.ldif) 436237
* Verify that the hostname is correct in /etc/hostsRob Crittenden2008-03-062-3/+32
| | | | | | Don't ignore exceptions when getting the hostname from the user 433515
* Use standard size and alignment for the packed data so it works on 64-bit hostsRob Crittenden2008-03-061-1/+1
|
* Remove some duplicate id's that are not valid HTMLRob Crittenden2008-03-053-5/+2
| | | | | Remove the footer. It was a leftover from the original TurboGears-generated project that Kevin McCarthy had modified.
* Remove the ability for the average user to add/delete groups on user edit pageRob Crittenden2008-03-041-3/+3
| | | | | | | If they have any delegations at all (are in editors group) they will have these links. 433387
* Filter out K/M and krbtgt principals from the service principals list.Rob Crittenden2008-03-031-2/+3
| | | | 435713
* Require that the hostname is a DNS A record and that the forward and reverseRob Crittenden2008-03-031-0/+21
| | | | | | match. 433515
* Allow python to look in /usr/sbin for ipa_webguiRob Crittenden2008-03-041-0/+4
| | | | 429999
* KDC is Key Distribution Center, not Kerberos Domain ControllerRob Crittenden2008-03-041-1/+1
| | | | 435949
* Fix boot.ldif generation, the domain name component must be derivedSimo Sorce2008-03-041-1/+1
| | | | | from the realm not the domain. One line fix.
* Fix build breakage.Rob Crittenden2008-03-031-1/+1
|
* Close all fds when running another program. This fixes the SELinux AVCs.Rob Crittenden2008-03-031-1/+2
| | | | | | Put installation log files into /var/log. 430024
* Do argument type checking in the XML-RPC interfaceRob Crittenden2008-02-291-60/+149
| | | | | Fix error in service principals where the service wasn't being removed before doing the DNS lookup.
* Add small script to start/stop all of the services that IPA requires in theRob Crittenden2008-02-284-2/+68
| | | | | | proper order. 435026
* Make sure all entries are generated by us according to IPASimo Sorce2008-02-283-9/+22
| | | | | default tree. This patch make sure that the DS setup script does not add unwanted entries.
* Fixed the way we call ipa-client-install from ipa-replica-install.Nathan Kinder2008-02-281-1/+1
| | | | 434980
* Fix off-by-one error in the number of steps to install a serviceRob Crittenden2008-02-281-1/+1
|
* In the UI we don't want to display Edit links unless someone can actuallyRob Crittenden2008-02-273-12/+71
| | | | | | | | | | | | edit things. We use the 'editors' group for this. This group itself grants no permission other than displaying certain things in the UI. In order to be in the editors group a user must be a member of a group that is the source group in a delegation. The memberof plugin will do all the hard work to be sure that a user's memberof contains cn=editors if they are in a delegated group. 432874
* Don't log passwords in ipaserver-install.logRob Crittenden2008-02-261-2/+4
| | | | 433509
* The admins group cannot be renamed.Rob Crittenden2008-02-271-0/+3
| | | | 433880