Problem accessing samba share.... - SMB

This is a discussion on Problem accessing samba share.... - SMB ; I am having problems accessing a samba share I've created. And it is only my account! If I do an smbclient from the unix server to connect, no problem. Here is the log output of that connection: [2003/12/18 12:04:01, 2] ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Problem accessing samba share....

  1. Problem accessing samba share....

    I am having problems accessing a samba share I've created. And it is
    only my account! If I do an smbclient from the unix server to connect,
    no problem. Here is the log output of that connection:

    [2003/12/18 12:04:01, 2] lib/access.c:check_access(329)
    Allowed connection from (162.86.2.197)
    [2003/12/18 12:04:01, 2] smbd/reply.c:reply_special(92)
    netbios connect: name1=USEHUX32 name2=USEHUX32
    [2003/12/18 12:04:01, 2] smbd/reply.c:reply_special(111)
    netbios connect: local=usehux32 remote=usehux32
    [2003/12/18 12:04:01, 2] lib/util_sock.cpen_socket_out(874)
    error connecting to 162.86.7.6:445 (Connection refused)
    [2003/12/18 12:04:10, 1] smbd/password.c:server_validate(1176)
    password server PHUSEH-S0000 rejected the password
    [2003/12/18 12:04:10, 2] lib/access.c:check_access(329)
    Allowed connection from (162.86.2.197)
    [2003/12/18 12:04:10, 1] smbd/service.c:make_connection(636)
    usehux32 (162.86.2.197) connect to service eCTD as user romanpa1
    (uid=1000, gid=14) (pid 29821)
    [2003/12/18 12:04:14, 2] smbd/server.c:exit_server(511)
    Closing connections
    [2003/12/18 12:04:14, 1] smbd/service.c:close_cnum(677)
    usehux32 (162.86.2.197) closed connection to service eCTD

    No, when I try to connect from my laptop, it fails. Output from log
    file is
    as follows:

    [2003/12/18 12:04:55, 2] lib/access.c:check_access(329)
    Allowed connection from (162.86.27.61)
    [2003/12/18 12:04:55, 2] smbd/reply.c:reply_special(92)
    netbios connect: name1=USEHUX32 name2=PHUSEH-L26020
    [2003/12/18 12:04:55, 2] smbd/reply.c:reply_special(111)
    netbios connect: local=usehux32 remote=phuseh-l26020
    [2003/12/18 12:04:56, 2] lib/util_sock.cpen_socket_out(874)
    error connecting to 162.86.7.6:445 (Connection refused)
    [2003/12/18 12:04:56, 2] lib/access.c:check_access(329)
    Allowed connection from (162.86.27.61)
    [2003/12/18 12:04:56, 2] smbd/server.c:exit_server(511)
    Closing connections
    [2003/12/18 12:04:56, 2] lib/access.c:check_access(329)
    Allowed connection from (162.86.27.61)
    [2003/12/18 12:04:56, 2] smbd/reply.c:reply_special(92)
    netbios connect: name1=USEHUX32 name2=PHUSEH-L26020
    [2003/12/18 12:04:56, 2] smbd/reply.c:reply_special(111)
    netbios connect: local=usehux32 remote=phuseh-l26020
    [2003/12/18 12:04:56, 2] lib/util_sock.cpen_socket_out(874)
    error connecting to 162.86.7.6:445 (Connection refused)
    [2003/12/18 12:04:59, 2] lib/access.c:check_access(329)
    Allowed connection from (162.86.27.61)
    [2003/12/18 12:04:59, 2] smbd/service.c:make_connection(331)
    Invalid username/password for ectd [nobody]
    [2003/12/18 12:04:59, 2] smbd/server.c:exit_server(511)
    Closing connections
    [2003/12/18 12:05:16, 2] lib/access.c:check_access(329)
    Allowed connection from (162.86.27.61)
    [2003/12/18 12:05:16, 2] smbd/reply.c:reply_special(92)
    netbios connect: name1=USEHUX32 name2=PHUSEH-L26020
    [2003/12/18 12:05:16, 2] smbd/reply.c:reply_special(111)
    netbios connect: local=usehux32 remote=phuseh-l26020
    [2003/12/18 12:05:17, 2] lib/util_sock.cpen_socket_out(874)
    error connecting to 162.86.7.6:445 (Connection refused)
    [2003/12/18 12:05:17, 2] lib/access.c:check_access(329)
    Allowed connection from (162.86.27.61)
    [2003/12/18 12:05:17, 2] smbd/server.c:exit_server(511)
    Closing connections
    [2003/12/18 12:05:17, 2] lib/access.c:check_access(329)
    Allowed connection from (162.86.27.61)
    [2003/12/18 12:05:17, 2] smbd/reply.c:reply_special(92)
    netbios connect: name1=USEHUX32 name2=PHUSEH-L26020
    [2003/12/18 12:05:17, 2] smbd/reply.c:reply_special(111)
    netbios connect: local=usehux32 remote=phuseh-l26020
    [2003/12/18 12:05:17, 2] lib/util_sock.cpen_socket_out(874)
    error connecting to 162.86.7.6:445 (Connection refused)
    [2003/12/18 12:05:18, 2] smbd/server.c:exit_server(511)
    Closing connections

    The smb.conf is as follows:

    # Samba config file created using SWAT
    # from phuseh-l26020.na.novartis.net (162.86.27.61)
    # Date: 2003/12/18 12:21:24

    # Global parameters
    [global]
    workgroup = PHUSEH-M001
    netbios name = USEHUX32
    server string = usehux32
    security = SERVER
    password server = PHUSEH-S0000
    log level = 2
    log file = /var/samba/samba.log
    max log size = 50
    load printers = No
    printcap name = /etc/qconfig
    local master = No
    domain master = No
    dns proxy = No
    wins server = 162.86.50.142
    default service = tmp
    remote announce = 162.86.
    hosts allow = 162.86. 127.

    [eCTD]
    path = /ectd
    read only = No

    Can anyone give me a clue????

    Paul
    promano@monmouth.com

  2. Re: Problem accessing samba share....

    I had similar problem with some shares

    When I do groups . I could see that user name belong to the group
    of that share. However. user could not access it!

    The only solution (which I don't have an explanation! But works!!) is:

    1. See the result of wbinfo -r . you will see the group of share
    is missing!

    2. wbinfo -a %.

    3. Now problem is fixed!!! try again wbinfo -r to confirm.

    I hope it may help you too.

    -Sri


    "Paul" wrote in message
    news:16d71b4c.0312180933.4597a5dc@posting.google.c om...
    > I am having problems accessing a samba share I've created. And it is
    > only my account! If I do an smbclient from the unix server to connect,
    > no problem. Here is the log output of that connection:
    >
    > [2003/12/18 12:04:01, 2] lib/access.c:check_access(329)
    > Allowed connection from (162.86.2.197)
    > [2003/12/18 12:04:01, 2] smbd/reply.c:reply_special(92)
    > netbios connect: name1=USEHUX32 name2=USEHUX32
    > [2003/12/18 12:04:01, 2] smbd/reply.c:reply_special(111)
    > netbios connect: local=usehux32 remote=usehux32
    > [2003/12/18 12:04:01, 2] lib/util_sock.cpen_socket_out(874)
    > error connecting to 162.86.7.6:445 (Connection refused)
    > [2003/12/18 12:04:10, 1] smbd/password.c:server_validate(1176)
    > password server PHUSEH-S0000 rejected the password
    > [2003/12/18 12:04:10, 2] lib/access.c:check_access(329)
    > Allowed connection from (162.86.2.197)
    > [2003/12/18 12:04:10, 1] smbd/service.c:make_connection(636)
    > usehux32 (162.86.2.197) connect to service eCTD as user romanpa1
    > (uid=1000, gid=14) (pid 29821)
    > [2003/12/18 12:04:14, 2] smbd/server.c:exit_server(511)
    > Closing connections
    > [2003/12/18 12:04:14, 1] smbd/service.c:close_cnum(677)
    > usehux32 (162.86.2.197) closed connection to service eCTD
    >
    > No, when I try to connect from my laptop, it fails. Output from log
    > file is
    > as follows:
    >
    > [2003/12/18 12:04:55, 2] lib/access.c:check_access(329)
    > Allowed connection from (162.86.27.61)
    > [2003/12/18 12:04:55, 2] smbd/reply.c:reply_special(92)
    > netbios connect: name1=USEHUX32 name2=PHUSEH-L26020
    > [2003/12/18 12:04:55, 2] smbd/reply.c:reply_special(111)
    > netbios connect: local=usehux32 remote=phuseh-l26020
    > [2003/12/18 12:04:56, 2] lib/util_sock.cpen_socket_out(874)
    > error connecting to 162.86.7.6:445 (Connection refused)
    > [2003/12/18 12:04:56, 2] lib/access.c:check_access(329)
    > Allowed connection from (162.86.27.61)
    > [2003/12/18 12:04:56, 2] smbd/server.c:exit_server(511)
    > Closing connections
    > [2003/12/18 12:04:56, 2] lib/access.c:check_access(329)
    > Allowed connection from (162.86.27.61)
    > [2003/12/18 12:04:56, 2] smbd/reply.c:reply_special(92)
    > netbios connect: name1=USEHUX32 name2=PHUSEH-L26020
    > [2003/12/18 12:04:56, 2] smbd/reply.c:reply_special(111)
    > netbios connect: local=usehux32 remote=phuseh-l26020
    > [2003/12/18 12:04:56, 2] lib/util_sock.cpen_socket_out(874)
    > error connecting to 162.86.7.6:445 (Connection refused)
    > [2003/12/18 12:04:59, 2] lib/access.c:check_access(329)
    > Allowed connection from (162.86.27.61)
    > [2003/12/18 12:04:59, 2] smbd/service.c:make_connection(331)
    > Invalid username/password for ectd [nobody]
    > [2003/12/18 12:04:59, 2] smbd/server.c:exit_server(511)
    > Closing connections
    > [2003/12/18 12:05:16, 2] lib/access.c:check_access(329)
    > Allowed connection from (162.86.27.61)
    > [2003/12/18 12:05:16, 2] smbd/reply.c:reply_special(92)
    > netbios connect: name1=USEHUX32 name2=PHUSEH-L26020
    > [2003/12/18 12:05:16, 2] smbd/reply.c:reply_special(111)
    > netbios connect: local=usehux32 remote=phuseh-l26020
    > [2003/12/18 12:05:17, 2] lib/util_sock.cpen_socket_out(874)
    > error connecting to 162.86.7.6:445 (Connection refused)
    > [2003/12/18 12:05:17, 2] lib/access.c:check_access(329)
    > Allowed connection from (162.86.27.61)
    > [2003/12/18 12:05:17, 2] smbd/server.c:exit_server(511)
    > Closing connections
    > [2003/12/18 12:05:17, 2] lib/access.c:check_access(329)
    > Allowed connection from (162.86.27.61)
    > [2003/12/18 12:05:17, 2] smbd/reply.c:reply_special(92)
    > netbios connect: name1=USEHUX32 name2=PHUSEH-L26020
    > [2003/12/18 12:05:17, 2] smbd/reply.c:reply_special(111)
    > netbios connect: local=usehux32 remote=phuseh-l26020
    > [2003/12/18 12:05:17, 2] lib/util_sock.cpen_socket_out(874)
    > error connecting to 162.86.7.6:445 (Connection refused)
    > [2003/12/18 12:05:18, 2] smbd/server.c:exit_server(511)
    > Closing connections
    >
    > The smb.conf is as follows:
    >
    > # Samba config file created using SWAT
    > # from phuseh-l26020.na.novartis.net (162.86.27.61)
    > # Date: 2003/12/18 12:21:24
    >
    > # Global parameters
    > [global]
    > workgroup = PHUSEH-M001
    > netbios name = USEHUX32
    > server string = usehux32
    > security = SERVER
    > password server = PHUSEH-S0000
    > log level = 2
    > log file = /var/samba/samba.log
    > max log size = 50
    > load printers = No
    > printcap name = /etc/qconfig
    > local master = No
    > domain master = No
    > dns proxy = No
    > wins server = 162.86.50.142
    > default service = tmp
    > remote announce = 162.86.
    > hosts allow = 162.86. 127.
    >
    > [eCTD]
    > path = /ectd
    > read only = No
    >
    > Can anyone give me a clue????
    >
    > Paul
    > promano@monmouth.com




+ Reply to Thread