LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can only log onto my samba domain with root user on win xp (https://www.linuxquestions.org/questions/linux-newbie-8/can-only-log-onto-my-samba-domain-with-root-user-on-win-xp-707679/)

clintm 02-26-2009 05:24 AM

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

onebuck 02-26-2009 07:57 AM

Hi,

Welcome to LQ!

You could look at the Samba references in the 'Server Section' of 'Slackware-Links'. More than just SlackwareŽ links!

jschiwal 02-26-2009 08:11 AM

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.

gergely89 02-26-2009 09:04 AM

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

john test 02-26-2009 05:02 PM

Is this the book you are referencing?
Code:

/oreilly.com/catalog/samba2/book/toc.html
Is there a better link?

jschiwal 02-27-2009 04:54 AM

Quote:

Originally Posted by gergely89 (Post 3458184)
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.

clintm 03-02-2009 01:11 AM

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


All times are GMT -5. The time now is 04:20 AM.