Go Back   PCMech Forums > Linux Support > Linux OS and Software Assistance

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 03-11-2006, 05:36 PM   #1
Member (9 bit)
 
DynamicTech's Avatar
 
Join Date: Jan 2006
Posts: 343
Configuring Samba For Windows Network

After many install attempts, mainly from trying to install a minimal version of fedora, I have my linux box running. I have a windows network on which I am trying to set up file and print sharing between this and an XP machine. I have Samaba setup and running. The linux box can find and access the XP shares. However, XP can find the linux box, display it's shares, but it will not access them. I have turned off the linux firewall. When I setup user level authentication, XP says to check with the admin of this server to ensure i have access rights.
When I setup share level authentication, windows shows a password screen with Local/Restricted User (greyed out) for the username, and will not accept any passwords (even blank). I have 3 user accounts setup on this machine, and none of their passwords will work. Does anyone have any idea what the problem may be? (Other than another linux nOOb that knows very little about the OS).
DynamicTech is offline   Reply With Quote
Old 03-12-2006, 10:01 AM   #2
Member (9 bit)
 
Join Date: Jul 2001
Location: Western Pennsylvania
Posts: 292
Did you add the Windows user id as a user id on Linux?
oryx is offline   Reply With Quote
Old 03-12-2006, 11:36 AM   #3
Member (9 bit)
 
DynamicTech's Avatar
 
Join Date: Jan 2006
Posts: 343
Thanks for the reply oryx, yes I did add the windows user to linux. As a matter of fact, i added a user on my xp machine named opal and mirrored the same user/password on the linux machine, and it is showing up in Samba as an "allow only user" option. I have been playing around with the authentication settings, but I still cannot get windows to open my linux share.
DynamicTech is offline   Reply With Quote
Old 03-12-2006, 12:51 PM   #4
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
Have you created a share on the Linux box and set permissions on it?

Oftentimes it helps to turn up the logging level on the Linux box and examine the log files for errors.
__________________

Want to Make $$$$ with your Computer? No Risk! Simply press shift-4 four times in a row
mairving is offline   Reply With Quote
Old 03-12-2006, 04:09 PM   #5
Come in Ray...
 
faulkner132's Avatar
 
Join Date: Sep 2004
Posts: 1,668
Quote:
Originally Posted by mairving
Have you created a share on the Linux box and set permissions on it?

Oftentimes it helps to turn up the logging level on the Linux box and examine the log files for errors.
Agreed.
Just for troubleshooting sake, you can open the directory completely by entering this at the command prompt:
Code:
chmod 0777 -R /full/path/to/shared/directory
faulkner132 is offline   Reply With Quote
Old 03-12-2006, 07:07 PM   #6
Member (9 bit)
 
Join Date: Jul 2001
Location: Western Pennsylvania
Posts: 292
To which group did you assign the user?
oryx is offline   Reply With Quote
Old 03-13-2006, 08:46 AM   #7
Member (9 bit)
 
DynamicTech's Avatar
 
Join Date: Jan 2006
Posts: 343
I do not have any groups set up. As for mairvings reply, where do I find the logging options/files? I am perfectly comfortable in windows, but this is my first install of a linux system. I have used live dusks before, and can setup networking, but I have not had to set up logging or view any linux logs. I appreciate all of you guys help on this. I will tinker around with it some more today and try to get at those logs. Thanks again.
*EDIT*
Tried the chmod to open up the directory, still no go. Checking into the logging thing.........

Last edited by DynamicTech; 03-13-2006 at 09:31 AM.
DynamicTech is offline   Reply With Quote
Old 03-13-2006, 09:46 AM   #8
Member (9 bit)
 
DynamicTech's Avatar
 
Join Date: Jan 2006
Posts: 343
Hey guys, I'm not really sure which of the following did the trick.
After chmod the folder,
I setup group called restricted_group and setup opal under that group.
The authentication mode was set to share, encrypt passwords set to yes, guest account: no guest account (I did not tinker with these settings).
I set the access perms on the share to only allow access to specific users and selected all users in the list (curiously, opal was not among them).
And I renamed the folder from net shares to shares.
At any rate, XP is now accessing linux, and linux is still accessing XP.
Thanks guys, you really helped out. If yall were here in texas I'd buy yall a beer.
DynamicTech is offline   Reply With Quote
Old 03-13-2006, 11:28 AM   #9
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
Chmod'ing the folder more than likely did the trick.
mairving is offline   Reply With Quote
Old 03-25-2006, 08:14 PM   #10
Member (8 bit)
 
MichaelS's Avatar
 
Join Date: May 2003
Location: Richmond Hill, Ontario, Canada
Posts: 128
Send a message via ICQ to MichaelS Send a message via MSN to MichaelS Send a message via Yahoo to MichaelS
My $0.02 (CAD) would be that the user was not in the Samba user database, and that somehow through tinkering, DynamicTech managed to add them to the Samba user database.

Please remember that you don't need to create a Linux account for users that need to access Samba shares! All you need to do is add them to the Samba database with a password using the smbpasswd utility

Regards,

Michael
MichaelS is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 04:57 AM.
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0