PTC/USER Portal

Welcome, Lawrence Jett - PTC/USER Members

05:42 PM America/Central

LDAP export

LDAP export

Nov 10, 2005 04:35 AM


Hi,

I'm trying make an export of the ldap by using the export command.
When i write it in the cmd window it works fine. But when i try to do a bat-file it just don't work.

What do i do wrong or is there any better way to backup the ldap database?
"""""""""""""""""""""""""""""""""""""""""""""""""""
@echo on

call R:\usr\sbin\lde>export -f R:\usr\var\lde\PTCLdap\PTCLdap_lde.conf backup.ldif

@echo on

###########################

Thanks,
/Magnus

RE: LDAP export

Nov 10, 2005 05:38 AM



RE: LDAP export

Nov 10, 2005 06:51 AM


On a related note, I need to just export the people branch. Can that be done with the export command?

Wes

(559) 292-1981 x3438
559.940.3991
(Sent from Blackberry...)

-----Original Message-----
From: bounce-infrastructure-181784@lists.ptcuser.org <bounce-infrastructure-181784@lists.ptcuser.org>
To: PTC/USER Windchill Infrastructure Discussion <infrastructure@lists.ptcuser.org>
Sent: Thu Nov 10 03:38:57 2005
Subject: [infrastructure] RE: LDAP export

following bat file works for me :-)

@echo on
r:
cd r:\usr\sbin\lde
export -c "" -f R:\usr\var\lde\PTCLdap\PTCLdap_lde.conf -o c:\tmp\xy


HTH
Rudolf Oertel
---------------------------------------
SULIS GmbH
Kumpfmühler Strasse 10
93047 Regensburg

Tel : +49 (0) 8637 608911
Mobil: +49 (0) 160 98943367
mailto:roertel@sulis.de



-----Original Message-----
From: bounce-infrastructure-533822@lists.ptcuser.org on behalf of magnus.andersson@devellum.se
Sent: Thu 11/10/2005 11:35
To: PTC/USER Windchill Infrastructure Discussion
Subject: [infrastructure] LDAP export

Hi,

I'm trying make an export of the ldap by using the export command.
When i write it in the cmd window it works fine. But when i try to do a bat-file it just don't work.

What do i do wrong or is there any better way to backup the ldap database?
"""""""""""""""""""""""""""""""""""""""""""""""""""
@echo on

call R:\usr\sbin\lde>export -f R:\usr\var\lde\PTCLdap\PTCLdap_lde.conf backup.ldif

@echo on

###########################

Thanks,
/Magnus

---

You are currently subscribed to infrastructure.
To unsubscribe send a blank e-mail to leave-infrastructure-181784U@lists.ptcuser.org.

For assistance, email us at membership@ptcuser.org or find other contacts at www.ptcuser.org/org/contacts.html.

PTC/USER and the PTC/USER logo are registered trademarks of PTC/USER, Inc.
Pro/ENGINEER is a registered trademark of PTC.

Message authors are solely responsible for the content of their posts.




---

You are currently subscribed to infrastructure.
To unsubscribe send a blank e-mail to leave-infrastructure-181784U@lists.ptcuser.org.

For assistance, email us at membership@ptcuser.org or find other contacts at www.ptcuser.org/org/contacts.html.

PTC/USER and the PTC/USER logo are registered trademarks of PTC/USER, Inc.
Pro/ENGINEER is a registered trademark of PTC.

Message authors are solely responsible for the content of their posts.

RE: LDAP export

Nov 10, 2005 07:38 AM



RE: LDAP export

Nov 10, 2005 11:08 AM


Check the Upgrade Documentation for 7.0

Windchill comes with wt.* utilities for exporting certain sub-trees from the
ldap.

Regards

- Sayee

Accenture.

On 11/10/05, Oertel, Rudolf <roertel@sulis.de> wrote:
>
> I didn't succeed with export,
> BUT
> try using ldapsearch ( available under <Oracle_Home>/bin) :
>
> ldapsearch -L -D cn=Manager -b o=sulis -w password -h localhost
> objectClass=person
>
> Run ldapsearch without arguments for optionlist
>
> regards
> Rudolf Oertel
> ---------------------------------------
> SULIS GmbH
> Kumpfmühler Strasse 10
> 93047 Regensburg
>
> Tel : +49 (0) 8637 608911
> Mobil: +49 (0) 160 98943367
> mailto:roertel@sulis.de <roertel@sulis.de>
>
>
>
> -----Original Message-----
> From: bounce-infrastructure-533822@lists.ptcuser.org on behalf of Tucker,
> Wes
> Sent: Thu 11/10/2005 13:51
> To: PTC/USER Windchill Infrastructure Discussion
> Subject: [infrastructure] RE: LDAP export
>
> On a related note, I need to just export the people branch. Can that be
> done with the export command?
>
> Wes
>
> (559) 292-1981 x3438
> 559.940.3991
> (Sent from Blackberry...)
>
>
> -----Original Message-----
> From: bounce-infrastructure-181784@lists.ptcuser.org <
> bounce-infrastructure-181784@lists.ptcuser.org>
> To: PTC/USER Windchill Infrastructure Discussion <
> infrastructure@lists.ptcuser.org>
> Sent: Thu Nov 10 03:38:57 2005
> Subject: [infrastructure] RE: LDAP export
>
> following bat file works for me :-)
>
> @echo on
> r:
> cd r:\usr\sbin\lde
> export -c "" -f R:\usr\var\lde\PTCLdap\PTCLdap_lde.conf -o c:\tmp\xy
>
>
> HTH
> Rudolf Oertel
> ---------------------------------------
> SULIS GmbH
> Kumpfmühler Strasse 10
> 93047 Regensburg
>
> Tel : +49 (0) 8637 608911
> Mobil: +49 (0) 160 98943367
> mailto:roertel@sulis.de <roertel@sulis.de>
>
>
>
> -----Original Message-----
> From: bounce-infrastructure-533822@lists.ptcuser.org on behalf of
> magnus.andersson@devellum.se
> Sent: Thu 11/10/2005 11:35
> To: PTC/USER Windchill Infrastructure Discussion
> Subject: [infrastructure] LDAP export
>
> Hi,
>
> I'm trying make an export of the ldap by using the export command.
> When i write it in the cmd window it works fine. But when i try to do a
> bat-file it just don't work.
>
> What do i do wrong or is there any better way to backup the ldap database?
> """""""""""""""""""""""""""""""""""""""""""""""""""
> @echo on
>
> call R:\usr\sbin\lde>export -f R:\usr\var\lde\PTCLdap\PTCLdap_lde.conf
> backup.ldif
>
> @echo on
>
> ###########################
>
> Thanks,
> /Magnus
>
> ---
>
> You are currently subscribed to infrastructure.
> To unsubscribe send a blank e-mail to
> leave-infrastructure-506942Y@lists.ptcuser.org.
>
> For assistance, email us at membership@ptcuser.org or find other contacts
> at www.ptcuser.org/org/contacts.html<http://www.ptcuser.org/org/contacts.html>
> .
>
> PTC/USER and the PTC/USER logo are registered trademarks of PTC/USER, Inc.
> Pro/ENGINEER is a registered trademark of PTC.
>
> Message authors are solely responsible for the content of their posts.
>
>
>
>
> ---
>
> You are currently subscribed to infrastructure.
> To unsubscribe send a blank e-mail to
> leave-infrastructure-506942Y@lists.ptcuser.org.
>
> For assistance, email us at membership@ptcuser.org or find other contacts
> at www.ptcuser.org/org/contacts.html<http://www.ptcuser.org/org/contacts.html>
> .
>
> PTC/USER and the PTC/USER logo are registered trademarks of PTC/USER, Inc.
> Pro/ENGINEER is a registered trademark of PTC.
>
> Message authors are solely responsible for the content of their posts.
> b?\&v?ry:?m?zfywj??Xr??y[j??
> ~)??
> r??DEL/HD
> +zzf=0Q!"w4bD+zzfL#yjW?~??
>
>
> ---
>
> You are currently subscribed to infrastructure.
> To unsubscribe send a blank e-mail to
> leave-infrastructure-506942Y@lists.ptcuser.org.
>
> For assistance, email us at membership@ptcuser.org or find other contacts
> at www.ptcuser.org/org/contacts.html<http://www.ptcuser.org/org/contacts.html>.
>
>
> PTC/USER and the PTC/USER logo are registered trademarks of PTC/USER, Inc.
>
> Pro/ENGINEER is a registered trademark of PTC.
>
> Message authors are solely responsible for the content of their posts.
>

RE: LDAP export

Nov 11, 2005 02:33 AM


Make sure that you increase the SizeLimit setting in PTCLdap_lde.conf to ensure you get all records.

Regards,
Andy Bruce

-----Original Message-----
From: bounce-infrastructure-503748@lists.ptcuser.org [mailto:bounce-infrastructure-503748@lists.ptcuser.org] On Behalf Of Oertel, Rudolf
Sent: 10 November 2005 13:39
To: PTC/USER Windchill Infrastructure Discussion
Subject: [infrastructure] RE: LDAP export



I didn't succeed with export,
BUT
try using ldapsearch ( available under <Oracle_Home>/bin) :

ldapsearch -L -D cn=Manager -b o=sulis -w password -h localhost objectClass=person

Run ldapsearch without arguments for optionlist

regards
Rudolf Oertel
---------------------------------------
SULIS GmbH
Kumpfmühler Strasse 10
93047 Regensburg

Tel : +49 (0) 8637 608911
Mobil: +49 (0) 160 98943367
mailto:roertel@sulis.de



-----Original Message-----
From: bounce-infrastructure-533822@lists.ptcuser.org on behalf of Tucker, Wes
Sent: Thu 11/10/2005 13:51
To: PTC/USER Windchill Infrastructure Discussion
Subject: [infrastructure] RE: LDAP export

On a related note, I need to just export the people branch. Can that be done with the export command?

Wes

(559) 292-1981 x3438
559.940.3991
(Sent from Blackberry...)

-----Original Message-----
From: bounce-infrastructure-181784@lists.ptcuser.org <bounce-infrastructure-181784@lists.ptcuser.org>
To: PTC/USER Windchill Infrastructure Discussion <infrastructure@lists.ptcuser.org>
Sent: Thu Nov 10 03:38:57 2005
Subject: [infrastructure] RE: LDAP export

following bat file works for me :-)

@echo on
r:
cd r:\usr\sbin\lde
export -c "" -f R:\usr\var\lde\PTCLdap\PTCLdap_lde.conf -o c:\tmp\xy


HTH
Rudolf Oertel
---------------------------------------
SULIS GmbH
Kumpfmühler Strasse 10
93047 Regensburg

Tel : +49 (0) 8637 608911
Mobil: +49 (0) 160 98943367
mailto:roertel@sulis.de



-----Original Message-----
From: bounce-infrastructure-533822@lists.ptcuser.org on behalf of magnus.andersson@devellum.se
Sent: Thu 11/10/2005 11:35
To: PTC/USER Windchill Infrastructure Discussion
Subject: [infrastructure] LDAP export

Hi,

I'm trying make an export of the ldap by using the export command.
When i write it in the cmd window it works fine. But when i try to do a bat-file it just don't work.

What do i do wrong or is there any better way to backup the ldap database?
"""""""""""""""""""""""""""""""""""""""""""""""""""
@echo on

call R:\usr\sbin\lde>export -f R:\usr\var\lde\PTCLdap\PTCLdap_lde.conf backup.ldif

@echo on

###########################

Thanks,
/Magnus

---

You are currently subscribed to infrastructure.
To unsubscribe send a blank e-mail to leave-infrastructure-503748S@lists.ptcuser.org.

For assistance, email us at membership@ptcuser.org or find other contacts at www.ptcuser.org/org/contacts.html.

PTC/USER and the PTC/USER logo are registered trademarks of PTC/USER, Inc.
Pro/ENGINEER is a registered trademark of PTC.

Message authors are solely responsible for the content of their posts.




---

You are currently subscribed to infrastructure.
To unsubscribe send a blank e-mail to leave-infrastructure-503748S@lists.ptcuser.org.

For assistance, email us at membership@ptcuser.org or find other contacts at www.ptcuser.org/org/contacts.html.

PTC/USER and the PTC/USER logo are registered trademarks of PTC/USER, Inc.
Pro/ENGINEER is a registered trademark of PTC.

Message authors are solely responsible for the content of their posts.
b?\&v?ry:?m?zfywj??Xr??y[j??
~)??
r??DEL/HD
+zzf=0Q!"w4bD+zzfL#yjW?~??




---

You are currently subscribed to infrastructure.
To unsubscribe send a blank e-mail to leave-infrastructure-503748S@lists.ptcuser.org.

For assistance, email us at membership@ptcuser.org or find other contacts at www.ptcuser.org/org/contacts.html.

PTC/USER and the PTC/USER logo are registered trademarks of PTC/USER, Inc.
Pro/ENGINEER is a registered trademark of PTC.

Message authors are solely responsible for the content of their posts.


RE: LDAP export

Nov 11, 2005 02:44 AM


Rudi,

I usually set to export without the -o option, then copy R:\usr\var\lde\PTCLdap_database\root.ldif to a different location on completion. It seems to work fine every time.

Regards,
Andy Bruce
PTC GS

-----Original Message-----
From: bounce-infrastructure-503748@lists.ptcuser.org [mailto:bounce-infrastructure-503748@lists.ptcuser.org] On Behalf Of Oertel, Rudolf
Sent: 10 November 2005 11:39
To: PTC/USER Windchill Infrastructure Discussion
Subject: [infrastructure] RE: LDAP export



following bat file works for me :-)

@echo on
r:
cd r:\usr\sbin\lde
export -c "" -f R:\usr\var\lde\PTCLdap\PTCLdap_lde.conf -o c:\tmp\xy


HTH
Rudolf Oertel
---------------------------------------
SULIS GmbH
Kumpfmühler Strasse 10
93047 Regensburg

Tel : +49 (0) 8637 608911
Mobil: +49 (0) 160 98943367
mailto:roertel@sulis.de



-----Original Message-----
From: bounce-infrastructure-533822@lists.ptcuser.org on behalf of magnus.andersson@devellum.se
Sent: Thu 11/10/2005 11:35
To: PTC/USER Windchill Infrastructure Discussion
Subject: [infrastructure] LDAP export

Hi,

I'm trying make an export of the ldap by using the export command.
When i write it in the cmd window it works fine. But when i try to do a bat-file it just don't work.

What do i do wrong or is there any better way to backup the ldap database?
"""""""""""""""""""""""""""""""""""""""""""""""""""
@echo on

call R:\usr\sbin\lde>export -f R:\usr\var\lde\PTCLdap\PTCLdap_lde.conf backup.ldif

@echo on

###########################

Thanks,
/Magnus

---

You are currently subscribed to infrastructure.
To unsubscribe send a blank e-mail to leave-infrastructure-503748S@lists.ptcuser.org.

For assistance, email us at membership@ptcuser.org or find other contacts at www.ptcuser.org/org/contacts.html.

PTC/USER and the PTC/USER logo are registered trademarks of PTC/USER, Inc.
Pro/ENGINEER is a registered trademark of PTC.

Message authors are solely responsible for the content of their posts.




---

You are currently subscribed to infrastructure.
To unsubscribe send a blank e-mail to leave-infrastructure-503748S@lists.ptcuser.org.

For assistance, email us at membership@ptcuser.org or find other contacts at www.ptcuser.org/org/contacts.html.

PTC/USER and the PTC/USER logo are registered trademarks of PTC/USER, Inc.
Pro/ENGINEER is a registered trademark of PTC.

Message authors are solely responsible for the content of their posts.



Copyright © 2008 PTC/USER. All Rights Reserved
All material, files, logos and trademarks within this site are copyright their respective organizations.
Terms of Service - Privacy Policy - Contact

Logout


Are you sure you want to logout?
Yes No