Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Dos charset =cp850
Unix charset =UTF-8
Workgroup = century21NET
Netbios name = gateway (local machine)
name resolve order = lmhosts wins hosts bcast
Security =USERS
encrypt = yes
Wins server = 192.168.0.236 (basically it is a domain name where WINS is installed)
Wins support = no
Host allowed = 192.168.0.0/24
Problem:
I can see ip of all windows machines over network but cant go inside , prompt by id/password.I have tested the server credentials and also others but nothing worked . I can access share folder of 98.
Also i am unable to revolve ip-machine names. i defined manually each machine name in /etc/hosts.
Presuming you just want a File Share Access
Recommendations you can try...
1) the workgroup name should be less than 15 chars and sence its Win98 Machines on your network... then its recommended to keep it to 8 chars.
2) Since 'security = users' do you have smbpasswd file somewhere... in rh, it generally is located at /etc/samba/smbpasswd...so add this to config..
smbpasswd = /etc/samba/smbpasswd
3) add the unix users to smbpasswd with command
#>smbpasswd -a 'unix_user'
Basically we dont have workgroup, so in a workgroup field i have added domain name which is more than 8 chars. please advice me if its is required to change. second thing is that i have granted all the permissions to the folders so there is no point of share security violation.
smbpasswd file is already located in /etc/samba/smbpasswd and also have users for samba.
i can access linux machine from all windows machine...
when you are trying to access the shares... see what is the output from the /var/log/samba/smbd.log...
The workgroup here shouldnt be the same as that of the central domain name ...
I mean this linux server ought/meant to be a standalone file server... If you are having a Domain Controller configured and want this linux machine to be a member server of the DC, then the config file is not appropriate...
Samba can be configured on the Linux in many ways... first know your requirements...
I am presuming...You just want to access the files on the linux ?
if the above is correct... then you can give any workgroup name... its just OK... just for peace choose something within 8 chars...
then check the file permissions I think you should be done...
if still there is problem... post the outputs from smbd.log when you try to access the shares
First of all i want to access windows 2000 machine from my linux PC.
Already i can browse linux from windows.
Here is the nmbd log file message:
Error 0 when resturened when querying WINS sever for name workgroup
find_domain_master_name_query_fails
unable to find domain master browser name workgroup
unable to sync browse lists in this workgroup.
matrixpk,
sorry didnt quite read your statement earlier..
cant you just do
man smbmount...
you have to mount the Dirs, shared in the windows machines, because I presume you do not have a central authenticating server like DC... you will have to access individual machines.. with there respective Administrator/passwd
tarooza:/home/saneax # smbclient -L //192.168.0.51 -U Administrator%secret... to look at the shares...
generally the Linux UI file browsers specially nautilus will not function... properly... unless you have a DC and your linux is a member server of the DC
saneax thanx alot of your co-operation.
i am not sure that i am able to deliver my problem.
when i try to browse LAN, like when i access any machine,it prompts me for user name and password, but when i supply my credential , it rejects.
However i can logon using anonymus user thru command prompt.
smbclient -L machineIP -n
Computers on a Win2k domain usually do not take domain username/password credentials from another computer unless that computer is part of the domain. To change this, you can add local users to each windows computer you want to access from the Linux box or you can set Samba up as member of the domain. http://www.samba.org has documentation on how to add a Linux/Samba computer to a windows domain:
If you join the domain then you workgroup = line must be equal to the domain name, if you have not joined the domain then it must be different than the domain name.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.