Operating System - Linux
1748219 Members
4465 Online
108759 Solutions
New Discussion юеВ

Re: Can not Access Share on Samba Server

 
george_114
Advisor

Can not Access Share on Samba Server

I have configured my samba server with share type = share and when i run smbclient -L rhlsvr, i can login to my samba server but why my share directory can not be accessed via Windows 98 client that informed that share name not found.
8 REPLIES 8
Huc_1
Honored Contributor

Re: Can not Access Share on Samba Server

Georges,

It much more easy to answer that question if you include your smb.conf as attachement.

J-P

Smile I will feel the difference
U.SivaKumar_2
Honored Contributor

Re: Can not Access Share on Samba Server

Hi,

In smb.conf , ensure that

encrypt passwords = yes

and restart samba

regards,

U.SivaKumar

Innovations are made when conventions are broken
george_114
Advisor

Re: Can not Access Share on Samba Server

this is my smb.conf file
Huc_1
Honored Contributor

Re: Can not Access Share on Samba Server

First do you see your printer share from W98, also is your W98 in WORKGROUP also

--------
In your share section

[homes]
comment = Home Directories
browseable = no
--------

If you see printer share then make Home browseable = Yes

Do the above if your are in a safe/secure environment.

Dont forget to run

# service smb restart

after each change to smb.conf

When and if you see your share try make this more secure by resticting share to specific user/nodes

also have a look at following link for more detailed info

http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/s1-samba-configuring.html

Hope this get you rolling

J-P
Smile I will feel the difference
Alexander Chuzhoy
Honored Contributor

Re: Can not Access Share on Samba Server

can you access the server with ping command?
if the answer is yes?
then in run command type this:
\\IP_address
where IP addres is the ip of your samba server.
tell us what's happening
Jerome Henry
Honored Contributor

Re: Can not Access Share on Samba Server

Hi,

When using security = share, you compell samba to guess username for each share.
Tha's no problem using smbclient, as user is linux login for your user, and then you access to your public share or your home directory if any.
But it's harder from win98. In this case, you should link specifically a right for each share, and for each user (say /tmp/toto should belong to user toto, which is the login you used to log to your windows box. no one else will be able to get tot this share).
So it's generally a better idea to use security = user, and add these users to your samba server with smbpasswd tool.
Of course, your smb.conf should then contain the shares you want to show !
A good tool to prepare all that is swat... do you know it ?

J
You can lean only on what resists you...
Steven E. Protter
Exalted Contributor

Re: Can not Access Share on Samba Server

I'd be thinking about user level share and smbpasswd -a or doing authentication on your primary domain controller.

I think this problem is being caused by share authenitcation.

Have you checked the samba log file defined in smb.conf? It might give you some clues.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
charlie_21
Advisor

Re: Can not Access Share on Samba Server

Yo George,
Try this
1 same password on client as server.
Username + password = the same.
(so reset both)
Then check dir rights , see smb.conf and check the atributes of the home dir or other share's , make it 777 for now.

Then see in the reg of windows if the password is send in clear text or encrypted,
Make it the same on the client and the server.


OO , don't forget to make some share's browsable in the smb.conf

Or check my config on ftp://81.204.73.15/pub/smb.conf
Ba BAM - Dance the samba....., and your win client = fooled ....no licences...Good Luck..
I'am who I'am