Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > ADSI General > Im****ting ldif...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 5346 of 5422
Post > Topic >>

Im****ting ldif file

by =?Utf-8?B?VG9kZCBLYXBsaW5nZXI=?= <Todd Kaplinger@[EMAIL PROTECTED] Jul 31, 2008 at 05:41 PM

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]
 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]
 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]
 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]
 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
tan12V112 Tue Dec 2 4:08:18 CST 2008.