Jump to content


Photo

Xbmc Won't Authenticate To Windows 7


  • Please log in to reply
22 replies to this topic

#1 WingsOfLead

WingsOfLead

    X-S Enthusiast

  • Members
  • 3 posts

Posted 16 May 2009 - 04:47 AM

I'm using a soft-modded Xbox and I can't get it to authenticate to a share on my PC. The share is "\\192.168.1.2\Videos". I accessed it in the past with XP and Vista in XBMC by going to My Videos > Workgroup (SMB) Network > Workgroup (name of my workgroup) > MeinKampf-puter (name of my computer) > Videos. The problem is that when I put in my username and password at the point where I choose my computer, it just prompts me again and again because it's not authenticating. The username is xbox and the password is xbox. Both my PC and Xbox are connected to a Linksys router and the Xbox has a static IP of 192.168.1.3. Here is what I've tried:
xbox account has read NTFS and share permissions
Restarted Server service
Turned off Windows Firewall
Tried connecting Xbox directly to computer with ICS
Changed Network to a "Home" network in Network and Sharing Center
Turned on network discovery, file and printer sharing, sharing so everyone with network access can read and write files in Public folders
Allow media streaming to all networks
Enable file sharing for devices that use 40 or 56-bit encryption
Turned off password protected sharing
Change Local Security Settings as follows:
Network access: do not allow anonymous enumeration of SAM accounts: Disabled
Network access: do not allow anonymous enumeration of SAM accounts and shares: Disabled
Network access: let everyone permissions apply to anonymous users: Enabled
Network access: Restrict anonymous access to Named Pipes and Shares: Disabled
Network access: Shares that can be access anonymously: F:\Videos
Network security: Allow Local System to use computer identity for NTLM: Enabled
Network security: LAN Manager authentication level: send LM & NTLMv2 session security if negotiated
Network security: Restict NTLM: NTLM authentication in this domain: Disable
Also installed XP in a virtual machine and it's able to connect to it.

Any suggestions would be greatly appreciated.


#2 WingsOfLead

WingsOfLead

    X-S Enthusiast

  • Members
  • 3 posts

Posted 16 May 2009 - 07:49 AM

Nevermind, fixed it by editing the smb share locations to "smb://workgroup;xbox:xbox@192.168.1.2/videos"

#3 keypox

keypox

    X-S Enthusiast

  • Members
  • 13 posts

Posted 20 May 2009 - 08:45 PM

yeah i had issues with win7 sharing too, but got mine to work. Just had to turn off password sharing.

Anyways do you know how to save the login info so i dont have to enter it everytime in xbmc?

#4 WingsOfLead

WingsOfLead

    X-S Enthusiast

  • Members
  • 3 posts

Posted 31 May 2009 - 05:39 AM

just changing that share fixed every problem for me

Edited by WingsOfLead, 31 May 2009 - 05:39 AM.


#5 weta

weta

    X-S Enthusiast

  • Members
  • 1 posts

Posted 02 November 2009 - 04:31 PM

QUOTE(WingsOfLead @ May 16 2009, 06:49 AM)  

Nevermind, fixed it by editing the smb share locations to "smb://workgroup;xbox:xbox@192.168.1.2/videos"


I have the same problem.
Did you make the change above in the xbmc/userdata/sources.xml file?

I have shared the entire drive (D:) on Win7 and have made all the changes as you did in post#1, plus I added <path> tags in the sources.xml file, including the username/password - but it still comes up with the Lock screen asking for un/pw, and which then doesn't let me in anyway.

I can access a Vista laptop and a XP desktop without problem from the xbox, just not the Win7 box, even with everything opened up (firewall off, password protection off, anti-virus off (uninstalled!), folders shared with Everyone Read access)

Any ideas?

#6 PoGo_PeRv

PoGo_PeRv

    X-S Enthusiast

  • Members
  • 7 posts
  • Xbox Version:v1.6
  • 360 version:unknown

Posted 03 November 2009 - 05:27 PM

Having Same Problem Here I Upgraded From Vista To 7 last Week And Everything was running fine Up Until This Morning When I tried To Get on my Media Drive On My Pc From XBMC And Now Its Asking For UN/PW Like Everyone else I have Done all the above things and had no luck So Ya WTF I Really Don't Want To Go Back TO Vista The Resource Hog but I Like Being Able To Watch My Movies N Shit On My Tv

#7 The_Dogg

The_Dogg

    X-S Young Member

  • Members
  • Pip
  • 41 posts
  • Location:Canada
  • Xbox Version:v1.3

Posted 15 December 2009 - 03:53 AM

Anyone fixed that problem?

I'm having it too, can't connect to 1 windows 7 pc.

but I can connect fine to my windows 7 laptop.

here is the debug log:

CODE

21:47:31 M: 42971136   DEBUG: DIRECTORY::CSMBDirectory::OpenDir - Using authentication url smb://thomas:12345@pc
21:47:31 M: 42971136    INFO: Loading skin file: LockSettings.xml
21:47:31 M: 42971136   DEBUG: Load LockSettings.xml: 10.07ms
21:47:31 M: 42864640   DEBUG: Alloc resources: 15.69ms (10.53 ms skin load, 0.79 ms preload)
21:47:33 M: 42037248   DEBUG: CApplication::OnKey: 273 pressed, action is 2
21:47:33 M: 42029056   DEBUG: CApplication::OnKey: 273 pressed, action is 2
21:48:58 M: 42029056   DEBUG: CApplication::OnKey: 256 pressed, action is 7
21:48:58 M: 42971136   ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://thomas:12345@pc'
                             unix_err:'2' nt_err : 'c0000022' error : 'Access denied'
21:48:58 M: 42971136   ERROR: CGUIMediaWindow::GetDirectory(smb://user:12345@pc/) failed
21:48:58 M: 42971136   DEBUG: CGUIMediaWindow::GetDirectory ()
21:48:58 M: 42971136   DEBUG:   ParentPath = []
21:48:58 M: 42446848    INFO: Loading skin file: DialogOK.xml
21:48:58 M: 42971136   DEBUG: Load DialogOK.xml: 3.67ms
21:48:58 M: 42954752   DEBUG: Alloc resources: 0.74ms (0.00 ms skin load, 0.16 ms preload)
21:48:59 M: 42430464   DEBUG: CApplication::OnKey: 256 pressed, action is 7
21:49:00 M: 42795008   DEBUG: CApplication::OnKey: 256 pressed, action is 7
21:49:00 M: 42782720   DEBUG: Clearing cached fileitems [smb://user:12345@pc/]
21:49:00 M: 42958848   DEBUG: CGUIMediaWindow::GetDirectory (smb://user:12345@pc/)
21:49:00 M: 42958848   DEBUG:   ParentPath = []
21:49:00 M: 42958848   DEBUG: DIRECTORY::CSMBDirectory::OpenDir - Using authentication url smb://thomas:12345@pc
21:49:00 M: 42958848    INFO: Loading skin file: LockSettings.xml
21:49:00 M: 42958848   DEBUG: Load LockSettings.xml: 10.09ms
21:49:00 M: 42852352   DEBUG: Alloc resources: 15.79ms (10.61 ms skin load, 0.81 ms preload)
21:49:06 M: 42037248   DEBUG: CApplication::OnKey: 271 pressed, action is 4
21:49:06 M: 42037248   DEBUG: CApplication::OnKey: 256 pressed, action is 7
21:49:06 M: 42024960    INFO: Loading skin file: DialogKeyboard.xml
21:49:06 M: 41578496   DEBUG: Load DialogKeyboard.xml: 97.36ms
21:49:06 M: 41447424   DEBUG: Alloc resources: 14.71ms (0.00 ms skin load, 3.99 ms preload)


I tried everything, I'm sure the problem on that pc, just cant find the source

Edited by The_Dogg, 15 December 2009 - 03:56 AM.


#8 qtip82

qtip82

    X-S Enthusiast

  • Members
  • 2 posts

Posted 02 February 2010 - 08:22 AM

An out of work MCSE like myself is good for something at least tongue.gif

I was having this same issue and found a fix that has worked for a lot of people so far. Let me know if it works for any of you.

My original post below:



I have been having the exact same problem. And like many here, I tried everything listed and none of it worked.

But I DID find a solution without changing ANY settings whatsoever on my machine.

I know for a fact it had been working earlier this morning. The only change I had made was installing the new Windows Live Sign-In Assistant ver6.5 i think it was and linking my live ID to my windows user account (im using win7 ultimate 64bit btw).

After trying everything listed and several reboots, I uninstalled the sign-in assistant and it immediately began to work again.

So guys, give this a try and let me know if it helps anyone else. Leave it to microsoft to make security changes to your system with an unrelated install.

- qtip

edit: of course you also have to make sure you have enabled file sharing for devices that use 40 or 56-bit encryption in the network settings but other than that you dont have to change anything else other than uninstalling the sign in assistant.

Edited by qtip82, 02 February 2010 - 08:27 AM.


#9 JoshStouffer

JoshStouffer

    X-S Enthusiast

  • Members
  • 10 posts
  • Location:Phoenix, Arizona
  • Interests:Stuff.
  • Xbox Version:v1.0

Posted 09 May 2010 - 04:21 AM

QUOTE(qtip82 @ Feb 2 2010, 12:22 AM)  
The only change I had made was installing the new Windows Live Sign-In Assistant ver6.5 i think it was and linking my live ID to my windows user account (im using win7 ultimate 64bit btw).

After trying everything listed and several reboots, I uninstalled the sign-in assistant and it immediately began to work again.


I'd just like to say that I had this problem and the above post was exactly the solution. I was on Win7 x64 and I had installed the LiveID thing (I don't even really know what that did, I never even noticed what it changed) and had some network trouble with XBMC for a while. Well, I finally got time to troubleshoot and found this post which fixed everything perfectly. I would have never thought of it either. Thanks Mr. Unemployed MCSE wink.gif

QUOTE(qtip82 @ Feb 2 2010, 12:22 AM)  
Leave it to microsoft to make security changes to your system with an unrelated install.


P.S. Yeah, no kidding. What good did that Sign-In assistant actually DO anyway...?

#10 buzzrick

buzzrick

    X-S Enthusiast

  • Members
  • 1 posts

Posted 26 May 2010 - 10:26 AM

Hey guys. I've figured out a fix for this. Because you are using a computer specific user account you need to use the computer name in the smb address, like this:
CODE
smb://[computername]\[username]:[password]@[computername]/[sharename]
for example
CODE
smb://mypc\xbox:xbox@mypc/movies

hope that helps

Cheers
Buzzrick
http://buzzrick.true.geek.nz

#11 antknee869

antknee869

    X-S Enthusiast

  • Members
  • 24 posts

Posted 12 September 2010 - 04:10 PM

Where exactly do you enter that SMB address string? In the Add Sources section? Or do you have to edit an xml file?
Thanks

#12 Bomb Bloke

Bomb Bloke

    X-S Transcendental

  • Head Moderators
  • PipPipPipPipPipPipPipPipPipPip
  • 6,567 posts
  • Gender:Male
  • Location:Tasmania (AU)
  • Xbox Version:v1.0
  • 360 version:none

Posted 12 September 2010 - 11:07 PM

When adding an SMB source via the GUI, you'd enter the "[computername]\[username]" bit into the "Server name" field - though I gather this shouldn't be required with later versions of XBMC.

#13 antknee869

antknee869

    X-S Enthusiast

  • Members
  • 24 posts

Posted 13 September 2010 - 01:48 AM

Thanks but I actually got it to work by editing the sources.xml file.
Oddly enough it would not work by using the Add Source button no matter how I tried...


#14 wilson2010

wilson2010

    X-S Young Member

  • Members
  • Pip
  • 37 posts
  • Location:Portland
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 01 November 2010 - 04:36 PM

Oh my fu$%&/ GOD

thank you people for mentioning the Windows Live ID thing!!!


So i sat there yesterday bored on halloween fiddeling with Media Extender and the 360 and somehow i installed a codec pack with the bing toolbar bundled. I must have unchecked the wrong box because i didnt want the tool bar in the first place but it got installed anyway. So then i go to my xbox and the smb shares are being rejected by the server.

I was getting more pissed by the minute and then i eventually gave up trying to figure wtf happend. This morning i googled and this was the first post and sure enough its the live id crap. Deinstalled. It works like in the previous 48 months.

THANK YOU. You guys made my day biggrin.gif

#15 Pinecones

Pinecones

    X-S Enthusiast

  • Members
  • 1 posts

Posted 13 November 2010 - 12:01 AM

I created an account with the sole purpose of Thanking posters here for identifying MS Sign-in Assistant. Would have taken me hours if not days to attempt removing MSN 2011 update. (installed it yesterday, everything broke sleep.gif).

Thanks again happy.gif




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users