LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 12-22-2010, 05:32 PM   #1
VolvoxNo9
LQ Newbie
 
Registered: Dec 2010
Posts: 6

Rep: Reputation: 0
Question 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

[home]
comment = Home Directory
path = /home/daniel/
valid users = danielsambaguest
writable = yes
browseable = yes

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

QUESTION:

Can you help me?

Last edited by VolvoxNo9; 12-23-2010 at 11:31 AM.
 
Old 12-22-2010, 08:06 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,272
Blog Entries: 28

Rep: Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123
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.

Good reference on Samba here:

http://samba.org/samba/docs/man/Samba-Guide/
 
Old 12-22-2010, 08:16 PM   #3
mnvamsi
LQ Newbie
 
Registered: Oct 2010
Posts: 4

Rep: Reputation: 0
Well I guess you have to use same usename and password for your Samba-Server and the machine you are trying to access.
 
Old 12-23-2010, 11:30 AM   #4
VolvoxNo9
LQ Newbie
 
Registered: Dec 2010
Posts: 6

Original Poster
Rep: Reputation: 0
I followed both your suggestions and it helped.

Thank you very much!
 
Old 12-23-2010, 08:31 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,272
Blog Entries: 28

Rep: Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123
Congrats and thanks for telling us the rest of the story.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
samba share prompt username/password question cpthk Linux - Server 12 09-23-2009 11:19 PM
username and password prompt: samba configuration caesarkim Linux - Networking 4 05-21-2009 09:13 AM
Win98 takes forever to logon to Samba Server MichaelP Linux - Newbie 8 02-16-2005 08:19 PM
samba - password prompt jude7homas Linux - Networking 1 11-23-2004 03:40 PM
how to get rid of Password prompt in Samba? lu543285 Linux - Networking 1 01-09-2004 05:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration