constructing attribute from two others

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I am looking to make use of the password passthru module for authentication, but have been considering the best way to do so without modifying schema.  Ultimately I may anyway, but here's the situation and question:  I need to construct an identity to use for kerberos authentication, where the kerberos user principle will be the same as the 'uid' attribute already defined for the person + @ + the AD domain.  The AD domain will be one of potentially 4 values depending on region; in my case really just one of two: "na.example.com" or "eu.example.com".

So, can I construct an attribute on the fly which is built from two other attributes?

I have already worked out that I can probably benefit from using a classic cosAttribute, defining 'locality' for each user as being 'NA' or 'EU' or possibly more specific values (what is locality generally used for? city? state? country?) and having a template which then defines the 'domain' attribute based on that locality.  Maybe it is just as easy to store the domain attribute per user directly.  Maybe I just make the locality equal to the proper domain.

But I also can consider doing something where the domain would depend upon the range that the uidNumber is in, except I don't know how to do so.  Sort of like a cosAttribute, but the value depends on the range of uidNumber, not a specific value.  A bit like using a view.  Any ideas?

-M




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux