""
All times are GMT +2. The time now is 12:27 PM.  

Go Back   PSX/PS2/PS3 Scene Newz > PlayStation2 Forums > PS2 Homebrew/Dev & Emu Scene > Official SMS Forums

Official SMS Forums Forum for discussing SMS: Simple Media System player for the ps2.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-12-2008, 01:29 PM
emsef emsef is offline
Registered User
 
Join Date: Mar 2007
Posts: 56
Question

SMS with Mac OS 10.5 (Leopard)?


Has anybody been able to get SMS working with Mac OS 10.5 Leopard?

Just got a new mac, and the only thing that's changed is the IP of my computer, so I've changed SMB.sms.

However, it's still not working. SMS shows a green tick next to the Samba Share name in it's menu, but no share pops up as browsable.

Any advice appreciated.

Thanks,
matt
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 05-12-2008, 02:00 PM
emsef emsef is offline
Registered User
 
Join Date: Mar 2007
Posts: 56
OK,

I've rechecked (and corrected!) my share name and checked Samba is switched on.

Some progress! I am now getting Login Error (5) in SMS.

matt
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 05-12-2008, 03:26 PM
barf's Avatar
barf barf is offline
if(hacker 2005AD == philosopher 200BC) {
 
Join Date: Sep 2004
Location: /bin/bash
Posts: 1,390
Hmm, I never tried to use Leopard with SMS,
I always use Mac as workstation and debian as server...
works fine with debian/ubuntu though...
__________________
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 05-12-2008, 03:53 PM
emsef emsef is offline
Registered User
 
Join Date: Mar 2007
Posts: 56
The more I try this, the more I am sure this is a Leopard bug

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 05-12-2008, 04:27 PM
barf's Avatar
barf barf is offline
if(hacker 2005AD == philosopher 200BC) {
 
Join Date: Sep 2004
Location: /bin/bash
Posts: 1,390
Do you know wireshark? or [t]ethereal?

It is possible to screen the activity of the traffic...
__________________
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 05-12-2008, 05:16 PM
emsef emsef is offline
Registered User
 
Join Date: Mar 2007
Posts: 56
Yes, but Wireshark does not work on my new Intel iMac

Maybe I can run it on another computer to check?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 05-12-2008, 05:59 PM
barf's Avatar
barf barf is offline
if(hacker 2005AD == philosopher 200BC) {
 
Join Date: Sep 2004
Location: /bin/bash
Posts: 1,390
Quote:
Originally Posted by emsef View Post
Maybe I can run it on another computer to check?
sure
__________________
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 05-13-2008, 02:01 PM
emsef emsef is offline
Registered User
 
Join Date: Mar 2007
Posts: 56
Here's the SMS "login error (5)" Wireshark dump

http://www.divshare.com/download/4485192-9c6

Any help appreciated.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 05-13-2008, 02:38 PM
emsef emsef is offline
Registered User
 
Join Date: Mar 2007
Posts: 56
Also, here is the smbd log from my Mac
Code:
[2008/05/13 12:35:13, 0, pid=281] /SourceCache/samba/samba-187.4/samba/source/auth/auth_odsam.c:opendirectory_ntlmv2_auth_user(330)
  dsDoNodeAuth gave -14090 [eDSAuthFailed]
[2008/05/13 12:35:13, 0, pid=281] /SourceCache/samba/samba-187.4/samba/source/auth/auth_odsam.c:opendirectory_smb_pwd_check_ntlmv2(446)
  opendirectory_ntlmv2_auth_user gave -14090 [eDSAuthFailed]
[2008/05/13 12:35:13, 0, pid=281] /SourceCache/samba/samba-187.4/samba/source/auth/auth_odsam.c:opendirectory_opendirectory_ntlm_password_check(657)
  opendirectory_smb_pwd_check_ntlmv2 gave -14090 [eDSAuthFailed]
[2008/05/13 12:35:13, 0, pid=281] /SourceCache/samba/samba-187.4/samba/source/auth/auth_odsam.c:opendirectory_ntlmv2_auth_user(330)
  dsDoNodeAuth gave -14090 [eDSAuthFailed]
[2008/05/13 12:35:13, 0, pid=281] /SourceCache/samba/samba-187.4/samba/source/auth/auth_odsam.c:opendirectory_smb_pwd_check_ntlmv2(446)
  opendirectory_ntlmv2_auth_user gave -14090 [eDSAuthFailed]
[2008/05/13 12:35:13, 0, pid=281] /SourceCache/samba/samba-187.4/samba/source/auth/auth_odsam.c:opendirectory_opendirectory_ntlm_password_check(673)
  opendirectory_smb_pwd_check_ntlmv2 gave -14090 [eDSAuthFailed]
[2008/05/13 12:35:13, 0, pid=281] /SourceCache/samba/samba-187.4/samba/source/auth/auth_odsam.c:opendirectory_ntlmv2_auth_user(330)
  dsDoNodeAuth gave -14090 [eDSAuthFailed]
[2008/05/13 12:35:13, 0, pid=281] /SourceCache/samba/samba-187.4/samba/source/auth/auth_odsam.c:opendirectory_smb_pwd_check_ntlmv2(446)
  opendirectory_ntlmv2_auth_user gave -14090 [eDSAuthFailed]
[2008/05/13 12:35:13, 0, pid=281] /SourceCache/samba/samba-187.4/samba/source/auth/auth_odsam.c:opendirectory_opendirectory_ntlm_password_check(688)
  opendirectory_smb_pwd_check_ntlmv2 gave -14090 [eDSAuthFailed]
[2008/05/13 12:35:13, 0, pid=281] /SourceCache/samba/samba-187.4/samba/source/lib/opendirectory.c:opendirectory_user_auth_and_session_key(679)
  dsDoDirNodeAuthOnRecordType gave -14091 [eDSAuthMethodNotSupported]
[2008/05/13 12:35:13, 0, pid=281] /SourceCache/samba/samba-187.4/samba/source/auth/auth_odsam.c:opendirectory_smb_pwd_check_ntlmv1(383)
  opendirectory_user_auth_and_session_key gave -14091 [eDSAuthMethodNotSupported]
[2008/05/13 12:35:13, 0, pid=281] /SourceCache/samba/samba-187.4/samba/source/auth/auth_odsam.c:opendirectory_auth_user(233)
  dsDoNodeAuth gave -14090 [eDSAuthFailed]
[2008/05/13 12:35:13, 0, pid=281] /SourceCache/samba/samba-187.4/samba/source/auth/auth_odsam.c:opendirectory_smb_pwd_check_ntlmv1(393)
  opendirectory_auth_user gave -14090 [eDSAuthFailed]
[2008/05/13 12:35:13, 0, pid=281] /SourceCache/samba/samba-187.4/samba/source/auth/auth_odsam.c:opendirectory_smb_pwd_check_ntlmv1(402)
  opendirectory_user_session_key gave -14090 [eDSAuthFailed]
[2008/05/13 12:35:13, 0, pid=281] /SourceCache/samba/samba-187.4/samba/source/auth/auth_odsam.c:opendirectory_opendirectory_ntlm_password_check(706)
  opendirectory_smb_pwd_check_ntlmv1 gave -14090 [eDSAuthFailed]
Looks like the method of authentication is not supported?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 05-13-2008, 03:20 PM
barf's Avatar
barf barf is offline
if(hacker 2005AD == philosopher 200BC) {
 
Join Date: Sep 2004
Location: /bin/bash
Posts: 1,390
Please grep the log for: MethodNotSupported

It seems ps2smb implementation requires a special way to connect?
__________________
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11  
Old 05-13-2008, 03:28 PM
emsef emsef is offline
Registered User
 
Join Date: Mar 2007
Posts: 56
grep results:
Code:
  dsDoDirNodeAuthOnRecordType gave -14091 [eDSAuthMethodNotSupported]
  opendirectory_user_auth_and_session_key gave -14091 [eDSAuthMethodNotSupported]
But, I found the very simple solution!

If the IP address of the Mac you are trying to connect to is: 192.168.1.190
And the username of the user whose files are being shared is: foo

You should enter your smb login username as: 192.168.1.190foo

I found this information here: http://technojunkie.org/berniec/ridi...lesharing.html

So login now works!

...but smbd is crashing when SMS tries to access it

SMS displays smb0: and receives the list of shares OK
Upon selecting a shate, SMS displays smb1: and then the Mac restarts smb because of a panic
A moment later, SMS sees the share and you can do the previous two steps all over again

I am not able to see any files in the share.

matt

Code:
[2008/05/13 13:14:25, 1, pid=591] /SourceCache/samba/samba-187.4/samba/source/smbd/service.c:make_connection_snum(1087)
  ps2 (192.168.1.192) connect to service torrents initially as user nobody (uid=-2, gid=12) (pid 591)
[2008/05/13 13:14:25, 0, pid=591] /SourceCache/samba/samba-187.4/samba/source/lib/util.c:smb_panic(1650)
  PANIC (pid 591): push_ascii - dest_len == -1
[2008/05/13 13:14:25, 0, pid=591] /SourceCache/samba/samba-187.4/samba/source/lib/util.c:log_stack_trace(1761)
  BACKTRACE: 11 stack frames:
   #0 0   smbd                                0x001bfc3a log_stack_trace + 40
   #1 1   smbd                                0x001bfd6c smb_panic + 123
   #2 2   smbd                                0x001acadb push_ascii + 64
   #3 3   smbd                                0x0005a4a2 set_ea + 16028
   #4 4   smbd                                0x0005bf4c set_ea + 22854
   #5 5   smbd                                0x0005de1a handle_trans2 + 3062
   #6 6   smbd                                0x00062fef reply_trans2 + 2516
   #7 7   smbd                                0x0007d14b get_OutBuffer + 1433
   #8 8   smbd                                0x0007df27 smbd_process + 2644
   #9 9   smbd                                0x00270007 main + 5076
   #10 10  smbd                                0x00002002 start + 54
[2008/05/13 13:14:25, 0, pid=591] /SourceCache/samba/samba-187.4/samba/source/lib/fault.c:dump_core(181)
  dumping core in /private/var/log/samba/cores/smbd
[2008/05/13 13:14:27, 0, pid=596] /SourceCache/samba/samba-187.4/samba/source/passdb/pdb_odsam.c:odssam_getsampwnam(1571)
  opendirectory_sam_searchname gave -14136 [eDSRecordNotFound]: no dsRecTypeStandard:Users record for account '192.168.1.190matt'
[2008/05/13 13:14:27, 0, pid=596] /SourceCache/samba/samba-187.4/samba/source/passdb/pdb_odsam.c:odssam_getsampwnam(1571)
  opendirectory_sam_searchname gave -14136 [eDSRecordNotFound]: no dsRecTypeStandard:Users record for account '192.168.1.190matt'

Last edited by emsef; 05-13-2008 at 03:56 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12  
Old 05-13-2008, 04:51 PM
barf's Avatar
barf barf is offline
if(hacker 2005AD == philosopher 200BC) {
 
Join Date: Sep 2004
Location: /bin/bash
Posts: 1,390
You seem quiet capable, perhaps it’s simpler to compile samba from source, than to solve Apple’s problems?

After all is probably the best company in the world at crippling *nix...
__________________
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13  
Old 05-13-2008, 04:57 PM
emsef emsef is offline
Registered User
 
Join Date: Mar 2007
Posts: 56
I am quite technical, happy to have a go at that

Configuring it would likely be beyond me. Any advice appreciated.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14  
Old 05-13-2008, 05:21 PM
emsef emsef is offline
Registered User
 
Join Date: Mar 2007
Posts: 56
Trying to compile Samba:
Code:
Linking bin/smbd
Undefined symbols:
  "_updwtmpx", referenced from:
      _sys_utmp_update in utmp.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [bin/smbd] Error 1
I have no idea where to go from here
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15  
Old 05-13-2008, 06:18 PM
barf's Avatar
barf barf is offline
if(hacker 2005AD == philosopher 200BC) {
 
Join Date: Sep 2004
Location: /bin/bash
Posts: 1,390
I have only done that in ubuntu myself...

However I assume you have XCode installed?

and I expect you started with ./configure -?

The usual drill is
Code:
sudo ./configure //with some options found when doing ./configure -?
sudo make
sudo make install
Maybe there is an --enable-darwin option or something in there?
__________________
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16  
Old 05-13-2008, 07:13 PM
emsef emsef is offline
Registered User
 
Join Date: Mar 2007
Posts: 56
I did ./configure and then make threw the error

Am looking into using a version of Samba from DarwinPorts
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17  
Old 05-13-2008, 07:49 PM
barf's Avatar
barf barf is offline
if(hacker 2005AD == philosopher 200BC) {
 
Join Date: Sep 2004
Location: /bin/bash
Posts: 1,390
Try
Code:
./configure -?
__________________
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18  
Old 05-17-2008, 01:05 AM
emsef emsef is offline
Registered User
 
Join Date: Mar 2007
Posts: 56
I filed a bug report with Apple

I got a version of samba through MacPorts/DarwinPorts, but could not get it running.

I have given up, for now
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #19  
Old 05-17-2008, 01:44 AM
barf's Avatar
barf barf is offline
if(hacker 2005AD == philosopher 200BC) {
 
Join Date: Sep 2004
Location: /bin/bash
Posts: 1,390
I have given up on Apple’s server side long time ago, it’s very clumsy.

However Apple’s workstation is better than most alternatives apart from Ubuntu 8, those are real competitors.
__________________
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #20  
Old 05-18-2008, 10:41 PM
emsef emsef is offline
Registered User
 
Join Date: Mar 2007
Posts: 56
Still trying various things here

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!