Re: Time Based Distribution List?
- From: "Eric Bockelman" <eric_bockelman@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 26 Apr 2006 09:40:43 -0400
Yes, you need to specify the full distinugished name to the user.
There is a risk to the specific list you are modifying, as you are replacing
(not adding/subtracting from) membership. Use a test list first.
Eric Bockelman
Principal IT Infrastructure Specialist
Windows Platform Engineering
Symantec Corporation
"ATC" <ATC@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A3FF4136-760E-47EF-BA1A-F22CB2B7BF9D@xxxxxxxxxxxxxxxx
dn: CN=Time List,OU=Groups,DC=company,DC=com
changetype: modify
replace: member
member: CN=User A,CN=Users,DC=company,DC=com
member: CN=User B,CN=Users,DC=company,DC=com
member: CN=User C,CN=Users,DC=company,DC=com
A couple of questions about this... in the member section where you have
the
2nd CN attribute, would I need to change that to OU if the user in
question
has been removed from "Users" and placed into a different OU?
Also, is there any risk to this? Say if I have a typo of some sort in my
ldif file? In other words, there's no risk I'll wipe out a bunch of users
or
group memberships, correct?
Then create a file called offhours.ldif that looks like the following:
dn: CN=Time List,OU=Groups,DC=company,DC=com
changetype: modify
replace: member
member: CN=User D,CN=Users,DC=company,DC=com
member: CN=User E,CN=Users,DC=company,DC=com
-
In both examples, you will need to change the DC=company,DC=com to match
your domain, and adjust for different placement of the users and group.
Then you would go to the control panel/scheduled tasks to create a
scheduled
task for each LDIF import. The command lines would look like this:
For the 8am scheduled task: LDIFDE -i -f workinghours.ldif
For the 5 pm scheduled task: LDIFDE -i -f offhousrs.ldif
You can add the -v (verbose) and -j (logfile location) switches to get
more
information logged during the LDIF imports.
If you operate in a large, multisite replicated environment, the chagnes
will take your normal replication cycles to replicate, so users in every
location will not see the change the instant it is scheduled.
I realize this seems complex, but if you break it down, it's not too
difficult. You are simply importing group memberships twice a day.
Eric Bockelman
Principal IT Infrastructure Specialist
Windows Platform Engineering
Symantec Corporation
"ATC" <ATC@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:50E2FC8E-8864-47D8-B6BD-056577B422BD@xxxxxxxxxxxxxxxx
I would like to have a single e-mail address (distribution group) that
goes
to one group of people during certain hours and to a different group of
people for the rest of the time. Is this at all possible?
.
- References:
- Re: Time Based Distribution List?
- From: Eric Bockelman
- Re: Time Based Distribution List?
- From: ATC
- Re: Time Based Distribution List?
- Prev by Date: Re: Error 553.
- Next by Date: Re: Time Based Distribution List?
- Previous by thread: Re: Time Based Distribution List?
- Next by thread: Re: Time Based Distribution List?
- Index(es):
Relevant Pages
|