LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-24-2004, 02:52 AM   #1
kicken
LQ Newbie
 
Registered: May 2004
Location: Utah
Distribution: Knoppix, Gentoo, Mandrake, Redhat,
Posts: 19

Rep: Reputation: 0
Help samba winxp


Okay i can see all my samba shares on all my windows xp computers
but for some werid reason when i try to login i cant
it asks for a username and password i supply it but i cant login
and even weirder by stopping and starting samba i eventually was allowed to login with one account but i couldnt login with any others
and then it went back to not letting me login at all.

I have no clue just getting really upset samba is so damb tought to configure
any help would be greatly appreciated on getting
a mandrake 10 fileserver running to allow windowsxp, me, 98, nt,2000 access
i dont need it to do anything other than share folders to certain users

i cant show you my samba config if you need
 
Old 05-24-2004, 03:36 AM   #2
carlmarshall
Member
 
Registered: Jan 2004
Location: North Yorkshire, UK
Distribution: Centos 5
Posts: 133

Rep: Reputation: 16
I had this trouble myself and it took me a little while to figure out the problems, but here are the main issues:

Does the user account have rights to the shared directory? Usually done by group permissions, i.e. Owner = root, Group = users

Does the group have rwx rights to the shared directory? x is needed to traverse directories.

Do you have an smbusers file and an smbpasswd file? Are they referenced in the smb.conf? e.g.

smb passwd file = /etc/samba/smbpasswd
username map = /etc/samba/smbusers

Are the entries in the smbusers correct? I find it easiest to enter in the following manner:

linuxusername = "windowsusername"

i.e. I use double quotes to ensure that all characters are valid since windows will allow spaces in the name.

Is the smbpasswd file correct? Remove existing entries with the command:

smbpasswd -x linuxusername

Then re-add them with:

smbpasswd -a linuxusername

and fill in the WINDOWS password when prompted.

Hope that helps.

Carl.
 
Old 05-24-2004, 03:52 AM   #3
kicken
LQ Newbie
 
Registered: May 2004
Location: Utah
Distribution: Knoppix, Gentoo, Mandrake, Redhat,
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks Carl

Well i will give it a try tomarrow when i setup up a server for a small company hope it goes well.

Thanks
 
  


Reply



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/winxp linux_add1ct Linux - Networking 4 09-18-2005 12:46 PM
Samba - Connecting from WinXP Pro to Samba running on Debian critical Linux - Networking 1 02-03-2005 09:36 AM
samba and winxp Lee232 Linux - Networking 9 08-23-2004 12:44 PM
Samba / WinXp help please Giallo998 Linux - Networking 24 02-23-2004 01:39 PM
Samba X winxp sergiodemoura Linux - Software 5 09-18-2003 01:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:26 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