summaryrefslogtreecommitdiffstats
path: root/ipa-server/ipaserver
Commit message (Collapse)AuthorAgeFilesLines
* - 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
* 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
* 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
* Try to catch more error conditions during installationrcritten@redhat.com2007-10-033-21/+82
| | | | | | Modify the way we detect SELinux to use selinuxenabled instead of using a try/except. Handle SASL/GSSAPI authentication failures when getting a connection
* Misc small fixesKarl MacMillan2007-09-281-1/+1
| | | | | | | * 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.
* Misc small fixes:Kevin McCarthy2007-09-251-1/+2
| | | | | | | | | | - 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
* Adds methods to manipulate groups by dns.Kevin McCarthy2007-09-261-1/+1
| | | | | Renamed some of the user_group parameters to be self-evident. Binary wrapping isn't necessary on strings, so removed from xmlrpc calls.
* Enable LDAP debugging using the mod_python Apache configuration directivercritten@redhat.com2007-09-211-2/+3
| | | | PythonOption IPADebug On/Off
* Merge with upstreamSimo Sorce2007-09-201-3/+21
|\
| * Use ticket forwarding with TurboGears. mod_proxy forwards the principalrcritten@redhat.com2007-09-141-3/+3
| | | | | | | | | | | | 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.
| * Add function to allow user's to set/reset their kerberos passwordrcritten@redhat.com2007-09-111-0/+18
| | | | | | | | Remove some unused calls to retrieve the current realm
* | Initial support for confiuguring a DNS Server during installation.Simo Sorce2007-09-202-9/+116
|/ | | | It's not perfect yet but good enough to include it.
* Overwrite ldappwd file to fix bug when reinstalling IPA.Karl MacMillan2007-09-111-1/+1
|
* Fix dsinstance.py and krbinstance.py importsKevin McCarthy2007-09-062-2/+2
|
* Enable LDAP SASL authentication using a forwarded kerberos ticketrcritten@redhat.com2007-09-051-16/+39
| | | | | | Handle both SASL auth and proxied authentication Refactor LDAP connection code to be simpler Other small bug fixes
* merge ipa-server/ipaserver/util.py into ipa-python/ipautil.pySimo Sorce2007-09-041-80/+0
| | | | this way freeipa-client does not depend on freeipa-server
* Merge with upstreamSimo Sorce2007-09-041-2/+6
|\
| * Add account deactivation checkbox.Kevin McCarthy2007-08-311-2/+6
| | | | | | | | Fix genModList to lowercase all keys and use CIDict.
* | Add password request for admin userSimo Sorce2007-08-312-10/+46
|/ | | | | | | | | 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
* Fix copy&paste error, its not the conf files we need access to,Simo Sorce2007-08-301-2/+2
| | | | we need to access the generated keytabs
* Change user search to be asynchronous.Kevin McCarthy2007-08-281-0/+38
| | | | | | 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.
* Changes for larger data demo.Kevin McCarthy2007-08-281-2/+5
| | | | | | Add fields to search results Put result() call inside try block - it's throwing an exception Trap ADMINLIMIT and SIZELIMIT exceptions
* Implement delete users and groupsrcritten@redhat.com2007-08-281-0/+12
| | | | | | Implement adding a group to a group Some other small fixups Add new cmd-line tool ipa-delgroup
* This patch wraps binary data in an xmlrpclib Binary object. ThisKarl MacMillan2007-08-281-5/+5
| | | | | | | | 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.
* Initial support for Groupsrcritten@redhat.com2007-08-241-0/+3
| | | | | | | | | 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
* Handle optional arguments by using the value __NONE__ over XML-RPC.rcritten@redhat.com2007-08-231-35/+0
| | | | | | | | | | | | | | | | | 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
* Create ipaerror module.Kevin McCarthy2007-08-221-21/+30
| | | | | | Move LDAPError trapping/conversion into the ipaldap module. Fix xmlrpc layer to encode/decode ipaerrors properly. Also, implement mid-air collision exception for updates.
* Improved modlist generator.Kevin McCarthy2007-08-201-3/+34
|