[Fedora-directory-users] Migrating the NIS Database into Fedora DS ???

Enrico M. V. Fasanelli Enrico.M.V.Fasanelli at le.infn.it
Fri Feb 1 14:38:07 UTC 2008


Hi,

by default, FDS does no have any ou=Group container. It uses ou=Groups, 
instead.

If you need to use ou=Group, you mus create it before.

Ciao,
	Enrico

Singh Raina, Ajeet wrote:
> I have configured Fedora DS with SSL on RHEL 4.0 machine. I tried to 
> migrate the NIS Databases to LDIF format running the migration script.
> 
> The migrate_passwd.pl and migrate_netgroup.pl ran successfully and I can 
> even import them into the Fedora DS database through fedora DS Console.
> 
> But when I tried to import the group.ldif file into the fedora DS it 
> showed the following error:
> 
>  
> 
>  
> 
>  
> 
> Few of the Output:
> 
> 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'}.
> 
>  
> 
>  
> 
> File : /etc/group:
> 
>  
> 
> fmaster:!:501:
> 
> manish:!:502:
> 
> noorie:!:503:
> 
> osharma:!:504:
> 
> fmister:!:505:
> 
> test:!:506:
> 
> tester:!:507:
> 
> karim:!:508:
> 
> chirag:!:509:
> 
> fedorauser:x:510:
> 
> ntop:x:101:
> 
> nagios:x:512:
> 
> nagcmd:x:513:nagios,apache
> 
> mysql:x:102:
> 
> purushottam:x:514:
> 
> sijo:x:515:
> 
> fdsuser:x:516:
> 
> project:x:517:
> 
> fmast:x:518:
> 
> ldap:x:519:
> 
>  
> 
>  
> 
>  
> 
>  
> 
> File: /tmp/group.ldif
> 
>  
> 
> 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
> 
>  
> 
>  
> 
> Any idea why it is showing the error????
> 
> 
> 
> This e-mail and any attachment is for authorised use by the intended 
> recipient(s) only. It may contain proprietary material, confidential 
> information and/or be subject to legal privilege. It should not be 
> copied, disclosed to, retained or used by, any other party. If you are 
> not an intended recipient then please promptly delete this e-mail and 
> any attachment and all copies and inform the sender. Thank you.
> 
> 
> ------------------------------------------------------------------------
> 
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users

-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Enrico_M_V_Fasanelli.vcf
Type: text/x-vcard
Size: 289 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20080201/edef70d3/attachment.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2954 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20080201/edef70d3/attachment.bin>


More information about the 389-users mailing list