Configuring Samba on CentOS

Samba is an Open Source / Free Software suite that has, since 1992, provided file and print services to all manner of SMB/CIFS clients, including the numerous versions of Microsoft Windows operating systems. Samba is freely available under the GNU General Public License.

The Samba project is a member of the Software Freedom Conservancy.

Operatring System
CentOS 5.2

Samba
samba-3.0

Installing samba via yum

yum -y install samba samba-common samba-client

Configuring samba

mv /etc/samba/smb.conf /etc/samba/smb.conf.orig

Showing you the basic configuration of samba. In this example we are going to share softwares directory. Only samba user can able to save files in this directory.

vi /etc/samba/smb.conf
[global]
workgroup = WORKGROUP
server string = Samba Server Version %v
security = share
load printers = yes
cups options = raw
[share]
writeable = yes
admin users = it
path = /softwares
force user = root
valid users = it
public = yes
available = yes

Save and exit the configuration file. Now we have to create samba user as well as the softwares directory which we want to share.

mkdir /softwares
adduser it
passwd it
smbpasswd -a it
/etc/init.d/smb restart

Thats it now you are ready to browse the samba share. To access the samba share on windows pc follow the below given procedure:
Start -> run -> cmd
At the prompt type:

net use z: \\ip_of_your_samba_server\share /user:it it_password

At this point you have successfully set up Samba under Linux and are now successfully connected to your share from your Windows machine.

Unblocking attachments in Microsoft Outlook

To provide enhanced security, Microsoft Office Outlook is designed to prevent you from unblocking attachments. But some time it becomes headache for you. Some times you don’t require this feature. There are two levels of securities in Microsoft Office Outlook Level1 and Level2. Access to Level 1 files is blocked and can’t be changed. When you receive an attachment with a Level 2 file type, you will be prompted to save the file to your hard disk. If you use Microsoft Exchange Server, your system administrator can add and remove file types for both levels of e-mail security.

Level 1


File extension File type
ade Access Project Extension (Microsoft)
adp Access Project (Microsoft)
app Executable Application
asp Active Server Page
bas BASIC Source Code
bat Batch Processing
cer Internet Security Certificate File
chm Compiled HTML Help
cmd DOS CP/M Command File Command File for Windows NT
com Command
cpl Windows Control Panel Extension (Microsoft)
crt Certificate File
csh csh Script
exe Executable File
fxp FoxPro Compiled Source (Microsoft)
gadget Windows Vista gadget
hlp Windows Help File
hta Hypertext Application
inf Information or Setup File
ins IIS Internet Communications Settings (Microsoft)
isp IIS Internet Service Provider Settings (Microsoft)
its Internet Document Set Internet Translation
js JavaScript Source Code
jse JScript Encoded Script File
ksh UNIX Shell Script
lnk Windows Shortcut File
mad Access Module Shortcut (Microsoft)
maf Access (Microsoft)
mag Access Diagram Shortcut (Microsoft)
mam Access Macro Shortcut (Microsoft)
maq Access Query Shortcut (Microsoft)
mar Access Report Shortcut (Microsoft)
mas Access Stored Procedures (Microsoft)
mat Access Table Shortcut (Microsoft)
mav Access View Shortcut (Microsoft)
maw Access Data Access Page (Microsoft)
mda Access Add-in (Microsoft) MDA Access 2 Workgroup (Microsoft)
mdb Access Application (Microsoft) MDB Access Database (Microsoft)
mde Access MDE Database File (Microsoft)
mdt Access Add-in Data (Microsoft)
mdw Access Workgroup Information (Microsoft)
mdz Access Wizard Template (Microsoft)
msc Microsoft Management Console Snap-in Control File (Microsoft)
msi Windows Ins
taller File (Microsoft)
msp Windows Installer Patch
mst Windows SDK Setup Transform Script
ops Office Profile Settings File
pcd Visual Test (Microsoft)
pif Windows Program Information File (Microsoft)
prf Windows System File
prg Program File
pst MS Exchange Address Book File Outlook Personal Folder File (Microsoft)
reg Registration Information/Key for W95/98 Registry Data File
scf Windows Explorer Command
scr Windows Screen Saver
sct Windows Script Component Foxpro Screen (Microsoft)
shb Windows Shortcut into a Document
shs Shell Scrap Object File
tmp Temporary File/Folder
url Internet Location
vb VBScript File or Any VisualBasic Source
vbe VBScript Encoded Script File
vbs VBScript Script File Visual Basic for Applications Script
vsmacros Visual Studio .NET Binary-based Macro Project (Microsoft)
vss Visio Stencil (Microsoft)
vst Visio Template (Microsoft)
vsw Visio Workspace File (Microsoft)
ws Windows Script File
wsc Windows Script Component
wsf Windows Script File
wsh Windows Script Host Settings File


Level 2

There are no Level 2 files by default. If you use Microsoft Exchange Server, your system administrator may add and remove Level 2 file types, or allow you to reduce a Level 1 file to Level 2.

But what if you are not having Microsoft Exchange Server. Following is the resgistry trick which disable the Level1 security feature.

Start > run > regedit

HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Security

(Go to HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Security for Outlook 2003 and HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Outlook\Security for Outlook 2002. )

Add a new string value called “Level1Remove”.

Make its value a list of allowed file extensions separated by semicolons.

For example, “.shs;.exe” allows access to Shell Scrap Object File and executables.

NVU web authoring system for creating web pages

I was trying to build a basic website for my personal use. For a while I used windows notepad for creating webpages. But u must have a very good html knowledge for that. While searching an open source solution for it I come to know NVUweb authering system.

Nvu (pronounced “N-view,” for a “new view”) is a free, open source software program that allows you to build websites and web pages using a simple WYSIWYG editor (what-you-see-is-what-you-get). Nvu makes creating web pages as easy as using a word processor and rivals such programs as Adobe’s Dreamweaver and Microsoft’s Expression Web, only for free! With Nvu’s built-in site manager, connecting to your website and making changes is a snap.

I liked the software cause you can use the same software in Windows as well as in Linux. I am using it on my CentOS

You can download it from the below link

For windows users:
nvu-1.0-win32-installer-full.exe

For linux user:
RPM base
kompozer-0.7.10-i386.rpm

Source file
kompozer-0.7.10-gcc4.0.3-i486.tar.gz

For more information you can go to their website:
NVU websites

Windows 7′s Jump List feature

Jump Lists are a new feature in Microsoft Windows 7 that are designed to make it easier to find what you want and perform common operations associated with an application. Jump Lists appear on the Start menu as well as on the Taskbar when you right-click on an icon. As I’ve been working with Windows 7, I’ve learned to take advantage of Jump Lists and really love the boost in computing efficiency.

Recently, I was extolling the benefits of the Jump List to a couple of friends, and one of them blasted my newfound penchant, saying that the Jump List feature was nothing more than a glorified My Recent Documents menu. (Obviously, he is still using Windows XP.) I responded that he was actually right, but he was also wrong.

It’s true that the Jump List feature is an enhancement that can very easily trace its origins to the Recent Documents feature, which by the way first made its appearance on Windows 95’s Start menu as the Documents menu. However, delivering a listing of recently opened documents is but a small piece of what the Jump List provides.

In this edition of the Windows Vista and Windows 7 Report, I’ll introduce you to Windows 7’s Jump List feature. As I do, I’ll show you the Jump Lists for several applications and describe the features in more detail.

Note: Keep in mind that this is a prerelease version and that the look and features of Windows 7 that I will discuss here may very well change between now and the time the operating system is actually released.

Jump List feature in a nutshell

The Jump List feature is designed to provide you with quick access to the documents and tasks associated with your applications. You can think of Jump Lists like little application-specific Start menus. Jump Lists can be found on the application icons that appear on the Taskbar when an application is running or on the Start menu in the recently opened programs section. Jump Lists can also be found on the icons of applications that have been specifically pinned to the Taskbar or the Start menu.

Jump Lists on the Start menu will appear a little different than Jump Lists on the Taskbar. However, they will provide the same functionality.

By default, the Jump List can contain the application’s shortcut, the ability to toggle pinning, the ability to close one or all windows, access to specific tasks associated with the application, and once you begin using the application, a list of recent documents or destinations depending on the application.

Now that you have a general idea of how Jump Lists work, let’s take a look at the Jump Lists for several applications.

Read More

OCS Inventory NG agent for Windows

In my previous post, we learned how to setup OCS Inventory Server on CentOS

Operating System:
Windows XP

OCS Inventory NG Agent:
OCSNG_WINDOWS_AGENT_1.02RC3.zip (internal version 4.0.5.0)

In this tutorial we will learn how to setup OCS inventory client on Windows XP.

Download OCS Inventory NG agent
OCSNG_WINDOWS_AGENT

Extract the zip file and double click on OCSAgent setup:

After clicking finish button you will get inventory on your server.

Page 9 of 9« First...«456789
rss twitter facbook

Categories

Archives