Re: Help with anonymous access

From: Ryan Miller (ryan_at_nospam.com)
Date: 04/22/04


Date: Thu, 22 Apr 2004 10:20:56 -0400

There may be a way to change it, but I don't know what that is, probably a
database manipulation. If you change it in the database, you may have
trouble with all the autogenerated links though. I use smigrate for this
(described below).

That sharepoint central administrator url is populated by whatever you have
in the host header for the web site. So what you want to do is set the host
header to the dns entry you've created.

To set the host header:
Go to iis administrator on the server.
right click on the web site you are working with (default site possibly).
On the Web Site tab, click the advanced button.
If there is already an entry in the top section ("Multiple Identities..."),
edit it, if not add it.
You want the IP address of this server, port 80, and the DNS* you will be
using to access the site as the host header value.

*For DNS I don't think you need the domain info. Just add intranet, not
intranet.domain.com Now to add to the confusion... I have a trial version
set up at home using Road Runner and DynDNS. Now there, I did need to put
in the full url "mysite.domain.com" to get anonymous access working. But if
you are running your DNS in house, try just the mysite as host header value.

What I've done to resolve the issue in the past is:
Create a smigrate backup of the site.
Use sharepoint central administration to remove WSS from the virtual
server.**
Set the host header value in iis administrator to the proper value (see
above).
Use central administrator to extend the virtual server again.
Use smigrate to restore the backup to the virtual server.
Recreate all permissions to the site.

**Typically I will have the sharepoint central administrator delete the
content database. Be careful doing this, though because if you have more
than one site running, they could be using the same database (if you set it
up that way).

Note: smigrate doesn't copy permissions. after restoring a smigrate
backup, you will need to recreate them all.
Note 2: the smigrate backup/restore seems to fix all the autogenerated
links in the site. If you have created your own links to the site, you may
need to fix these.

Good Luck, and please post back your results.
-Ryan

"Jake" <rondican@hotmail.com> wrote in message
news:%23XR4wO%23JEHA.428@TK2MSFTNGP11.phx.gbl...
> Ryan,
>
> Sharepoint central has it based upon the server name http://servername
.
> We have just setup a dns record for it inhouse. Is there a way to change
the
> url listed in sharepoint central?
>
> Jake
> "Ryan Miller" <ryan@nospam.com> wrote in message
> news:OS15RA%23JEHA.1764@TK2MSFTNGP12.phx.gbl...
> > Does the sharepoint central administrator show the ip address as the
url,
> or
> > does it show the server's name?
> >
> > In my experience, anonymous access can give some odd trouble if you
aren't
> > accessing the site via the url listed in sharepoint central
administrator.
> > If yours don't match, let us know.
> >
> > Another question. Will you be accessing it via the IP always, or do you
> > plan on setting up a DNS entry for access?
> >
> > -Ryan
> >
> >
> > "Jake" <rondican@hotmail.com> wrote in message
> > news:OaAbq58JEHA.2880@TK2MSFTNGP10.phx.gbl...
> > > When we goto the url http://192.168.1.26 it loads the page
fine.
> > We
> > > can look at announcements, events, document labara, etc. As soon as we
> try
> > > to post anywhere it prompts for a login and password. Each site
content
> > has
> > > the defaults for the contributor and the site itself is a team site
> > deafult.
> > >
> > > Jake
> > >
> > >
> > >
> > >
> > > "SHAREPOINTCOMMUNITY.COM" <webmaster@sharepoint.mine.nu> wrote in
> message
> > > news:23d301c427cc$8a31d5f0$a601280a@phx.gbl...
> > > > If you have the following done you should be able to
> > > > access what you need. Do you have any custom images
> > > > loaded or any custom graphics on the site? This sometimes
> > > > will prompt you if the correct permissions aren't there to
> > > > view the image and will flag the user. A good
> > > > determination of this is if you click cancel during the
> > > > login prompt and it continues, then look for images with
> > > > Red X in them.
> > > >
> > > > >-----Original Message-----
> > > > >Ok,
> > > > >
> > > > > I added the following accounts but I still get the
> > > > dialog box prompting
> > > > >for the password. Are there any accounts I can remove/add
> > > > for resolve this?
> > > > >
> > > > >Accounts:
> > > > >
> > > > >
> > > > > Users User Name Site Groups
> > > > > Internet Guest Account DOMAIN-B-01\iusr_domain-b-01
> > > > Contributor
> > > > > Jake Smythe DOMAIN\jsmythe Administrator
> > > > > Launch IIS Process Account DOMAIN-B-01\iwam_domain-b-
> > > > 01 Contributor
> > > > >
> > > > >
> > > > > Domain Groups User Name Site Groups
> > > > > DOMAIN-B-01\IIS_WPG DOMAIN-B-01\iis_wpg Contributor
> > > > >
> > > > >"SHAREPOINTCOMMUNITY.COM" <webmaster@sharepoint.mine.nu>
> > > > wrote in message
> > > > >news:23c901c427b8$c86d79a0$a501280a@phx.gbl...
> > > > >> Try adding the IIS_WPG account also, this is the account
> > > > >> that WSS uses also.
> > > > >>
> > > > >> >-----Original Message-----
> > > > >> >Yes IIS is setup for anonymous. I put the
> > > > >> IUSR_MachineName account and gave
> > > > >> >it contributor permissions however when I try and post
> > > > an
> > > > >> anouncement it is
> > > > >> >asking for a login and password. Did I miss something?
> > > > >> >
> > > > >> >Jake
> > > > >> >
> > > > >> >"SHAREPOINTCOMMUNITY.COM"
> > > > <webmaster@sharepoint.mine.nu>
> > > > >> wrote in message
> > > > >> >news:238901c427ab$62cd5050$a001280a@phx.gbl...
> > > > >> >> I will be assuming that IIS is already setup to
> > > > accept
> > > > >> >> anonymous access.
> > > > >> >>
> > > > >> >> You should be able to add the IUSR_MachineName
> > > > account
> > > > >> >> then give it contributor permissions.
> > > > >> >>
> > > > >> >> >-----Original Message-----
> > > > >> >> >Hello,
> > > > >> >> >
> > > > >> >> > I am new to wss. I have create a wss site and
> > > > setup
> > > > >> >> anonymous people to
> > > > >> >> >access the site. However they cannot post to
> > > > >> >> announcements, events,etc.
> > > > >> >> >Where would I go to make anonymous people have
> > > > >> >> contributor access? I went to
> > > > >> >> >site settings-->Manage users but when I type in
> > > > >> anonymous
> > > > >> >> it errors out. Any
> > > > >> >> >help would be appreciated.
> > > > >> >> >
> > > > >> >> >Jake
> > > > >> >> >
> > > > >> >> >
> > > > >> >> >.
> > > > >> >> >
> > > > >> >
> > > > >> >
> > > > >> >.
> > > > >> >
> > > > >
> > > > >
> > > > >.
> > > > >
> > >
> > >
> >
> >
>
>