[Patches] [ python-Patches-1422385 ] Changes to nis module to support multiple NIS domains
SourceForge.net
noreply at sourceforge.net
Sat Feb 4 16:32:39 CET 2006
Patches item #1422385, was opened at 2006-02-02 11:26
Message generated for change (Comment added) made by csuwi
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1422385&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Modules
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Ben Bell (csuwi)
Assigned to: Nobody/Anonymous (nobody)
Summary: Changes to nis module to support multiple NIS domains
Initial Comment:
The nis module currently has no way to access nis
domains other than the default NIS domain. This is
fairly easy to achieve via the C API and so I've
patched it.
Summary of changes:
I've added a new get_default_domain() function and
exposed it to python.
I've added an optional "domain" keyword arg to the cat,
maps and match arguments but defaulted it to the
default domain to ensure backwards compatibility.
----------------------------------------------------------------------
>Comment By: Ben Bell (csuwi)
Date: 2006-02-04 15:32
Message:
Logged In: YES
user_id=145982
Sorry, uploaded this time
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2006-02-04 11:34
Message:
Logged In: YES
user_id=21627
Can you please attach the new patch to the report?
----------------------------------------------------------------------
Comment By: Ben Bell (csuwi)
Date: 2006-02-02 12:02
Message:
Logged In: YES
user_id=145982
The previous patch was a little lazy. I've now taken the
opportunity to add module doc and fix the two compile time
warnings as well. New diff attached.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1422385&group_id=5470
More information about the Patches
mailing list