LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-01-2008, 06:41 AM   #1
ajeetraina
Member
 
Registered: Jun 2007
Location: India
Distribution: Ubuntu,Red Hat, Fedora
Posts: 292

Rep: Reputation: 30
Migration from NIS to LDAP???


I have configured Fedora DS running with the clients Solaris, HP Unix,Ubuntu,RHEL and CentOS machines.I want now to migrate the NIS Database into LDAP format.All I donwloaded the scripts like migrate_passwd.pl,migrate_group,migrate_hosts etc.Migrate_passwd ran well but when I tried to import the database into Fedora DS it displayed the follwing error:
--------------------------------------------------------------------
cn=fmaster,ou=Group,dc=im,dc=logica,dc=com: Error adding object 'dn: cn=fmaster,ou=Group,dc=im,dc=logica,dc=com'. The error sent by the server was 'No such object'. The object is: LDAPEntry: cn=fmaster,ou=Group,dc=im,dc=logica,dc=com; LDAPAttributeSet: LDAPAttribute {type='gidnumber', values='501'} LDAPAttribute {type='userpassword', values='{crypt}!'} LDAPAttribute {type='objectclass', values='posixGroup,top'} LDAPAttribute {type='cn', values='fmaster'}.
cn=manish,ou=Group,dc=im,dc=logica,dc=com: Error adding object 'dn: cn=manish,ou=Group,dc=im,dc=logica,dc=com'. The error sent by the server was 'No such object'. The object is: LDAPEntry: cn=manish,ou=Group,dc=im,dc=logica,dc=com; LDAPAttributeSet: LDAPAttribute {type='gidnumber', values='502'} LDAPAttribute {type='userpassword', values='{crypt}!'} LDAPAttribute {type='objectclass', values='posixGroup,top'} LDAPAttribute {type='cn', values='manish'}.
---------------------------------------------------------------------

My group.ldif file is :
-------------------------------------------------------------------
dn: cn=fmaster,ou=Group,dc=im,dc=logica,dc=com
objectClass: posixGroup
objectClass: top
cn: fmaster
userPassword: {crypt}!
gidNumber: 501

dn: cn=manish,ou=Group,dc=im,dc=logica,dc=com
objectClass: posixGroup
objectClass: top
cn: manish
userPassword: {crypt}!
gidNumber: 502

dn: cn=noorie,ou=Group,dc=im,dc=logica,dc=com
objectClass: posixGroup
objectClass: top
cn: noorie
userPassword: {crypt}!
gidNumber: 503

-----------------------------------------------------------------

Pls Help???
 
Old 02-01-2008, 03:43 PM   #2
frndrfoe
Member
 
Registered: Jan 2008
Distribution: RHEL, CentOS, Ubuntu
Posts: 379

Rep: Reputation: 38
Have you configured slapd.conf?

If so, Maybe it is trying to create objects in the Group organizational unit before it has created the Group ou.

Last edited by frndrfoe; 02-01-2008 at 03:54 PM. Reason: comment
 
Old 02-04-2008, 06:51 AM   #3
ajeetraina
Member
 
Registered: Jun 2007
Location: India
Distribution: Ubuntu,Red Hat, Fedora
Posts: 292

Original Poster
Rep: Reputation: 30
Hey...I got it done...refer https://www.redhat.com/archives/fedo.../msg00009.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Domain migration 2K3 to samba ldap procfs Linux - Security 1 07-17-2006 01:29 AM
How i use Nis or LDAP sfahadtariq Linux - Networking 1 01-16-2006 03:09 PM
User migration from Samba to NIS ice_hockey Linux - Networking 1 05-16-2005 09:23 PM
Migration of NIS+ from 2.6 to 2.8 ]un]ie Solaris / OpenSolaris 2 03-04-2005 11:15 PM
LDAP and NIS Dark_Helmet Linux - Networking 3 11-29-2004 02:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration