Commit Graph

452 Commits

Author SHA1 Message Date
Rob Crittenden
6f268a185c Broke invididual Requires and BuildRequires onto separate lines and
reordered them
Added python-tgexpandingformwidget as a dependency
Require at least fedora-ds-base 1.1
2007-11-15 10:57:26 -05:00
Karl MacMillan
29c0668e98 Bump versions for release. 0001-01-01 00:00:00 +00:00
Simo Sorce
51a5130227 Properly increment kvno and keep recent key material around
This is necessary for services that need to be able to respond
to requests from client that acquired a service ticket just before
a password change.
2007-10-31 10:52:44 -04:00
Karl MacMillan
4d96b37de1 Initialize memberof patch from Pete Rowley. 0001-01-01 00:00:00 +00:00
Rob Crittenden
abdd344073 Remove reference to a bogus system and make the error message more generic 2007-11-14 14:11:29 -05:00
Rob Crittenden
02e5a6599b Forgot to include FQDN in the substitition list 2007-11-13 17:51:29 -05:00
Rob Crittenden
cb0476f223 Make the group cn an editable field though protected by default.
Fix some issues with the multi-value to single-value reversion.
2007-11-14 23:33:49 -05:00
Rob Crittenden
83dd42797e Include multi-value fields on the Add Person page
Remove multi-valued cn from groups
2007-11-14 17:50:46 -05:00
Rob Crittenden
3e715a04cf Add an editors group. This is used to generally grant access for users
to edit other users (the Edit link won't appear otherwise). Additional
delegation is need to grant permission to individual attributes.
Update the failed login page to indicate that it is a permission issue.
Don't allow access to policy at all for non-admins.
By default users can only edit themselves.
2007-11-14 10:49:03 -05:00
Simo Sorce
7502ebe479 Initial implementation of policies support.
This patch uses the kerberos schema policy, this is the same policy used by
kadmin.
While this patch allows for krbPwdPolicy objects anywhere the kldap module
will make the kdc fail to provide tickets if the "krbPwdPolicyReference"
points to any object that is not a child of cn=<REALM>,cn=kerberos,dc=....
To let us set policies anywhere in the tree I enabled the code to actually
look at parent entries and the user entry itself and specify policies directly
on these objects by adding the krbPwdPolicy objectclass to them (I know its
structural but DS seem to allow multiple Structural classes on the same
entry).
The only side effect is that kadmin will not understand this, but we don't
want to use kadmin anyway as it does not understand way too many things about the
directory.

I've tested a few scenarios and all seem working as expected, but further
testing is welcome of course.
2007-11-13 16:21:03 -05:00
Rob Crittenden
bd78fe0687 Add more fields to the IPA Policy form 2007-11-13 15:36:52 -05:00
Rob Crittenden
83dd26c6e3 Remove non-existent files from Makefile targets 2007-11-13 17:24:00 -05:00
Rob Crittenden
eecbaf91e2 Use the dna plugin to automatically assign uid
Set gid to the group "ipausers"
Add the user to this default group
2007-11-13 15:03:20 -05:00
Rob Crittenden
79544637d6 The e-mail field should not be required. 2007-11-13 15:49:06 -05:00
Rob Crittenden
5011f64243 Restrict access to some parts of the UI to those in the admins group 2007-11-13 11:15:07 -05:00
Rob Crittenden
cd489f0a73 Allow a user or group to change an attribute in its RDN
Add secretary to the list of indexes otherwise RDN changing could be slow
Port --addattr, --setattr and --delattr from usermod to groupmod
2007-11-12 23:11:55 -05:00
Rob Crittenden
99b84bfd01 Handle ldap.UNWILLING_TO_PERFORM more gracefully 2007-11-09 16:34:52 -05:00
Rob Crittenden
d9194cdd09 Don't continue if a kerberos credentials cache is not available
forked-model detection was incorrect.
Both of these return an error instead of raising one
2007-11-09 14:55:41 -05:00
Rob Crittenden
b7506a5ea6 Fix editing groups when cn is a single-valued field
Fix some error messages that were printing the entire detail message
2007-11-09 14:01:28 -05:00
Rob Crittenden
705d68ddcb Require uniqueness in the name/comment field of delegations
Fix error reporting in the UI to include the detailed message
Sort delegations by name when displaying them
Update the name field from "Name" to "Delegation Name"
2007-11-09 13:58:36 -05:00
Rob Crittenden
6f03dde1ab Underline columns on sort results page so users will know it is a link
Restore the CSS to display the up/down arrow on sort columns
2007-11-12 15:14:35 -05:00
Rob Crittenden
547e6e920e Redirect to the FQDN otherwise kerberos auth may fail 2007-11-12 14:47:48 -05:00
Rob Crittenden
e1ca8c235c Initial support for policy editing
More work is needed as the values are currently hardcoded and not saved
2007-11-12 14:19:05 -05:00
Rob Crittenden
e9dfbfa773 Enable multi-value field support for some attributes on the edit pages
Better error reporting in the GUI
Include a document describing how multi-valued fields work
2007-11-08 22:12:42 -05:00
Karl MacMillan
27f0aab667 Rename memberOf to group_members in xml-rpc interface. 0001-01-01 00:00:00 +00:00
Rob Crittenden
303d5ebad9 Have the GUI use memberOf() instead of looping through the member DNs
Fix a bug in the local transport version of memberOf()
2007-10-31 10:08:16 -04:00
Rob Crittenden
1d6e88565c Add memberOf API call to the XML-RPC interface
Make find-groups use memberOf to have a prettier dispaly of members
2007-10-30 15:07:02 -04:00
Pete Rowley
1871e8dbf6 Add user self service aci 2007-10-29 14:52:19 -07:00
Karl MacMillan
4f4f947283 Update server deps to include acl and freeipa-admintools. 0001-01-01 00:00:00 +00:00
Rob Crittenden
ed387e2ebb Add inetUser to the admin user so memberOf will work 2007-10-30 14:42:19 -04:00
Rob Crittenden
3c8cfd94bd Create LDAP indeces on installation for fields the web GUI searches against 2007-10-30 13:41:41 -04:00
Rob Crittenden
e40c583b12 Create configuration for MIT Windows kerberos client and install into
http://hostname/config so users can point their MIT client at the IPA
server and automatically fetch the configuration.
2007-10-29 12:00:48 -04:00
Kevin McCarthy
859291a706 Add delete user and group to webgui.
NOTE: this doesn't handle referential integrity.
2007-10-23 16:46:50 -07:00
Rob Crittenden
28641544e7 Set the user password when adding a user 2007-10-26 12:35:32 -04:00
Kevin McCarthy
1d746c9fc2 Rename the form fields parameter to be clearer:
user -> user_fields
group -> group_fields
delegate -> delegate_fields
2007-10-25 09:18:45 -07:00
Kevin McCarthy
358d279a53 webgui side of custom fields. 2007-10-24 16:04:17 -07:00
Mark McLoughlin
6e6237e54a Fix host_name buglet in ipa-server-install
This patch fixes a couple of buglets with read_ip_address():

  1) It writes host_name to /etc/hosts, but isn't currently
     being passed host_name

  2) It doesn't return the IP address even though the caller
     expects it

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
2008-02-21 15:23:29 +00:00
Karl MacMillan
263fba1468 Handle selinux failure
Ignore errors if setsebool fails and print a warning.
0001-01-01 00:00:00 +00:00
Karl MacMillan
2703be51c8 Print warning about NTP
After looking into setting up ntpd on the IPA servers I decided it
was better just to warn admins. There are just too many valid setups
for time synchronization for us to try to get this right. Additionally,
just installing ntp and accepting the default config will result in
a configuration that is perfectly valid for IPA.

This patch checks if ntpd is running and suggests enabling it if it
is not - for client and server. It also adds some suggested next
steps to the server installation.
0001-01-01 00:00:00 +00:00
Rob Crittenden
f5cc36507b Add dependency on python-krbV 2007-10-24 15:39:05 -04:00
Kevin McCarthy
60d46ac660 Fix devel mode for the webgui. 2007-10-23 09:02:55 -07:00
Rob Crittenden
04636b8ae7 Add an LDAP attribute -> label mapping function to XML-RPC layer
Move some ACI functions around in preparation for cli delegation
2007-10-22 17:06:52 -04:00
Rob Crittenden
a47f893957 update_user and update_group need to be defined differently in order
to be available to the XML-RPC interface
2007-10-22 10:09:39 -04:00
Kevin McCarthy
f881e21f7f Add add/edit/show for manager and secretary fields. 2007-10-19 15:19:28 -07:00
Karl MacMillan
1685751b1c Remove dependency between ipa-pyton and ipa-server
Current ipa-python imports and calls code from ipaserver (which is in
the ipa-server package). This makes it impossible to use the admin
tools or the ipa-python package on a system without the server bits
installed. This fixes that in a fairly minimal way.
0001-01-01 00:00:00 +00:00
Kevin McCarthy
5e651a6496 Finish the email autosuggest.
For now I've added a new API call.  The field-specific searching is
a ways off.
2007-10-18 14:33:55 -07:00
Rob Crittenden
f018c2123c Require mod_nss-1.0.7-2 or higher. This version fixes an issue when
using mod_nss with mod_proxy.
2007-10-19 11:41:59 -04:00
Rob Crittenden
ba0adcffb1 Require SSL for the XML-RPC interface 2007-10-19 10:14:30 -04:00
Karl MacMillan
086193af0a Remove the use of uuid in the directory server instance name.
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.
0001-01-01 00:00:00 +00:00
Kevin McCarthy
c4bd800b37 Fix HTML errors on empty fields. Move roomnumber to address section. 2007-10-19 09:18:51 -07:00
Kevin McCarthy
fd8690dd63 Add a flash message to the top of the page when there are validation errors. 2007-10-19 08:59:40 -07:00
Karl MacMillan
4427ff78f6 Add exception template. 0001-01-01 00:00:00 +00:00
Kevin McCarthy
12047b529a Add an exception/error handler to the web gui. 2007-10-18 09:46:13 -07:00
Rob Crittenden
d28b759e00 Fix build issues related to the autotools conversion 2007-10-18 22:03:54 -04:00
Karl MacMillan
875940ddd3 Print traceback to the install log on unexpected error. 0001-01-01 00:00:00 +00:00
Rob Crittenden
3eba5d3b8d Add httpinstance.py 2007-10-18 16:20:00 -04:00
Karl MacMillan
4c59be2b0d Fix autogen.sh to correctly compare versions and removed .la files from packages. 0001-01-01 00:00:00 +00:00
Kevin McCarthy
6249f20526 Add logger objects to each controller.
Fix up the config settings for logging.
2007-10-17 16:45:20 -07:00
Karl MacMillan
4718fc6dff Merge with head. 0001-01-01 00:00:00 +00:00
Kevin McCarthy
f8a9d2021a Sort users by last name. Make labeleduri a link. 2007-10-17 13:42:45 -07:00
Kevin McCarthy
0b2b499e42 Add print media CSS. Rename delegation edit button to 'update'. 2007-10-17 13:12:43 -07:00
Karl MacMillan
1d2c024afa Additional build fixes from autoconf merge. 0001-01-01 00:00:00 +00:00
Karl MacMillan
31fb0033ba Merge. 0001-01-01 00:00:00 +00:00
Kevin McCarthy
8e88028417 patch queue: jslint_fixes.patch 2007-10-16 10:54:47 -07:00
Kevin McCarthy
2dcab902b8 Remove coffee-spewing color from delete button. Adjust nav-link and size. 2007-10-16 10:14:27 -07:00
Kevin McCarthy
3db0f99977 Adds deletion for delegations.
The deletion is only triggered via javascript, so they must hit confirm.
2007-10-16 10:01:30 -07:00
Kevin McCarthy
1592229c3c Fixes to acilist: make use POST, use field labels. 2007-10-15 16:21:10 -07:00
Kevin McCarthy
60e78feeba Fix for when there's a single ACI. 2007-10-15 14:55:42 -07:00
Kevin McCarthy
40930c9b11 Fix list delegations to show field labels.
Also fix script tags on delegateform.kid.
2007-10-15 14:17:51 -07:00
Kevin McCarthy
117a78f909 Rename delegatenewform to delegateform. 2007-10-15 13:17:26 -07:00
Karl MacMillan
c49d478b92 Fix build from autoconf patch import. 0001-01-01 00:00:00 +00:00
Karl MacMillan
f8fba3b7dd Autotool ipa-server - patch from William Jon McCann <mccann@jhu.edu>. 0001-01-01 00:00:00 +00:00
Simo Sorce
08855a4d77 Better handling of IPv4/IPv6 sockets in ipa-kpasswd
Tested with UDP and works
2007-10-12 13:24:41 -04:00
Rob Crittenden
ed8f506b0f First step in enabling SSL in the IPA web server 2007-10-15 15:42:12 -04:00
Rob Crittenden
dac58ee693 Enabled memberof plugin 2007-10-16 10:17:39 -04:00
Kevin McCarthy
233915b780 Add basic delegation editing. 2007-10-15 13:07:39 -07:00
Kevin McCarthy
fbbdd27b53 Creates an update_entry api call, aliases update_user and update_group to it. 2007-10-15 09:04:13 -07:00
Kevin McCarthy
63f7cdf7f7 Adds delegation listing and creation to the GUI. 2007-10-12 15:11:55 -07:00
Rob Crittenden
af0a1d989b Verify that the LDAP ports are available during installation. 2007-10-15 13:27:05 -04:00
Rob Crittenden
95f0c52013 Remove buggy connection caching. Create a new connection for each LDAP
request.
2007-10-12 10:37:36 -04:00
Simo Sorce
d2c73bfd4d Fix make (local-)dist 2007-10-12 12:03:50 -04:00
Simo Sorce
beba92bca0 Don't print error on fresh install 2007-10-12 12:03:02 -04:00
Kevin McCarthy
06b107ed5f Add inetUser objectclass. Remove test-users ldif. 2007-10-11 12:19:42 -07:00
Kevin McCarthy
4c2a33d0e8 Refactor the __get_entry into __get_base_entry and __get_sub_entry().
The API needs to be thought about, but this is a quick fix w/minimal impact
to allow get_entry_by_dn do work on non-leaf entries.
2007-10-11 10:10:03 -07:00
Karl MacMillan
f25e7c46ef Merge. 0001-01-01 00:00:00 +00:00
Kevin McCarthy
2b38769b50 Combine get_user/group by dn/cn into get_entry_by_cn/dn.
Also a couple double-escaping fixes I missed in the last patch.
2007-10-09 09:26:16 -07:00
Kevin McCarthy
aaa992b744 Fix the webgui to allocate a new IPAClient for each request. 2007-10-08 09:54:13 -07:00
Kevin McCarthy
3f271a875f DELETEs have to come first, in order for "case change" operations to work. 2007-10-08 13:35:41 -07:00
Kevin McCarthy
9987e0e807 Small group fixes: remove index, change to use hidden_fields (like UserFields) 2007-10-08 09:22:03 -07:00
Kevin McCarthy
b73f825657 Several escaping fixes:
- illegal dn characters need to be escaped
- null characters in search filters
- dynamicedit.js was double html escaping (the python layer does it already)
2007-10-05 15:25:58 -07:00
Karl MacMillan
d2a19b2009 Karl MacMillan wrote:
> > 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).
0001-01-01 00:00:00 +00:00
Karl MacMillan
1be00394e3 Hi,
Here is another patch for the installer.  It does a few things:

 * use socket.getfqdn() but fallback to gethostname()
 * streamlines the hostname prompting
 * fixes a bunch of spelling and grammatical errors
 * fixes a bug in the hostname reading/verification logic
 * allows "yes" and "no" as answers
 * modularizes and reuses code where possible
 * changes some of the prompts to be more like
   the FDS installer - some text is copied (which is easy to use IMO)
 * tries to make the prompts fit on smaller screens (<80 chars)

Hope you agree that it is better.  :)

Thanks,
Jon
0001-01-01 00:00:00 +00:00
Rob Crittenden
eddc5d4e42 New LDAP connection pool that does locking 2007-10-08 16:18:38 -04:00
Kevin McCarthy
60ce1db581 Fix for Internet Explorer, which is picky about commas. 2007-10-05 13:59:04 -07:00
Karl MacMillan
cfaa18a1cf On 10/4/07, Rob Crittenden <rcritten@redhat.com> wrote:
> 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
0001-01-01 00:00:00 +00:00
Kevin McCarthy
d5fedb5f97 Split the controllers out into separate user and group controllers. 2007-10-04 17:10:18 -07:00
Kevin McCarthy
6f7c918e59 Fix the autosuggest ordering so faster operations go first.
Also fix a bug with the initials autosuggest code.
2007-10-04 14:23:55 -07:00
Kevin McCarthy
d1899e8f35 patch queue: admin_account_fix.patch 2007-10-04 13:41:19 -07:00
Kevin McCarthy
99c793e2ad Fixes none values in first/last name to display properly. 2007-10-04 12:20:00 -07:00
Kevin McCarthy
2ac1b39f42 Trickle the group_cn to group_dn down the layers. Fix controller calls. 2007-10-03 18:21:41 -07:00
mccann@jhu.edu
f023f38616 Fix copy/paste bug 2007-10-03 21:30:57 -04:00
rcritten@redhat.com
53e872fb72 Try to catch more error conditions during installation
Modify the way we detect SELinux to use selinuxenabled instead of using
  a try/except.
Handle SASL/GSSAPI authentication failures when getting a connection
2007-10-03 17:37:13 -04:00
Kevin McCarthy
1cef67e2e1 Add the rest of the user fields to the user pages. 2007-10-03 13:53:14 -07:00
mccann@jhu.edu
3ef4a374f7 Patch to fix the installer crashing if selinux is disabled. Also changes
the exception to contain the complete command.
Add a check to make sure installer is running as root.
Add signal handler to detect a user-cancelled installation.
Detect existing DS instances and prompt to remove them.
2007-10-02 16:56:51 -04:00
rcritten@redhat.com
e0b225b1b6 I broke add_groups_to_user and remove_groups_from_user with my
"use group DN" patch. This fixes it.
2007-10-02 17:26:09 -04:00
rcritten@redhat.com
6aa72b44e4 Do group operations based on the group DN, not the CN
Add new class of errors for connections
Raise an exception if a connection cannot be made due to missing ccache
2007-10-02 16:56:51 -04:00
Simo Sorce
cfac4acf9f Rely more on kerberos.
Don't read ipa.conf to get the realm, the kerberos libs do that for you.
Use the krbPrincipalName to change passwords
Make it possible to specify the principal at user creation.
Mail is not a required attribute so far, don't require it.
2007-10-01 17:33:16 -04:00
Kevin McCarthy
5750ebdd83 Assorted UI fixes:
- Change sort functions to be on entities, so can use on the view pages too
- Fix bug: empty ajax search on useredit blows up
- Filter illegal characters from suggest uid/email methods
- Rename first/last name fields
- Make default font family sans-serif
- Speed up effect appear/fade rendering
- Add buttons to top and bottom of pages
- Make grouplist sortable
- Add noscript warning to welcome page
2007-10-02 10:49:44 -07:00
Kevin McCarthy
050157ace0 Add group management to the newgroup page. 2007-10-01 13:27:40 -07:00
Kevin McCarthy
59ee94e378 Allow group selection on the create user page. 2007-10-01 11:26:22 -07:00
Kevin McCarthy
dbf8c1aeb9 Add group management to the user edit page.
Added a couple more API calls to make the inverse operations easier.
2007-09-28 16:01:42 -07:00
rcritten@redhat.com
0cfccd0f8c Don't include opts in any public argument lists. It is used internally only. 2007-10-01 13:34:43 -04:00
Simo Sorce
2ef71a85d0 Check passwords are not empty 2007-09-28 14:55:28 -04:00
Simo Sorce
93deded293 IPv6ify, untested 2007-09-28 03:21:17 -04:00
Kevin McCarthy
b02e9bfd1f Extract the shared dynamic edit code.
Rename groupeditsearch.kid to dynamiceditsearch.kid
2007-09-28 11:55:56 -07:00
Kevin McCarthy
8323959c3c Sort the group members on the view and edit group pages. 2007-09-28 09:59:04 -07:00
Kevin McCarthy
afb9a3c0a9 Refactoring to allow better member rendering.
Created a MemberDisplayInfo to hold the info needed to render a member.
Changed round trip persistance to use that class.
Created a single renderMemberInfo method to render the members.
Changed dynamic as well as static lists to use renderMemberInfo.
Lastly, render groups members in italics.
Change view group to render group members in italics.
2007-09-28 08:53:10 -07:00
Kevin McCarthy
d13c6efc40 Adds nested group handling to the view and edit group pages.
Renames the ajax seach page, because it's tightly bound to the group edit page.
This isn't super polished, but the basic functionality is there.
2007-09-27 14:51:35 -07:00
Kevin McCarthy
0431a536e5 patch queue: add_filters.patch 2007-09-27 16:07:05 -07:00
Kevin McCarthy
572b3e9fdd Make timelimit a parameter to the find methods. 2007-09-27 15:51:26 -07:00
Kevin McCarthy
d95b47232d patch queue: group_users_use_dns.patch 2007-09-27 11:27:33 -07:00
Karl MacMillan
679343594d Install the web gui
Install the turbogears web gui including an init script. This
patch includes a few related changes:

* create a production configuration
* rename the web gui startup scrip to ipa-webgui
* add an init script
* chkconfig on the ipa-webgui init script
* make the start script properly daemonize the app when not
  in a development directory.
* Install everything to the correct places (/usr/sbin/ipa-webgui
  and /usr/share/ipa/ipagui mainly).

There are some things still left to do:

* Sort out the logging - the config needs to be adjusted so
  that logging messages end up in /var/log.
0001-01-01 00:00:00 +00:00
Karl MacMillan
50d12d6d2e Misc small fixes
* Remove the rpmbuild tree with the dist-clean target.
* Move ipa-server-setupssl from /usr/sbin to /usr/share/ipa
* Check in requirement change for generated freeipa-python.spec
* Fix interactive hostname in ipa-server-install.
0001-01-01 00:00:00 +00:00
Karl MacMillan
22710a8dce Make apache work with selinux
The default configuration of the apache selinux policy doesn't allow
apache to connect to the turbogears gui. This sets the correct
boolean to allow that connection.
0001-01-01 00:00:00 +00:00
Kevin McCarthy
24c22a2ebc Misc small fixes:
- Members of groups are clickable
- Combine name and uid into a single column in find users
- Remove license plate from searching
- Mailto links on user emails
- Add timelimit to finds.  This is experimental...
- Fix usersearch to only search on objectClass=Person
- Change search to use get parameter
2007-09-25 11:25:48 -07:00
Kevin McCarthy
1725397a53 Adds methods to manipulate groups by dns.
Renamed some of the user_group parameters to be self-evident.
Binary wrapping isn't necessary on strings, so removed from xmlrpc calls.
2007-09-26 15:47:34 -07:00
rcritten@redhat.com
f8eda3da3e Fix a couple of XML-RPC functions that were missing the opts argument
Include a kerberized XML-RPC client that will list the XML-RPC API
2007-09-26 16:31:43 -04:00
Kevin McCarthy
1a7ef0d135 patch queue: helptext.patch 2007-09-26 13:08:29 -07:00
Kevin McCarthy
313f9bc4a0 Add IPA icon file. 2007-09-25 16:54:19 -07:00
Kevin McCarthy
fa7759684f Adds manager and direct reports to usershow page.
Fixes a bug with the group by member where is wasn't trapping not found errors.
2007-09-25 15:44:49 -07:00
Kevin McCarthy
765279d82b Show the list of groups a user belongs to. 2007-09-25 13:35:43 -07:00
rcritten@redhat.com
0258d01792 Use a different directory for test programs 2007-09-25 09:50:30 -04:00
rcritten@redhat.com
0b65e95b57 Make doing basic testing of Kerberos ticket forwarding and system setup
easier.
2007-09-25 08:37:45 -04:00
rcritten@redhat.com
fddae7a8a2 Fix error when using with TurboGears 2007-09-25 08:36:23 -04:00
rcritten@redhat.com
337f0cf853 Install the error web pages 2007-09-24 15:25:44 -04:00
rcritten@redhat.com
e606ad5606 Show (hopefully) useful information if the Kerberos connection fails. 2007-09-24 15:20:34 -04:00
rcritten@redhat.com
a1196902aa Print the request environment for debugging purposes. 2007-09-24 15:24:44 -04:00
rcritten@redhat.com
2fec56d679 Enable LDAP debugging using the mod_python Apache configuration directive
PythonOption IPADebug On/Off
2007-09-21 14:39:52 -04:00
rcritten@redhat.com
7b96973711 Give ipa-adduser, ipa-addgroup and ipa-usermod an interactive mode
Add ipa-passwd tool
Add simple field validation package
This patch adds a package requirement, python-krbV. This is needed to
 determine the current user based on their kerberos ticket.
2007-09-21 10:24:36 -04:00
rcritten@redhat.com
919d037189 Add a failed login page. In theory it should never been seen but it makes
things nicer
Remove the login page
Remove the login link from master.kid
2007-09-21 10:58:40 -04:00
rcritten@redhat.com
e41bb1d6fe Don't fall back on proxy authentication. We don't generate the certificates
anymore and that failure just causes more confusion.
2007-09-24 15:23:50 -04:00
Kevin McCarthy
5cdfc5bd3b Add set_krbccache() calls to new controller methods.
Small fix to proxyprovider for anonymous case.
2007-09-20 14:53:23 -07:00
rcritten@redhat.com
370500ab1a Remove support for LDAP proxy connections 2007-09-20 09:01:23 -04:00
Simo Sorce
e16e215cdd Merge with upstream 2007-09-20 17:11:01 -04:00
Simo Sorce
fbfefe6b0e Merge conflicts between rob and kevin patches 2007-09-20 16:58:54 -04:00
Simo Sorce
3fd4b9ba2c Initial support for confiuguring a DNS Server during installation.
It's not perfect yet but good enough to include it.
2007-09-20 15:10:21 -04:00
Kevin McCarthy
4e79c37c60 Add password changing call to web gui. 2007-09-19 15:59:01 -07:00
Kevin McCarthy
036cf58042 Handle add/remove failures a little bit better.
Still some refinements that can be done, but at least it shows the failures
now.
2007-09-19 13:43:52 -07:00
Kevin McCarthy
f17071533a Implement asynchronous search for groups.
Use the filter generation code to search on multiple fields.
2007-09-19 08:42:34 -07:00
Kevin McCarthy
6b3d1e85da Add client-side search limit parameter for user search.
Limit editgroup user ajax search.
Minor UI cleanup for editgroup.
2007-09-18 14:58:30 -07:00
Kevin McCarthy
c4998d3902 Fixes to the edit protected checkbox.
- Make checkbox sticky on round trips
- Make required fields validate when checkbox is checked.
2007-09-18 10:54:53 -07:00
Kevin McCarthy
8190404706 Prevent members from being added added twice.
Display search message while in progress.
Correctly calculate number of search results after filtering.
2007-09-17 15:24:11 -07:00
Kevin McCarthy
cc1585daff Persist adds and removes on a server round trip. 2007-09-17 11:46:48 -07:00
Kevin McCarthy
65e4d27e99 patch queue: groupmember.patch 2007-09-14 15:20:09 -07:00
rcritten@redhat.com
b85668579e Use ticket forwarding with TurboGears. mod_proxy forwards the principal
name and location of the keytab. In order for this keytab to be usable
 TurboGears and Apache will need to run as the same user. We will also need
 to listen only on localhost in TG.
2007-09-14 17:19:02 -04:00
Kevin McCarthy
a809d44429 Adding sort images. 2007-09-13 10:40:50 -07:00
Simo Sorce
7633abb9e4 Better we do not fiddle with /etc/hosts, make sure to abort and let the admin
fix it.
2007-09-13 12:10:55 -04:00
Simo Sorce
2ca655980b Better way to ask for the Realm name, with implicit default 2007-09-12 18:58:56 -04:00
Kevin McCarthy
0e355a734f Group edit page 2007-09-12 10:40:31 -07:00
Simo Sorce
533044903d Add confirmation when asking un-echoed passwords 2007-09-12 13:20:57 -04:00
Simo Sorce
fd61df06c5 Avoid showing passwords.
Patch from William Jon McCann <mccann@jhu.edu>
2007-09-12 11:55:19 -04:00
Simo Sorce
5898ae527a In the TCP case there is an extra (redundant) lenght
field before the packet data, address the problem.
2007-09-12 11:51:16 -04:00
Kevin McCarthy
c4ab64cabc Add group screen. More to come... 2007-09-11 14:51:51 -07:00
Kevin McCarthy
b4297caa8b Small fixes to proxyprovider. 2007-09-11 14:45:53 -07:00
Kevin McCarthy
5ef768484a Adds javascript table sorting for user results
Adds tablekit: http://www.millstream.com.au/view/code/tablekit/ licensed under MIT.
2007-09-13 10:26:35 -07:00
rcritten@redhat.com
ed6ab17c9c Add function to allow user's to set/reset their kerberos password
Remove some unused calls to retrieve the current realm
2007-09-11 02:48:53 -04:00
rcritten
182fbe3094 Enable mod_proxy to sit in front of TurboGears and pass along the
kerberos principal name
Add an identity an visit class to TurboGears that can handle the user
 without requiring a database
Update the UI to show the user correctly.
Note that this is currently disabled. It is hardcoded to always return the
 principal test@FREEIPA.ORG in proxyprovider.py
It doesn't handle an unauthorized request because that can never happen.
2007-09-10 16:33:01 -04:00
Kevin McCarthy
37d10e0c51 Edit protected fields checkbox on user edit page.
(Password updating still doesn't work due to ACI though)
2007-09-10 10:02:33 -07:00
Karl MacMillan
ab0f69891d Overwrite ldappwd file to fix bug when reinstalling IPA. 0001-01-01 00:00:00 +00:00
Karl MacMillan
d15ad0f26a Update version numbers for release. 0001-01-01 00:00:00 +00:00
Kevin McCarthy
903e11631c Fix duplicate entry error to be more descriptive.
Add TurboGears to required package list
Clear password on Edit Person page.
Change uidnumber/gidnumber on Add Person to say 'Generated by server'
2007-09-07 16:53:34 -07:00
Kevin McCarthy
9bb9dbae42 Add required packages to README 2007-09-07 15:18:51 -07:00
Simo Sorce
e7cb308e06 Reference the interactive method by default 2007-09-07 16:38:30 -04:00
rcritten@redhat.com
2377e8bcb0 Add group command-line tools to the Makefile
Updated installation instructions
2007-09-07 17:49:44 -04:00
Kevin McCarthy
78bcc22c40 small release fixes:
- Make password not required for add person
- Fix for searching on '*' or ''
2007-09-07 11:07:59 -07:00
Kevin McCarthy
c821699b64 Password changes:
- remove password generator button
  - add confirm password field
2007-09-06 14:28:21 -07:00
Karl MacMillan
438b548f19 Correct installation path for dna plugin. 0001-01-01 00:00:00 +00:00
Kevin McCarthy
2adeed3029 Add search box in header.
Change account status to use select list and 'active'/'inactive' values.
Improve autosuggest to keep suggesting unless you overwrite a suggestion
(if you correct the name, it will re-suggest).
2007-09-06 11:09:12 -07:00
Karl MacMillan
268dd829df Added dna plugin to spec. 0001-01-01 00:00:00 +00:00
Kevin McCarthy
4e242b5dc1 Small UI tweeks
- Rename buttons
- Add fake "logged in as" text
- Increase font size and spacing for sidebar
- Fix search messages for no results
- Open ipa footer link in new window
2007-09-05 16:59:55 -07:00
Kevin McCarthy
d036eb0ac9 Add password expiration messages to user show/edit pages.
Add userhelper module to provide ui logic.
Fix uid/email suggest to lowercase first.
2007-09-05 15:54:04 -07:00
Kevin McCarthy
945713ca30 Fix dsinstance.py and krbinstance.py imports 2007-09-06 16:21:07 -07:00
rcritten@redhat.com
9b30f46744 Enable LDAP SASL authentication using a forwarded kerberos ticket
Handle both SASL auth and proxied authentication
Refactor LDAP connection code to be simpler
Other small bug fixes
2007-09-05 13:14:23 -04:00
Pete Rowley
82943c31de Initial commit of dna plugin - origin: FDS with fix ups 2007-09-04 15:39:53 -07:00
Simo Sorce
584baa7ee2 merge ipa-server/ipaserver/util.py into ipa-python/ipautil.py
this way freeipa-client does not depend on freeipa-server
2007-09-04 16:13:15 -04:00
Simo Sorce
48e70a4bf0 Merge with upstream 2007-09-04 15:40:24 -04:00
Simo Sorce
abeda55e34 Add password request for admin user
Set password for admin user using the Directory Mangaer account
and the mozldapldappaswd binary to get and SSL connection
Fix some timeout problems with deploying keytabs
Fix ipa_pwd_extop to actuallt correctly detect an SSL connection
Do not ask for the user to use for the directory unless 'dirsrv' is
 an existing user which may clash, create it silently
2007-08-31 18:40:01 -04:00
Simo Sorce
7a0629ea55 More DIT fixes discovered after testing 2007-08-31 18:36:54 -04:00
Kevin McCarthy
00e299467c Add account deactivation checkbox.
Fix genModList to lowercase all keys and use CIDict.
2007-08-31 10:59:26 -07:00
Kevin McCarthy
c85c8eede3 Add 'test' target to makefiles. Hook up ipautil tests to run. 2007-09-04 10:22:45 -07:00
Simo Sorce
de96b9a9da Megre in form upstream 2007-08-30 19:42:39 -04:00
Kevin McCarthy
90a34f3865 Add auto-suggest for uid and email fields. 2007-08-30 15:10:48 -07:00
Kevin McCarthy
59f843517d Add scriptaculous effects library (will add more if they become necessary).
Scriptaculous <http://script.aculo.us/> is released under an MIT license.
2007-08-30 15:05:12 -07:00
Simo Sorce
a9b9a55392 Fix copy&paste error, its not the conf files we need access to,
we need to access the generated keytabs
2007-08-30 15:31:27 -04:00
Simo Sorce
a8fe485065 Integrate corrections pointed out on the list 2007-08-30 12:23:39 -04:00
Simo Sorce
bebc413366 Finalize DIT, this is waht we are probably going to have in the end,
or something very close to this one
Add default groups and admin user

TODO: need to discuss more in deep uid/gid generation, this will
      probably change as soon as the DNA plugin is activated
2007-08-29 18:07:05 -04:00
Karl MacMillan
09621f1319 Added freeipa logo. 0001-01-01 00:00:00 +00:00
Simo Sorce
f0ebdce024 Fix copy&paste error, its not the conf files we need access to,
we need to access the generated keytabs
2007-08-30 15:31:27 -04:00
Kevin McCarthy
50450d6acb UI cleanup 2007-08-29 16:49:46 -07:00
Kevin McCarthy
e9bd8dee3b Change user search to be asynchronous.
This way it returns results even if the search times out.
The find_users() search now returns a counter as the first result, which
is set to -1 if the results are partial.
2007-08-28 16:01:07 -07:00