(E-Mail Removed) wrote:
> Hi
>
> I installed Fedora5 on my PC.
> Then I updated samba by typing
>
> # yum install samba
>
> and then start samba by typing
>
> # service smb start
>
>
> I tried to login samba server from WindowsXP,
> but, it failed.
> The error message is as follows.
>
>
> --------------------------------------------------------------
> smbd/service.c:make_connection_snum(911)
> '/home/admin' does not exist or permission denied when connecting
> to [admin] Error was permission denied.
> --------------------------------------------------------------
> So, I change access permission like
>
> # chmod 777 /home
> # chmod 777 /home/admin
>
> But, the result was same.
>
> I tried many times and found that the result of "login"
> was different by start up method of "smb".
>
> [case1]-------------------------------------------------------
> # cd /etc/init.d
> # sh smb start
> or
> # /usr/sbin/smbd -D
> # /usr/sbin/nmbd -D
> --------------------------------------------------------------
>
> [case 2]------------------------------------------------------
> # cd /etc/init.d
> # ./smb start
> or
> # service smb start
> or
> # chkconfig smb on
> # reboot
> --------------------------------------------------------------
>
> In [case1], I could login to samba server from WindowsXP.
> In [case2], I couldn't. And the error message was same(Permission
> denied).
>
> Please help me!
Did you create any samba user accounts? Use the command:
smbpasswd -a username
then you will be prompted to choose a password. If you choose a
username & password that matches one of your non-root linux accounts,
you should have access to that user's home directory via Samba. If you
want access to other directories, you will need to create Samba shares (
see the smb.conf man pages). You can also use Fedora's Samba GUI to
create the shares and users, but you'll be better off in the long run if
you familiarize yourself with the smb.conf file.