Re: Fedora5 samba



ishi@xxxxxxxxxxxx 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.
.



Relevant Pages

  • Fedora5 samba
    ... Then I updated samba by typing ... was different by start up method of "smb". ...
    (comp.os.linux.networking)
  • Re: SAMBA on VMS... how to make it work.
    ... >>Actually, it is fairly intuitive if you only use Windows systems for this, ... >>SMB thing being one huge stinking mess. ... >>an older version of Samba a couple of years ago, ... >>appearing in the Network Neighborhood. ...
    (comp.os.vms)
  • Re: [opensuse] Samba Frustration
    ... Now get samba running, do "rcsmb restart". ... Now fire up webmin - you DO have webmin installed, ... Retype new SMB password: ...
    (SuSE)
  • Re: smbfs 2 GB file size limit
    ... Was your issue with reading from or writing to a SMB share? ... What is the server software and OS version? ... What error message are you getting from your FreeBSD client? ... standard samba, but that doesn't seem to install from any of the samba ...
    (freebsd-questions)
  • Re: sendfile(2) SF_NOPUSH flag proposal
    ... >> While I was chasing down a performance problem with Samba using sendfile ... What I didn't emphasize enough was that in my environment, ie an SMB ... moving much of the SMB server into the kernel, ...
    (freebsd-arch)