Ask a Question related to ASP, Design and Development.
-
scmiles #1
mapping to users home directory
I am trying to write an asp or aspx page that will create
a virtual ftp directory to the users Active Directory
home directory. That way a user can interact (drag/drop,
copy/paste) via IE with folder view for ftp sites.
I have some code, that seems to be "flaky" it works for
me and some others, but not everyone. I really need to
get a stable version. My asp code is below. Having it
in ASP is fine, but it would be a bonus to have a solid
ASPX (ASP.net) solution.
There is one issue I have ran into that is pretty
annoying, and I am not sure if it can be fixed or not and
that is the security of the virtual directory and file.
I would prefer that when the user is at work on the
network and logged in with their AD account that they
would not be challenged to authenticate, but I could not
get the "request.ServerVariables("AUTH_PASSWORD")" method
to work unless Basic Authentication is used, requiring
the user to login. I do not know if this can be avoided
in ASP.net, but if I can use an aspx page that can get
the password without having to decrypt or whatever that
would be ideal. Anyway, here is the code I have:
----------------------------------------------------------
-------------------------
<%
strFullUserName = request.ServerVariables("AUTH_USER")
strUserPass = request.ServerVariables("AUTH_PASSWORD")
strWebServer = request.ServerVariables("SERVER_NAME")
strWebServerIP = request.ServerVariables("LOCAL_ADDR")
'Split domain and username
strUserDomain = strFullUserName
strUserDomain = Mid (strFullUserName, 1, Instr
(strFullUserName, "\")-1)
strUserDomainLength = len(strUserDomain)
strFullUserNameLength = Len(strFullUserName)
strUserName = Right (strFullUserName,
strFullUserNameLength - strUserDomainLength -1)
Set objUser = GetObject("WinNT://" & strUserDomain & "/"
& strUserName, user)
strUserHome = objUser.homeDirectory
strVD = "ftp://" & strWebServer & "/"
On Error Resume Next
Set IISOBJ = GetObject
("IIS://Localhost/MSFTPSVC/1/Root")
Set NewDir = IISOBJ.Create("IIsFtpVirtualDir",
strUserName)
Error.Number = 0
NewDir.Path = strUserHome
NewDir.AccessRead = True
NewDir.AccessWrite = True
NewDir.UNCUserName = strfullUserName
NewDir.UNCPassword = strUserPass
NewDir.SetInfo
Set NewDir=Nothing
Set IISObJ=Nothing
Response.Redirect( "ftp://testportal" )
'response.write ("Your P Drive Was Mapped
Successfully!"& "<a href=""ftp://testportal/"">Click
Here</a><br>")
%>
scmiles Guest
-
problem accesing Active Directory from an ASP.NET App when user has been authenticated via AD certificate mapping
hello, I am developing an ASP.NET web application which interacts withAD. Client/User authentication must be done via AD certificatemapping, so I... -
Create users account and home directory on a FTP server at runtime
Hi, I need to create users account and home directory on a FTP server running window 2003 server at runtime using C#, is it possible to... -
Enable additional users properties in Active Directory users and Computers
"Mike Brannigan " <mikebran@online.microsoft.com> wrote in message news:O5qGXY1XEHA.808@tk2msftngp13.phx.gbl...... -
WU-FTP Q?: How to refuse users with an invalid home dir
Hi, is there a way that WU-FTP can be configured to disallow users to connect that have no valid home dir? We had some trouble with permissions... -
Two OSs, one home directory?
I am running Mandrake 9.0 and investigating Knoppix Debian. Both are on the same computer and boot from Mandrake's LILO. It would be convenient... -
Aaron Bertrand - MVP #2
Re: mapping to users home directory
Connecting to LDAP, IIS, etc. is not going to work for authenticated users
that are 'peons'... they must be members of certain privilege groups in
order to create an IIS application; for example, guests and domain users do
not have this privilege.
So, this isn't necessarily that you have flaky code, but that you expect any
user to be able to create your objects. A possible alternative would be to
store the data or set some flag in a database, and have a VBS script that
runs as you or as Administrator, wake up every minute and see if there is a
user to add; if so, create the stuff. The VBS script would then run as a
user with enough privileges to create everything you want to create here.
Of course there would sometimes be a lag of up to a minute, between the time
the user entered the data via the ASP page, and when the directory was
actually created and available for use.
A
"scmiles" <scmiles@nospam-dmacc.edu> wrote in message
news:0a9601c39283$c4ab5640$a001280a@phx.gbl...> I am trying to write an asp or aspx page that will create
> a virtual ftp directory to the users Active Directory
> home directory. That way a user can interact (drag/drop,
> copy/paste) via IE with folder view for ftp sites.
>
> I have some code, that seems to be "flaky" it works for
> me and some others, but not everyone. I really need to
> get a stable version. My asp code is below. Having it
> in ASP is fine, but it would be a bonus to have a solid
> ASPX (ASP.net) solution.
>
> There is one issue I have ran into that is pretty
> annoying, and I am not sure if it can be fixed or not and
> that is the security of the virtual directory and file.
> I would prefer that when the user is at work on the
> network and logged in with their AD account that they
> would not be challenged to authenticate, but I could not
> get the "request.ServerVariables("AUTH_PASSWORD")" method
> to work unless Basic Authentication is used, requiring
> the user to login. I do not know if this can be avoided
> in ASP.net, but if I can use an aspx page that can get
> the password without having to decrypt or whatever that
> would be ideal. Anyway, here is the code I have:
> ----------------------------------------------------------
> -------------------------
> <%
>
> strFullUserName = request.ServerVariables("AUTH_USER")
> strUserPass = request.ServerVariables("AUTH_PASSWORD")
> strWebServer = request.ServerVariables("SERVER_NAME")
> strWebServerIP = request.ServerVariables("LOCAL_ADDR")
>
> 'Split domain and username
>
> strUserDomain = strFullUserName
> strUserDomain = Mid (strFullUserName, 1, Instr
> (strFullUserName, "\")-1)
> strUserDomainLength = len(strUserDomain)
> strFullUserNameLength = Len(strFullUserName)
> strUserName = Right (strFullUserName,
> strFullUserNameLength - strUserDomainLength -1)
>
> Set objUser = GetObject("WinNT://" & strUserDomain & "/"
> & strUserName, user)
> strUserHome = objUser.homeDirectory
>
> strVD = "ftp://" & strWebServer & "/"
>
>
> On Error Resume Next
>
> Set IISOBJ = GetObject
> ("IIS://Localhost/MSFTPSVC/1/Root")
> Set NewDir = IISOBJ.Create("IIsFtpVirtualDir",
> strUserName)
>
> Error.Number = 0
>
>
> NewDir.Path = strUserHome
> NewDir.AccessRead = True
> NewDir.AccessWrite = True
> NewDir.UNCUserName = strfullUserName
> NewDir.UNCPassword = strUserPass
> NewDir.SetInfo
> Set NewDir=Nothing
> Set IISObJ=Nothing
> Response.Redirect( "ftp://testportal" )
> 'response.write ("Your P Drive Was Mapped
> Successfully!"& "<a href=""ftp://testportal/"">Click
> Here</a><br>")
>
> %>
Aaron Bertrand - MVP Guest
-
Phillip Windell #3
Re: mapping to users home directory
An FTP site?? FTP Servers don't do ASP.
An FTP Server will automatically dump a user into a folder if there is
a folder that matches their username. Just create a virtual folder
that is the same folder name as the username. Then point it to
whatever in the file system location you want it to be. When the user
logs in as the particular user name it will auotmatically dump them in
the right folder.
Example:
User name: JSmith
Virtual Directory: JSmith
Virtual Directory Physical Path: "C:\where\ever\the\files\are\"
Virtual Directory Logical Path: [url]ftp://servername/jsmith[/url]
When user connect to it as JSmith they are automatically dumped into
thier proper folder. It might be their "ROOT" so it may only show up
as "ftp://servername", but I don't remember for sure. Just have them
upload a file, then you go look for it and see where it ended up.
--
Phillip Windell [CCNA, MVP, MCP]
[email]pwindell@wandtv.com[/email]
WAND-TV (ABC Affiliate)
[url]www.wandtv.com[/url]
"scmiles" <scmiles@nospam-dmacc.edu> wrote in message
news:0a9601c39283$c4ab5640$a001280a@phx.gbl...> I am trying to write an asp or aspx page that will create
> a virtual ftp directory to the users Active Directory
> home directory. That way a user can interact (drag/drop,
> copy/paste) via IE with folder view for ftp sites.
>
> I have some code, that seems to be "flaky" it works for
> me and some others, but not everyone. I really need to
> get a stable version. My asp code is below. Having it
> in ASP is fine, but it would be a bonus to have a solid
> ASPX (ASP.net) solution.
>
> There is one issue I have ran into that is pretty
> annoying, and I am not sure if it can be fixed or not and
> that is the security of the virtual directory and file.
> I would prefer that when the user is at work on the
> network and logged in with their AD account that they
> would not be challenged to authenticate, but I could not
> get the "request.ServerVariables("AUTH_PASSWORD")" method
> to work unless Basic Authentication is used, requiring
> the user to login. I do not know if this can be avoided
> in ASP.net, but if I can use an aspx page that can get
> the password without having to decrypt or whatever that
> would be ideal. Anyway, here is the code I have:
> ----------------------------------------------------------
> -------------------------
> <%
>
> strFullUserName = request.ServerVariables("AUTH_USER")
> strUserPass = request.ServerVariables("AUTH_PASSWORD")
> strWebServer = request.ServerVariables("SERVER_NAME")
> strWebServerIP = request.ServerVariables("LOCAL_ADDR")
>
> 'Split domain and username
>
> strUserDomain = strFullUserName
> strUserDomain = Mid (strFullUserName, 1, Instr
> (strFullUserName, "\")-1)
> strUserDomainLength = len(strUserDomain)
> strFullUserNameLength = Len(strFullUserName)
> strUserName = Right (strFullUserName,
> strFullUserNameLength - strUserDomainLength -1)
>
> Set objUser = GetObject("WinNT://" & strUserDomain & "/"
> & strUserName, user)
> strUserHome = objUser.homeDirectory
>
> strVD = "ftp://" & strWebServer & "/"
>
>
> On Error Resume Next
>
> Set IISOBJ = GetObject
> ("IIS://Localhost/MSFTPSVC/1/Root")
> Set NewDir = IISOBJ.Create("IIsFtpVirtualDir",
> strUserName)
>
> Error.Number = 0
>
>
> NewDir.Path = strUserHome
> NewDir.AccessRead = True
> NewDir.AccessWrite = True
> NewDir.UNCUserName = strfullUserName
> NewDir.UNCPassword = strUserPass
> NewDir.SetInfo
> Set NewDir=Nothing
> Set IISObJ=Nothing
> Response.Redirect( "ftp://testportal" )
> 'response.write ("Your P Drive Was Mapped
> Successfully!"& "<a href=""ftp://testportal/"">Click
> Here</a><br>")
>
> %>
Phillip Windell Guest
-
scmiles #4
Re: mapping to users home directory
For testing purposes, the Everyone group has permissions
to the create the VD they need in the metabase.authenticated users>-----Original Message-----
>Connecting to LDAP, IIS, etc. is not going to work forprivilege groups in>that are 'peons'... they must be members of certainand domain users do>order to create an IIS application; for example, gueststhat you expect any>not have this privilege.
>
>So, this isn't necessarily that you have flaky code, butalternative would be to>user to be able to create your objects. A possiblea VBS script that>store the data or set some flag in a database, and haveand see if there is a>runs as you or as Administrator, wake up every minutewould then run as a>user to add; if so, create the stuff. The VBS scriptwant to create here.>user with enough privileges to create everything youminute, between the time>Of course there would sometimes be a lag of up to adirectory was>the user entered the data via the ASP page, and when thecreate>actually created and available for use.
>
>A
>
>
>
>
>"scmiles" <scmiles@nospam-dmacc.edu> wrote in message
>news:0a9601c39283$c4ab5640$a001280a@phx.gbl...>> I am trying to write an asp or aspx page that will(drag/drop,>> a virtual ftp directory to the users Active Directory
>> home directory. That way a user can interactsolid>> copy/paste) via IE with folder view for ftp sites.
>>
>> I have some code, that seems to be "flaky" it works for
>> me and some others, but not everyone. I really need to
>> get a stable version. My asp code is below. Having it
>> in ASP is fine, but it would be a bonus to have aand>> ASPX (ASP.net) solution.
>>
>> There is one issue I have ran into that is pretty
>> annoying, and I am not sure if it can be fixed or notnot>> that is the security of the virtual directory and file.
>> I would prefer that when the user is at work on the
>> network and logged in with their AD account that they
>> would not be challenged to authenticate, but I couldmethod>> get the "request.ServerVariables("AUTH_PASSWORD")"avoided>> to work unless Basic Authentication is used, requiring
>> the user to login. I do not know if this can be--->> in ASP.net, but if I can use an aspx page that can get
>> the password without having to decrypt or whatever that
>> would be ideal. Anyway, here is the code I have:
>> -------------------------------------------------------& "/">> -------------------------
>> <%
>>
>> strFullUserName = request.ServerVariables("AUTH_USER")
>> strUserPass = request.ServerVariables("AUTH_PASSWORD")
>> strWebServer = request.ServerVariables("SERVER_NAME")
>> strWebServerIP = request.ServerVariables("LOCAL_ADDR")
>>
>> 'Split domain and username
>>
>> strUserDomain = strFullUserName
>> strUserDomain = Mid (strFullUserName, 1, Instr
>> (strFullUserName, "\")-1)
>> strUserDomainLength = len(strUserDomain)
>> strFullUserNameLength = Len(strFullUserName)
>> strUserName = Right (strFullUserName,
>> strFullUserNameLength - strUserDomainLength -1)
>>
>> Set objUser = GetObject("WinNT://" & strUserDomain>>> & strUserName, user)
>> strUserHome = objUser.homeDirectory
>>
>> strVD = "ftp://" & strWebServer & "/"
>>
>>
>> On Error Resume Next
>>
>> Set IISOBJ = GetObject
>> ("IIS://Localhost/MSFTPSVC/1/Root")
>> Set NewDir = IISOBJ.Create("IIsFtpVirtualDir",
>> strUserName)
>>
>> Error.Number = 0
>>
>>
>> NewDir.Path = strUserHome
>> NewDir.AccessRead = True
>> NewDir.AccessWrite = True
>> NewDir.UNCUserName = strfullUserName
>> NewDir.UNCPassword = strUserPass
>> NewDir.SetInfo
>> Set NewDir=Nothing
>> Set IISObJ=Nothing
>> Response.Redirect( "ftp://testportal" )
>> 'response.write ("Your P Drive Was Mapped
>> Successfully!"& "<a href=""ftp://testportal/"">Click
>> Here</a><br>")
>>
>> %>
>
>.
>scmiles Guest
-
scmiles #5
Re: mapping to users home directory
Please look at my code, this is what I am doing already,
programatically.
folder if there is>-----Original Message-----
>An FTP site?? FTP Servers don't do ASP.
>
>An FTP Server will automatically dump a user into avirtual folder>a folder that matches their username. Just create ait to>that is the same folder name as the username. Then pointWhen the user>whatever in the file system location you want it to be.auotmatically dump them in>logs in as the particular user name it willPath: "C:\where\ever\the\files\are\">the right folder.
>
>Example:
>
>User name: JSmith
>
>Virtual Directory: JSmith
>Virtual Directory Physicaldumped into>Virtual Directory Logical Path: [url]ftp://servername/jsmith[/url]
>
>When user connect to it as JSmith they are automaticallyonly show up>thier proper folder. It might be their "ROOT" so it mayJust have them>as "ftp://servername", but I don't remember for sure.ended up.>upload a file, then you go look for it and see where itcreate>
>
>--
>
>Phillip Windell [CCNA, MVP, MCP]
>pwindell@wandtv.com
>WAND-TV (ABC Affiliate)
>[url]www.wandtv.com[/url]
>
>"scmiles" <scmiles@nospam-dmacc.edu> wrote in message
>news:0a9601c39283$c4ab5640$a001280a@phx.gbl...>> I am trying to write an asp or aspx page that will(drag/drop,>> a virtual ftp directory to the users Active Directory
>> home directory. That way a user can interactsolid>> copy/paste) via IE with folder view for ftp sites.
>>
>> I have some code, that seems to be "flaky" it works for
>> me and some others, but not everyone. I really need to
>> get a stable version. My asp code is below. Having it
>> in ASP is fine, but it would be a bonus to have aand>> ASPX (ASP.net) solution.
>>
>> There is one issue I have ran into that is pretty
>> annoying, and I am not sure if it can be fixed or notnot>> that is the security of the virtual directory and file.
>> I would prefer that when the user is at work on the
>> network and logged in with their AD account that they
>> would not be challenged to authenticate, but I couldmethod>> get the "request.ServerVariables("AUTH_PASSWORD")"avoided>> to work unless Basic Authentication is used, requiring
>> the user to login. I do not know if this can be--->> in ASP.net, but if I can use an aspx page that can get
>> the password without having to decrypt or whatever that
>> would be ideal. Anyway, here is the code I have:
>> -------------------------------------------------------& "/">> -------------------------
>> <%
>>
>> strFullUserName = request.ServerVariables("AUTH_USER")
>> strUserPass = request.ServerVariables("AUTH_PASSWORD")
>> strWebServer = request.ServerVariables("SERVER_NAME")
>> strWebServerIP = request.ServerVariables("LOCAL_ADDR")
>>
>> 'Split domain and username
>>
>> strUserDomain = strFullUserName
>> strUserDomain = Mid (strFullUserName, 1, Instr
>> (strFullUserName, "\")-1)
>> strUserDomainLength = len(strUserDomain)
>> strFullUserNameLength = Len(strFullUserName)
>> strUserName = Right (strFullUserName,
>> strFullUserNameLength - strUserDomainLength -1)
>>
>> Set objUser = GetObject("WinNT://" & strUserDomain>>> & strUserName, user)
>> strUserHome = objUser.homeDirectory
>>
>> strVD = "ftp://" & strWebServer & "/"
>>
>>
>> On Error Resume Next
>>
>> Set IISOBJ = GetObject
>> ("IIS://Localhost/MSFTPSVC/1/Root")
>> Set NewDir = IISOBJ.Create("IIsFtpVirtualDir",
>> strUserName)
>>
>> Error.Number = 0
>>
>>
>> NewDir.Path = strUserHome
>> NewDir.AccessRead = True
>> NewDir.AccessWrite = True
>> NewDir.UNCUserName = strfullUserName
>> NewDir.UNCPassword = strUserPass
>> NewDir.SetInfo
>> Set NewDir=Nothing
>> Set IISObJ=Nothing
>> Response.Redirect( "ftp://testportal" )
>> 'response.write ("Your P Drive Was Mapped
>> Successfully!"& "<a href=""ftp://testportal/"">Click
>> Here</a><br>")
>>
>> %>
>
>.
>scmiles Guest
-
Aaron Bertrand - MVP #6
Re: mapping to users home directory
IUSR_yourmachine is NOT in the everyone group for the domain!!!!!!!
"scmiles" <anonymous@discussions.microsoft.com> wrote in message
news:001001c393ff$cbecc060$a401280a@phx.gbl...> For testing purposes, the Everyone group has permissions
> to the create the VD they need in the metabase.> authenticated users> >-----Original Message-----
> >Connecting to LDAP, IIS, etc. is not going to work for> privilege groups in> >that are 'peons'... they must be members of certain> and domain users do> >order to create an IIS application; for example, guests> that you expect any> >not have this privilege.
> >
> >So, this isn't necessarily that you have flaky code, but> alternative would be to> >user to be able to create your objects. A possible> a VBS script that> >store the data or set some flag in a database, and have> and see if there is a> >runs as you or as Administrator, wake up every minute> would then run as a> >user to add; if so, create the stuff. The VBS script> want to create here.> >user with enough privileges to create everything you> minute, between the time> >Of course there would sometimes be a lag of up to a> directory was> >the user entered the data via the ASP page, and when the> create> >actually created and available for use.
> >
> >A
> >
> >
> >
> >
> >"scmiles" <scmiles@nospam-dmacc.edu> wrote in message
> >news:0a9601c39283$c4ab5640$a001280a@phx.gbl...> >> I am trying to write an asp or aspx page that will> (drag/drop,> >> a virtual ftp directory to the users Active Directory
> >> home directory. That way a user can interact> solid> >> copy/paste) via IE with folder view for ftp sites.
> >>
> >> I have some code, that seems to be "flaky" it works for
> >> me and some others, but not everyone. I really need to
> >> get a stable version. My asp code is below. Having it
> >> in ASP is fine, but it would be a bonus to have a> and> >> ASPX (ASP.net) solution.
> >>
> >> There is one issue I have ran into that is pretty
> >> annoying, and I am not sure if it can be fixed or not> not> >> that is the security of the virtual directory and file.
> >> I would prefer that when the user is at work on the
> >> network and logged in with their AD account that they
> >> would not be challenged to authenticate, but I could> method> >> get the "request.ServerVariables("AUTH_PASSWORD")"> avoided> >> to work unless Basic Authentication is used, requiring
> >> the user to login. I do not know if this can be> ---> >> in ASP.net, but if I can use an aspx page that can get
> >> the password without having to decrypt or whatever that
> >> would be ideal. Anyway, here is the code I have:
> >> -------------------------------------------------------> & "/"> >> -------------------------
> >> <%
> >>
> >> strFullUserName = request.ServerVariables("AUTH_USER")
> >> strUserPass = request.ServerVariables("AUTH_PASSWORD")
> >> strWebServer = request.ServerVariables("SERVER_NAME")
> >> strWebServerIP = request.ServerVariables("LOCAL_ADDR")
> >>
> >> 'Split domain and username
> >>
> >> strUserDomain = strFullUserName
> >> strUserDomain = Mid (strFullUserName, 1, Instr
> >> (strFullUserName, "\")-1)
> >> strUserDomainLength = len(strUserDomain)
> >> strFullUserNameLength = Len(strFullUserName)
> >> strUserName = Right (strFullUserName,
> >> strFullUserNameLength - strUserDomainLength -1)
> >>
> >> Set objUser = GetObject("WinNT://" & strUserDomain> >> >> & strUserName, user)
> >> strUserHome = objUser.homeDirectory
> >>
> >> strVD = "ftp://" & strWebServer & "/"
> >>
> >>
> >> On Error Resume Next
> >>
> >> Set IISOBJ = GetObject
> >> ("IIS://Localhost/MSFTPSVC/1/Root")
> >> Set NewDir = IISOBJ.Create("IIsFtpVirtualDir",
> >> strUserName)
> >>
> >> Error.Number = 0
> >>
> >>
> >> NewDir.Path = strUserHome
> >> NewDir.AccessRead = True
> >> NewDir.AccessWrite = True
> >> NewDir.UNCUserName = strfullUserName
> >> NewDir.UNCPassword = strUserPass
> >> NewDir.SetInfo
> >> Set NewDir=Nothing
> >> Set IISObJ=Nothing
> >> Response.Redirect( "ftp://testportal" )
> >> 'response.write ("Your P Drive Was Mapped
> >> Successfully!"& "<a href=""ftp://testportal/"">Click
> >> Here</a><br>")
> >>
> >> %>
> >
> >.
> >
Aaron Bertrand - MVP Guest
-
Ray at #7
Re: mapping to users home directory
Unless "yourmachine" is a DC.
Ray at work
"Aaron Bertrand - MVP" <aaron@TRASHaspfaq.com> wrote in message
news:et4XFSAlDHA.964@TK2MSFTNGP10.phx.gbl...> IUSR_yourmachine is NOT in the everyone group for the domain!!!!!!!
Ray at Guest
-
Aaron Bertrand - MVP #8
Re: mapping to users home directory
> Unless "yourmachine" is a DC.
I don't know of too many DCs that are running ASP applications. Certainly
not where I would be running it, and certainly doesn't sound like a
foolproof way of "securing" the server...
Aaron Bertrand - MVP Guest
-
Ray at #9
Re: mapping to users home directory
I don't know of many either. It's a bad idea, imo. But, I just wanted to
throw in the exception to the rule.
Ray at work
"Aaron Bertrand - MVP" <aaron@TRASHaspfaq.com> wrote in message
news:%23hFBuYAlDHA.3256@tk2msftngp13.phx.gbl...>> > Unless "yourmachine" is a DC.
> I don't know of too many DCs that are running ASP applications. Certainly
> not where I would be running it, and certainly doesn't sound like a
> foolproof way of "securing" the server...
>
>
Ray at Guest
-
Phillip Windell #10
Re: mapping to users home directory
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in
message news:ubiUuTAlDHA.2776@tk2msftngp13.phx.gbl...I think even then I don't think it is in the Everyone Group although> Unless "yourmachine" is a DC.
it would be a Domain Account. I wouldn't swear to it, but that is how
I think it is.
--
Phillip Windell [CCNA, MVP, MCP]
[email]pwindell@wandtv.com[/email]
WAND-TV (ABC Affiliate)
[url]www.wandtv.com[/url]
Phillip Windell Guest
-
Ray at #11
Re: mapping to users home directory
I just looked at the iusr domain account that exists in my domain. (I HAVE
NOTHING TO DO WITH THE FACT THAT IIS IS INSTALLED ON OUR DCS!)
ifmember /verbose /list OUR_DOMAIN_NAME\iusr_OUR_DC_NAME
User is a member of group OUR_DOMAIN_NAME\Domain Admins. <--- NICE!!
User is a member of group \Everyone.
User is a member of group BUILTIN\Administrators.
User is a member of group BUILTIN\Users.
--SOME OTHERS
So, it is part of everyone. And thanks to this post, I now see that some
brilliant coworker put this user in domain admins... I'll have to find out
what's up with that. Thanks!
Ray at work
"Phillip Windell" <pwindell{at}wandtv*d0t*com> wrote in message
news:%231IQnBBlDHA.2200@TK2MSFTNGP12.phx.gbl...> "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in
> message news:ubiUuTAlDHA.2776@tk2msftngp13.phx.gbl...>> > Unless "yourmachine" is a DC.
> I think even then I don't think it is in the Everyone Group although
> it would be a Domain Account. I wouldn't swear to it, but that is how
> I think it is.
>
> --
>
> Phillip Windell [CCNA, MVP, MCP]
> [email]pwindell@wandtv.com[/email]
> WAND-TV (ABC Affiliate)
> [url]www.wandtv.com[/url]
>
>
Ray at Guest
-
Ray at #12
Re: mapping to users home directory
I apologize. This is wrong. This is my group listing. Oops. But, here is
the correct response. The user IS a member of everyone.
showgrps /a OUR_DOMAIN_NAME\iusr_OUR_DC_NAME
User: [OUR_DOMAIN_NAME\iusr_OUR_DC_NAME], is a member of:
\Everyone
Ray at work
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:uWJUENBlDHA.976@tk2msftngp13.phx.gbl...HAVE> I just looked at the iusr domain account that exists in my domain. (Iout> NOTHING TO DO WITH THE FACT THAT IIS IS INSTALLED ON OUR DCS!)
>
> ifmember /verbose /list OUR_DOMAIN_NAME\iusr_OUR_DC_NAME
> User is a member of group OUR_DOMAIN_NAME\Domain Admins. <--- NICE!!
> User is a member of group \Everyone.
> User is a member of group BUILTIN\Administrators.
> User is a member of group BUILTIN\Users.
>
> --SOME OTHERS
>
> So, it is part of everyone. And thanks to this post, I now see that some
> brilliant coworker put this user in domain admins... I'll have to find> what's up with that. Thanks!
>
> Ray at work
>
>
>
> "Phillip Windell" <pwindell{at}wandtv*d0t*com> wrote in message
> news:%231IQnBBlDHA.2200@TK2MSFTNGP12.phx.gbl...>> > "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in
> > message news:ubiUuTAlDHA.2776@tk2msftngp13.phx.gbl...> >> > > Unless "yourmachine" is a DC.
> > I think even then I don't think it is in the Everyone Group although
> > it would be a Domain Account. I wouldn't swear to it, but that is how
> > I think it is.
> >
> > --
> >
> > Phillip Windell [CCNA, MVP, MCP]
> > [email]pwindell@wandtv.com[/email]
> > WAND-TV (ABC Affiliate)
> > [url]www.wandtv.com[/url]
> >
> >
>
Ray at Guest
-
Phillip Windell #13
Re: mapping to users home directory
OK..
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in
message news:ua5YkPBlDHA.1740@TK2MSFTNGP12.phx.gbl...here is> I apologize. This is wrong. This is my group listing. Oops. But,message> the correct response. The user IS a member of everyone.
>
>
> showgrps /a OUR_DOMAIN_NAME\iusr_OUR_DC_NAME
>
> User: [OUR_DOMAIN_NAME\iusr_OUR_DC_NAME], is a member of:
>
> \Everyone
>
>
>
>
> Ray at work
>
>
>
> "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in(I> news:uWJUENBlDHA.976@tk2msftngp13.phx.gbl...> > I just looked at the iusr domain account that exists in my domain.NICE!!> HAVE> > NOTHING TO DO WITH THE FACT THAT IIS IS INSTALLED ON OUR DCS!)
> >
> > ifmember /verbose /list OUR_DOMAIN_NAME\iusr_OUR_DC_NAME
> > User is a member of group OUR_DOMAIN_NAME\Domain Admins. <---that some> > User is a member of group \Everyone.
> > User is a member of group BUILTIN\Administrators.
> > User is a member of group BUILTIN\Users.
> >
> > --SOME OTHERS
> >
> > So, it is part of everyone. And thanks to this post, I now seeto find> > brilliant coworker put this user in domain admins... I'll havealthough> out> > what's up with that. Thanks!
> >
> > Ray at work
> >
> >
> >
> > "Phillip Windell" <pwindell{at}wandtv*d0t*com> wrote in message
> > news:%231IQnBBlDHA.2200@TK2MSFTNGP12.phx.gbl...> > > "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in
> > > message news:ubiUuTAlDHA.2776@tk2msftngp13.phx.gbl...
> > > > Unless "yourmachine" is a DC.
> > >
> > > I think even then I don't think it is in the Everyone Groupis how> > > it would be a Domain Account. I wouldn't swear to it, but that>> >> > > I think it is.
> > >
> > > --
> > >
> > > Phillip Windell [CCNA, MVP, MCP]
> > > [email]pwindell@wandtv.com[/email]
> > > WAND-TV (ABC Affiliate)
> > > [url]www.wandtv.com[/url]
> > >
> > >
> >
>
Phillip Windell Guest
-
Aaron Bertrand - MVP #14
Re: mapping to users home directory
> I apologize. This is wrong.
I was going to say, if he were a member of domain admins, then the whole
setup is sketchy, because someone must have purposely done that.
Aaron Bertrand - MVP Guest
-
Ray at #15
Re: mapping to users home directory
It would not surprise me where I work. I see random users in the domain
admins group all the time. "Oh, so and so needed permissions to install a
program, so I put him in the domain admins group so he'd have admin rights
on the local workstation." "Why didn't you at least just add him only to
the local admin group on his machine." "How do I do that?" Nice.
Ray at work
"Aaron Bertrand - MVP" <aaron@TRASHaspfaq.com> wrote in message
news:epsiWbBlDHA.372@TK2MSFTNGP11.phx.gbl...>> > I apologize. This is wrong.
> I was going to say, if he were a member of domain admins, then the whole
> setup is sketchy, because someone must have purposely done that.
>
>
Ray at Guest
-
Aaron Bertrand [MVP] #16
Re: mapping to users home directory
> on the local workstation." "Why didn't you at least just add him only to
And we wonder why half of the jobs in the IT industry are being outsourced> the local admin group on his machine." "How do I do that?" Nice.
to India.
Aaron Bertrand [MVP] Guest



Reply With Quote

