Results 1 to 3 of 3

Thread: Samba - cannot login

  1. #1
    jayswe NNTP User

    Default Samba - cannot login

    While developing PHP/mySQL I thought it good be a great idea to share my dev dir instead of using FTP. I havnt used Samba before but I started the Samba service and shared /srv/www. I can find the dir on my Windows workstation and I can login as root. BUT when I tried to connect with my regular user I got rejected. I cant understand why. Does Samba use the linux users or should I create a user for Samba?

    Thanks for help!

  2. #2
    platinum NNTP User

    Default Re: Samba - cannot login

    lucky me, i don't have to play with Windows[tm] so i don't know the
    answer to your Q....but, this site has lots of info on Samba as it
    relates to openSUSE....dig around a little in the upper left hand
    section of http://opensuse.swerdna.org/index.html named "SAMBA:
    BROWSING & SHARING"

    --
    platinum

  3. #3
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,731
    Blog Entries
    2

    Default Re: Samba - cannot login

    Look in the first one for the heading: Permission to Access Suse/openSUSE Default Shares
    And the folder www is owned by root:root, so if you log in over the neywork as e.g. tommy, then you'll be rejected. So you also need to chown the directory www over to user tommy. Chown is on this link.

    In fact, for directory www you might restructure the [stanza] for the share in smb.conf to match one of these Secure Read-write Shares. Have a look at #8 in the templates.
    Leap 42.3 & 15.1 &KDE
    FYIs from the days of yore

Posting Permissions

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