Jump to content

Recommended Posts

Posted

Does any one know how to add active directory user credentials to Single sign on database,I am trying to implement SSO in our sharepoint 2007 farm and have configured the following in central administration > Operations >Manage Single Sign On

 

manage server setting

 

manage encryption key

 

Created Enterprice Application

 

But

 

"Manage Account Information for an Enterprise Application Definition" Option lets you define one user at a time but what do you do if you have 100s to add.

 

I have another problem and that I can 't seem to find microsoft single sign on service on my 2nd front end server It was used as database server but i have instlled WSS 3.0 on it and added it to farm as front end but there is no SSO service on it I have to run this service on every front end. Do I need to install Moss 2007 on the server to get the SSO service or is there any other way.

 

I am really stuck please help

Posted

There's probably an easier way than this, but you could always use some PowerShell script.

foreach ($User in $Userlist) {


[indent]$SPSite = New-Object Microsoft.SharePoint.SPSite($URL)
$SPRoot = $SPSite.RootWeb

$SPUser = $SPRoot.EnsureUser($User)

$SPRole = New-Object Microsoft.SharePoint.SPRoleAssignment($SPUser)
$SPRole.RoleDefinitionBindings.Add($SPRoot.RoleDefinitions["Read"])
$SPRoot.RoleAssignments.Add($SPRole)

$SPSite.Dispose()
$SPRoot.Dispose()
[/indent]

}

 

If you give that a username in DOMAIN\Username format as the value of $User, or rather an array of them as $UserList and a URL it'll loop through and assign read permissions to everyone in the list, to the site you've given the URL of.

Posted

Hi, thanks for reply but may be I did,nt explain this right , I really need to connect the SSO database to active directory so SSO database reflects any changes to a user credentials,

First I need to add all the users and then database should keep it uptodate, or I can run a script to update it.

Sharepoint configuration database should have all the user credentials can we use that?

Posted

Thanks that has really helped,

I am still struggling to find the answer to second part of my question

I can 't seem to find microsoft single sign on service on my 2nd front end server It was used as database server but i have instlled WSS 3.0 on it and added it to farm as front end but there is no SSO service on it I have to run this service on every front end. Do I need to install Moss 2007 on the server to get the SSO service or is there any other way.

Posted

thaks james ,Guess what I found the same page few minutes age, I have sorted the problem out by installing moss 2007 and enabled the SSO service,

I have restarted the servers and reconfigured the Central SSO settings, But still it does,nt seems to be working

It asks me to login when trying to open word documents ,does the same with email mail access from portal.

not sure what else I acan do?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...