LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 02-26-2009, 06:24 AM   #1
clintm
LQ Newbie
 
Registered: Feb 2009
Posts: 2

Rep: Reputation: 0
Unhappy can only log onto my samba domain with root user on win xp


i am using opensuse 10.2,i can see the linux box but can only log on with the root user name and password and not with the other username and password i created,i really dont understand guys
 
Old 02-26-2009, 08:57 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

Welcome to LQ!

You could look at the Samba references in the 'Server Section' of 'Slackware-Links'. More than just SlackwareŽ links!
 
Old 02-26-2009, 09:11 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
Did you run "smbpasswd" to add the username & passwords to the smbpasswd database file? Are these users also Linux users? Which directories are you sharing and what are the permissions used?

Also post your smb.conf file (inside of [ code ] ... [ /code ] blocks.

Check your firewall as well.
 
Old 02-26-2009, 10:04 AM   #4
gergely89
Member
 
Registered: Feb 2009
Posts: 100

Rep: Reputation: 21
It is a common error for Samba newcomers to confuse UNIX account usernames and passwords with Samba usernames and passwords. The previous posting is mot likely to be correct that you still have to create the Samba user along with a password.

You must also make sure that your new Samba user is allowed to read and write to the defined Samba shares.

The O'Reilly Samba book is available for free downloading and you are advised to read that one, keeping it around as a printed copy for reference.

linux

Last edited by gergely89; 02-28-2009 at 12:01 AM.
 
Old 02-26-2009, 06:02 PM   #5
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
Is this the book you are referencing?
Code:
/oreilly.com/catalog/samba2/book/toc.html
Is there a better link?
 
Old 02-27-2009, 05:54 AM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
Quote:
Originally Posted by gergely89 View Post
It is a common error for Samba newcomers to confuse UNIX account usernames and passwords with Samba usernames and passwords. The previous posting is mot likely to be correct that you still have to create the Samba user along with a password.

You must also make sure that your new Samba user is allowed to read and write to the defined Samba shares.

The O'Reilly Samba book is available for free downloading and you are advised to read that one, keeping it around as a printed copy for reference.
The OP didn't indicate much on what kind of share is being offered. The directory being shared has Unix ownerships & permissions which samba needs to map from Windows credentials. A lot depends on the type of service that samba offers, which isn't indicated.

The default is the "Security = Users" security mode. The smbpasswd command will create a samba user and windows password hash entry in /etc/samba/smbpasswd. To create a document on a share with the permissions of the user, the user needs to be in /etc/passwd as well. You would use this if the server is running on a desktop where you have an account. A [profiles] or [users] share works best for this.
 
Old 03-02-2009, 02:11 AM   #7
clintm
LQ Newbie
 
Registered: Feb 2009
Posts: 2

Original Poster
Rep: Reputation: 0
thanks guys for all the replys,i am really sorry but i am a total ditz when it comes to linux,heres more info so maybe it could make it a bit easier,server is opensuse 10.2 with windows xp pro workstations,i have created a data directory in the file system with my database for our point of sale system,the data share has read/wite permissions,i also looked at the smbpasswd file and i think thats where the problem is,there is only a root user and i dont know how to create samba clients,sorry if it sound silly but i usually work on win servers
 
  


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
Join a samba 2.2.7a to a win 2003 domain cuongtim Linux - Networking 3 03-31-2006 07:50 AM
user not authorized to log into samba server from win XP station wolgar Linux - Newbie 1 09-21-2004 11:15 PM
WIN 98/NT Domain cannot access SAMBA JUSTAUSER Linux - Networking 0 12-08-2003 03:46 PM
Question about Samba in WIN Domain ikw38 Linux - Networking 4 06-25-2003 11:24 AM
SAMBA (again) using a Win-Domain-Controller Lutzer Linux - Networking 3 07-23-2002 12:28 PM


All times are GMT -5. The time now is 12:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration