Hey Guys,

  I just looked at the permissions of the programs in the wheezy 
machine, and here is a screenshot of what they look like using he "ls 
-al" command,

https://app.box.com/s/hzn5v96nrieg37fxg8h3ygxh4abypohy

I would say they are Windows Shares

As for the system, the only thing I really do is get samba configured 
according to the notes I have found on the internet, pertaining to the 
specific OS I am on, here are my notes for how the Ubuntu machines are 
configured,

 >>> From the terminal

             sudo gedit /etc/samba/smb.conf

 >>> Then modify

             workgroup = WORKGROUP
                     TO
             workgroup = xxx  ( whatever the name is of your workgroup )

 >>> Then add these lines,

             name resolve order = bcast host
             force user = machine   --- or whatever machine you are on.

 >>> Then save and exit then from the terminal,

             sudo service smbd restart

And here are my notes for the Wheezy machines,

 >>> From the terminal

             sudo gedit /etc/samba/smb.conf

 >>> Then modify in the Global Section

             workgroup = WORKGROUP
                            TO
             workgroup = Srt >>> or whatever the workgroup name is

     # server string is the equivalent of the NT Description field

            server string = %h server (Samba %v)

     # Windows Internet Name Serving Support Section:
     # WINS Support - Tells the NMBD component of Samba to enable its 
WINS Server
            wins support = yes 1

 >>> Then modify in the Authentication section,

            security = user >>> actual user name

 >>> Then Save,
 >>> Then to restart samba,

             sudo service samba restart

Then to share the folders,

On Ubuntu I just right click on the folder I want to share, select 
"Properties", then select "Share", and I select all 3 check boxes under 
"Share".

For Wheezy I have to add "Folder Sharing" using the following commands,

 >>> To add folder sharing to the Thunar Folder Manager, run the 
following commands

             sudo apt-get install libglib2.0-dev xfce4-dev-tools 
libgtk2.0-dev libthunarx-2-dev libthunar-vfs-1-dev build-essential samba

             mkdir $HOME/thunar_plugin

             cd $HOME/thunar_plugin

             wget 
http://archive.xfce.org/src/thunar-plugins/thunar-shares-plugin/0.2/thunar-shares-plugin-0.2.0.tar.gz
 


             tar xvzf thunar-shares-plugin-0.2.0.tar.gz

             cd thunar-shares-plugin-0.2.0

             sed -i "s|\(thunarx-\)1|\12|g" configure{,.in} 
thunar-plugin/Makefile.{am,in}

             sed -i "s|get_vfs_info|get_file_info|" 
libshares/libshares-util.c

             ./configure --prefix=/usr --enable-static=no

             make

             sudo make install

             sudo -s

             export USERSHARES_DIR="/var/lib/samba/usershares"

             export USERSHARES_GROUP="sambashare"

             mkdir -p ${USERSHARES_DIR}

             groupadd ${USERSHARES_GROUP}

             chown root:${USERSHARES_GROUP} ${USERSHARES_DIR}

             chmod 01770 ${USERSHARES_DIR}

 >>> Add your user to the Samba group replacing "your_username":

             usermod -a -G ${USERSHARES_GROUP} your_username

 >>> Then edit /etc/samba/smb.conf and under [global] section paste the 
following and save:

             usershare path = /var/lib/samba/usershares
             usershare max shares = 100
             usershare allow guests = yes
             usershare owner only = False

 >>> Then reboot



This is how all of my machines are setup, and as I said, the Ubuntu 
machines just work, we can transfer files back and forth between 2 
ubuntu machines, or an Ubuntu and a Windows machine, regardless of any 
editing at either end. But as for the Wheezy machines, Yesterday the 
shop supervisor made a program in his office on a Windows XP machine, 
and saved it directly into the nc_files folder on the lathe that I have 
wheezy on, they ran that program just fine, they made some edits at the 
machine to file no problem, but today, I tried to copy the edited file 
out of the wheezy machine, back to my ubuntu PC in the office, and it 
gave me the following,

https://app.box.com/s/mq9i7cul1ywrmi9nz2m8x698c6mhfskk


Hopefully this helps shed some light on what I am doing, and what I 
can't do now,




-- 
Thanks


Rick Lair
Superior Roll & Turning LLC
399 East Center Street
Petersburg MI, 49270
PH: 734-279-1831
FAX: 734-279-1166
www.superiorroll.com


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to