Re: Time Based Distribution List?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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?





.



Relevant Pages

  • Re: Time Based Distribution List?
    ... changetype: modify ... in the member section where you have the ... For the 8am scheduled task: ... will take your normal replication cycles to replicate, ...
    (microsoft.public.exchange.admin)
  • Re: Top age-range for Explorers
    ... Would every member be ... Not following good/best practice would increase risk (of CP ... Do you think I (an adult a little :-) over ... the Network programme will not bring them into contact with yp aged 18-.. ...
    (uk.rec.scouting)
  • Re: Return by value -- primitive type vs class type
    ... Yes, it technically invokes an operator function, but the semantics still ... reflect a direct modification of an rvalue that's being returned from the ... even though it is going "through" a member function ... can you successfully invoke a mutating function, yet not "modify the ...
    (comp.lang.cpp)
  • RE: Collisions between converter(?) and TSO?
    ... Yes, I am modifying the member ... I've got 20 or so jobs that exercise ... Collisions between converter(?) and TSO? ... Your OP said "Modify a JCL INCLUDE used by the job." ...
    (bit.listserv.ibm-main)
  • Re: Cannot modify some groups/users in AD
    ... there is a global group that is grayed ... and I looked at the "member of" tab but it isn't a member of a ... "protected group". ... >> I have noticed that I cannot modify some groups and users in ADUC. ...
    (microsoft.public.win2000.active_directory)