OK, here's an example of what ldifde exported for me (I didn't put the entire entry for my user object since there are things such as phone number and address listed, but I can post the entire entry if requested; I would just mask that info out):
dn: CN=Devine\, Harry,CN=Users,DC=commonsds,DC=faa,DC=gov
changetype: add
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: user
cn: Devine, Harry
sn: Devine
Thanks,
Harry
Harry Devine
Common ARTS Software Development
AJT-144
(609)485-4218
Harry.Devine@xxxxxxx
From: | Gerrard Geldenhuis <Gerrard.Geldenhuis@xxxxxxxxxxx>
|
To: | General discussion list for the 389 Directory server project. <389-users@xxxxxxxxxxxxxxxxxxxxxxx> |
Date: | 10/25/2010 10:51 AM |
Subject: | Re: [389-users] Getting started with 389 DS |
Sent by: | 389-users-bounces@xxxxxxxxxxxxxxxxxxxxxxx |
Hi Harry,
It basically means that the object class used to define the user in the directory from which you exported the user does not exist in 389 or is not available. It might also help to post an example of the ldif file here for people to have a look at. It will make debugging your problem much easier. You could probably either import the object class or replace the objectclass with a suitably similar ojbectclass in 389 directory.
An object class is a list of attributes grouped together to define an entry. You can combine multiple object classed to have more attributes available with which to "describe" an entry.
Best Regards
________________________________________
From: 389-users-bounces@xxxxxxxxxxxxxxxxxxxxxxx [389-users-bounces@xxxxxxxxxxxxxxxxxxxxxxx] on behalf of harry.devine@xxxxxxx [harry.devine@xxxxxxx]
Sent: 25 October 2010 15:36
To: General discussion list for the 389 Directory server project.
Subject: Re: [389-users] Getting started with 389 DS
Thanks. I'll keep that in mind. While I have your attention, can I ask another question since I'm progressing along? What I ultimately want to do is migrate from Microsoft Active Directory 2003 to 389 Directory Server. I was reading up on how to export to an ldif file using ldifde. However, when I try to import the ldif file into my test 389 DS, I get an error for each user that says "entry <xxxx> has unknown object class "user" " (the <xxxx> is the CN= entry for that user).
All I've found in the docs online so far is how to sync between the DS and AD. I don't want to sync; I want to basically migrate. I can't find how to do that. Any thoughts?
Thanks!
Harry
Harry Devine
Common ARTS Software Development
AJT-144
(609)485-4218
Harry.Devine@xxxxxxx
From: Rich Megginson <rmeggins@xxxxxxxxxx>
To: "General discussion list for the 389 Directory server project." <389-users@xxxxxxxxxxxxxxxxxxxxxxx>
Cc: 389-users-bounces@xxxxxxxxxxxxxxxxxxxxxxx
Date: 10/25/2010 10:25 AM
Subject: Re: [389-users] Getting started with 389 DS
Sent by: 389-users-bounces@xxxxxxxxxxxxxxxxxxxxxxx
________________________________
harry.devine@xxxxxxx wrote:
>
> Just a follow up: I was able to log in. I turned off the software
> firewall and used "cn=Directory Manager" as the User ID and was able
> to log in. This machine is isolated so there's low risk in having the
> firewall off. When I get further along, I can turn it back on with
> 9830 added as a acceptable port I suppose.
Yes. You will need to open 389, 636, and 9830
>
> Thanks for the help, and sorry about the noise.
> Harry
>
> Harry Devine
> Common ARTS Software Development
> AJT-144
> (609)485-4218
> Harry.Devine@xxxxxxx
>
>
> From: Rich Megginson <rmeggins@xxxxxxxxxx>
> To: "General discussion list for the 389 Directory server project."
> <389-users@xxxxxxxxxxxxxxxxxxxxxxx>
> Date: 10/22/2010 04:29 PM
> Subject: Re: [389-users] Getting started with 389 DS
> Sent by: 389-users-bounces@xxxxxxxxxxxxxxxxxxxxxxx
>
>
> ------------------------------------------------------------------------
>
>
>
> harry.devine@xxxxxxx wrote:
> >
> > I just installed 389 DS on a laptop running CentOS 5.4 to start
> > getting familiar with it. I got it installed correctly (answered all
> > of the questions in the setup-ds-admin.pl script, verified that the
> > dirsrv and dirsrv-admin services are running), but when I run the
> > 389-console, I can't log in. I'm entering the username and password
> > that I used in the setup script, but I keep getting "Cannot login
> > because of an incorrect User ID, incorrect password, or Directory
> > problem. java.io.InterruptedIOException: HTTP response timeout".
> Check the logs - what is in /var/log/dirsrv/admin-serv/error?
> /var/log/dirsrv/slapd-YOURINSTANCE/errors?
> /var/log/dirsrv/slapd-YOURINSTANCE/access?
>
> You can also run the console with -D 9 -f console.log to get more
> verbose output
> >
> > What am I doing wrong? I'm trying to follow the docs at
> > http://directory.fedoraproject.org/wiki/Documentation but they seem to
> > jump all over the place. I did find a tutorial at
> > http://www.linuxmail.info/389-directory-server-setup-howto-centos-5/,
> > but I'm stuck at the first step under "Administering 389 Directory
> > Server". Do I have to reinstall the 389 DS? Is there a place that I
> > can clear out/reset the admin password to get in?
> >
> > Thanks,
> > Harry
> >
> > Harry Devine
> > Common ARTS Software Development
> > AJT-144
> > (609)485-4218
> > Harry.Devine@xxxxxxx
> > ------------------------------------------------------------------------
> >
> > --
> > 389 users mailing list
> > 389-users@xxxxxxxxxxxxxxxxxxxxxxx
> > https://admin.fedoraproject.org/mailman/listinfo/389-users
>
> --
> 389 users mailing list
> 389-users@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/389-users
>
>
> ------------------------------------------------------------------------
>
> --
> 389 users mailing list
> 389-users@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/389-users
--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users
________________________________________________________________________
In order to protect our email recipients, Betfair Group use SkyScan from
MessageLabs to scan all Incoming and Outgoing mail for viruses.
________________________________________________________________________
--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users
-- 389 users mailing list 389-users@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/389-users