LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-08-2004, 05:37 AM   #1
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
samba with security = user


Samba problems again
I want to set up my new samba 3.0.5 server with "user" security as I have to deal with a mix of WinME, XP Home and NT4 machines, which rules out "domain"
I read that "share" security is deprecated.
When I try to connect from a Windows PC I get a password box for //server/IPC$ but nowhere to enter user name, so the password gets rejected. Looking in /var/log/samba.winMEpc I see reports about "nobody"
Guest access is not enabled.

If I set "share" then I can see the public directories, but have no write rights as I am not logged in as a known user
Usernames and passwords are the same in Windows, console and samba
 
Old 09-08-2004, 07:27 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,221
Blog Entries: 1

Rep: Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075
You should post your smb.conf, but anyway here is my section of [homes] that might help you
Code:
[homes]
comment = User
path = /home/%U
valid users = %S
read only = No
 
Old 09-08-2004, 05:21 PM   #3
elawman
LQ Newbie
 
Registered: Apr 2004
Location: Chesterfield, Virginia
Distribution: Slackware
Posts: 6

Rep: Reputation: 0
With security set to share, make sure you have your permissions on your directories set correctly. If they're only accessible by root, then your other users won't be able to access them. You can always do a chmod -r 777 /dir/path and give that a try.

As for security = user. Make sure you've set the password for the user with smbpasswd, and that the user exists in /etc/passwd (it sounds like you've already one that). And make sure you're logging into your windows me box with MS Networking instead of Windows Logon or MS Family Logon. Also, try non-blank passwords.

I hope this helps. I just threw a bunch of ideas out there for you hoping one works for you.
 
Old 09-09-2004, 01:12 AM   #4
clutch
LQ Newbie
 
Registered: Jul 2004
Posts: 2

Rep: Reputation: 0
My samba ask for a password.I used a windows 2000 to access the shared folder but it prompts for a password.. thus the domain plays a role in here. do i have to set the domain of both it let say domain.com in order not for me to ask for a password
 
Old 09-09-2004, 05:52 AM   #5
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Original Poster
Rep: Reputation: 33
I now have it working
The problem was using webmin 1.16 to migrate unix users to samba users. Entering on console:
smbclient -L server -U user #returns a password prompt
This gave an error
removing the user and readding with smbpasswd made the smbclient command work as expected
 
Old 09-10-2004, 09:44 AM   #6
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Original Poster
Rep: Reputation: 33
This was down to a corrupted webmin install, there was a tar error that I did not notice.
Also note that webmin can only migrate unix users that were created by webmin
 
  


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 -- XP user can log in to shares but smbclient user always gets password errors ejoe Linux - Software 3 04-18-2005 10:55 AM
User Security dragoroberto Linux - Security 2 03-18-2005 12:30 PM
samba security: user vs share jiml8 Linux - Security 4 03-01-2005 06:12 AM
Slow User Level Security in Samba drumltd Linux - Networking 0 01-10-2005 04:23 PM
Samba - Combination of user and share level security? kleptophobiac Linux - Software 0 07-20-2004 02:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:18 PM.

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