Share Prices | Mortgage Calculator | Free SMS | Web Advertising | Loans
Configuring Samba For Windows Network [Archive] - PCMech Forums

PDA

View Full Version : Configuring Samba For Windows Network


DynamicTech
03-11-2006, 05:36 PM
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).

oryx
03-12-2006, 10:01 AM
Did you add the Windows user id as a user id on Linux?

DynamicTech
03-12-2006, 11:36 AM
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.

mairving
03-12-2006, 12:51 PM
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.

faulkner132
03-12-2006, 04:09 PM
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:
chmod 0777 -R /full/path/to/shared/directory

oryx
03-12-2006, 07:07 PM
To which group did you assign the user?

DynamicTech
03-13-2006, 08:46 AM
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.........

DynamicTech
03-13-2006, 09:46 AM
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.

mairving
03-13-2006, 11:28 AM
Chmod'ing the folder more than likely did the trick.

MichaelS
03-25-2006, 08:14 PM
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