Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Samba and PS2 with SMS Player

  1. #1

    Default Samba and PS2 with SMS Player

    I have some problems with my Samba Server in connection with the SMS Player on my PS2. Before I use Samba on Suse 9.0, last days I install suse 11.0 and start the new samba with the old config file. everithing runs windows clients can connect to the new domain all released works. Only my PS2 cant connect. The username and the password is correct if i connect anonymously I can see the folders but i cant go inside i need a login.

    can somebody help me?

    my smb.conf is:

    # pumukel.lipton Domain Controler Settings



    [global]
    load printers = no
    netbios name = pumukel
    socket options = TCP_NODELAY
    logon script = \%U.bat
    logon path = \\%L\pro-%U\%U
    workgroup = lipton
    os level = 20
    username map = /etc/samba/smbusers
    encrypt passwords = yes
    time server = yes
    hosts allow = 192.168.13.
    security = user
    wins support = true
    domain logons = yes



    [netlogon]
    path = /users/
    browseable = no
    force directory mode = 400
    allow hosts = 192.168.
    writeable = yes
    create mode = 400
    directory mode = 400
    force create mode = 400
    write list = @admin

    # Profil Ordner
    [pro-%U]
    path = /users/
    browseable = no
    force directory mode = 700
    allow hosts = 192.168.
    writeable = yes
    create mode = 700
    directory mode = 700
    force create mode = 700

    [ps2]
    path = /mldonkey
    user = ps2
    valid users = ps2
    write list = ps2
    force directory mode = 440
    create mode = 440
    force create mode = 440
    directory mode = 440
    browseable = yes


    thanks for help

  2. #2
    PV NNTP User

    Default Re: Samba and PS2 with SMS Player

    fio2100 wrote:

    >
    > I have some problems with my Samba Server in connection with the SMS
    > Player on my PS2. Before I use Samba on Suse 9.0, last days I install
    > suse 11.0 and start the new samba with the old config file. everithing
    > runs windows clients can connect to the new domain all released works.
    > Only my PS2 cant connect. The username and the password is correct if i
    > connect anonymously I can see the folders but i cant go inside i need a
    > login.
    >
    > can somebody help me?
    >
    > my smb.conf is:
    >
    > # pumukel.lipton Domain Controler Settings
    >
    >
    >
    > [global]
    > load printers = no
    > netbios name = pumukel
    > socket options = TCP_NODELAY
    > logon script = \%U.bat
    > logon path = \\%L\pro-%U\%U
    > workgroup = lipton
    > os level = 20
    > username map = /etc/samba/smbusers
    > encrypt passwords = yes
    > time server = yes
    > hosts allow = 192.168.13.
    > security = user
    > wins support = true
    > domain logons = yes
    >
    >
    >
    > [netlogon]
    > path = /users/
    > browseable = no
    > force directory mode = 400
    > allow hosts = 192.168.
    > writeable = yes
    > create mode = 400
    > directory mode = 400
    > force create mode = 400
    > write list = @admin
    >
    > # Profil Ordner
    > [pro-%U]
    > path = /users/
    > browseable = no
    > force directory mode = 700
    > allow hosts = 192.168.
    > writeable = yes
    > create mode = 700
    > directory mode = 700
    > force create mode = 700
    >
    > [ps2]
    > path = /mldonkey
    > user = ps2
    > valid users = ps2
    > write list = ps2
    > force directory mode = 440
    > create mode = 440
    > force create mode = 440
    > directory mode = 440
    > browseable = yes
    >
    >
    > thanks for help
    >
    >

    Have you added your user & password to the samba password file? If not,
    execute as root:

    smbpasswd -a <UserName>

    and supply a password when requested.

    The UserName must be a valid Linux user name but the password does not need
    to be.

    Alternatively, change permissions on the PS2 share to give "Others" read
    access.
    --
    P. V.
    "We have met the enemy an he is us" Pogo

  3. #3
    PV NNTP User

    Default Re: Samba and PS2 with SMS Player

    PV wrote:

    > fio2100 wrote:
    >
    >>
    >> I have some problems with my Samba Server in connection with the SMS
    >> Player on my PS2. Before I use Samba on Suse 9.0, last days I install
    >> suse 11.0 and start the new samba with the old config file. everithing
    >> runs windows clients can connect to the new domain all released works.
    >> Only my PS2 cant connect. The username and the password is correct if i
    >> connect anonymously I can see the folders but i cant go inside i need a
    >> login.

    <snip PV>
    >>
    >>
    >> thanks for help
    >>
    >>

    > Have you added your user & password to the samba password file? If not,
    > execute as root:
    >
    > smbpasswd -a <UserName>
    >
    > and supply a password when requested.
    >
    > The UserName must be a valid Linux user name but the password does not
    > need to be.
    >
    > Alternatively, change permissions on the PS2 share to give "Others" read
    > access.

    fio;
    One additional thought. I have no idea how sophisticated a PS2 is, it is
    possible that it uses older Lanman method of sending passwords. So if you
    have added the user/password with smbpasswd and it still does not work; try
    adding (as root)

    lanman auth = yes

    to your /etc/samba/smb.conf.

    If this still does not work, remove the above, Lanman is not very secure.
    Keep in mind that I am 65+ and, as such, know almost nothing about PS2s.
    My only experience is getting my grand-daughter's PSP to access the
    Internet. (As an aside, a PSP is way to small for someone of my age.)
    --
    P. V.
    "We have met the enemy an he is us" Pogo

  4. #4

    Default Re: Samba and PS2 with SMS Player

    first a ps2 is a playstation 2 in the first versions you can install a network card and with some tricks you can use it like a pc.

    now to my problem. i have added all users on the server the domain contoler runs and all win clients can connect. all rights are setted good i have everything tested.

    with lanman auth = yes it does not run. also login error.

  5. #5

    Default Re: Samba and PS2 with SMS Player

    i habe some informations vom error log of smb.

    [2008/07/27 17:42:53, 0] lib/util_sock.c:matchname(1669)
    matchname: host name/address mismatch: 192.168.13.10 != localhost
    [2008/07/27 17:42:53, 0] lib/util_sock.c:get_peer_name(1790)
    Matchname failed on localhost 192.168.13.10
    [2008/07/27 17:43:49, 0] lib/util_sock.c:matchname(1669)
    matchname: host name/address mismatch: 192.168.13.18 != localhost
    [2008/07/27 17:43:49, 0] lib/util_sock.c:get_peer_name(1790)
    Matchname failed on localhost 192.168.13.18
    [2008/07/27 17:44:32, 0] lib/util_sock.c:matchname(1669)
    matchname: host name/address mismatch: 192.168.13.10 != localhost
    [2008/07/27 17:44:32, 0] lib/util_sock.c:get_peer_name(1790)
    Matchname failed on localhost 192.168.13.10

    i dont know what that has to tell me.

  6. #6
    PV NNTP User

    Default Re: Samba and PS2 with SMS Player

    fio2100 wrote:

    >
    > i habe some informations vom error log of smb.
    >
    > [2008/07/27 17:42:53, 0] lib/util_sock.c:matchname(1669)
    > matchname: host name/address mismatch: 192.168.13.10 != localhost
    > [2008/07/27 17:42:53, 0] lib/util_sock.c:get_peer_name(1790)
    > Matchname failed on localhost 192.168.13.10
    > [2008/07/27 17:43:49, 0] lib/util_sock.c:matchname(1669)
    > matchname: host name/address mismatch: 192.168.13.18 != localhost
    > [2008/07/27 17:43:49, 0] lib/util_sock.c:get_peer_name(1790)
    > Matchname failed on localhost 192.168.13.18
    > [2008/07/27 17:44:32, 0] lib/util_sock.c:matchname(1669)
    > matchname: host name/address mismatch: 192.168.13.10 != localhost
    > [2008/07/27 17:44:32, 0] lib/util_sock.c:get_peer_name(1790)
    > Matchname failed on localhost 192.168.13.10
    >
    > i dont know what that has to tell me.
    >
    >

    fio;
    Just which machines do these IP's belong to? For testing at least, comment
    out all the "hosts allow". What is the user name being supplied by the
    PS2? If you have not added the PS2 to the domain, and I'm not sure you
    can, you probably need to allow guest users. Do you really need a Domain
    versus a simple Workgroup?

    In the logs you provided, I do not even see an attempt by the PS2 to log in.
    --
    P. V.
    "We have met the enemy an he is us" Pogo

  7. #7
    PV NNTP User

    Default Re: Samba and PS2 with SMS Player

    fio2100 wrote:

    >
    > first a ps2 is a playstation 2 in the first versions you can install a
    > network card and with some tricks you can use it like a pc.
    >
    > now to my problem. i have added all users on the server the domain
    > contoler runs and all win clients can connect. all rights are setted
    > good i have everything tested.
    >
    > with lanman auth = yes it does not run. also login error.
    >
    >

    Did you restart samba after the change?

    If you can not get the PS2 to login, allowing guest access to the share PS2
    and setting permissions as I suggested, should allow your game access. (For
    this to work you also need "map to guest = Bad User" in the global
    section.)
    --
    P. V.
    "We have met the enemy an he is us" Pogo

  8. #8

    Default Re: Samba and PS2 with SMS Player

    Thats not a problem like no user added wrong rights or something like no restarting server i have checked all the simple thinks i thing thats a autification problem maybe the old samba accept some kind of autentification that the new one do not accept.

    The IP form the ps2 is 192.168.13.10 I have tested it with many users and the domain accept access from clients who dont are in the domain. so that cant be the problem. Thats the think why a simple workgroup will not solve the problem. the ps2 is only one client of the network i need the domain and i need the ps2 to play avi's directly from the server on my tv screen.

    the option "map to guest = Bad User" i will test later. i report the result.

    thanks for all help and i hope the problem will be solved.

  9. #9
    PV NNTP User

    Default Re: Samba and PS2 with SMS Player

    fio2100 wrote:

    >
    > Thats not a problem like no user added wrong rights or something like no
    > restarting server i have checked all the simple thinks i thing thats a
    > autification problem maybe the old samba accept some kind of
    > autentification that the new one do not accept.
    >
    > The IP form the ps2 is 192.168.13.10 I have tested it with many users
    > and the domain accept access from clients who dont are in the domain.
    > so that cant be the problem. Thats the think why a simple workgroup
    > will not solve the problem. the ps2 is only one client of the network i
    > need the domain and i need the ps2 to play avi's directly from the
    > server on my tv screen.
    >
    > the option "map to guest = Bad User" i will test later. i report the
    > result.


    Be sure to add guest ok = Yes to the PS2 share.
    >
    > thanks for all help and i hope the problem will be solved.
    >
    >

    You have hosts allow set in multiple places, but not are all are the same
    subnet, I think that explains the errors in your logs, not sure though.
    This probably has nothing to do with your PS2, but the logs do show some
    configuration problem.

    If you increase your log level for authorization you should see your PS2 try
    to login.
    In your smb.conf try:

    log level = 1 auth:3
    or just
    log level = 3

    Then in var/log/samba/log.smbd, you can see what is failing. Once you have
    this solved, be sure to remove the above. Otherwise your logs will get big
    real fast. If you see nothing at log level 3 you could try for full
    debugging, log level 10. (At 10 logs get extremely large and it is hard to
    spot just what is wrong because of the size.)


    The reason I think lanman may yet prove to be the answer, is that it is the
    style of the older DOS Win9x passwords. I'm not sure SONY would spend a
    lot of time on enabling NT1. Of course they may be using some SAMBA
    derivative.

    --
    P. V.
    "We have met the enemy an he is us" Pogo

  10. #10

    Default Re: Samba and PS2 with SMS Player

    The subnet is not the problem all network clients had the subnet 255.255.255.0 the ps2 too.

    but i have put the loglevel 3 and now i found that:

    [2008/07/30 11:43:19, 3] libsmb/ntlm_check.c:ntlm_password_check(370)
    ntlm_password_check: Lanman passwords NOT PERMITTED for user fio
    [2008/07/30 11:43:19, 3] libsmb/ntlm_check.c:ntlm_password_check(457)
    ntlm_password_check: LM password, NT MD4 password in LM field and LMv2 failed for user fio
    [2008/07/30 11:43:19, 3] auth/auth_winbind.c:check_winbind_security(54)
    check_winbind_security: Not using winbind, requested domain [LIPTON] was for this SAM.
    [2008/07/30 11:43:19, 2] auth/auth.c:check_ntlm_password(318)
    check_ntlm_password: Authentication for user [fio] -> [fio] FAILED with error NT_STATUS_WRONG_PASSWORD
    [2008/07/30 11:43:19, 3] smbd/error.c:error_packet_set(80)
    error packet at smbd/sesssetup.c(1725) cmd=115 (SMBsesssetupX) eclass=1 ecode=5
    [2008/07/30 11:43:19, 3] smbd/process.c:smbd_process(2027)
    receive_message_or_smb failed: NT_STATUS_END_OF_FILE, exiting
    [2008/07/30 11:43:19, 3] smbd/sec_ctx.c:set_sec_ctx(324)
    setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
    [2008/07/30 11:43:19, 3] smbd/connection.c:yield_connection(31)
    Yielding connection to
    [2008/07/30 11:43:19, 3] smbd/server.c:exit_server_common(944)
    Server exit (normal exit)

    and spacaly this: Lanman passwords NOT PERMITTED for user fio how i can change a user to be permitted for lanman auth.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •