[CalendarServer-changes] [2327] PyKerberos/trunk/pysrc/kerberos.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Apr 18 10:23:13 PDT 2008
Revision: 2327
http://trac.macosforge.org/projects/calendarserver/changeset/2327
Author: wsanchez at apple.com
Date: 2008-04-18 10:23:07 -0700 (Fri, 18 Apr 2008)
Log Message:
-----------
Add docstring.
Modified Paths:
--------------
PyKerberos/trunk/pysrc/kerberos.py
Modified: PyKerberos/trunk/pysrc/kerberos.py
===================================================================
--- PyKerberos/trunk/pysrc/kerberos.py 2008-04-16 20:35:25 UTC (rev 2326)
+++ PyKerberos/trunk/pysrc/kerberos.py 2008-04-18 17:23:07 UTC (rev 2327)
@@ -55,6 +55,19 @@
@return: True if authentication succeeds, False otherwise.
"""
+def changePassword(user, oldpswd, newpswd):
+ """
+ This function allows to change the user password on the KDC.
+
+ @param user: a string containing the Kerberos user name. A realm may be
+ included by appending an '@' followed by the realm string to the actual user id.
+ If no realm is supplied, then the realm set in the default_realm argument will
+ be used.
+ @param oldpswd: a string containing the old (current) password for the user.
+ @param newpswd: a string containging the new password for the user.
+ @return: True if password changing succeeds, False otherwise.
+ """
+
def getServerPrincipalDetails(service, hostname):
"""
This function returns the service principal for the server given a service type
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080418/590cbfdf/attachment.html
More information about the calendarserver-changes
mailing list