Archive for June, 2006

They was marked 2 do :

June 25, 2006

**AddShare window :

-Improve addshare interface appearance to be more user-friendly .

-Complete it by adding ‘share name’ , ‘share description’ , ‘visibility ‘ options that some share options is put in Advanced Tab .

**Add a Table to MainWindow shows current share folders & their attributes like that share name , permissions ,… .

-User can change current share properties by double-click on the table or press Properties icon on the toolbar.

**User account management :

-Add / Remove / Edit samba-users .

I’ll go through the Current ToDo list from some next days but Now

I try to make code(Add share Window & Main Window Interface )ready for first commit to bzr branch of my project on launchpad .

A Great Jump Forwards …

June 22, 2006

-Design MainWindow
-Design & coding AddShare
has been done 😀 .

Add Share in GUI Samba Configurator
Now

In mainwindow by clicking on 'Add a Share' button in toolbar(Ctrl + S), 'Add Share' window appears.
It has three major parts :
-Share Directory
User can browse in system & add favorite folder to share .

-Share Security

By this part ,user can configure access-permision to share folder.

-Share For …

Share For 'all users' is default value but could be changed to

'specified user' option .By selecting 'specified user' ,Samba Users

List appears in buttom(which is extracted from smbpasswd file)

and user can select some specified user for authenticating them

to access the share.

Add a Share
Ok button clicks.
At the first program checks share address ,Is valid or no?,and if it's valid address ,Making share block is second work and at the end
program appends it to smb.conf file.

For Example in this case it's made below share block :

*

[Desktop]
path = /root/Desktop/ToDo
writable = yes
valid users = samba-user1 samba-user2
*

I've test it & AddShare window works well , But Remaining works is so much .I'll talk about them in next post …

Set up Samba Server & Windows Client

June 13, 2006

*Set up Samba server In Ubuntu

After installing samba & smbfs package

-Add System User: useradd system_username

-Add Network User: smbpasswd -a system_username

-Add following line to File “smbusers” at /etc/samba/

system_username = “network username”

*Set up Windows XP client to communicate with it

(in same workgroup)

-Click on My Computer to open the My Computer window. Click
My Network Places, in the Other Places box in the left part of

the window ,click View workgroup computers in the Network

Tasks box at the left of the window and now you should see

your Samba server listed as a member of the workgroup.

Double-click its icon, and if your windows account

(username & password) doesn’t match with samba

user ,you added in linux ,you should input it and if

It’s correct you can see samba shares.

Hello World

June 11, 2006

This is my first window programming in python.

HelloWorld1.jpg

In Python IDE :

My First Python Window

Add a ShareAdd a Share (as Easy as Possible)

I ‘ve been familiar with ‘redhat-config-samba’ just about a month ago .It’s a Samba Server Configuration Tool for managing Samba shares, users, and basic server settings.I think it’s good idea that I start coding ‘GUI Samba Configurator’ SoC project by implementing features which is considered in redhat-config-samba first and after that I’ll add some features .

A Few links about my project

June 9, 2006

https://launchpad.net/products/camille.percy/+spec/guisambaconfigurator

https://wiki.ubuntu.com/Camillepercy

Fisrt step : Being More Familliar with Samba & Python

June 9, 2006

-I’ve decided to write the tool in Python & GTk+ so that it blends with the GNOME Desktop well.
-I’ve studied some manuals ,docs & ebooks during ten days ago which is explained below :
* “Using Samba”, Second Edition By Jay Ts, Robert Eckstein, David Collier-Brown

* Pygtk tutorial,www.pygtk.org/pygtk2tutorial/index.html

* “Dive Into Python” EBook ,http://diveintopython.org

-I found a similar tool “redhat-config-samba” in Red Hat & Fedora Core which released under GNU GPL .I downloaded source-code & notice that tool was written in python by using pygtk lib.It can be reused if needed.

I want to start coding after Studing a few more about Python & Samba in about some next days.

Summer of code google

June 9, 2006

I've accepted in summer of code google .

My project is Desigining A GUI tool for setting up / configuring SAMBA shares on Ubuntu.

I was working on robocup project for participating in robocup soccer

simulation competition which will start from 14June.
(http://www.robocup2006.org/sixcms/detail.php?id=51⟨=en)

I,ve entrusted remaining work in my teammates.

Now ,I'll continue hard working (more & more)on my summer of code project "GUI Samba Configurator " on Ubuntu (my favorite os)