Wednesday, July 22, 2015

Samba configuration with Ubuntu

After Six Year of Silent I thought to write new post about Samba installation

1. Install Samba
apt-get install samba samba-common python-glade2 system-config-samba 
2. Backup the original Samba conf file

mv /etc/samba/smb.cnf /etc/samba/smb.cnf.bak 
3. Edit the smb.conf file

vim /etc/samba/smb.cnf 

and add the following lines
workgroup = WORKGROUP
server string = Samba Server %v
netbios name = ubuntu
security = user
map to guest = bad user
dns proxy = no
#============================ Share Definitions ============================== 

comment = Anonymous Share
path = /samba/public
browsable =yes
writable = yes
guest ok = yes
public = yes
read only = no
create mask = 0777
directory mask = 0777 

comment = Prabaths profiles
path = /home/prabath
guest ok = no
browseable = yes
create mask = 0777
directory mask = 0777
valid users = prabath
writable = yes

#for each profile please repeat the above [prabath] config

4. Create Anonymous Folder
mkdir -p /samba/anonymous

5. Restart the Samba Server
service smbd restart

6. Add user to new user
sudo adduser prabath
7. Adding user to Samba
smbpasswd -a prabath
8. Finally restart Samba again
service smb restart  

Wednesday, July 29, 2009

Debian Sources List Generator

Recently I was searching for /apt/etc/sources.list generator, finally I found it. Following site allow us to generate sources list with available mirrors.

Sunday, March 8, 2009

Top 100 Celebrities My Third Facebook Application

Today I had released my third Facebook application Top 100 Celebrities. You can send and share beautiful pictures of Top 100 Celebrities with your Facebook friends.

Check your favorite celebrity is within Top 100 Celebrities. This is a cool Facebook application please try it from following link.

Following link direct you to about page of the Top 100 Celebrities.

I hope Facebook users all over the world may like it.

Sunday, February 15, 2009

My new Facebook application

Last week I released my new Facebook application "Proud be a Sri Lankan". It was developed from scratch and user has ability to send, receive beautiful pictures of Sri Lanka to their friends. I hope Sri Lankan Facebook users may like it. Please install application from following link.

About page of "Proud to be a Sri Lankan"

Friday, November 21, 2008

CCleaner - It removes unused files from your system

Recently I came across a requirement where I need to cleanup temporary registry files in Windows Registry so I found a nice tool called CCleaner. Following link direct you to site of CCleaner.

Wednesday, April 9, 2008

My First Facebook application

I wrote a Facebook application in my lesser time, this allow user to write their profile using their mother tongue. I name it as "My Profile in My Language"

It had translate into 6 languages including Sinhala, I hope it'll translate into more languages.

Following link direct you to about page of the application

You can add the application to your profile from following link

Your welcome to use this application and review it.

Tuesday, April 1, 2008

Download folder content from wget

Recently I found way to download folder content from wget, I know you already knew this commands but I thought to blog then I don't want to memorize it :-).

You want to download all the gifs from a directory on an http server. You tried `wget*.gif', but that didn't work because http retrieval does not support globbing. In that case, use:

wget -r -l1 --no-parent -A.gif

or if you want to download the whole folder content following is the command

wget -r -l1 --no-parent