Talk About Network

Google





Software > ADSI General > Re: Im****ting ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 4 Topic 5346 of 5437
Post > Topic >>

Re: Im****ting ldif file

by =?Utf-8?B?VG9kZCBLYXBsaW5nZXI=?= <ToddKaplinger@[EMAIL PROTECTED] Aug 1, 2008 at 05:11 AM

Can you tell me how to create these partitions?  I am assuming I can do
this 
from the command line similar to im****ting the ldif.  This ADAM instance
is a 
fresh install and all I want to do is im****t an ldif from another
directory 
server that I use for testing.


"Joe Kaplan" wrote:

> Do you have partition named DC=myco,DC=biz in your ADAM instance?  You
can't 
> create objects under that partition if it doesn't exist.  It seems like
you 
> don't since ADAM is issuing a referral to that partition.
> 
> Joe K.
> -- 
> Joe Kaplan-MS MVP Directory Services Programming
> Co-author of "The .NET Developer's Guide to Directory Services
Programming"
> http://www.directoryprogramming.net
> --
> "Todd Kaplinger" <Todd Kaplinger@[EMAIL PROTECTED]
> wrote in
message 
> news:9CA9D8E3-C157-4453-B376-1D118762ADD3@[EMAIL PROTECTED]
> >I am having trouble im****ting this ldif file via ADAM.  I am using the
> > following command to no avail.  Any pointers would be welcome.
> >
> >
> > C:\WINNT\ADAM>ldifde.exe -i -f
> > \blddir\web.zero\zero.core.security.tests\config\
> > userservice_ldap\myyourco.ldif -s "todkaptp:389" -v
> > Connecting to "todkaptp:389"
> > Logging in as current user using SSPI
> > Im****ting directory from file
> > "\blddir\web.zero\zero.core.security.tests\config\
> > userservice_ldap\myyourco.ldif"
> > Loading entries
> > 1: o=hq,dc=myco,dc=biz
> >
> > Add error on line 17: Referral
> > The server side error is: 0x202b A referral was returned from the
server.
> > The extended server error is:
> > 0000202B: RefErr: DSID-0310073F, data 0, 1 access points
> >        ref 1: 'myco.biz'
> >
> > 0 entries modified successfully.
> > An error has occurred in the program
> > No log files were written.  In order to generate a log file, please
> > specify the log file path via the -j option.
> >
> >
> >
> > *************** beginning of file ***************
> > #myco.biz
> > #inetOrgPerson & groupOfUniqueNames
> > #uid is used for a user id.
> > #
> >
> > dn: o=hq,dc=myco,dc=biz
> > objectClass: organization
> > objectClass: top
> > o: hq
> > description: hq
> >
> > dn: ou=group,o=hq,dc=myco,dc=biz
> > objectClass: organizationalUnit
> > objectClass: top
> > ou: group
> > description: groups
> >
> > dn: ou=people,o=hq,dc=myco,dc=biz
> > objectClass: organizationalUnit
> > objectClass: top
> > ou: people
> > description: hq people
> >
> > dn: o=us,o=hq,dc=myco,dc=biz
> > objectClass: organization
> > objectClass: top
> > o: us
> > description: us
> >
> > dn: ou=group,o=us,o=hq,dc=myco,dc=biz
> > objectClass: organizationalUnit
> > objectClass: top
> > ou: group
> > description: us group
> >
> > dn: ou=people,o=us,o=hq,dc=myco,dc=biz
> > objectClass: organizationalUnit
> > objectClass: top
> > ou: people
> > description: us people
> >
> > dn: uid=mdavis,ou=people,o=hq,dc=myco,dc=biz
> > objectClass: top
> > objectClass: inetOrgPerson
> > cn: Miles Davis
> > sn: Davis
> > userPassword: md
> > uid: mdavis
> > mail: mdavis@[EMAIL PROTECTED]
> >
> > dn: uid=afranklin,ou=people,o=hq,dc=myco,dc=biz
> > objectClass: top
> > objectClass: inetOrgPerson
> > cn: Aretha Franklin
> > sn: Franklin
> > userPassword: af
> > uid: afranklin
> > mail: afranklin@[EMAIL PROTECTED]
> >
> > dn: uid=rjohnson,ou=people,o=us,o=hq,dc=myco,dc=biz
> > objectClass: top
> > objectClass: inetOrgPerson
> > cn: Robert Johnson
> > sn: Johnson
> > userPassword: rj
> > uid: rjohnson
> > mail: rjohnson@[EMAIL PROTECTED]
> >
> > dn: uid=dfagen,ou=people,o=us,o=hq,dc=myco,dc=biz
> > objectClass: top
> > objectClass: inetOrgPerson
> > cn: Donald Fagen
> > sn: Fagen
> > userPassword: df
> > uid: dfagen
> > mail: dfagen@[EMAIL PROTECTED]
> >
> > dn: cn=Manager,ou=group,o=hq,dc=myco,dc=biz
> > objectClass: top
> > objectClass: groupOfUniqueNames
> > cn: Manager
> > uniqueMember: uid=mdavis,ou=people,o=hq,dc=myco,dc=biz
> >
> > dn: cn=Employee,ou=group,o=hq,dc=myco,dc=biz
> > objectClass: top
> > objectClass: groupOfUniqueNames
> > cn: Employee
> > uniqueMember: uid=mdavis,ou=people,o=hq,dc=myco,dc=biz
> > uniqueMember: uid=afranklin,ou=people,o=hq,dc=myco,dc=biz
> > uniqueMember: uid=rjohnson,ou=people,o=us,o=hq,dc=myco,dc=biz
> > uniqueMember: uid=dfagen,ou=people,o=us,o=hq,dc=myco,dc=biz
> >
> > dn: cn=Contractor,ou=group,o=us,o=hq,dc=myco,dc=biz
> > objectClass: top
> > objectClass: groupOfUniqueNames
> > cn: Contractor
> > uniqueMember: uid=dfagen,ou=people,o=us,o=hq,dc=myco,dc=biz
> >
> > #
> > #yourco.com
> > #person & groupOfNames
> > #cn is used for a user id.
> > #
> >
> > dn: o=hq,dc=yourco,dc=com
> > objectClass: organization
> > objectClass: top
> > o: hq
> > description: hq
> >
> > dn: ou=group,o=hq,dc=yourco,dc=com
> > objectClass: organizationalUnit
> > objectClass: top
> > ou: groups
> > description: groups
> >
> > dn: ou=people,o=hq,dc=yourco,dc=com
> > objectClass: organizationalUnit
> > objectClass: top
> > ou: people
> > description: hq people
> >
> > dn: o=us,o=hq,dc=yourco,dc=com
> > objectClass: organization
> > objectClass: top
> > o: us
> > description: us
> >
> > dn: ou=people,o=us,o=hq,dc=yourco,dc=com
> > objectClass: organizationalUnit
> > objectClass: top
> > ou: people
> > description: us people
> >
> > dn: ou=group,o=us,o=hq,dc=yourco,dc=com
> > objectClass: organizationalUnit
> > objectClass: top
> > ou: group
> > description: us group
> >
> > dn: cn=bevans,ou=people,o=hq,dc=yourco,dc=com
> > objectClass: top
> > objectClass: person
> > cn: bevans
> > sn: Evans
> > userPassword: be
> >
> > dn: cn=ckhan,ou=people,o=hq,dc=yourco,dc=com
> > objectClass: top
> > objectClass: person
> > cn: ckhan
> > sn: Khan
> > userPassword: ck
> >
> > dn: cn=mwaters,ou=people,o=us,o=hq,dc=yourco,dc=com
> > objectClass: top
> > objectClass: person
> > cn: mwaters
> > sn: Waters
> > userPassword: mw
> >
> > dn: cn=eclapton,ou=people,o=us,o=hq,dc=yourco,dc=com
> > objectClass: top
> > objectClass: person
> > cn: eclapton
> > sn: Clapton
> > userPassword: ec
> >
> > dn: cn=Manager,ou=group,o=hq,dc=yourco,dc=com
> > objectClass: top
> > objectClass: groupOfNames
> > cn: Manager
> > member: cn=bevans,ou=people,o=hq,dc=yourco,dc=com
> >
> > dn: cn=Employee,ou=group,o=hq,dc=yourco,dc=com
> > objectClass: top
> > objectClass: groupOfNames
> > cn: Employee
> > member: cn=bevans,ou=people,o=hq,dc=yourco,dc=com
> > member: cn=ckhan,ou=people,o=hq,dc=yourco,dc=com
> > member: cn=mwaters,ou=people,o=us,o=hq,dc=yourco,dc=com
> > member: cn=eclapton,ou=people,o=us,o=hq,dc=yourco,dc=com
> >
> > dn: cn=Contractor,ou=group,o=us,o=hq,dc=yourco,dc=com
> > objectClass: top
> > objectClass: groupOfNames
> > cn: Contractor
> > member: cn=eclapton,ou=people,o=us,o=hq,dc=yourco,dc=com
> >
> > *************** end of file *************** 
> 
> 
>
 




 4 Posts in Topic:
Importing ldif file
=?Utf-8?B?VG9kZCBLYXBsaW5  2008-07-31 17:41:01 
Re: Importing ldif file
"Joe Kaplan" &l  2008-07-31 21:36:21 
Re: Importing ldif file
=?Utf-8?B?VG9kZCBLYXBsaW5  2008-08-01 05:11:01 
Re: Importing ldif file
"Joe Kaplan" &l  2008-08-01 13:54:27 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Thu Jan 8 20:42:21 PST 2009.