|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (9 bit)
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). |
|
|
|
|
|
#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?
|
|
|
|
|
|
#3 |
|
Member (9 bit)
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.
|
|
|
|
|
|
#4 |
|
Staff
Premium Member
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 |
|
|
|
|
|
#5 | |
|
Come in Ray...
Join Date: Sep 2004
Posts: 1,668
|
Quote:
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 |
|
|
|
|
|
|
#6 |
|
Member (9 bit)
Join Date: Jul 2001
Location: Western Pennsylvania
Posts: 292
|
To which group did you assign the user?
|
|
|
|
|
|
#7 |
|
Member (9 bit)
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. |
|
|
|
|
|
#8 |
|
Member (9 bit)
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. |
|
|
|
|
|
#9 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
Chmod'ing the folder more than likely did the trick.
|
|
|
|
|
|
#10 |
|
Member (8 bit)
|
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 |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|