Singh Raina, Ajeet
2008-Feb-01 13:58 UTC
[Fedora-directory-users] Migrating the NIS Database into Fedora DS ???
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.
Enrico M. V. Fasanelli
2008-Feb-01 14:38 UTC
Re: [Fedora-directory-users] Migrating the NIS Database into Fedora DS ???
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@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users--