Distibution lists disapear from GAL and OAB
Q: I have a problem where it only seems to be for one customer where in
outlook only the distribution lists keep disappearing. We can recreate them and
they work for a week or so then they just disappear.
You can still see
them in OWA just not Outlook so I though it would be a Offline Address Book
thing but can't see anything wrong with it. How to fix it?
A:The Domain recipient update service should be disabled in HMC 3.5.
MPS
is responsible for stamping 'showInAddressBook' instead of RUS.
Here is a batch file to fix it:
@echo off
echo. > %temp%\ldf.log
dsquery * "OU=%*,OU=SampleOU,OU=Hosting,DC=domain,DC=com" -filter grouptype=8 | sort > c:\l.txt
set a=%*
For /F "tokens=2 delims==, " %%a in ('type c:\l.txt') Do (
echo Fixing Group %%a
rem echo %a%
echo dn: CN=%%a,OU=%a%,OU=SampleOU,OU=Hosting,DC=domain,DC=com> %temp%\galfix.ldf
echo changetype: modify>> %temp%\galfix.ldf
echo replace: showInAddressBook>> %temp%\galfix.ldf
echo showInAddressBook: CN=%a% AL,CN=All Address Lists,CN=Address Lists Container,CN=Domain,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=com >> %temp%\galfix.ldf
echo showInAddressBook: CN=%a% GAL,CN=All Global Address Lists,CN=Address Lists Container,CN=Domain,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=com >> %temp%\galfix.ldf
echo - >> %temp%\galfix.ldf
echo Fixing Group %%a >> %temp%\ldf.log
ldifde -i -f %temp%\galfix.ldf >> %temp%\ldf.log
)
echo.
echo log file %temp%\ldf.log
About Grouptype:
* 2 - Global distribution group
* 4 - Domain local distribution group
* 8 - Universal distribution group
the command would be batfile.bat name_of_ou
echo. > %temp%\ldf.log
dsquery * "OU=%*,OU=SampleOU,OU=Hosting,DC=domain,DC=com" -filter grouptype=8 | sort > c:\l.txt
set a=%*
For /F "tokens=2 delims==, " %%a in ('type c:\l.txt') Do (
echo Fixing Group %%a
rem echo %a%
echo dn: CN=%%a,OU=%a%,OU=SampleOU,OU=Hosting,DC=domain,DC=com> %temp%\galfix.ldf
echo changetype: modify>> %temp%\galfix.ldf
echo replace: showInAddressBook>> %temp%\galfix.ldf
echo showInAddressBook: CN=%a% AL,CN=All Address Lists,CN=Address Lists Container,CN=Domain,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=com >> %temp%\galfix.ldf
echo showInAddressBook: CN=%a% GAL,CN=All Global Address Lists,CN=Address Lists Container,CN=Domain,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=com >> %temp%\galfix.ldf
echo - >> %temp%\galfix.ldf
echo Fixing Group %%a >> %temp%\ldf.log
ldifde -i -f %temp%\galfix.ldf >> %temp%\ldf.log
)
echo.
echo log file %temp%\ldf.log
About Grouptype:
* 2 - Global distribution group
* 4 - Domain local distribution group
* 8 - Universal distribution group
the command would be batfile.bat name_of_ou
0 TrackBacks
Listed below are links to blogs that reference this entry: Distibution lists disapear from GAL and OAB.
TrackBack URL for this entry: /huiying.cgi/159.

Leave a comment