Commit Graph

229 Commits

Author SHA1 Message Date
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