Welcome to Samba Edit.

This is a Windows95/NT SAMBA smb.conf Editor, and is FREE under the
following conditions.

smbedit Copyright (C) 1997 Frank Santoro.

smbedit comes with ABSOLUTELY NO WARRANTY!

GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION APPLY

This is free software, and you are welcome to redistribute it
under certain conditions:-

1) The GNU PUBLIC License is applicable
2) The above text is not removed or edited.

The primary creator of the Samba suite is Andrew Tridgell.
Later versions incorporate much effort by many net.helpers.
Samba can be found at :- www.samba.org

You will have to Download and install 2 files, smbedit.zip and the smbedit-dll's
the Dll's are about 4Mb in size and do not change as often as smbedit.
Some systems will requier the patches, see the Bugfix log for more information.

Screen shot of smbedit

Lets now get started with Smbedit.

Always install the latest version of smbedit-dll

This is the only bit of UNIX Setup that you need :-

On the UNIX SAMBA server add the following share where 'write list = @staff'
and the SAMBA administrators belong to the UNIX 'staff' group.
('staff' could be any unix group)

Snip-------------- Add Share to smb.conf -----------------------------------
[samba]
comment = Samba Dir
path = /usr/local/samba
public = no
writable = yes
printable = no
write list = @staff
Snip-End--------------------------------------------------------------------

Now you should be able to find the smb.conf file by using SmbEdit's
'File', 'Open', then
(Look In:, 'Network Neighborhood', 'SAMBA server name\samba')
Or
(File name: '\\SAMBA server name\samba')
and then click on the lib directory followed by the
smb.conf* file you wish to edit.

Recommendation:-

I would advise you to edit the smb.conf file that accompanies smbedit,
just so you understand the quirks and my preferences, then always
copy to the local PC hard drive before editing.
(This will become an Option in a future release.)

To use the TestParm button you must first add the [testparm] share to
the config file and the samba_testparm shell script to the samba bin
directory then select the top level by clicking the
+ or - (expand/collapse smb.conf view) Box for the servers conf file
you wish to view.

TestParm share and unix script code below.

Snip-------------- Add Share to smb.conf ---------------------------
[testparm]
comment = Run testparm
path = /tmp
preexec = /usr/local/samba/bin/samba_testparm > /tmp/testparm
postexec = /bin/rm -f /tmp/testparm
public = yes
writable = no
printable = no
write list = @staff
Snip-End------------------------------------------------------------


Added in smbedit1alpha9 1/2/1998

Snip--------- Install this script into Samba bin directory ---------
#!/bin/sh
#
# Smbedit - samba_testparm script
#
echo "Samba Settings `date`"
/usr/local/samba/bin/testparm << EOF

EOF
Snip-End------------------------------------------------------------

Screen shot of testparm output

SmbStatus share and unix script code below.

Snip-------------- Add Share to smb.conf ---------------------------
[smbstatus]
comment = Run testparm
path = /tmp
preexec = /usr/local/samba/bin/samba_smbstatus > /tmp/smbstatus
postexec = /bin/rm -f /tmp/smbstatus
public = yes
writable = no
printable = no
write list = @staff
Snip-End------------------------------------------------------------

Snip--------- Install this script into Samba bin directory ---------
#!/bin/csh
#
# SmbEdit - samba_smbstatus (See the smbedit.zip README.TXT for Options)
#
echo "# Samba Status `date` on Unix Server (`uname -n`)"
echo " "
/usr/local/samba/bin/smbstatus -d
echo " "
echo "Samba Processers :-
foreach PID (`/usr/local/samba/bin/smbstatus -p`)
echo " $PID"
end
exit 0
Snip-End------------------------------------------------------------

Screen shot of smbstatus output

Web Man Page to HELP menu Displays smb.conf5.htm in web browser.
To Install the SAMBA manual Pages connect to the
SAMBA WebSite:- http://www.samba.org/pub/samba
Click on the Manual page smb.conf(5) then
File, SAVE AS smb.conf5.htm into the SmbEdit Directory,

SmbEdit Default = C:\Program Files\Samba Conf Editor.

Note! You may view all .htm files in this Directory.

Added in smbedit-1alpha10 8/2/1998
File/share properties form. (Limited use at present.)


Added in smbedit-1.01p1 1/3/1998

NOTE :- For use with IE4.x Only!

Load \\servername\samba\lib\smb.conf file from the command line.
Create a shortcut on the desktop then edit properties->Target
e.g. C:\Program Files\Samba Conf Editor\smbedit.exe \\smbserver\samba\lib\smb.conf
Undertaken a Code Review to stabilize smbedit1.01p1
Readme now shipped as Readme.htm to reduce clerical overhead.


Added in smbedit-1.02alpha1 10/5/1998

NOTE :- For use with YOUR Browser!
As IE4.x has given us a hard time.

Please download the New DLL to run this Version

smbedit.ini file to store Unix Commands, Hosts, Recent list, etc.
You may like to try this from smbedit :-
File, Open, \Program Files\Samba Conf Editor\smbedit.ini

File Recent List - last 9 unique smb.conf files opened.
Add Share Form - (Limited use at present still working on this.)
Unix Client Form - Home for testparm, smbstatus, Logon,
smbstart and smbstop command buttons.
Logon Form - Unix logon form.
Updated Properties form.
Updated Icons.


Added in 17/05/1998 :- Smbedit-1.02alpha2
FTP form Copy, Rename and Delete to and from Unix hosts.
View/edit original Complete file when treeview collapsed
(This is a copy of the original not the one you have edited via the shares.)


Added in 27/07/1998 :- Smbedit-1.02alpha4

Added
FTP - View option.
Net Status form (Trace route and Ping)
smbftp.ini file - to store EDITOR option for FTP view, Recent Hosts list etc.
Menu View Option To Enable/Disable View all shares at once.
Find 'string' in active Section, active File or All files.
Replace 'string' in active Section, active File or All files.
Net Status form - with Traceroute and Ping Thanks to Jim Huff - (Shares window to follow).
NAT Command Button (To run Network Authentication Tool)
User Command Button, Currently set to PWD, as per smbedit.ini file
Telnet - first pass (vt220 - Very Dodgy Hmmm)


This is the run_nat script for your UNIX server (you have to install NAT on this machine)
Snip--------- Install this script into Samba bin directory ---------
#!/bin/csh
echo " "
echo "Running NAT Please wait collating data - this may take some time"
echo " "
/usr/local/samba/bin/nat -u /usr/local/samba/bin/userlist.txt -p /usr/local/samba/bin/passlist.txt `-name -n`
echo " "
echo "Finished "
exit 0
Snip-End------------------------------------------------------------


Added in 23/08/1998 :- Smbedit-1.02alpha5
Upto 3 User Defined Unix Commands Buttons. (0,1=PWD,2)
Testparm and Sambastatus Buttons moved back onto the main form


Added in 20/09/1998 :- Smbedit-1.02alpha6

Fix Various bugs See Bugfix
Unix admin form still under development


Added in 31/12/1998 :- Smbedit-1.02alpha7

Fix
Various bugs See Bugfix
Unix admin form still under development
Printer Driver Unix Install still under development


Added in 1/03/1999 :- Smbedit-1.02alpha8

Fix Various bugs See Bugfix
Update
Show Complete option still EXPERIMENTAL.
HTML parser for Samba2.0.x
Close Login form when next form Opens.
Unix admin form still under development
Printer Driver Unix Install Almost Complete.
Unix file open Now reports error if file does not exist.
Moved Options menu.
Added
Console Telnet as an option to smbtelnet.
New Unix Directory Browser Form.
Share map will now use Unix passwd if PC password fails
Backup/Restore smb.conf file to/from PC or Unix server
Under Development
Printer Driver Unix Install.
Unix admin form.


smbedit Bugfix logfile

Report Smbedit Bugs


Mail Me

Smbedit WebSite