1819681 Members
3514 Online
109605 Solutions
New Discussion юеВ

Samba client share

 
Sakui
Frequent Advisor

Samba client share

hi

I am using redhat 9. I have install samba-client
on the linux but when i go to windows network place i see the workgrup but it can't open. it say "workgroup unaccessiable due permission"On the linux when i do smbclient -l, i can't see the share that i have created. I need windows to be able to access the linux share through the network.
5 REPLIES 5
RAC_1
Honored Contributor

Re: Samba client share

Have you specified valied users for that share? If not you should set it and try. Also, what does samba log file say about this error??
There is no substitute to HARDWORK
Gopi Sekar
Honored Contributor

Re: Samba client share


the most likely problem is wrong configuration in smb.conf file. post your /etc/samba/smb.conf file. Let us take a look at it and solve your problem.

Regards,
Gopi
Never Never Never Giveup
Ivan Ferreira
Honored Contributor

Re: Samba client share

The samba (server) is needed for access from windows to Linux. Anyway, it should be installed.

After you installed the samba package, you need to edit the /etc/samba/smb.conf (or /etc/smb.conf) and configure some parameters.

You should set the WORKGROUP parameter. Then the security mode. The easiest security mode (and less secure) to configure is:

security = share

Then you must configure the shares, there are a lot of examples in the configuration file.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Nils_9
Advisor

Re: Samba client share

It could be helpful to add a samba user, if you keep the "security" setting to "user".
Here is the syntax to add a new user :
smbpasswd -a nameoftheuser passwordoftheuser

Of course, man smbpasswd will give you some details.
Laurent Laperrousaz
Regular Advisor

Re: Samba client share

You mention that you installed the samba-client but then you write that you need to access the linux share on the windows stations...

You should install the samba server on your linux box, either use the security "user" and then create some smbusers or use the security "share" .
You can have a friendly interface using swat for configuring your samba server on linux.

Swat is an http interface running on port 901 when it is installed.