DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-01-21 18:05:27

lesliepollak
New member
Registered: 2010-01-21
Posts: 4

DNS-323 to replace a Windows Server

Hi,
I am looking for a solution using my DNS-323 Firmware: B1
We currently have a Microsoft SBS2003 server that has all of our engineering files that we access
The folder structure is
\\lanserver
\\lanserver\Engineering
\\lanserver\Production
Every PC that connects to this server does so by mapped network drives, shortcuts, or directly using \\lanserver
I want to copy all the folders and files from the server over to the DNS-323 and maintain the folder and file structure and naming convention.
Currently the DNS-323 will not be able to do this.
  I named the DNS-323 "lanserver1"
  When I goto \\lanserver1 I see the following folders
     Volume_1
     web_page
   I cannot create folders/directories in this root folder.
   I cannot rename Volume_1
   I can create folders in Volume_1
 
I want to name the DNS-323 "lanserver1"
  copy all the folders and files from "lanserver" over to the DNS-323 in the root folder
  Retire and shutdown the server "lanserver"
  Rename the DNS-323 to "lanserver"
In doing this I would not have to advise any of the employees that they need to update their links, short-cuts, network drive maps, thereby saving me time and frustration.
The DNS-323 allows me to create folders under Volume_1 but this would mean that the new structure would be
\\lanserver\Volume_1\Engineering
\\lanserver\Volume_1\Production
which defeats the whole purpose and would entail having to update a multitude of network drive maps, shortcuts and links.

Does anyone have a work-around, or add-on programs that would allow me to do this on the DNS-323.
Or could someone put me to a NAS product that could accomplish this.

Regards
Leslie

Offline

 

#2 2010-01-21 20:55:00

bjby
Member
Registered: 2009-02-22
Posts: 265

Re: DNS-323 to replace a Windows Server

Hi,

The volume_1 comes from config of samba shares. It can be changed to what you want to achive, but cannot be done via webinterface.

Maybe this is a start ( http://dns323.kood.org/howto:bettersamba ) google the rest.

Offline

 

#3 2010-01-21 22:33:51

karlrado
Member
Registered: 2009-12-07
Posts: 229

Re: DNS-323 to replace a Windows Server

The above is a good start.

To try things out, you can do:

set up your DNS with funplug to get telnet and/or ssh access and login

killall smbd

edit /etc/samba/smb.conf

You could add the following stanzas to the file:

[ Engineering ]
comment =
path = /mnt/HD_a2/Engineering
valid users =
read only = no
guest ok = no
oplocks = no
map archive = no

[ Production ]
comment =
path = /mnt/HD_a2/Production
valid users =
read only = no
guest ok = no
oplocks = no
map archive = no

Then restart samba:

/usr/bin/smbd -D

and your shares should be the way you want.

This is safe to do because the smb.conf file you just changed is in ramdisk and will get reset to the way it was when the system reboots.  So, if you reboot, the old shares will show up.

The link referenced above discusses ways to make smb.conf changes permanent or applied when the funplug script runs.

If it were me, I'd probably modify the funplug script that runs after boot to have it do the above steps.  Kill smbd, append the two new stanzas and then restart smbd.


DNS-323 FW 1.07 : 2 1TB WD Caviar Green SATA : fun_plug: utelnet + optware (no ffp)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB