Kerberos Issue
Hi All, Having a bit of a tricky Kerberos issue with passing a credential through to SQL server from a 4.0 WCF REST service. I've been trying to set up Kerberos to get this working as multi hop will be an issue with the final solution and currently i'm getting Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON' on all requests. Looking at the set up for Kerberos I need to be able to set the delegation trust for this server by adding the MSSQLSvc in AD, but in the list of available services MSSQLSvc does not appear. I have registered the SPN MSSQLSvc/SERVERNAME:Port Account but no luck. I'm feeling a bit out of my depth here anyone got any ideas what step I've missed? Cheers, Si
Re: Kerberos Issue
Hi Ken, Thanks for your reply, I was already following your blog for the setup when I discovered the missing service entry :), is there any reason the SPN would not be registered during SQL setup? I have now added the MSSQLSvc SPN manually (setspn) and everything seems to be working ok but would like to avoid this happening in the future if possible. Cheers, Simon On Tue, Nov 15, 2011 at 2:27 PM, Ken Schaefer k...@adopenstatic.com wrote: Hi, ** ** The MSSQLSvc SPN should be registered automatically during SQL Server setup. It would appear under the computer account or user account that the SQL Server services are running under. ** ** Then, you need to permit delegation at your front tier (hosting your web service) to the backend SQL Server. ** ** Adding extra (duplicate) SPNs will break Kerberos, so make sure you need to add this SPN before you do. ** ** http://www.adopenstatic.com/cs/blogs/ken/archive/2007/01/28/1282.aspx is how you set this up for standard IIS and SQL Server (the delegation bit). You’ll probably want to read part 3 on ensuring you are using Kerberos to your front-tier box. There’s a list of the Kerberos FAQs here: http://www.adopenstatic.com/faq/ ** ** Cheers Ken ** ** *From:* ozdotnet-boun...@ozdotnet.com [mailto: ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Simon Reed *Sent:* Monday, 14 November 2011 4:15 PM *To:* ozDotNet *Subject:* Kerberos Issue ** ** Hi All, ** ** Having a bit of a tricky Kerberos issue with passing a credential through to SQL server from a 4.0 WCF REST service. I've been trying to set up Kerberos to get this working as multi hop will be an issue with the final solution and currently i'm getting Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON' on all requests. Looking at the set up for Kerberos I need to be able to set the delegation trust for this server by adding the MSSQLSvc in AD, but in the list of available services MSSQLSvc does not appear. I have registered the SPN MSSQLSvc/SERVERNAME:Port Account but no luck. I'm feeling a bit out of my depth here anyone got any ideas what step I've missed? ** ** Cheers, Si
Re: [OT] WP7 Handset/device
I picked up the Mozart day after release and am happy with it, that being said I haven't seen/used any other WP7 phones. Camera is good and build quality of the phone is solid, battery life is ok with wireless off and not so good 12 hours with it on. On Thu, Nov 4, 2010 at 7:10 PM, .net noobie dotnetnoo...@gmail.com wrote: Chris, so you are suggesting the HTC Mozart, is best model to get? On Thu, Nov 4, 2010 at 9:08 PM, .net noobie dotnetnoo...@gmail.com wrote: http://www.mobicity.com.au/phone-categories/smartphones/windows/windows-phone.html?order=pricedir=asc On Thu, Nov 4, 2010 at 9:07 PM, Chris Walsh ch...@walshie.me wrote: Really depends on what network you're wanting to use it on. If its Telstra, there are only TWO in the US that use the 850Mhz 3G band, the Samsung Focus the HTC Surround. If it is on Optus, Three or Voda, they use the 2100Mhz 900Mhz 3G bands, so you're pretty much set on 7 out of the 9 launch devices support those bands. The REAL device apart from the HTC Mozart is the Dell Venue Pro, but it isn't on the 850Mhz band, but has Gorilla Glass, AMOLED screen, expansive memory portrait slider. -Original Message- From: ozdotnet-boun...@ozdotnet.com [mailto: ozdotnet-boun...@ozdotnet.com] On Behalf Of .net noobie Sent: Thursday, 4 November 2010 9:56 PM To: ozdotnet@ozdotnet.com Subject: [OT] WP7 Handset/device Does anyone know where you can buy a WP7 Handset/device outright without a plan? Telstra are selling them I think but there price is pretty high and only have 2 phones http://www.lifehacker.com.au/2010/10/telstra-sets-outright-buy-prices-for-windows-phone-7-handsets/ What do people think about buying a handset from overseas to try and get a better price? e.g. ATT are selling phones for 199.99 USD, but I don't know the details as in it this is on some kind of plan or just the handset outright? or if the handset will be locked to ATT etc... I like the look of the Samsung Omnia 7 from Optus the The HTC Mozart, has a better camera 8 Mega Pixel what models do people think is best and why? in the US there is a Samsung Focus which people seem to like a lot, is the Samsung Omnia 7 basically the same/Australian version? Is there going to be any advantage to getting a phone on a plan, rather then getting a handset and putting in my own Sim card? e.g. will the phone company have any extra features I will not get if I just put in my own Sim card? these are/seem to be the options for Australian handsets http://www.microsoft.com/windowsphone/en-au/buy/7/phones.aspx#mode=all as I said above I like the Samsung Omnia 7 so any comments on why I should or should not choose a different model would be great thanks noobie
Re: [OT] WP7 Handset/device
Settings Lock Wallpaper Screen time-out 30s/1m/3m/5m/never on mine On Thu, Nov 4, 2010 at 9:28 PM, Stephen Price step...@littlevoices.comwrote: I was on Optus with my iphone. I got the shits with them in the end, the number of times I'd be in the city and it would be giving me a GPRS connection (no 3G) drove me crazy. Telstra have finally become competitive with their pricing. My HTC Mozart is costing me $49 a month with nothing to pay for the phone. Optus was/is $79 a month. I gave my iphone to my daughter (no credit topups for her for a while she's got a $350 limit). It was way to much to break the Optus contract and pay out the phone. Love the Mozart, its a nice phone. My only complaint is there doesnt seem to be a way to make the screen lock after a period of time. it locks or it doesnt. iphone could lock after 10 mins. On Thu, Nov 4, 2010 at 8:26 PM, .net noobie dotnetnoo...@gmail.com wrote: How bad is the Optus network really I really only intend on being in a city, never really going to be in the country the optus plans just seem to give alot more then telstra on the data side Bonus Unlimited mobile access to Facebook, Twitter, LinkedIn, MySpace, eBay and Foursquare4 this could reduce the data your paying for with the built in features alot or is all the data going to actually coming from windows live and therefore this will not help you reduce the data your consuming? I would mostly just be using twitter and maybe Facebook sometimes if someone sent me a message or something Minimum Monthly Spend $79 Total Monthly Value Up to $9001 Included Data 3GB2 or Unlimited BIS + 1GB 2 on BlackBerry handsets Voicemail deposits retrievals Unlimited3 Bonus Unlimited mobile access to Facebook, Twitter, LinkedIn, MySpace, eBay and Foursquare4 Standard National SMS(excl Pivotel) unlimited Standard National MMS(excl Pivotel) unlimited Call rate $0.90 per minute National Video call rate $1 per minute plus 35c flagfall International Video call rate $1.50 per minute plus 35c flagfall 13/1300 call rate $0.90 per minute + $0.35 Flagfall Connection Fee 35c per call Excess Data Usage 10c per MB Connection Fee 35c per call Excess Data Usage 10c per MB Inclusions Standard Aust local, national, GSM mobile, video calls, voicemail and 13/1300 calls standard SMS, MMS to Aust GSM mobile, and international SMS 1 Pay the first Business Complete Ultimate plan worth of included value each billing period after which these services are free up to a maximum of your selected plans Included Cap Value per billing period. 2 Mobile Internet Data Value: can be used to access services on Optus Zoo, browsing the Internet from your mobile, as well as using your mobile as a modem. If you elect to take the Business Advantage BMB service the plans included mobile data value can be shared. Excess usage charges of $0.10 per MB or part thereof apply (Includes uploads and downloads). Data usage will be counted in kilobytes, where 1024KB = 1MB and includes both uploads and downloads. Any unused data allowance cannot be rolled over. Unlimited BlackBerry POP3 Browsing: only applies for POP3 email traffic and internet browsing through the BlackBerry Browser and specifically excludes use of the Optus Zoo Browser and International Roaming. Customers must have a BlackBerry or BlackBerry Connect handset to access this service. Unlimited BlackBerry POP3 email and browsing is subject to the Optus Mobile Fair GoTM policy. The BlackBerry and RIM families of related marks, images and symbols are the exclusive properties of and trademarks or registered trademarks of Research In Motion Limited used by permission. 3 Unlimited Voicemail: Applies to Voicemail Deposits and Retrievals, diversion charges apply. 4 Unlimited Facebook, Twitter, LinkedIn, MySpace, eBay Foursquare: Only available within Australian and requires compatible handset. Use of these services is separate and does not count towards your included “Mobile Internet Data”. Cannot be used with your Optus Mobile Broadband (OMB) or Business Mobile Broadband (BMB) device/s and excludes use of Facebook SMS or other social media alert services. These features are only available to you if your handset is compatible with the service. Optus Mobile Fair GoTM Policy applies. On Thu, Nov 4, 2010 at 10:11 PM, Nick Randolph n...@builttoroam.com wrote: Chris, beg to differ on the warranty front - http://www.mobicity.com.au/extras/warranty.html Nick Randolph | Built to Roam | Microsoft MVP - Windows Phone Development | +61 412 413 425 The information contained in this email is confidential. If you are not the intended recipient, you may not disclose or use the information in this email in any way. Built To Roam does not guarantee the integrity of any emails or attached files. The views or opinions expressed are the
Re: [OT] WP7 Handset/device
Speaking of Zune is there a timeline for Zune pass or music coming to Aus? On Fri, Nov 5, 2010 at 8:35 AM, Bill McCarthy b...@totalenviro.com wrote: Use Zune on the PC for marketplace ;) |-Original Message- |From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet- |boun...@ozdotnet.com] On Behalf Of Simon Reed |Sent: Friday, 5 November 2010 12:48 AM |To: ozDotNet |Subject: Re: [OT] WP7 Handset/device | |Does anyone know if marketplace/downloads are metered content through |Telstra I know Telstra One is unmetered and thought maybe marketplace could |be the same as you can add the cost of apps to the mobile bill? (probably just |wishful thinking) | | |On Thu, Nov 4, 2010 at 9:43 PM, Stephen Price step...@littlevoices.com |wrote: | | | I seem to be averaging about 3Mb per day. I've used 45Mb of my |512Mb | data. I use it for general browsing and dont limit anything like | pictures or anything. I do have it hooked up to wifi at home and at | work so that would help reduce actual 3G bandwidth used. | | 500Mb should be plenty. Its mostly twitter and facebook which is text |mostly. | | | On Thu, Nov 4, 2010 at 9:33 PM, .net noobie |dotnetnoo...@gmail.com wrote: |Stephen, do you have it all setup for getting the services and photos |etc? |do you have any issues with blowing your data limits or you don't know |yet? | |On Thu, Nov 4, 2010 at 11:28 PM, Stephen Price |step...@littlevoices.com |wrote: | |I was on Optus with my iphone. I got the shits with them in the end, |the number of times I'd be in the city and it would be giving me a |GPRS connection (no 3G) drove me crazy. | |Telstra have finally become competitive with their pricing. My HTC |Mozart is costing me $49 a month with nothing to pay for the phone. |Optus was/is $79 a month. I gave my iphone to my daughter (no |credit |topups for her for a while she's got a $350 limit). It was way to much |to break the Optus contract and pay out the phone. | |Love the Mozart, its a nice phone. My only complaint is there doesnt |seem to be a way to make the screen lock after a period of time. it |locks or it doesnt. iphone could lock after 10 mins. | |On Thu, Nov 4, 2010 at 8:26 PM, .net noobie |dotnetnoo...@gmail.com |wrote: | How bad is the Optus network really | | I really only intend on being in a city, never really going to be in the | country | the optus plans just seem to give alot more then telstra on the data | side | Bonus Unlimited mobile access to Facebook, Twitter, LinkedIn, |MySpace, | eBay | and Foursquare4 | this could reduce the data your paying for with the built in features | alot | or is all the data going to actually coming from windows live and | therefore | this will not help you reduce the data your consuming? | | I would mostly just be using twitter and maybe Facebook |sometimes if | someone | sent me a message or something | | Minimum Monthly Spend $79 | Total Monthly Value Up to $9001 | Included Data 3GB2 or Unlimited BIS + 1GB 2 on BlackBerry |handsets | Voicemail deposits retrievals Unlimited3 | Bonus Unlimited mobile access to Facebook, Twitter, LinkedIn, |MySpace, | eBay | and Foursquare4 | Standard National SMS(excl Pivotel) unlimited | Standard National MMS(excl Pivotel) unlimited | Call rate $0.90 per minute | National Video call rate $1 per minute plus 35c flagfall | International Video call rate $1.50 per minute plus 35c flagfall | 13/1300 call rate $0.90 per minute + $0.35 Flagfall | Connection Fee 35c per call | Excess Data Usage 10c per MB | Connection Fee 35c per call | Excess Data Usage 10c per MB | Inclusions Standard Aust local, national, GSM mobile, video calls, | voicemail | and 13/1300 calls standard SMS, MMS to Aust GSM mobile, and | international | SMS | | 1 Pay the first Business Complete Ultimate plan worth of included |value | each | billing period after which these services are free up to a maximum |of | your | selected plans Included Cap Value per billing period. | 2 Mobile Internet Data Value: can be used to access services on |Optus | Zoo, | browsing the Internet from your mobile, as well as using your |mobile as | a | modem. If you elect to take the Business Advantage BMB service |the plans | included mobile data value can be shared. Excess
Re: OT - So, what's new in the world of programming?
Not exactly new but I don't remember seeing it mentioned on here before Pex automated white box testing. Unit testing for people who don't like writing endless unit tests. Also moles for delegate testing. Been playing around with it for a while and the time savings are good but the learning curve to get the most out of it can be a bit steep. Simon http://research.microsoft.com/en-us/projects/pex/ On Thu, Nov 4, 2010 at 6:35 AM, silky michaelsli...@gmail.com wrote: On Thu, Nov 4, 2010 at 9:32 AM, Peter Gfader pe...@gfader.com wrote: I came across Mutation testing 2 weeks ago. And loved the idea. But didn't dig into it too much yet. The Idea of Mutation testing How can you trust your tests? Let a tool change your app a little and run all tests. If 1 test fails, because of that change, you had good tests in place... Heh, that's pretty cute, some sort of fuzzing applied to tests. Don't mind that. Nice one. More here http://en.wikipedia.org/wiki/Mutation_testing and a .NET implementation here http://www.simple-talk.com/dotnet/.net-tools/mutation-testing/ .peter.gfader. http://blog.gfader.com -- silky http://dnoondt.wordpress.com/ Every morning when I wake up, I experience an exquisite joy — the joy of being this signature.
Re: OT - So, what's new in the world of programming?
Yeah the first time I ran it over my own code I nearly had a heart attack! On Thu, Nov 4, 2010 at 9:38 AM, Peter Gfader pe...@gfader.com wrote: +1 to Pex It is awesome for generating test inputs. If another dev comes to you and says: I am done You run Pex over those methods and get quite a lot of exceptions ;-) .peter.gfader. http://blog.gfader.com On Thu, Nov 4, 2010 at 11:55 AM, silky michaelsli...@gmail.com wrote: On Thu, Nov 4, 2010 at 10:04 AM, Simon Reed simon.spectre.l...@gmail.com wrote: Not exactly new but I don't remember seeing it mentioned on here before Pex automated white box testing. Unit testing for people who don't like writing endless unit tests. Also moles for delegate testing. Been playing around with it for a while and the time savings are good but the learning curve to get the most out of it can be a bit steep. Cool; also from the list of VS Power Tools; this looks pretty cool: http://visualstudiogallery.msdn.microsoft.com/en-us/271d0904-f178-4ce9-956b-d9bfa4902745 Simon http://research.microsoft.com/en-us/projects/pex/ -- silky http://dnoondt.wordpress.com/ Every morning when I wake up, I experience an exquisite joy — the joy of being this signature. -- .peter.gfader. http://blog.gfader.com/ http://twitter.com/peitor
Re: verdict on kindle/ebook reader?
Can't comment on AMOLED as I haven't used one before but I would think as the device is still a light generating source as opposed to a eInk which requires another source to read the same strain would occur. However I know people who have no issue with reading from a standard lcd for hours on end which would drive me insane. For anyone looking I would say beg, borrow or steal one of each variety before buying and go with what suits (note I am not endorsing stealing :) ). How energy efficient are the new AMOLED devices anyway? On Fri, Sep 3, 2010 at 2:12 PM, mike smith meski...@gmail.com wrote: On 3 September 2010 15:05, Simon Reed simon.spectre.l...@gmail.comwrote: +1 agree with Ken Also compared to a backlit device such as an iPad or tablet I find the eye strain considerably less especially when reading for long periods. Battery life on Kindle is also comparable to the Sony's month, but as Ken mentioned it is more to do with page turns. What about compared to AMOLED devices? I find them better to read on than backlit, but haven't tried an electric ink device. -- Meski Going to Starbucks for coffee is like going to prison for sex. Sure, you'll get it, but it's going to be rough - Adam Hills
Re: verdict on kindle/ebook reader?
+1 agree with Ken Also compared to a backlit device such as an iPad or tablet I find the eye strain considerably less especially when reading for long periods. Battery life on Kindle is also comparable to the Sony's month, but as Ken mentioned it is more to do with page turns. The third gen Kindle (which I have now been waiting to be shipped for a month g) is supposed to have a better contrast ratio than the second gen (which I currently have) and is a slightly smaller device but with the same screen size. Simon On Fri, Sep 3, 2010 at 12:51 PM, Ken Schaefer k...@adopenstatic.com wrote: Hi, You can read it outside just like a book. Battery life for e-Ink is sometimes rated in page turns rather than hours, as power is mostly consumed in changing the screen. My Sony would last a month between charges, which makes it more book like in terms of functionality: I can just pick it up and toss it into my bag The Kindle has the free world-wide 3G, which is, unfortunately, terribly addictive. I took my Kindle to Singapore, and wanted some books, so I just bought them. Two minutes later, they are on the Kindle. Cheers Ken -Original Message- From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Bill McCarthy Sent: Friday, 3 September 2010 11:29 AM To: 'ozDotNet' Subject: RE: verdict on kindle/ebook reader? Thanks Ken, So what are the plus sides of not having a back-lit screen? Longer battery life; lighter; less glare etc ? Generally speaking are they easier on the eye to read in a well lit room?
Re: verdict on kindle/ebook reader?
I have had good results using mobipocket, it's not perfect but does a reasonable job and yes ePub is the way to go just need to copy the file over via usb and you're away. Most issues are around large detailed images and for some reason book covers (?) but the result is very useable and all text including code samples are converted well. Amazon has it's own convertor for Kindle owners via email but I haven't tried it as yet. Not used Calibre and wasn't aware of it till now, I may give it a try over the w/end and report back. Purchased technical books direct from Amazon in Kindle format are very good and it looks as if more publishers are jumping on the band wagon. Apparently the engine for PDF has been improved from 2-3 gen but I have not experienced it first hand, currently have an unconfirmed shipping date of the 10th. So if a Kindle is for you be prepared to wait... Simon On Fri, Sep 3, 2010 at 1:12 PM, David Burstin david.burs...@gmail.comwrote: Simon/Ken, I've seen a number of options for converting pdfs into a suitable format for the Kindle (rather than loading them directly onto the Kindle) such as using MobiPocket or Calibre, converting the PDF to HTML first, some via ePub format. A Google search on PDF to Kindle produces an array of options. Have you used any of these to read technical PDFs on the Kindle? What are the results like? Also, do you know if the PDF rendering engine is better on the Kindle 3 than the Kindle 2? Any other advice/insights for reading pdfs on the small size Kindle? Cheers Dave On Fri, Sep 3, 2010 at 3:05 PM, Simon Reed simon.spectre.l...@gmail.comwrote: +1 agree with Ken Also compared to a backlit device such as an iPad or tablet I find the eye strain considerably less especially when reading for long periods. Battery life on Kindle is also comparable to the Sony's month, but as Ken mentioned it is more to do with page turns. The third gen Kindle (which I have now been waiting to be shipped for a month g) is supposed to have a better contrast ratio than the second gen (which I currently have) and is a slightly smaller device but with the same screen size. Simon On Fri, Sep 3, 2010 at 12:51 PM, Ken Schaefer k...@adopenstatic.comwrote: Hi, You can read it outside just like a book. Battery life for e-Ink is sometimes rated in page turns rather than hours, as power is mostly consumed in changing the screen. My Sony would last a month between charges, which makes it more book like in terms of functionality: I can just pick it up and toss it into my bag The Kindle has the free world-wide 3G, which is, unfortunately, terribly addictive. I took my Kindle to Singapore, and wanted some books, so I just bought them. Two minutes later, they are on the Kindle. Cheers Ken -Original Message- From: ozdotnet-boun...@ozdotnet.com [mailto: ozdotnet-boun...@ozdotnet.com] On Behalf Of Bill McCarthy Sent: Friday, 3 September 2010 11:29 AM To: 'ozDotNet' Subject: RE: verdict on kindle/ebook reader? Thanks Ken, So what are the plus sides of not having a back-lit screen? Longer battery life; lighter; less glare etc ? Generally speaking are they easier on the eye to read in a well lit room?