Hello all,

I have a MOSS 2007 SP1 (x64) server running on Windows 2008 Enterprise
(x64).

The system is configured using the Microsoft best practices for MOSS,
which use the concept of "least privilege," creating several domain
accounts that have only standard user rights plus whatever MOSS auto-
assigns to them.

I have been fighting with the incoming e-mail stuff for a week. I'm
aware of the whitepaper from "CombinedKnowledge" - I followed it
closely, but continued to have problems. Here's a layout of the
environment.

SQL 2000 SP4 on a two node Cluster (has to be SQL 2000 due to other
app requirements)
SHGMOSS1 - single MOSS 2007 Enterprise server, all services are
currently running here.

Domain is SHG and all accounts listed below are in that domain as
normal users.

Accounts used for MOSS:

svcMOSS - Main farm account, Central Admin app pool and DB access
svcMOSS_SSP - Shared Service Provider (SharedServices1) account
svcMOSS_Index - DB index / search account
svcMOSS_ca - content access account for indexer
svcMOSS_ap1 - App Pool 1 account (app pool for SharedServices1)
svcMOSS_ap2 - App pool 2 account (app pool for MySites)

While trying to mail-enable a collection, I kept getting "Access
denied" and "Error in application" type errors when it was trying to
create the contact in Active Directory. My DirMan config looks like
so:

OU=SharePoint,DC=ourcompany,DC=local
The OU "SharePoint" exists in the root of the domain, and
"ourcompany.local" (obviously changed) is the FQDN for the domain.

The documentation is NOT clear on what accounts need access to the
OU. The CombinedKnowledge whitepaper implies that only the Central
Admin account has to be able to modify the OU but I have eventually
found this to be FALSE. Out of frustration, I eventually gave *all*
of the accounts listed above Full Access to the OU (and all child
objects). I was still getting Access Denied and/or generic Errors. I
haven't even bothered to setup the SMTP portion of things because the
process is failing before it gets that far - the contact isn't being
created in Active Directory.

Note that all accounts are in the appropriate WSS_WPG and
WSS_Admin_WPG groups on the local machine - I followed the normal
setup procedure and allowed the system to do what it wanted when I
chose the accounts.

What finally "fixed" the problem - I had to make the App Pool account
for any App Pool that I want to e-mail enable a LOCAL Administrator on
the MOSS server. This makes NO sense to me - why would I need local
Admin for a domain operation? Also, I had the exact same problem when
using "least privilege" accounts on Windows 2003 R2 SP2, so this is
not anything Server 2008 specific. I have been using Process Monitor
to figure out what is failing for a normal user account but i'm not
getting any access denied or failure messages, so I'm not sure why the
App Pool accounts have to be Local Administrators for the contact
creation to work.

So, I have things "working" but in a sub-optimal way due to the lack
of security. Microsoft's documented practices don't work here, and
there's no explanation as to why. Event Logs and the MOSS logs
haven't helped me yet. Can someone point out what security options I
might need to get this to work without Administrator rights?

Re: Incoming E-mail configuration - what permissions are required for what accounts? by callahan

callahan
Sat May 03 11:06:19 CDT 2008

I have to ask, do you *need* Directory Management Services enabled for your
incoming email? Incoming email works fine without DMS enabled, better
actually.

So if you just want to do incoming email and you don't need the GAL
integration, don't bother with DMS (that's the whole OU/permissions thing).

Also, I wanted to let you know that what you have discovered is what we've
all discovered-- the web application service accounts (app pool accounts)
must have *local administrator* rights to the SharePoint servers (or, if
you're not picky, just give them domain admin rights). It is horrible, runs
completely counter to the concept of least privilege, and yet is exactly
what is required.

Why? That is a question we've all been asking for at least a year now.
Microsoft is not talking. Probably the guy who made that happen has long
since changed jobs.

And yes, it is not a server 2008 thing, it's a bad programming thing on the
part of SharePoint. Don't be too surprised, it will not be the only badly
made bit you'll find lurking in sharepoint.


-callahan
author, "Mastering Windows SharePoint Services 3.0," chapter 15 covers
Directory Management Services with incoming email in detail.


<bradenm@gmail.com> wrote in message
news:46165d2d-b646-4bca-a406-9b4c3c10c8da@d45g2000hsc.googlegroups.com...
> Hello all,
>
> I have a MOSS 2007 SP1 (x64) server running on Windows 2008 Enterprise
> (x64).
>
> The system is configured using the Microsoft best practices for MOSS,
> which use the concept of "least privilege," creating several domain
> accounts that have only standard user rights plus whatever MOSS auto-
> assigns to them.
>
> I have been fighting with the incoming e-mail stuff for a week. I'm
> aware of the whitepaper from "CombinedKnowledge" - I followed it
> closely, but continued to have problems. Here's a layout of the
> environment.
>
> SQL 2000 SP4 on a two node Cluster (has to be SQL 2000 due to other
> app requirements)
> SHGMOSS1 - single MOSS 2007 Enterprise server, all services are
> currently running here.
>
> Domain is SHG and all accounts listed below are in that domain as
> normal users.
>
> Accounts used for MOSS:
>
> svcMOSS - Main farm account, Central Admin app pool and DB access
> svcMOSS_SSP - Shared Service Provider (SharedServices1) account
> svcMOSS_Index - DB index / search account
> svcMOSS_ca - content access account for indexer
> svcMOSS_ap1 - App Pool 1 account (app pool for SharedServices1)
> svcMOSS_ap2 - App pool 2 account (app pool for MySites)
>
> While trying to mail-enable a collection, I kept getting "Access
> denied" and "Error in application" type errors when it was trying to
> create the contact in Active Directory. My DirMan config looks like
> so:
>
> OU=SharePoint,DC=ourcompany,DC=local
> The OU "SharePoint" exists in the root of the domain, and
> "ourcompany.local" (obviously changed) is the FQDN for the domain.
>
> The documentation is NOT clear on what accounts need access to the
> OU. The CombinedKnowledge whitepaper implies that only the Central
> Admin account has to be able to modify the OU but I have eventually
> found this to be FALSE. Out of frustration, I eventually gave *all*
> of the accounts listed above Full Access to the OU (and all child
> objects). I was still getting Access Denied and/or generic Errors. I
> haven't even bothered to setup the SMTP portion of things because the
> process is failing before it gets that far - the contact isn't being
> created in Active Directory.
>
> Note that all accounts are in the appropriate WSS_WPG and
> WSS_Admin_WPG groups on the local machine - I followed the normal
> setup procedure and allowed the system to do what it wanted when I
> chose the accounts.
>
> What finally "fixed" the problem - I had to make the App Pool account
> for any App Pool that I want to e-mail enable a LOCAL Administrator on
> the MOSS server. This makes NO sense to me - why would I need local
> Admin for a domain operation? Also, I had the exact same problem when
> using "least privilege" accounts on Windows 2003 R2 SP2, so this is
> not anything Server 2008 specific. I have been using Process Monitor
> to figure out what is failing for a normal user account but i'm not
> getting any access denied or failure messages, so I'm not sure why the
> App Pool accounts have to be Local Administrators for the contact
> creation to work.
>
> So, I have things "working" but in a sub-optimal way due to the lack
> of security. Microsoft's documented practices don't work here, and
> there's no explanation as to why. Event Logs and the MOSS logs
> haven't helped me yet. Can someone point out what security options I
> might need to get this to work without Administrator rights?



Re: Incoming E-mail configuration - what permissions are required for by spconsultant

spconsultant
Mon May 05 08:42:43 CDT 2008

I have not discovered the "fact" that the web app pool accounts must
have local admin on all servers. I have at least 5 Production installs
of MOSS (Standard and Enterprise, with and without active use of excel
services and forms services) and at least another 5 of just WSS,
running on single servers single computer and multi computer Farm
environments, and in NONE of them are the App Pools members of any
administrator groups. (ALL Just regular domain user class accounts).
The FARM and SQL Services accounts are also NOT members of any admin
groups.

I use a seperate INSTALL account (used only for the initial setup
(configuration wizzard) that IS a member of local admin on all server
component computers. There are extra steps to take to make this work,
which are well documented on many Blogs. (i.e. granitng local
activation to certain components). Of course making them local or
domain admins removes the need to do those extra steps (fine if it
doesn't really matter to you) but that is not a requirement in my
experience.

What specific errors do you get? If they are DCOM errors, just google
the event log text, and you will see how to find the component, and
how to grant local activation access.

On May 2, 5:12=A0pm, brad...@gmail.com wrote:
> Hello all,
>
> I have a MOSS 2007 SP1 (x64) server running on Windows 2008 Enterprise
> (x64).
>
> The system is configured using the Microsoft best practices for MOSS,
> which use the concept of "least privilege," creating several domain
> accounts that have only standard user rights plus whatever MOSS auto-
> assigns to them.
>
> I have been fighting with the incoming e-mail stuff for a week. =A0I'm
> aware of the whitepaper from "CombinedKnowledge" - I followed it
> closely, but continued to have problems. =A0Here's a layout of the
> environment.
>
> SQL 2000 SP4 on a two node Cluster (has to be SQL 2000 due to other
> app requirements)
> SHGMOSS1 - single MOSS 2007 Enterprise server, all services are
> currently running here.
>
> Domain is SHG and all accounts listed below are in that domain as
> normal users.
>
> Accounts used for MOSS:
>
> svcMOSS - Main farm account, Central Admin app pool and DB access
> svcMOSS_SSP - Shared Service Provider (SharedServices1) account
> svcMOSS_Index - DB index / search account
> svcMOSS_ca - content access account for indexer
> svcMOSS_ap1 - App Pool 1 account (app pool for SharedServices1)
> svcMOSS_ap2 - App pool 2 account (app pool for MySites)
>
> While trying to mail-enable a collection, I kept getting "Access
> denied" and "Error in application" type errors when it was trying to
> create the contact in Active Directory. =A0My DirMan config looks like
> so:
>
> OU=3DSharePoint,DC=3Dourcompany,DC=3Dlocal
> The OU "SharePoint" exists in the root of the domain, and
> "ourcompany.local" (obviously changed) is the FQDN for the domain.
>
> The documentation is NOT clear on what accounts need access to the
> OU. =A0The CombinedKnowledge whitepaper implies that only the Central
> Admin account has to be able to modify the OU but I have eventually
> found this to be FALSE. =A0Out of frustration, I eventually gave *all*
> of the accounts listed above Full Access to the OU (and all child
> objects). =A0I was still getting Access Denied and/or generic Errors. =A0I=

> haven't even bothered to setup the SMTP portion of things because the
> process is failing before it gets that far - the contact isn't being
> created in Active Directory.
>
> Note that all accounts are in the appropriate WSS_WPG and
> WSS_Admin_WPG groups on the local machine - I followed the normal
> setup procedure and allowed the system to do what it wanted when I
> chose the accounts.
>
> What finally "fixed" the problem - I had to make the App Pool account
> for any App Pool that I want to e-mail enable a LOCAL Administrator on
> the MOSS server. =A0This makes NO sense to me - why would I need local
> Admin for a domain operation? =A0Also, I had the exact same problem when
> using "least privilege" accounts on Windows 2003 R2 SP2, so this is
> not anything Server 2008 specific. =A0I have been using Process Monitor
> to figure out what is failing for a normal user account but i'm not
> getting any access denied or failure messages, so I'm not sure why the
> App Pool accounts have to be Local Administrators for the contact
> creation to work.
>
> So, I have things "working" but in a sub-optimal way due to the lack
> of security. =A0Microsoft's documented practices don't work here, and
> there's no explanation as to why. =A0Event Logs and the MOSS logs
> haven't helped me yet. =A0Can someone point out what security options I
> might need to get this to work without Administrator rights?


Re: Incoming E-mail configuration - what permissions are required for what accounts? by callahan

callahan
Mon May 05 11:23:13 CDT 2008

LOL. Spconsultant, I think you missed the point. The OP is using DIRECTORY
MANAGEMENT SERVICES. It's because of DMS that he needs the app pools to be
local administrators.

Of course we all had to have our install account be a local administrator
when installing SharePoint. If we didn't, it wouldn't install. ; ) The OP
was very straightforward about their use of least privilege, they wouldn't
give any account administrative rights to their servers if they didn't need
to. They also had the standard issues we've all had when dealing with
permissions and performance with DMS. They in no way mentioned DCOM errors
because those (usually caused by sharepoint not giving service accounts
local activation rights to IIS WAMREG admin service) aren't commonly what
cause DMS not to work.

If you are running DMS in your enterprise, please give us explicit
information as to how you set your permissions, both for the farm account on
the OU, as well as the app pool accounts.

-callahan
"spconsultant" <gfpilot2002@yahoo.com> wrote in message
news:4df85f7f-0927-41b8-b593-84c32b758e31@27g2000hsf.googlegroups.com...
I have not discovered the "fact" that the web app pool accounts must
have local admin on all servers. I have at least 5 Production installs
of MOSS (Standard and Enterprise, with and without active use of excel
services and forms services) and at least another 5 of just WSS,
running on single servers single computer and multi computer Farm
environments, and in NONE of them are the App Pools members of any
administrator groups. (ALL Just regular domain user class accounts).
The FARM and SQL Services accounts are also NOT members of any admin
groups.

I use a seperate INSTALL account (used only for the initial setup
(configuration wizzard) that IS a member of local admin on all server
component computers. There are extra steps to take to make this work,
which are well documented on many Blogs. (i.e. granitng local
activation to certain components). Of course making them local or
domain admins removes the need to do those extra steps (fine if it
doesn't really matter to you) but that is not a requirement in my
experience.

What specific errors do you get? If they are DCOM errors, just google
the event log text, and you will see how to find the component, and
how to grant local activation access.

On May 2, 5:12 pm, brad...@gmail.com wrote:
> Hello all,
>
> I have a MOSS 2007 SP1 (x64) server running on Windows 2008 Enterprise
> (x64).
>
> The system is configured using the Microsoft best practices for MOSS,
> which use the concept of "least privilege," creating several domain
> accounts that have only standard user rights plus whatever MOSS auto-
> assigns to them.
>
> I have been fighting with the incoming e-mail stuff for a week. I'm
> aware of the whitepaper from "CombinedKnowledge" - I followed it
> closely, but continued to have problems. Here's a layout of the
> environment.
>
> SQL 2000 SP4 on a two node Cluster (has to be SQL 2000 due to other
> app requirements)
> SHGMOSS1 - single MOSS 2007 Enterprise server, all services are
> currently running here.
>
> Domain is SHG and all accounts listed below are in that domain as
> normal users.
>
> Accounts used for MOSS:
>
> svcMOSS - Main farm account, Central Admin app pool and DB access
> svcMOSS_SSP - Shared Service Provider (SharedServices1) account
> svcMOSS_Index - DB index / search account
> svcMOSS_ca - content access account for indexer
> svcMOSS_ap1 - App Pool 1 account (app pool for SharedServices1)
> svcMOSS_ap2 - App pool 2 account (app pool for MySites)
>
> While trying to mail-enable a collection, I kept getting "Access
> denied" and "Error in application" type errors when it was trying to
> create the contact in Active Directory. My DirMan config looks like
> so:
>
> OU=SharePoint,DC=ourcompany,DC=local
> The OU "SharePoint" exists in the root of the domain, and
> "ourcompany.local" (obviously changed) is the FQDN for the domain.
>
> The documentation is NOT clear on what accounts need access to the
> OU. The CombinedKnowledge whitepaper implies that only the Central
> Admin account has to be able to modify the OU but I have eventually
> found this to be FALSE. Out of frustration, I eventually gave *all*
> of the accounts listed above Full Access to the OU (and all child
> objects). I was still getting Access Denied and/or generic Errors. I
> haven't even bothered to setup the SMTP portion of things because the
> process is failing before it gets that far - the contact isn't being
> created in Active Directory.
>
> Note that all accounts are in the appropriate WSS_WPG and
> WSS_Admin_WPG groups on the local machine - I followed the normal
> setup procedure and allowed the system to do what it wanted when I
> chose the accounts.
>
> What finally "fixed" the problem - I had to make the App Pool account
> for any App Pool that I want to e-mail enable a LOCAL Administrator on
> the MOSS server. This makes NO sense to me - why would I need local
> Admin for a domain operation? Also, I had the exact same problem when
> using "least privilege" accounts on Windows 2003 R2 SP2, so this is
> not anything Server 2008 specific. I have been using Process Monitor
> to figure out what is failing for a normal user account but i'm not
> getting any access denied or failure messages, so I'm not sure why the
> App Pool accounts have to be Local Administrators for the contact
> creation to work.
>
> So, I have things "working" but in a sub-optimal way due to the lack
> of security. Microsoft's documented practices don't work here, and
> there's no explanation as to why. Event Logs and the MOSS logs
> haven't helped me yet. Can someone point out what security options I
> might need to get this to work without Administrator rights?



Re: Incoming E-mail configuration - what permissions are required for by bradenm

bradenm
Tue May 06 22:09:03 CDT 2008

Callahan -

So this is "known" behavior with MOSS 07/WSS 3? It's pretty sad. The
most frustrating part is that NO logs give any information about
it. :/

Unfortunately, our users aren't clueful enough to handle it without
DMS, so I will have to make our app pools local admin. The only good
point is that this is internal-use only, so security shouldn't be too
big of a concern... but I'm still annoyed.

Thanks,
Braden

Unfortunately, our users aren't smart enough to figure things out
On May 5, 12:23 pm, "callahan" <cacalla...@NOSPAM.computer.org> wrote:
> LOL. Spconsultant, I think you missed the point. The OP is using DIRECTORY
> MANAGEMENT SERVICES. It's because of DMS that he needs the app pools to be
> local administrators.
>
> Of course we all had tohaveour install account be a local administrator
> when installing SharePoint. If we didn't, it wouldn't install. ; ) The OP
> was very straightforward about their use of least privilege, they wouldn't
> give any account administrative rights to their servers if they didn't need
> to. They also had the standard issues we've all had when dealing with
> permissions and performance with DMS. They in no way mentioned DCOM errors
> because those (usually caused by sharepoint not giving service accounts
> local activation rights to IIS WAMREG admin service) aren't commonly what
> cause DMS not to work.
>
> If you arerunningDMS in yourenterprise, please give us explicit
> information as to how you set your permissions, both for the farm account on
> the OU, as well as the app pool accounts.
>
> -callahan"spconsultant" <gfpilot2...@yahoo.com> wrote in message
>
> news:4df85f7f-0927-41b8-b593-84c32b758e31@27g2000hsf.googlegroups.com...
> Ihavenot discovered the "fact" that the web app pool accounts musthavelocal admin on all servers. Ihaveat least 5 Production installs
> ofMOSS(Standard andEnterprise, with and without active use of excel
> services and forms services) and at least another 5 of just WSS,runningon single servers single computer and multi computer Farm
> environments, and in NONE of them are the App Pools members of any
> administrator groups. (ALL Just regular domain user class accounts).
> The FARM and SQL Services accounts are also NOT members of any admin
> groups.
>
> I use a seperate INSTALL account (used only for the initial setup
> (configuration wizzard) that IS a member of local admin on allserver
> component computers. There are extra steps to take to make this work,
> which are well documented on many Blogs. (i.e. granitng local
> activation to certain components). Of course making them local or
> domain admins removes the need to do those extra steps (fine if it
> doesn't really matter to you) but that is not a requirement in my
> experience.
>
> What specific errors do you get? If they are DCOM errors, just google
> the event log text, and you will see how to find the component, and
> how to grant local activation access.
>
> On May 2, 5:12 pm, brad...@gmail.com wrote:
>
> > Hello all,
>
> > IhaveaMOSS2007SP1(x64)serverrunningonWindows2008Enterprise
> > (x64).
>
> > The system is configured using the Microsoft best practices forMOSS,
> > which use the concept of "least privilege," creating several domain
> > accounts thathaveonly standard user rights plus whateverMOSSauto-
> > assigns to them.
>
> > Ihavebeen fighting with the incoming e-mail stuff for a week. I'm
> > aware of the whitepaper from "CombinedKnowledge" - I followed it
> > closely, but continued tohaveproblems. Here's a layout of the
> > environment.
>
> > SQL 2000 SP4 on a two node Cluster (has to be SQL 2000 due to other
> > app requirements)
> > SHGMOSS1 - singleMOSS2007Enterpriseserver, all services are
> > currentlyrunninghere.
>
> > Domain is SHG and all accounts listed below are in that domain as
> > normal users.
>
> > Accounts used forMOSS:
>
> > svcMOSS - Main farm account, Central Admin app pool and DB access
> > svcMOSS_SSP - Shared Service Provider (SharedServices1) account
> > svcMOSS_Index - DB index / search account
> > svcMOSS_ca - content access account for indexer
> > svcMOSS_ap1 - App Pool 1 account (app pool for SharedServices1)
> > svcMOSS_ap2 - App pool 2 account (app pool for MySites)
>
> > While trying to mail-enable a collection, I kept getting "Access
> > denied" and "Error in application" type errors when it was trying to
> > create the contact in Active Directory. My DirMan config looks like
> > so:
>
> > OU=SharePoint,DC=ourcompany,DC=local
> > The OU "SharePoint" exists in the root of the domain, and
> > "ourcompany.local" (obviously changed) is the FQDN for the domain.
>
> > The documentation is NOT clear on what accounts need access to the
> > OU. The CombinedKnowledge whitepaper implies that only the Central
> > Admin account has to be able to modify the OU but Ihaveeventually
> > found this to be FALSE. Out of frustration, I eventually gave *all*
> > of the accounts listed above Full Access to the OU (and all child
> > objects). I was still getting Access Denied and/or generic Errors. I
> > haven't even bothered to setup the SMTP portion of things because the
> > process is failing before it gets that far - the contact isn't being
> > created in Active Directory.
>
> > Note that all accounts are in the appropriate WSS_WPG and
> > WSS_Admin_WPG groups on the local machine - I followed the normal
> > setup procedure and allowed the system to do what it wanted when I
> > chose the accounts.
>
> > What finally "fixed" the problem - I had to make the App Pool account
> > for any App Pool that I want to e-mail enable a LOCAL Administrator on
> > theMOSSserver. This makes NO sense to me - why would I need local
> > Admin for a domain operation? Also, I had the exact same problem when
> > using "least privilege" accounts onWindows2003 R2 SP2, so this is
> > not anythingServer2008specific. Ihavebeen using Process Monitor
> > to figure out what is failing for a normal user account but i'm not
> > getting any access denied or failure messages, so I'm not sure why the
> > App Pool accountshaveto be Local Administrators for the contact
> > creation to work.
>
> > So, Ihavethings "working" but in a sub-optimal way due to the lack
> > of security. Microsoft's documented practices don't work here, and
> > there's no explanation as to why. Event Logs and theMOSSlogs
> > haven't helped me yet. Can someone point out what security options I
> > might need to get this to work without Administrator rights?


Re: Incoming E-mail configuration - what permissions are required for by bradenm

bradenm
Wed May 07 17:21:03 CDT 2008

After a bunch of hunting, I think I may have the culprit. However,
I'm not sure where to go to play with permissions to make it right.

I am getting occasional Audit Failures in the Security log on the MOSS
server. The "Task Category" is "Other Object Access Events."

My curiosity was piqued because the Security ID involved is the domain
account used by the Web App I have been testing with. (svcmoss_ap2,
in this case.)

Here's the full text of the event from our 2k8 log:
====8<=====
A handle to an object was requested.

Subject:
Security ID: SHG\svcmoss_ap2
Account Name: SvcMOSS_ap2
Account Domain: SHG
Logon ID: 0x15a95299

Object:
Object Server: SC Manager
Object Type: SERVICE OBJECT
Object Name: WinHttpAutoProxySvc
Handle ID: 0x0

Process Information:
Process ID: 0x280
Process Name: C:\Windows\System32\services.exe

Access Request Information:
Transaction ID: {00000000-0000-0000-0000-000000000000}
Accesses: Query status of service
Start the service
Query information from service

Access Mask: 0x94
Privileges Used for Access Check: -
Restricted SID Count: 0

=====>8======

Usually there are three or four of these in rapid succession, and the
"Accesses" vary on each one, but usually "query status" and "query
information" are involved. They're also asking about several
different "Object Name:" - ServicesActive, WinHttpAutoProxySvc, and
CryptSvc are the ones it cares about.

I did some digging in the MSDN documentation for SC (the service
controller) and its permissions, this is the information about rights
on services:
http://msdn.microsoft.com/en-us/library/ms685981(VS.85).aspx

At this point I'm in over my head, but I figured I'd throw it out in
case it helps someone else...

On May 6, 11:09 pm, brad...@gmail.com wrote:
> Callahan -
>
> So this is "known" behavior with MOSS 07/WSS 3? It's pretty sad. The
> most frustrating part is that NO logs give any information about
> it. :/
>
> Unfortunately, our users aren't clueful enough to handle it without
> DMS, so I will have to make our app pools local admin. The only good
> point is that this is internal-use only, so security shouldn't be too
> big of a concern... but I'm still annoyed.
>
> Thanks,
> Braden
>
> Unfortunately, our users aren't smart enough to figure things out
> On May 5, 12:23 pm, "callahan" <cacalla...@NOSPAM.computer.org> wrote:
>
> > LOL. Spconsultant, I think you missed the point. The OP is using DIRECTORY
> > MANAGEMENT SERVICES. It's because of DMS that he needs the app pools to be
> > local administrators.
>
> > Of course we all had tohaveour install account be a local administrator
> > when installing SharePoint. If we didn't, it wouldn't install. ; ) The OP
> > was very straightforward about their use of least privilege, they wouldn't
> > give any account administrative rights to their servers if they didn't need
> > to. They also had the standard issues we've all had when dealing with
> > permissions and performance with DMS. They in no way mentioned DCOM errors
> > because those (usually caused by sharepoint not giving service accounts
> > local activation rights to IIS WAMREG admin service) aren't commonly what
> > cause DMS not to work.
>
> > If you arerunningDMS in yourenterprise, please give us explicit
> > information as to how you set your permissions, both for the farm account on
> > the OU, as well as the app pool accounts.
>
> > -callahan"spconsultant" <gfpilot2...@yahoo.com> wrote in message
>
> >news:4df85f7f-0927-41b8-b593-84c32b758e31@27g2000hsf.googlegroups.com...
> > Ihavenot discovered the "fact" that the web app pool accounts musthavelocal admin on all servers. Ihaveat least 5 Production installs
> > ofMOSS(Standard andEnterprise, with and without active use of excel
> > services and forms services) and at least another 5 of just WSS,runningon single servers single computer and multi computer Farm
> > environments, and in NONE of them are the App Pools members of any
> > administrator groups. (ALL Just regular domain user class accounts).
> > The FARM and SQL Services accounts are also NOT members of any admin
> > groups.
>
> > I use a seperate INSTALL account (used only for the initial setup
> > (configuration wizzard) that IS a member of local admin on allserver
> > component computers. There are extra steps to take to make this work,
> > which are well documented on many Blogs. (i.e. granitng local
> > activation to certain components). Of course making them local or
> > domain admins removes the need to do those extra steps (fine if it
> > doesn't really matter to you) but that is not a requirement in my
> > experience.
>
> > What specific errors do you get? If they are DCOM errors, just google
> > the event log text, and you will see how to find the component, and
> > how to grant local activation access.
>
> > On May 2, 5:12 pm, brad...@gmail.com wrote:
>
> > > Hello all,
>
> > > IhaveaMOSS2007SP1(x64)serverrunningonWindows2008Enterprise
> > > (x64).
>
> > > The system is configured using the Microsoft best practices forMOSS,
> > > which use the concept of "least privilege," creating several domain
> > > accounts thathaveonly standard user rights plus whateverMOSSauto-
> > > assigns to them.
>
> > > Ihavebeen fighting with the incoming e-mail stuff for a week. I'm
> > > aware of the whitepaper from "CombinedKnowledge" - I followed it
> > > closely, but continued tohaveproblems. Here's a layout of the
> > > environment.
>
> > > SQL 2000 SP4 on a two node Cluster (has to be SQL 2000 due to other
> > > app requirements)
> > > SHGMOSS1 - singleMOSS2007Enterpriseserver, all services are
> > > currentlyrunninghere.
>
> > > Domain is SHG and all accounts listed below are in that domain as
> > > normal users.
>
> > > Accounts used forMOSS:
>
> > > svcMOSS - Main farm account, Central Admin app pool and DB access
> > > svcMOSS_SSP - Shared Service Provider (SharedServices1) account
> > > svcMOSS_Index - DB index / search account
> > > svcMOSS_ca - content access account for indexer
> > > svcMOSS_ap1 - App Pool 1 account (app pool for SharedServices1)
> > > svcMOSS_ap2 - App pool 2 account (app pool for MySites)
>
> > > While trying to mail-enable a collection, I kept getting "Access
> > > denied" and "Error in application" type errors when it was trying to
> > > create the contact in Active Directory. My DirMan config looks like
> > > so:
>
> > > OU=SharePoint,DC=ourcompany,DC=local
> > > The OU "SharePoint" exists in the root of the domain, and
> > > "ourcompany.local" (obviously changed) is the FQDN for the domain.
>
> > > The documentation is NOT clear on what accounts need access to the
> > > OU. The CombinedKnowledge whitepaper implies that only the Central
> > > Admin account has to be able to modify the OU but Ihaveeventually
> > > found this to be FALSE. Out of frustration, I eventually gave *all*
> > > of the accounts listed above Full Access to the OU (and all child
> > > objects). I was still getting Access Denied and/or generic Errors. I
> > > haven't even bothered to setup the SMTP portion of things because the
> > > process is failing before it gets that far - the contact isn't being
> > > created in Active Directory.
>
> > > Note that all accounts are in the appropriate WSS_WPG and
> > > WSS_Admin_WPG groups on the local machine - I followed the normal
> > > setup procedure and allowed the system to do what it wanted when I
> > > chose the accounts.
>
> > > What finally "fixed" the problem - I had to make the App Pool account
> > > for any App Pool that I want to e-mail enable a LOCAL Administrator on
> > > theMOSSserver. This makes NO sense to me - why would I need local
> > > Admin for a domain operation? Also, I had the exact same problem when
> > > using "least privilege" accounts onWindows2003 R2 SP2, so this is
> > > not anythingServer2008specific. Ihavebeen using Process Monitor
> > > to figure out what is failing for a normal user account but i'm not
> > > getting any access denied or failure messages, so I'm not sure why the
> > > App Pool accountshaveto be Local Administrators for the contact
> > > creation to work.
>
> > > So, Ihavethings "working" but in a sub-optimal way due to the lack
> > > of security. Microsoft's documented practices don't work here, and
> > > there's no explanation as to why. Event Logs and theMOSSlogs
> > > haven't helped me yet. Can someone point out what security options I
> > > might need to get this to work without Administrator rights?