| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
request.
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
| |
Also a couple double-escaping fixes I missed in the last patch.
|
|
|
|
|
|
| |
- illegal dn characters need to be escaped
- null characters in search filters
- dynamicedit.js was double html escaping (the python layer does it already)
|
| |
|
|
|
|
|
|
| |
Modify the way we detect SELinux to use selinuxenabled instead of using
a try/except.
Handle SASL/GSSAPI authentication failures when getting a connection
|
| |
|
|
|
|
| |
"use group DN" patch. This fixes it.
|
|
|
|
|
| |
Add new class of errors for connections
Raise an exception if a connection cannot be made due to missing ccache
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Added a couple more API calls to make the inverse operations easier.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
| |
Renamed some of the user_group parameters to be self-evident.
Binary wrapping isn't necessary on strings, so removed from xmlrpc calls.
|
|
|
|
| |
Fixes a bug with the group by member where is wasn't trapping not found errors.
|
| |
|
| |
|
|
|
|
| |
PythonOption IPADebug On/Off
|
|
|
|
| |
anymore and that failure just causes more confusion.
|
|\ |
|
| |
| |
| |
| |
| | |
Still some refinements that can be done, but at least it shows the failures
now.
|
| |
| |
| |
| | |
Use the filter generation code to search on multiple fields.
|
| |
| |
| |
| |
| | |
Limit editgroup user ajax search.
Minor UI cleanup for editgroup.
|
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
| |
Remove some unused calls to retrieve the current realm
|
|
|
|
|
| |
- Make password not required for add person
- Fix for searching on '*' or ''
|
|
|
|
|
|
| |
Handle both SASL auth and proxied authentication
Refactor LDAP connection code to be simpler
Other small bug fixes
|
|
|
|
| |
this way freeipa-client does not depend on freeipa-server
|
|\ |
|
| |
| |
| |
| | |
Fix genModList to lowercase all keys and use CIDict.
|
|\| |
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| | |
Add fields to search results
Put result() call inside try block - it's throwing an exception
Trap ADMINLIMIT and SIZELIMIT exceptions
|
| |
| |
| |
| |
| |
| | |
Implement adding a group to a group
Some other small fixups
Add new cmd-line tool ipa-delgroup
|
|/
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
removes the need for LDIF conversion. It will make TurboGears direct
code faster, but should keep xmlrpc about the same speed.
The patch also swaps out ldap.cidict for the IPA CIDict class. IPA code
should only use the CIDict class now.
|
|
|
|
|
|
|
|
|
|
| |
- "configurable" fields to search on
- tokenize search words
- prioritize exact matches over partial matches
- split match filter generation into a re-usable function.
Other updates:
- use finally block to return ldap connections
- update web gui to use new get_user methods
|
|
|
|
| |
Put a try/except around attempts to determine user uniqueness
|
|
|
|
|
|
|
|
|
| |
Create separate object for Users and Groups (using same base class)
Check for uniqueness before adding new users and groups
Remove user_container from everything but add operations
Abstract out a number of functions that are common across users and groups
Make sure all strings passed in to be in a filter are checked
Add new error message: No modifications specified
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
rpcclient.py must call XML-RPC functions with all arguments.
Removed encode_args and decode_args. They were the source of most of the
argument pain. Now opts is alwyas appended to the end of the arguments
so MUST be the last argument in any server-side function (can be None)
Allow the User object to handle unicode data
Small fixes to command-line tools to be friendlier
Broke out get_user() into get_user_by_dn() and get_user_by_uid()
Need to request more than just 'nsAccountLock' attribute when trying to
see if a user is already marked deleted. If it is blank the record
coming back is empty. Add 'uid' to the list to guarantee something coming
back (dn is handled specially)
Added user_container attribute to get_user_* and add_user so the caller
can specify where in the tree the user will be searched for/added.
Added global default value for user_container
|
|
|
|
|
|
| |
Move LDAPError trapping/conversion into the ipaldap module.
Fix xmlrpc layer to encode/decode ipaerrors properly.
Also, implement mid-air collision exception for updates.
|
| |
|
| |
|
|
|
|
|
| |
object. Based on rcrit's original patch.
Push scalar to list value conversion inside funcs.py.
|
|
|
|
|
| |
fix update to set 'cn' instead of 'sn'.
remove str() in funcs.add_user().
|
| |
|