Summary: | perl_ldap extensions | ||
---|---|---|---|
Product: | Gentoo Infrastructure | Reporter: | Christian Heim (RETIRED) <phreak> |
Component: | Other | Assignee: | Gentoo Infrastructure <infra-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 129355, 199350 | ||
Attachments: |
perl_ldap-exclude-infra-system.group.patch
perl_ldap-sorted-ouput.patch perl_ldap-lon-lat.patch perl_ldap-UTF8.patch perl_ldap-mail-from-ldap.patch revised perl_ldap-mail-from-ldap.patch perl_ldap-xml-instructions.diff perl_ldap-remove-birthday.patch |
Description
Christian Heim (RETIRED)
2007-10-20 22:34:14 UTC
Created attachment 133986 [details]
perl_ldap-exclude-infra-system.group.patch
Exclude users w/ the infra-system.group from the final userinfo.xml.
Created attachment 133988 [details]
perl_ldap-sorted-ouput.patch
Print the ldap records sorted by UID for a sorted userinfo.xml.
Created attachment 133990 [details]
perl_ldap-lon-lat.patch
Include lon/lat attributes from LDAP into userinfo.xml.
Created attachment 133993 [details]
perl_ldap-UTF8.patch
Make all data UTF8 encoded, so we don't need to decode_utf8 before saving things to the final userinfo.xml.
(In reply to comment #1) > Created an attachment (id=133986) [edit] > perl_ldap-exclude-infra-system.group.patch > > Exclude users w/ the infra-system.group from the final userinfo.xml. > excluding the attribute or excluding devs(like me,lance,robin)? it exclude accounts that have the LDAP attribute gentooAccess=infra-system.group (eg gmirror, gbittorrent, tacotest). (In reply to comment #6) > it exclude accounts that have the LDAP attribute > gentooAccess=infra-system.group (eg gmirror, gbittorrent, tacotest). > ah, I see the difference now Created attachment 134040 [details]
perl_ldap-mail-from-ldap.patch
A somewhat preliminary version of how it might be done. Still needs some discussion on whether we need the role for email-attribute at all.
Created attachment 136093 [details]
revised perl_ldap-mail-from-ldap.patch
With neysx' last commit to the the userinfo.xml, the role attribute has been obsoleted. Thus, we don't need to generate any role="" attributes either.
Created attachment 136094 [details]
perl_ldap-xml-instructions.diff
As neysx explained in #199350, c2; userinfo-devlist.xsl is no longer valid.
Created attachment 136096 [details]
perl_ldap-remove-birthday.patch
As neysx explained in private mail, the birthday attribute has been removed, thus it ain't no longer valid to be in userinfo.xml
Applied to perl_ldap, updated to dev-perl/Convert-ASN1-0.21 and latest perl-ldap, and merged the sane password-name functinality from roadrunner's perl_ldap. |