Existing User Accounts

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

 



You would add a new objectclass to the objects that were created when 
you imported the passwd file.

For example, if your account objects were created with the following 
objectclasses:
objectClass: top
objectClass: account
objectClass: posixAccount
objectClass: shadowAccount

...then they will have no mail attribute.

So, you could add:
objectClass: inetOrgPerson
for each, and then you can also populate "mail" for each.

You can make these changes with ldapmodify, or the console, or whatever 
you prefer.   You could also tweak the migrate_passwd.pl script and 
re-import everything, if you want.

There are other ways you could store email addresses in your directory, 
but the above example is probably what you're trying to do.


Esquivel, Vicente wrote:
> Ok I am a total newbie to the Directory so bear with me.  Do you accomplish this by going to the configuration tab then selecting schema?
>
> Vince 
>
>   
>> -----Original Message-----
>> From: fedora-directory-users-bounces at redhat.com 
>> [mailto:fedora-directory-users-bounces at redhat.com] On Behalf 
>> Of George Holbert
>> Sent: Friday, April 07, 2006 3:22 PM
>> To: General discussion list for the Fedora Directory server project.
>> Subject: Re: Existing User Accounts
>>
>> The usual attribute for email addresses is "mail".
>> You may need to add another objectclass (like inetOrgPerson) 
>> to your objects in order for the mail attribute to be available.
>>
>> Esquivel, Vicente wrote:
>>     
>>> Thanks for the reply.
>>>
>>> I ran the scripts and was able to get all of the users 
>>>       
>> imported into the Directory server.  The only question is how 
>> do I get their email address into the Directory of the passwd 
>> and shadow file information?
>>     
>>> Thanks
>>> Vince
>>>
>>>   
>>>       
>>>> -----Original Message-----
>>>> From: fedora-directory-users-bounces at redhat.com
>>>> [mailto:fedora-directory-users-bounces at redhat.com] On 
>>>>         
>> Behalf Of Oscar 
>>     
>>>> A. Valdez
>>>> Sent: Thursday, April 06, 2006 10:38 AM
>>>> To: General discussion list for the Fedora Directory 
>>>>         
>> server project.
>>     
>>>> Subject: Re: Existing User Accounts
>>>>
>>>> El jue, 06-04-2006 a las 09:49 -0500, Esquivel, Vicente escribi?:
>>>>     
>>>>         
>>>>> I have the Directory server up and running.  My question is
>>>>>       
>>>>>           
>>>> how to get
>>>>     
>>>>         
>>>>> the user accounts from one of my servers into the
>>>>>       
>>>>>           
>>>> directory?  I do not
>>>>     
>>>>         
>>>>> have an existing ldap or nis server, we are using local systems 
>>>>> account creation and authentication.  I did a search through the 
>>>>> archives but wasn't able to come up with anything.  Any
>>>>>       
>>>>>           
>>>> insight would
>>>>     
>>>>         
>>>>> be very helpful and appreciated.
>>>>>       
>>>>>           
>>>> Try the Migration Tools from PADL software (they are also the 
>>>> creators of the nss_ldap and pam_ldap modules):
>>>>
>>>> http://www.padl.com/OSS/MigrationTools.html
>>>>
>>>> You first have to edit migrate_base.pl for your 
>>>>         
>> organization's naming 
>>     
>>>> context. The scripts migrate_passwd.pl, migrate_group.pl, 
>>>> migrate_aliases.pl, etc., will do what their names suggest. They 
>>>> output in ldif format to standard output, so you can tweak the 
>>>> results before importing into your DS server.
>>>>
>>>> After importing my existing users, I wrote my own script 
>>>>         
>> for new user 
>>     
>>>> creation that generates the ldif stuff.
>>>>
>>>> --
>>>> Oscar A. Valdez
>>>>
>>>> --
>>>> Fedora-directory-users mailing list
>>>> Fedora-directory-users at redhat.com
>>>> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>>>>
>>>>     
>>>>         
>>> --
>>> Fedora-directory-users mailing list
>>> Fedora-directory-users at redhat.com
>>> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>>>
>>>   
>>>       
>>
>> --
>> Fedora-directory-users mailing list
>> Fedora-directory-users at redhat.com
>> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>>
>>     
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>
>   






[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