Posts Tagged ‘SharePoint’

Adding users to sharepoint across a trust (One-Way or Two-Way)

July 31st, 2013

To have users from a trusted domain show up in the peoplepicker, you have to let sharepoint know about the trust. To do so run the following command based on which scenario you are in:

Two-Way Trust
STSADM.exe -o setproperty -pn peoplepicker-searchadforests -pv forest:goldentemple.corp;domain:postholdings.com -url http://sharepoint/

One-Way Trust
STSADM.exe -o setproperty -pn peoplepicker-searchadforests -pv forest:yourprimarydomain.com;domain:trusteddomain.com,username,password -url http://yoursharepointsite/
For one-way trusts you will also need to run the following command on all front-end servers in your farm with a key that you make up:
STSADM.exe -o setapppassword -password key

http://technet.microsoft.com/en-us/library/cc262051%28v=office.12%29.aspx

Tags: , ,
Posted in Uncategorized | Comments (0)

Sharepoint 2010 Welcome name not updating from AD

May 2nd, 2012

Under normal conditions any changes to individuals names will be replicated to SharePoint and be updated throughout SharePoint.  I continue to find certain instances where someones name gets orphaned in the WSS 3 profile store even though they are identified correctly in the profile service.  For MOSS 2007, I found the follow fix.  SharePoint 2010 has a more graceful fix:

Form the SharePoint 2010 Management Shell:

Set-SPUser -Identity “DOMAIN\accountname”  -SyncFromAD  -web

Example:
Set-SPUser -identity “Domain\admin” -SyncFromAD -web https://your.sharepointsite.com

To run this command for all of your users:

Get-SPUser –Web https://your.sharepoint.com -Limit ALL|Set-SPUser –SyncFromAD

Credit: http://blog.bugrapostaci.com/2011/06/22/sharepoint-2010-change-your-display-of-wellcome-name/
Credit: http://sdelisle.wordpress.com/2011/06/12/how-to-change-the-display-name-in-sharepoint-2010/ 

 

If this is happening on multiple users and seems to be getting worse, the following might help get your synchronizations back on track.

You can run the following stsadm commands to view current databases. (stsadm is launched from the cmd prompt not powershell)

Location: c:\Program Files\common files\microsoft shared\web server extensions\14\bin

stsadm -o sync -listolddatabases 0        *Last character is a zero

If there are any sites returned, then they are currently not updating.  You can run the following command to reset them so that they will run during the next job (within 2 hours).

stsadm -o sync -deleteolddatabases 0       *Last character is a zero

 

Tags:
Posted in Uncategorized | Comments (0)

Enabling Site Usage Reports on Sharepoint MOSS 2007

October 7th, 2011

SharePoint 2007 has built in usage reports that can easily be enabled to allow site administrators and site collection administrators to monitor statistics about the use of their sites. These reports are NOT turned on by default when install MOSS 2007.

Three Quick Steps to Configure Site Usage Reporting

  1. Enable Usage Logging in Central Administration
    A. On the Central Administration home page, click Operations.
    B. On the Operations page, in the Logging and Reporting section, click Usage analysis processing.
    C. On the Usage Analysis Processing page, in the Logging Settings section, select Enable logging.
    D. Type a log file location and number of log files to create.
    E. In the Processing Settings section, select Enable usage analysis processing, and then select a time to run usage processing.
  2. Enable Usage Reporting on SSP Admin Page
    A. On the SSP home page, in the Portal Usage Reporting section, click Usage reporting.
    B. On the Configure Advanced Usage Analysis Processing page, in the Processing Settings section, click Enable advanced usage analysis processing.
    C. In the Search Query Logging section, select Enable search query logging.
  3. Activate the Reporting Feature for the Site Collection
    A. On the Site Actions menu, click Site Settings.
    B. On the Site Settings page, in the Site Collection Administration section, click Site collection features.
    C. On the Site Collection Features page, click the Activate button for the Reporting feature.
  4. IMPORTANT: You must also enable Office Sharepoint Server Standard Site and Collection Features if you have not already done this. The sharepoint server that I inherited did not have this turned on, so reporting did not work.

  5. Activate the Office SharePoint Server Standard Site Collection Features
    A. On the Site Actions menu, click Site Settings.
    B. On the Site Settings page, in the Site Collection Administration section, click Site collection features.
    C. On the Site Collection Features page, click the Activate button for the Office Sharepoint Server Standard Site Collection features.
  6. Activate the Office SharePoint Server Standard Site Features ( This needs to be done on each site)
    A. On the Site Actions menu, click Site Settings, click Modify All Site Settings.
    B. On the Site Settings page, in the Site Administration section, click Site features.
    C. On the Site Collection Features page, click the Activate button for the Office Sharepoint Server Standard Site Collection features.

After site usage reporting is enabled the site administrators and site collection administrators will be able to view reports detailing:

  • Requests and queries in the last day and the last 30 days
  • Average number of requests per day over the last 30 days
  • Requests per day over the last 30 days
  • Top page requests over the last 30 days
  • Top users over the last 30 days
  • Top referring hosts over the last 30 days
  • Top referring pages over the last 30 days
  • Top destination pages over the last 30 days
  • Top search queries for the last 30 days
  • Search results top destination pages
  • Number of search queries per day over the previous 30 days
  • Number of search queries per month over the previous 12 months
  • Top search queries over the previous 30 days
  • Search Queries per search scope over the previous 30 days

Site collection administrators will be able to view reports detailing:

  • Total amount of storage used by the site collection
  • Percent of storage space used by Web Discussions
  • Maximum storage space allowed
  • Number of users for all sites in the hierarchy
  • Total hits and recent bandwidth usage across all sites


Site Credits:

http://sharepointsherpa.com/2008/02/06/configure-moss-2007-site-usage-reports/


Tags: ,
Posted in Uncategorized | Comments (0)

Adding stsadm to path for easy access on MOSS 2007

October 7th, 2011

On your MOSS 2007/WSS 3 server you will probably want to add the following to your path variable in order to access the stsadm command without having to navigate into that folder.

1 – right click on computer and go to properties.  
2- For Server 2008 choose advanced system settings.
3 -For Server 2003 & 2008 choose Advanced
4 – Click Environment Variables.
5- Under System Variables find “PATH” and click edit
6- go to the end of the string, add a semi-colon and then copy and paste the following in: c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\bin 
7 – save out.  Now when you open the command prompt, you just have to type stsadm to get to your command.



Tags: , ,
Posted in Uncategorized | Comments (0)

Force Usage Analysis Timer to Run MOSS Sharepoint 2007

October 7th, 2011

If you want to see your Site Usage Statistics updated more frequently, you can change the timer to increase the frequency of processing usage analysis.

The following does NOT work to force it to run once: stsadm.exe -o execadmsvcjobs

This does : stsadm -o setproperty -pn job-usage-analysis -pv “Every 30 minutes”.

You can also do it for the following jobs.
job-change-log-expiration
job-dead-site-delete
job-diskquota-warning
job-immediate-alerts
job-recycle-bin-cleanup
job-usage-analysis
job-workflow
job-workflow-autoclean
job-workflow-failover

Site Credit: http://blogs.msdn.com/b/tehnoonr/archive/2009/02/15/forcing-execution-of-moss-timer-jobs.aspx

For easy access to the stsadm command see this post.
For Usage Analysis Configuration See this post

Tags: ,
Posted in Uncategorized | Comments (0)