Find the answer to your Linux question:
Results 1 to 2 of 2
Hi there i have a few issues with samba, hopefull a nice dude from here will help. I have debain installed and used the version of samba that came with ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2004
    Location
    uk london
    Posts
    4

    basic samba stuff..


    Hi there i have a few issues with samba, hopefull a nice dude from here will help.
    I have debain installed and used the version of samba that came with apt get 2 days ago.
    I dont want the box to perfom any server functions yet just some basic file and printer stuff.
    from the windows pc i can connect to the share but when i try to copy the file explorer hangs...
    (ive tried adding random socket options but none seem to help)
    heres my samba.conf

    [global]
    workgroup = uk
    domain master = no
    server string = st106349b
    log file = /var/log/samba/log.%m
    max log size = 50
    socket options = TCP_NODELAY
    hosts allow = 10.80.2.
    keepalive = yes
    readonly = no
    security = share

    [all_usr_share]
    path = /home/allusr_shr
    guest = yes
    public = yes
    writeable = yes
    printable = no

    Heres the log for the connecting client
    [2004/10/21 15:36:35, 1] smbd/service.c:make_connection_snum(64
    10.80.2.135 (10.80.2.135) connect to service all_usr_share initially as user nobody (uid=65534, gid=65534) (pid 803)
    [2004/10/21 15:38:13, 0] lib/util_sock.c:read_socket_data(384)
    read_socket_data: recv failure for 4. Error = Connection reset by peer
    [2004/10/21 15:38:13, 1] smbd/service.c:close_cnum(837)
    10.80.2.135 (10.80.2.135) closed connection to service all_usr_share

    As always thx for the help..

  2. #2
    Just Joined!
    Join Date
    Sep 2004
    Location
    Nashville, TN
    Posts
    14
    What version of windows? I can't remember if Samba encrypts passwords by default, but I think windows requires it. Check the man page for the syntax on activating encryption.

    I had problems with my samba server because of permissions issues. Make sure the shared folders have the necessary permissions and ownership. For experimentation purposes, I'd set the permissions wide open and then if that works, start restricting from there. Make sure you use the -r option on chmod so that the permissions propegate down the tree.

    Not sure what else to tell you, I'm not an expert myself; hope that helps!

Posting Permissions

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