summaryrefslogtreecommitdiffstats
path: root/ipa-server/ipaserver
Commit message (Collapse)AuthorAgeFilesLines
* Import correct httpinstance.pyKarl MacMillan2007-12-111-3/+6
|
* Commit corrected certs.pyKarl MacMillan2007-12-111-28/+49
|
* Convert the setup of ssl from a shell script to aKarl MacMillan2007-12-064-7/+235
| | | | | python module. This is in preparation for user supplied certs.
* Merge.Karl MacMillan2007-12-112-43/+57
|\
| * Add default e-mail domain to the IPA configurationRob Crittenden2007-12-101-1/+3
| |
| * Improve the error message when an entry is not found.Rob Crittenden2007-12-061-4/+17
| | | | | | | | | | | | | | | | | | We used to return the entire argument string ala: ('dc=freeipa,dc=org', 2, 'uid=foo', ['*']) This adds a regex to try to print anything after = in the filter. Not perfect but better.
| * Fix errors with ipautil.CalledProcessError and cleanup some imports.Karl MacMillan2007-12-041-38/+37
| |
* | mergeJohn Dennis2007-12-043-22/+21
|\|
| * minor typosSimo Sorce2007-11-301-2/+2
| |
| * Compatibility changes to work on RHEL 5 with python 2.4rcritten@redhat.com2007-11-303-20/+19
| |
* | merged radius work with latest mainline tipJohn Dennis2007-11-288-88/+809
|\|
| * Add xml-rpc interface for getting keytabs.Karl MacMillan2007-11-211-0/+2
| | | | | | | | Warning: this lacks any sort of authorization.
| * Generate master password from Simo.Karl MacMillan2007-11-211-12/+1
| |
| * Added replication.pyKarl MacMillan2007-11-211-0/+316
| |
| * Initial replication setup.Karl MacMillan2007-11-216-93/+424
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This add replication setup through two new commands: ipa-replica-prepare and ipa-replica-install. The procedure is to run ipa-replica-prepare on an existing master. This will collect information about the realm and the current master and create a file storing all of the information. After copying that file to the new replica, ipa-replica-install is run (with -r to create a read-only replica). This version of the patch also includes fixes for the sasl mappings on the replicas. Remaining features: - ssl for replication. - automatic configuration of mesh topology for master (or a simpler way to replicate multiple masters. - tool for view / configuring current replication.
| * Enable group inactivation by using the Class of Service plugin.Rob Crittenden2007-11-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds 2 new groups: activated and inactivated. If you, or a group you are a member of, is in inactivated then you are too. If you, or a group you are a member of, is in the activated group, then you are too. In a fight between activated and inactivated, activated wins. The DNs for doing this matching is case and white space sensitive. The goal is to never have to actually set nsAccountLock in a user directly but move them between these groups. We need to decide where in the CLI this will happen. Right it is split between ipa-deluser and ipa-usermod. To inactivate groups for now just add the group to inactivate or active.
| * Remove default SASL mappings if any to avoid conflicts with IPA SASL mappingsSimo Sorce2007-11-191-0/+19
| |
| * Minor fixes.Karl MacMillan2007-11-191-1/+1
| |
| * Fix installationSimo Sorce2007-11-181-0/+2
| | | | | | | | | | Add missing schema for GUI Config, and missing objectclass for cn=accounts container
| * - Store Master Key in Ldap (Makes it easier to set up replicas)Simo Sorce2007-11-161-4/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Does not require dirsrv access to stash file - Finalize password history support - Fix strict password length default in pwd_extop (fix install sctript too) - fix plugin configuration - Introduce 3 kind of password change: normal, admin, and ds manager - normal require adherence to policies - admin does not but password is immediately expired - ds manager can just change the password any way he likes. Initial code to read the Kerberos Master Key from the Directory
| * Check for existance of of the target file in update_file. It used to silentlyRob Crittenden2007-11-151-1/+6
| | | | | | | | fail if the file it was to update didn't exist.
| * Initialize memberof patch from Pete Rowley.Karl MacMillan2007-11-151-1/+15
| |
| * Forgot to include FQDN in the substitition listRob Crittenden2007-11-131-1/+1
| |
| * Allow a user or group to change an attribute in its RDNRob Crittenden2007-11-121-0/+17
| | | | | | | | | | Add secretary to the list of indexes otherwise RDN changing could be slow Port --addattr, --setattr and --delattr from usermod to groupmod
* | clean up radius client command line toolsJohn Dennis2007-11-231-2/+3
| |
* | Add radius profile implementations:John Dennis2007-11-211-51/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | get_radius_profile_by_uid add_radius_profile update_radius_profile delete_radius_profile find_radius_profiles Rewrite command line arg handling, now support pair entry, interactive mode with auto completion, reading pairs from a file, better handling of mandatory values, better help, long arg names now match attribute name in pairs Establish mappings for all attributes and names used in clients and profiles Add notion of containers to radius clients and profiles in LDAP Move common code, variables, constants, and strings into the files radius_client.py, radius_util.py, ipautil.py to eliminate redundant elements which could get out of sync if modified and to provide access to other code which might benefit from using these items in the future. Add utility functions: format_list() parse_key_value_pairs() Add utility class: AttributeValueCompleter Unify attribute usage in radius ldap schema
* | ipa-addradiusclient now workingJohn Dennis2007-11-132-3/+5
| |
* | checkpoint radius client workJohn Dennis2007-11-132-0/+49
|\|
| * Add posix auto gen for single master casePete Rowley2007-11-061-0/+34
| |
| * remove offensive use of rpmJohn Dennis2007-11-061-7/+23
| | | | | | | | add the radiusprofile to the list of objectclasses used when creating a user
* | radius now does kerberos auth, reads client entries from LDAPJohn Dennis2007-11-101-2/+5
| |
* | remove offensive use of rpmJohn Dennis2007-11-061-7/+23
|/ | | | add the radiusprofile to the list of objectclasses used when creating a user
* Introduce service base class and clean up ipa-server-installKarl MacMillan2007-11-058-107/+294
| | | | | | | | | | | | 1) Add a base class for all of the instance objects. 2) Normalize usage of logging. 3) General cleanups of ipa-server-install. 4) Make better use of httpinstance. 5) Add webguiinstance. 6) Improve progress reporting during installation. Works Here (TM), but it would be nice to get someone else to test since this moves code around a bit.
* merge initial radius workJohn Dennis2007-11-033-0/+171
|
* Enable referential integrity plugin.Karl MacMillan2007-11-051-0/+10
|
* NTP configuration for client and server.Karl MacMillan2007-11-013-2/+51
| | | | | | | | Configure ipa servers as an ntp server and clients to (by default) us the ipa server as an ntp server. Also corrected the messages about which ports should be opened.
* Fix ticket #70Simo Sorce2007-11-011-3/+3
|
* Create LDAP indeces on installation for fields the web GUI searches againstRob Crittenden2007-10-301-0/+14
|
* Create configuration for MIT Windows kerberos client and install intoRob Crittenden2007-10-291-0/+16
| | | | | http://hostname/config so users can point their MIT client at the IPA server and automatically fetch the configuration.
* Remove the use of uuid in the directory server instance name.Karl MacMillan2007-10-191-13/+1
| | | | | | | The use of a uuid for the DS instance name is overkill and it is a real pain. This patch will use ipa-realm-name instead (resulting in something like slapd-EXAMPLE-COM). All periods are converted to "-" because the DS can't handle periods in server ids.
* Add httpinstance.pyRob Crittenden2007-10-181-0/+1
|
* Autotool ipa-server - patch from William Jon McCann <mccann@jhu.edu>.Karl MacMillan2007-10-171-0/+17
|
* First step in enabling SSL in the IPA web serverRob Crittenden2007-10-151-0/+76
|
* Enabled memberof pluginRob Crittenden2007-10-161-0/+13
|
* Don't print error on fresh installSimo Sorce2007-10-121-3/+5
|
* Add inetUser objectclass. Remove test-users ldif.Kevin McCarthy2007-10-111-9/+0
|
* Karl MacMillan wrote:Karl MacMillan2007-10-092-3/+7
| | | | | | | | | | | | | > > This largish patch makes the build and installation work on 64bit > > machines. The only catch here is that to get a 64bit build you need to > > set LIBDIR on make: > > > > make install LIBDIR=/usr/lib64 > > > > The spec file does this correctly. I couldn't find any reliable way to > > guess this that works both on real systems and in the almost entirely > > empty rpm build root (you can't, for example, check for the existence > > of /usr/lib64).
* DELETEs have to come first, in order for "case change" operations to work.Kevin McCarthy2007-10-081-2/+2
|
* New LDAP connection pool that does lockingRob Crittenden2007-10-081-1/+2
|
* On 10/4/07, Rob Crittenden <rcritten@redhat.com> wrote:Karl MacMillan2007-10-081-6/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > William Jon McCann wrote: > > Hi, > > > > After playing with the install (repeatedly) I ended up with a lot of > > duplicate values in: > > /etc/sysconfig/dirsrv > > /etc/sysconfig/ipa-kpasswd > > > > Here is a patch that should fix this. It modifies the file "in-place" > > and removes lines that matching the key (or commented key) and then > > appends the new key=value. > > > > Jon > > Cool, I've wanted to fix this for a while (and recently aborted a switch > from open with "a" to "w"). > > What happens if the file doesn't exist yet? Do we need to wrap the > fileinput loop in either a try/except or just look to see if the file > exists first (my vote)? > > Something like: > > def update_key_val_in_file(filename, key, val): > if os.path.exists(filename): > pattern = "^[\s#]*%s\s*=" % re.escape(key) > p = re.compile(pattern) > for line in fileinput.input(filename, inplace=1): > if not p.search(line): > sys.stdout.write(line) > fileinput.close() > f = open(filename, "a") > f.write("%s=%s\n" % (key, val)) > f.close() Good point. In genera,l I prefer doing a try because it is a little less racy but in this case it doesn't make a difference. Updated patch attached. Thanks, Jon