how to get DN (distinguish name) of user ?

  • Thread starter Thread starter Polp
  • Start date Start date
first
Please do not cross post as it only makes matters more confusing most times

You should not need to do anything to the ini file normally. what are you
trying to accomplish specifically??
 
i try to use exmerge as second level backup, so i want to schedule it, so i
need to call it in batch mode, so i need to have properly prepared ini file,
which will use another file with user mailbox list... and for that list I
need uses's DN name which I was asking for...

Cris Hanna (SBS-MVP) said:
first
Please do not cross post as it only makes matters more confusing most times

You should not need to do anything to the ini file normally. what are you
trying to accomplish specifically??

--
Cris Hanna [SBS-MVP]
-------------------------
Please do not directly to me but rather reply to the newsgroup so that all
may benefit from the information.
Polp said:
I need it to create exmerge ini file..and dont know hot to get it.

thanks
 
Hi Polp,

I usually consider a bad idea to run Exmerge on a regular basis for backup
purposes. Use NTBackup and if you want to be able to restore a single
mailbox... juts increase the retention time of deleted items (same effect).

However, if you still want to do it... here's a post that might help you:
http://groups.google.com/groups?hl=...-8&[email protected]

This way you won't need to edit that file each time you create/delete an
account.

Hope that helps !

--
-Javier

<< SBS ROCKS !!! >>

Polp said:
i try to use exmerge as second level backup, so i want to schedule it, so i
need to call it in batch mode, so i need to have properly prepared ini file,
which will use another file with user mailbox list... and for that list I
need uses's DN name which I was asking for...

Cris Hanna (SBS-MVP) said:
first
Please do not cross post as it only makes matters more confusing most times

You should not need to do anything to the ini file normally. what are you
trying to accomplish specifically??

--
Cris Hanna [SBS-MVP]
-------------------------
Please do not directly to me but rather reply to the newsgroup so that all
may benefit from the information.
Polp said:
I need it to create exmerge ini file..and dont know hot to get it.

thanks
 
Javier - I agree about the deleted item retention in 99% of cases. We had a
public folder with 1000+ contacts, where a user accidentally deleted the
data from one field on each record. The ability to restore that folder from
backup saved a ton of work in contacting all the people to recreate the
data.

Polp - Instead of exmerge as a second backup, how about creating an OST file
in each user's mail profile? That'll not only give you a second backup of
the data, but it'll be on a different machine in case of a drive crash or
something like that. Just set it to synchronize when the person exits
Outlook. You might even be able to automate it with the GP template from
the office resource kit. We've been doing that for years - the only thing
to watch out for is that if the server mailbox crashes, you take the
appropriate steps to make sure that an empty mailbox doesn't synchronize,
thereby overwriting the items in the OST.


Javier Gomez said:
Hi Polp,

I usually consider a bad idea to run Exmerge on a regular basis for backup
purposes. Use NTBackup and if you want to be able to restore a single
mailbox... juts increase the retention time of deleted items (same effect).

However, if you still want to do it... here's a post that might help you:
http://groups.google.com/groups?hl=...-8&[email protected]

This way you won't need to edit that file each time you create/delete an
account.

Hope that helps !

--
-Javier

<< SBS ROCKS !!! >>

Polp said:
i try to use exmerge as second level backup, so i want to schedule it,
so
i
need to call it in batch mode, so i need to have properly prepared ini file,
which will use another file with user mailbox list... and for that list I
need uses's DN name which I was asking for...

Cris Hanna (SBS-MVP) said:
first
Please do not cross post as it only makes matters more confusing most times

You should not need to do anything to the ini file normally. what are you
trying to accomplish specifically??

--
Cris Hanna [SBS-MVP]
-------------------------
Please do not directly to me but rather reply to the newsgroup so that all
may benefit from the information.
I need it to create exmerge ini file..and dont know hot to get it.

thanks
 
well, why all of you talking about exmerge and not about mz question? I
really really need that DN name , doesnt matter why i like exmerge backup
.... so any idea how to get user's DN name from w2000????
 
First the reason we are discussing it is that part of the benefit of this
forum is trying to educate users/admins on alternatives to procedures they
are performing that gives them a better result.

have you checked the exmerge.log file after you run exmerge once manually.
It should give you the information you are looking for. According to what
I've read in the Knowledge Base, the DN is usually Lastname, Firstname.

you might also search at www.slipstick.com

--
Cris Hanna [SBS-MVP]
-------------------------
Please do not directly to me but rather reply to the newsgroup so that all
may benefit from the information.
Polp said:
well, why all of you talking about exmerge and not about mz question? I
really really need that DN name , doesnt matter why i like exmerge backup
... so any idea how to get user's DN name from w2000????


Dave Nickason said:
Javier - I agree about the deleted item retention in 99% of cases. We
had
a
public folder with 1000+ contacts, where a user accidentally deleted the
data from one field on each record. The ability to restore that folder from
backup saved a ton of work in contacting all the people to recreate the
data.

Polp - Instead of exmerge as a second backup, how about creating an OST file
in each user's mail profile? That'll not only give you a second backup of
the data, but it'll be on a different machine in case of a drive crash or
something like that. Just set it to synchronize when the person exits
Outlook. You might even be able to automate it with the GP template from
the office resource kit. We've been doing that for years - the only thing
to watch out for is that if the server mailbox crashes, you take the
appropriate steps to make sure that an empty mailbox doesn't synchronize,
thereby overwriting the items in the OST.
http://groups.google.com/groups?hl=...-8&[email protected]
This way you won't need to edit that file each time you create/delete an
account.

Hope that helps !

--
-Javier

<< SBS ROCKS !!! >>

i try to use exmerge as second level backup, so i want to schedule
it,
so
i
need to call it in batch mode, so i need to have properly prepared ini
file,
which will use another file with user mailbox list... and for that
list
I
need uses's DN name which I was asking for...

first
Please do not cross post as it only makes matters more confusing most
times

You should not need to do anything to the ini file normally. what are
you
trying to accomplish specifically??

--
Cris Hanna [SBS-MVP]
-------------------------
Please do not directly to me but rather reply to the newsgroup so that
all
may benefit from the information.
I need it to create exmerge ini file..and dont know hot to get it.

thanks
 
sure i have checked exmerge.ini after manual run, but users list is the
only thing exmerge do not write down to ini file.
i have tryed several combinations of DN with no luck, will try your tip
later, thanks for it. I was just suprised that I wasnt able to find it after
several hours of trying ...

thanks

Cris Hanna (SBS-MVP) said:
First the reason we are discussing it is that part of the benefit of this
forum is trying to educate users/admins on alternatives to procedures they
are performing that gives them a better result.

have you checked the exmerge.log file after you run exmerge once manually.
It should give you the information you are looking for. According to what
I've read in the Knowledge Base, the DN is usually Lastname, Firstname.

you might also search at www.slipstick.com

--
Cris Hanna [SBS-MVP]
-------------------------
Please do not directly to me but rather reply to the newsgroup so that all
may benefit from the information.
Polp said:
well, why all of you talking about exmerge and not about mz question? I
really really need that DN name , doesnt matter why i like exmerge backup
... so any idea how to get user's DN name from w2000????


had folder
from OST
file
backup
http://groups.google.com/groups?hl=...-8&[email protected] create/delete
an what
are so
that
 
As someone that has used Exmerge a bunch, I thank God each time it runs
without flaw. Unfortunately, that is no way near 100% of the time. Using
exmerge is something that should ONLY be done occasionally as it is not a
reliable app.

--
Sincerely,
Mark Mancini, CCA, CCNA, Master CIW&CI, CNE 4&5, MCSE+I 4&2000
www.MCSE2000.com
www.AppLauncher.com



Polp said:
i try to use exmerge as second level backup, so i want to schedule it, so i
need to call it in batch mode, so i need to have properly prepared ini file,
which will use another file with user mailbox list... and for that list I
need uses's DN name which I was asking for...

Cris Hanna (SBS-MVP) said:
first
Please do not cross post as it only makes matters more confusing most times

You should not need to do anything to the ini file normally. what are you
trying to accomplish specifically??

--
Cris Hanna [SBS-MVP]
-------------------------
Please do not directly to me but rather reply to the newsgroup so that all
may benefit from the information.
Polp said:
I need it to create exmerge ini file..and dont know hot to get it.

thanks
 
Cris didn't say the exmerge.ini file. Check the exmerge.LOG file instead.
You may find the information there.

--
Ben Winzenz
Network Engineer
Gardner & White

Exchange FAQ's: http://www.swinc.com/resource/exch_faq.htm
Exchange 2000 FAQ's: http://www.swinc.com/resource/e2kfaq.htm


Polp said:
sure i have checked exmerge.ini after manual run, but users list is the
only thing exmerge do not write down to ini file.
i have tryed several combinations of DN with no luck, will try your tip
later, thanks for it. I was just suprised that I wasnt able to find it after
several hours of trying ...

thanks

Cris Hanna (SBS-MVP) said:
First the reason we are discussing it is that part of the benefit of this
forum is trying to educate users/admins on alternatives to procedures they
are performing that gives them a better result.

have you checked the exmerge.log file after you run exmerge once manually.
It should give you the information you are looking for. According to what
I've read in the Knowledge Base, the DN is usually Lastname, Firstname.

you might also search at www.slipstick.com

--
Cris Hanna [SBS-MVP]
-------------------------
Please do not directly to me but rather reply to the newsgroup so that all
may benefit from the information.
Polp said:
well, why all of you talking about exmerge and not about mz question? I
really really need that DN name , doesnt matter why i like exmerge backup
... so any idea how to get user's DN name from w2000????


Javier - I agree about the deleted item retention in 99% of cases.
We
had
a
public folder with 1000+ contacts, where a user accidentally deleted the
data from one field on each record. The ability to restore that folder
from
backup saved a ton of work in contacting all the people to recreate the
data.

Polp - Instead of exmerge as a second backup, how about creating an OST
file
in each user's mail profile? That'll not only give you a second
backup
of
the data, but it'll be on a different machine in case of a drive
crash
or
something like that. Just set it to synchronize when the person exits
Outlook. You might even be able to automate it with the GP template from
the office resource kit. We've been doing that for years - the only thing
to watch out for is that if the server mailbox crashes, you take the
appropriate steps to make sure that an empty mailbox doesn't synchronize,
thereby overwriting the items in the OST.


message
Hi Polp,

I usually consider a bad idea to run Exmerge on a regular basis for
backup
purposes. Use NTBackup and if you want to be able to restore a single
mailbox... juts increase the retention time of deleted items (same
effect).

However, if you still want to do it... here's a post that might help
you:
http://groups.google.com/groups?hl=...-8&[email protected]
This way you won't need to edit that file each time you
create/delete
an
account.

Hope that helps !

--
-Javier

<< SBS ROCKS !!! >>

i try to use exmerge as second level backup, so i want to
schedule
it,
so
i
need to call it in batch mode, so i need to have properly
prepared
ini
file,
which will use another file with user mailbox list... and for that
list
I
need uses's DN name which I was asking for...

message
first
Please do not cross post as it only makes matters more confusing
most
times

You should not need to do anything to the ini file normally. what
are
you
trying to accomplish specifically??

--
Cris Hanna [SBS-MVP]
-------------------------
Please do not directly to me but rather reply to the newsgroup so
that
all
may benefit from the information.
I need it to create exmerge ini file..and dont know hot to
get
it.
 
well I have read a lot in this news about exmerge saying completely other
words ...

Mark Mancini said:
As someone that has used Exmerge a bunch, I thank God each time it runs
without flaw. Unfortunately, that is no way near 100% of the time. Using
exmerge is something that should ONLY be done occasionally as it is not a
reliable app.

--
Sincerely,
Mark Mancini, CCA, CCNA, Master CIW&CI, CNE 4&5, MCSE+I 4&2000
www.MCSE2000.com
www.AppLauncher.com



Polp said:
i try to use exmerge as second level backup, so i want to schedule it,
so
i
need to call it in batch mode, so i need to have properly prepared ini file,
which will use another file with user mailbox list... and for that list I
need uses's DN name which I was asking for...

Cris Hanna (SBS-MVP) said:
first
Please do not cross post as it only makes matters more confusing most times

You should not need to do anything to the ini file normally. what are you
trying to accomplish specifically??

--
Cris Hanna [SBS-MVP]
-------------------------
Please do not directly to me but rather reply to the newsgroup so that all
may benefit from the information.
I need it to create exmerge ini file..and dont know hot to get it.

thanks
 
Specifying Mailboxes To Be Processed
When running in batch mode, to have the program to process only certain
mailboxes, follow the steps below:



1) Create a text file containing the Distinguished Names (DN) of the
mailboxes to be processed. Each DN should be entered on a separate line. Say
this file is called C:\MAILBOXES.TXT

2) Enter the name of the file created in Step 1, in
FileContainingListOfMailboxes entry of the .INI file.

3) Specify the name of the Exchange Server using the SourceServerName
or DestServerName INI file entries.

4) Specify the .INI file modified in Step 2 on the command line, using
the -F option, when running ExMerge.exe. The command line used will be
similar to:



EXMERGE -B -F C:\EXMERGE.INI



A sample DN: /o=Org1/ou=Sales/cn=Recipients/cn=User1



From what I've read of this thread--you weren't constructing your DN
properly.



HTH,

--
Dan Winter, MCSE
Microsoft Exchange Support

Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
 
yes, you are the first who said what I wanted to hear, thank you
Dan Winter said:
Specifying Mailboxes To Be Processed
When running in batch mode, to have the program to process only certain
mailboxes, follow the steps below:



1) Create a text file containing the Distinguished Names (DN) of the
mailboxes to be processed. Each DN should be entered on a separate line. Say
this file is called C:\MAILBOXES.TXT

2) Enter the name of the file created in Step 1, in
FileContainingListOfMailboxes entry of the .INI file.

3) Specify the name of the Exchange Server using the SourceServerName
or DestServerName INI file entries.

4) Specify the .INI file modified in Step 2 on the command line, using
the -F option, when running ExMerge.exe. The command line used will be
similar to:



EXMERGE -B -F C:\EXMERGE.INI



A sample DN: /o=Org1/ou=Sales/cn=Recipients/cn=User1



From what I've read of this thread--you weren't constructing your DN
properly.



HTH,

--
Dan Winter, MCSE
Microsoft Exchange Support

Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.

Ben Winzenz said:
Cris didn't say the exmerge.ini file. Check the exmerge.LOG file instead.
You may find the information there.

--
Ben Winzenz
Network Engineer
Gardner & White

Exchange FAQ's: http://www.swinc.com/resource/exch_faq.htm
Exchange 2000 FAQ's: http://www.swinc.com/resource/e2kfaq.htm


procedures
they that
all question? cases.
We basis
for might
help
http://groups.google.com/groups?hl=...-8&[email protected]
This way you won't need to edit that file each time you
create/delete
an
account.

Hope that helps !

--
-Javier

<< SBS ROCKS !!! >>

i try to use exmerge as second level backup, so i want to schedule
it,
so
i
need to call it in batch mode, so i need to have properly prepared
ini
file,
which will use another file with user mailbox list... and
for
that
list
I
need uses's DN name which I was asking for...

in
message
first
Please do not cross post as it only makes matters more confusing
most
times

You should not need to do anything to the ini file normally.
what
are
you
trying to accomplish specifically??

--
Cris Hanna [SBS-MVP]
-------------------------
Please do not directly to me but rather reply to the newsgroup
so
that
all
may benefit from the information.
I need it to create exmerge ini file..and dont know hot
to
get
it.

thanks
 
Back
Top