Re: Need help with import *.ldf
- From: "Ben Winzenz [Exchange MVP]" <ben_winzenz@nospamdotmessageonedotcom>
- Date: Wed, 2 Aug 2006 09:32:41 -0500
I'm anticipating that the problem is that you need to "modify" this
particular attribute, rather than "add" it. You also probably want to make
sure that your first line isn't improperly wrapping. The error reported
"error on line 2: Object Class Violation". Well, you can't start a line
with "Settings", so that would be part of the problem as well.
If you are just adding 2 entries to the Turflist, why don't you just use
ADSIEdit? Constructing the proper LDIF file for this will take loads more
time than simply adding the entries. ADSIEdit (if you haven't used it
before) is included in the Windows Support Tools (which is on the CD in the
/support/tools folder). Navigate to Configuration, Services, Microsoft
Exchange, Your Org Name, Global Settings, Message Delivery, Default Message
Filter properties, then scroll down until you see the msExchTurfListNames
attribute and add the entries you want.
If you *really* want to use LDIF to import this, look at the link I sent
earlier. The changetype needs to be set to "modify", not "add". There also
needs to be a "-" at the end of the entry - the site I included earlier
shows you the correct context for modifying a record. I'd just be careful
with this, though - if you aren't careful, you could completely overwrite
anything that's in there now.
--
Ben Winzenz
Exchange MVP
MessageOne
Read my blog!
http://winzenz.blogspot.com
http://feeds.feedburner.com/winzenz (RSS Feed)
"addy" <addy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:24803951-49C3-455E-8811-C1D9C10F8BBD@xxxxxxxxxxxxxxxx
Ben,
thx again for reply.
this is the text in the file;
dn: CN=Default Message Filter,CN=Message Delivery,CN=Global
Settings,CN=INTERLOGICA,CN=Microsoft
Exchange,CN=Services,CN=Configuration,DC=interlogica,DC=nl
changetype: add
msExchTurfListNames: *@kentmaster.com
msExchTurfListNames: *@mail.ru
I hope you can see what's going wrong.
Kind regards,
addy
"Ben Winzenz [Exchange MVP]" wrote:
I don't know what's wrong without looking at the ldif file. All I can
say
is that the format of the file itself is probably incorrect.
What does line 2 of your import file contain?
--
Ben Winzenz
Exchange MVP
MessageOne
Read my blog!
http://winzenz.blogspot.com
http://feeds.feedburner.com/winzenz (RSS Feed)
"addy" <addy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8ED1BCB2-5381-4E7C-AEE5-660EFB7479EA@xxxxxxxxxxxxxxxx
Ben,
thx for reply, when i use that filter i get the following error
C:\>ldifde -i -f senderfilter.ldf -s mailsrv0
Connecting to "mailsrv01"
Logging in as current user using SSPI
Importing directory from file "senderfilter.l
Loading entries.
Add error on line 2: Object Class Violation
The server side error is "The object class at
0 entries modified successfully.
An error has occurred in the program
No log files were written. In order to gener
specify the log file path via the -j option.
what's going wrong?
Please help.
Kind regards addy
"Ben Winzenz [Exchange MVP]" wrote:
You don't have to specify a filter when you are importing.
Try it again just doing ldifde -i -f senderfilter.ldf
Also, make sure that you have the format of the import file correct,
otherwise it won't work.
Refer to the following site for ldifde help.
http://www.computerperformance.co.uk/Logon/CSVDE_LDIFDE.htm
--
Ben Winzenz
Exchange MVP
MessageOne
Read my blog!
http://winzenz.blogspot.com
http://feeds.feedburner.com/winzenz (RSS Feed)
"addy" <addy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:825C3218-4A5B-44A1-B9E8-1260D07E3101@xxxxxxxxxxxxxxxx
Please can enyone tell me how to import a file.
for export i use this commando;
ldifde -m -f senderfilter.ldf -r
"(objectcategory=msexchsmtpturflist)" -d
"cn=configuration,dc=interlogica,dc=nl" -l msexchturflistnames
I get the senderfilter.ldf file so i can modify it.
The problem is after i modify the file and try to import it
For the import i use this commando;
ldifde -i -f senderfilter.ldf -r
"(objectcategory=msexchsmtpturflist)" -d
"cn=configuration,dc=interlogica,dc=nl" -l msexchturflistnames
But this isn't going to work.
Please help.
Greets,
Addy
.
- Follow-Ups:
- Re: Need help with import *.ldf
- From: addy
- Re: Need help with import *.ldf
- References:
- Re: Need help with import *.ldf
- From: Ben Winzenz [Exchange MVP]
- Re: Need help with import *.ldf
- From: Ben Winzenz [Exchange MVP]
- Re: Need help with import *.ldf
- From: addy
- Re: Need help with import *.ldf
- Prev by Date: Creating a seond front end server (OWA)
- Next by Date: Re: multiple inbound messages
- Previous by thread: Re: Need help with import *.ldf
- Next by thread: Re: Need help with import *.ldf
- Index(es):
Relevant Pages
|
Loading