Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started by: thianb on September 29, 2009, 04:13:04 PM
-
Hi All
I installed an NAS and I want the users to be able access the pastel database that is located on the NAS. Can anyone please help me to solve this issue?
Thian
-
I think you should read the nas manual.. I mean: usually nas use samba to share files and dirs.. so you already have what you are asking for
my 2c
-
Moving to General Discussions as requested.
-
Stefano there is nothing in the manual regarding the setup of SAMBA for the NAS. Can anyone please help me to solve this?
-
Stefano there is nothing in the manual regarding the setup of SAMBA for the NAS. Can anyone please help me to solve this?
first of all: can you tell us which netgear nas model are we talking about?
then.. you don't have to setup samba on your nas because it's already there.. all you have to do is configure a share on nas itself.. I don't know if your nas has user rights management, but if so, just use the same user/password that you have on SME.
some nas permit to auth users via domain.
hth
-
thianb
I don't use a NAS so I may be wrong, but the implication is that a NAS sets up a share(s) on your network.
You would then access that share, say from your Windows workstations, by mapping the share.
I assume you configure that sharename(s) and network details eg workgroup name, IP, in the NAS setup screens.
The suggestion was that the NAS uses samba to provide the windows workgroup networking emulation, so you don't need to directly configure samba, but you do need to configure the share correctly (on the NAS).
Is there something like that in the manual ?
-
Hi thianb
try this
mount -t smbfs -o --username=<defined in Netgear NAS>,password=<username password> //<Name of NAS>/<Name of share defined in NAS> /media/<Mount point required>
The mount point could if you want be under an ibay
So go to the nas with a web browser and set up the users and groups, then the share and rights to the share.
Good luck
-
Hi Gordon
I want to mount it as an Ibay but how do I specify the mount point?
What directory does the Ibay use? I already have an Ibay with the name pasteldata.
Regards
Thian
-
The path would be /home/e-smith/files/ibays/pasteldata/files/
Is that Pasteldata for Pastel accounting files? If so Pastel users pervasive SQL so it would need to be setup very carefully and do not forget the licence will have to run from a Windows machine. I would put the data in a directory within the ibay and back it up to the NAS.
-
Hi Gordon
I tried the mount command from my SME Server but its giving me the following error message:
7013: Session setup failed: ERRDOS: ERRnoaccess (Access Denied)
SMB connection failed
I am using the username and password of admin on the NAS.
How can I solve this?
Regards
Thian
-
The readynas uses cifs not smbfs, you really do need to read the manual/readynas forums as they will help more. I recently purchased a readynas duo and had no problems mounting with cifs option you just need to make sure all permissons and users/groups are set correctly.
-
try this
http://wiki.contribs.org/Mount_Network_Shares
-
The Netgear NAS supports CIFS, NFS, HTTP/S and Rsync just go to the shares page and set the protocol required via http://<ip address of NAS>/admin.
-
Hi Gordon
What command do I use to mount the share from the SME server into the pasteldata Ibay?
Your help would be appreciated.
Thian
-
Hi
The model of the NAS is a netgear ready NAS 2100
Thian
-
Thian
Did you read this link http://wiki.contribs.org/Mount_Network_Shares (http://wiki.contribs.org/Mount_Network_Shares)? Just try the command from a console screen logged in as root to see if it works. You have of course set up a share in the NAS and can open it from a workstation!
-
Hi Gordon
I mounted the /home/e-smith/files/ibays/pastel directory(Ibay) to the //192.168.1.27/pasteldata directory on the NAS.
How do I know that its working?
When I go start-run-\\192.168.1.27\pasteldata and double click on the pasteldata share on the NAS it asks me for a username and password and when I enter it it doesnt allow me to acces it.
Is it because its being used by the SME server?
Please let me know?