BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 05-15-2009, 11:13 AM   #1 (permalink)
New Member
 
Join Date: May 2009
Model: 8310
PIN: N/A
Carrier: rogers
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Creating user on BES automatically add to DL

Please Login to Remove!

Hello everyone, is there a way to add a user to a specific DL when a new BES user is created?

And is there a way to remove a user from the DL once they are deleted from the BES?
Offline  
Old 05-15-2009, 11:15 AM   #2 (permalink)
BlackBerry God
 
penguin3107's Avatar
 
Join Date: Jan 2005
Model: iOS 5
Carrier: VZW
Posts: 11,701
Post Thanks: 1
Thanked 237 Times in 219 Posts
Default

D L ?
__________________
BCSA
BES 5.0.3 MR4 :-: Exchange 2007 SP3 RU3
http://port3101.org
Offline  
Old 05-15-2009, 11:25 AM   #3 (permalink)
New Member
 
Join Date: May 2009
Model: 8310
PIN: N/A
Carrier: rogers
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Distribution List.

In active directory.
Offline  
Old 05-15-2009, 11:42 AM   #4 (permalink)
BlackBerry God
 
penguin3107's Avatar
 
Join Date: Jan 2005
Model: iOS 5
Carrier: VZW
Posts: 11,701
Post Thanks: 1
Thanked 237 Times in 219 Posts
Default

No, this can't be done.
__________________
BCSA
BES 5.0.3 MR4 :-: Exchange 2007 SP3 RU3
http://port3101.org
Offline  
Old 05-15-2009, 12:09 PM   #5 (permalink)
New Member
 
Join Date: May 2009
Model: 8310
PIN: N/A
Carrier: rogers
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Really?

What about this? it seems todo everything ...

hxxp://wiki.itrezzo.com/BES_Auto_DL.ashx
Offline  
Old 05-15-2009, 12:12 PM   #6 (permalink)
BlackBerry God
 
penguin3107's Avatar
 
Join Date: Jan 2005
Model: iOS 5
Carrier: VZW
Posts: 11,701
Post Thanks: 1
Thanked 237 Times in 219 Posts
Default

Never heard of it. Try it out and let us know if it works.
__________________
BCSA
BES 5.0.3 MR4 :-: Exchange 2007 SP3 RU3
http://port3101.org
Offline  
Old 05-15-2009, 12:41 PM   #7 (permalink)
Talking BlackBerry Encyclopedia
 
RadHaz75's Avatar
 
Join Date: Feb 2006
Location: Philadelphia
Model: 9650
OS: 6.0.0.524
PIN: BALL
Carrier: Verizon Wireless
Posts: 456
Post Thanks: 2
Thanked 4 Times in 4 Posts
Default

why did u ask if you already had a solution?
__________________
Two months ago, I saw a provocative movie on cable TV. It was called The Net, with that girl from the bus.
Offline  
Old 05-15-2009, 01:11 PM   #8 (permalink)
New Member
 
Join Date: May 2009
Model: 8310
PIN: N/A
Carrier: rogers
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I didn't have a solution, I used the might power of google after i posted to find that software.
Offline  
Old 05-15-2009, 01:30 PM   #9 (permalink)
BlackBerry Extraordinaire
 
CO_BBTechie's Avatar
 
Join Date: Jul 2007
Location: Denver
Model: 8310
Carrier: AT&T
Posts: 2,044
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Wait for it......
__________________
Treat your password like your toothbrush. Don't let anybody else use it, and get a new one every six months.
Clifford Stoll
Offline  
Old 05-15-2009, 02:18 PM   #10 (permalink)
Talking BlackBerry Encyclopedia
 
RadHaz75's Avatar
 
Join Date: Feb 2006
Location: Philadelphia
Model: 9650
OS: 6.0.0.524
PIN: BALL
Carrier: Verizon Wireless
Posts: 456
Post Thanks: 2
Thanked 4 Times in 4 Posts
Default

flame on!
__________________
Two months ago, I saw a provocative movie on cable TV. It was called The Net, with that girl from the bus.
Offline  
Old 05-15-2009, 03:47 PM   #11 (permalink)
CrackBerry Addict
 
Join Date: Jan 2008
Model: 9700
PIN: N/A
Carrier: Rogers
Posts: 709
Post Thanks: 0
Thanked 8 Times in 8 Posts
Default

You can run this anytime any change has been made (save it as a batchfile):

Code:
SETLOCAL ENABLEDELAYEDEXPANSION

del BESUsersDN.txt
set BBGroupDN="CN=BlackBerry Users,DC=YourCompanyDNSName,DC=com"

osql -S BESSERVERNAME\BESMgmt -d BESMgmt -U sa -P password -Q "SELECT DisplayName from userconfig" -o "BESUsers.txt" -h-1

for /f "tokens=1-3" %%i in (BESUsers.txt) do (
	set InputLine=%%i
	if not "%%j"=="" set InputLine=!InputLine! %%j
	if not "%%k"=="" set InputLine=!InputLine! %%k
	dsquery user -name "!InputLine!">> BESUsersDN.txt
	)

type BESUsersDN.txt | dsmod group %BBGroupDN% -chmbr

del BESUsers.txt
del BESUsersDN.txt
Alternatively, you could set up a trigger for that table that also runs this command.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.