Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Domain Security
Message
De
30/12/2011 04:30:11
 
 
À
29/12/2011 16:58:14
Information générale
Forum:
ASP.NET
Catégorie:
Windows Communication Foundation (WCF)
Titre:
Versions des environnements
Environment:
C# 4.0
OS:
Windows Server 2008
Divers
Thread ID:
01531880
Message ID:
01531917
Vues:
30
>>>>I've seen those examples of using the identity tag with the userPrincipleName, but I just don't get that. WTF is username@domain.com supposed to be in real life? I haven't a clue.
>>>
>>>When you created the domain in Active Directory, you have to specify a domain name. That's what "domain.com" is supposed to be. "username" is your user name that you use to log into the domain with.

>>
>>Doh!! Don't know why that didn't pop into my brain by itself. Thank you for explaining that. I think that using that might be a better path to go down than what I've been trying in the past few hours.

>
>I just tried that and it didn't work. Still getting an SSPI error. This only goes in the client endpoint, right?

AFAIK, yes. I don't think that the client attempts to authenticate the server.
IAC, I suppose specifying the username of the currently logged in user in the config wouldn't have changed the behaviour anyway

Few thoughts (which may be a red herrings) :

(a) In your OP you said that it worked when logged on to the client machine using a local 'Administrator' account. Were the account names *and* passwords identical on both the client and the server? Only ask because, thinking back to .NET remoting, this scenario would result in the server accepting the authentication without any reference to the domain. If the passwords were the same then it might be worth trying with different passwords. If that fails it will at least explain why the original was working.

(b) Are you sure that the problem is not with the domain/ADS itself rather than specific to WCF ?

(c) You could try using the service trace log to get more insight into the problem.....

(d) One thing I'd probably try:
Fire up the service then use a VS project on a client machine to see if you can add a service reference there via the wizard.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform