[389-users] Add attributes to user objects.

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

 



Hello,
I want to associate servers to user objects in my directory using
attributes that contain the server names. I want to do this so I can query
the directory based on the attributes.
In the end I would like to map drives based upon a attribute that
contains a server name or at least gather the needed server names by
searching the user..
So for example I have an existing user object..

dn: uid=test_user,dc=example,dc=com
title: test account
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: top
objectClass: posixAccount
objectClass: shadowaccount
homeDirectory: /export/home/test_user
gidNumber: 1000
uidNumber: 1000
loginShell: /bin/bash
sn: user
cn: test_user
st: Wyoming
mail: a at a.com
givenName: test
description: test user
uid: test_user

Now I have many users with drives on different servers based upon
their geographic location. I would like to add the server names to the
user object using an attribute. For example server1: mp3 server,
server2:mp4server.. With the object classes I have i do not see a
attribute that I can use that jumps out at me.

What attribute can I use without having to extend the schema? Is there
an ext_attribute like Active Directory uses?
I am looking into the schema now but perhaps someone has already done this.

The account would look something like below with the server1, and
server2 attributes. I understand I would need to create an objectClass
if I cannot find existing attributes but I hope to avoid that. There
has got to be some auxiliary attributes I can use right?

dn: uid=test_user,dc=example,dc=com
title: test account
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: top
objectClass: posixAccount
objectClass: shadowaccount
homeDirectory: /export/home/test_user
gidNumber: 1000
uidNumber: 1000
loginShell: /bin/bash
sn: user
cn: test_user
st: Wyoming
mail: a at a.comgivenName: test
description: test user
uid: test_user
server1: mp3server
server2: mp4server




[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