[SOLVED] Creating a Samba-Server: Error: Password prompt pops up again and forever.
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Creating a Samba-Server: Error: Password prompt pops up again and forever.
Hi!
I have a problem creating a samba server.
MY GOAL: To transfer some gigabytes of data from my Laptop "Nocturne" 192.168.1.17 to my big computer "Volvox" 192.168.1.14.
MY IDEA: To open a samba server on my big computer and share the home folder, open it with dolphin on my Laptop
and finally send the files via drag and drop.
THE SITUATION: Both computers run Slackware 13.1, 32-bit version.
THIS IS WHAT I DID:
1.) Created /etc/samba/smb.conf like this:
[global]
workgroup = Linux
server string = Volvox Server
security = user
load printers = no
log file = /var/log/samba.%m
max log size = 50
socket options = TCP_NODELAY
2.) adduser danielsambaguest
3.) smbpasswd -a danielsambaguest
4.) /etc/rc.d/rc.samba restart
5.) On my laptop: Open Dolphin, click on Network, Samba Shares, Linux, volvox(Volvox Server), home
and enter danielsambaguest and the password.
THE PROBLEM:
After entering the password only another password prompt pops up like the password was wrong. I checked it several
times, so I know the password was not wrong and is not the problem.
LOG FILES:
/var/log/samba.nocturne contains this afterwards:
[2010/12/23 00:25:54.552404, 1] smbd/service.c:678(make_connection_snum)
create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2010/12/23 00:25:55.282069, 1] smbd/service.c:678(make_connection_snum)
create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2010/12/23 00:25:55.292114, 1] smbd/service.c:678(make_connection_snum)
create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2010/12/23 00:25:55.909896, 1] smbd/service.c:678(make_connection_snum)
create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2010/12/23 00:26:23.905555, 1] smbd/service.c:678(make_connection_snum)
create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2010/12/23 00:26:24.065775, 1] smbd/service.c:1070(make_connection_snum)
nocturne (::ffff:192.168.1.17) connect to service home initially as user danielsambaguest (uid=1002, gid=100) (pid 2241)
[2010/12/23 00:26:24.070651, 1] smbd/service.c:1070(make_connection_snum)
nocturne (::ffff:192.168.1.17) connect to service home initially as user danielsambaguest (uid=1002, gid=100) (pid 2243)
[2010/12/23 00:26:24.072502, 1] smbd/service.c:1070(make_connection_snum)
nocturne (::ffff:192.168.1.17) connect to service home initially as user danielsambaguest (uid=1002, gid=100) (pid 2242)
[2010/12/23 00:26:24.231040, 1] smbd/service.c:1070(make_connection_snum)
nocturne (::ffff:192.168.1.17) connect to service home initially as user danielsambaguest (uid=1002, gid=100) (pid 2244)
[2010/12/23 00:26:24.243615, 1] smbd/service.c:1070(make_connection_snum)
nocturne (::ffff:192.168.1.17) connect to service home initially as user danielsambaguest (uid=1002, gid=100) (pid 2245)
[2010/12/23 00:26:24.610140, 1] smbd/service.c:678(make_connection_snum)
create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
Did you create the share in the directory configuration?
A directory can be shared in Samba but, as far as I know, if you don't tell the directory that it is shared, it will refuse Samba's invitations.
In Konqueror, you would highlight the directory, right-click, select properties, and go to sharing. I assume Dolphin will be similar. You may have to do this as root.
Also, it's not a good idea to share your home directory; I'm not even sure you can. It opens up all those hidden configuration files to the network.
It's better to create a shared folder within your home directory.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.