Re: [ilugd] SAMBA server config... best tool ??

2004-05-04 Thread Sandip Bhattacharya
Sanjeev Ghane Gupta wrote:
I have used SWAT precisely once, 4 years ago.  I had a well-commented
smb.conf file, needed to add a new share, so used SWAT.
It added the new share, stripped ALL comments, and re-wrote smb.conf.
No backup.
Unforgivable.
But isnt this the same with any frontend/shell to an existing program?

One has to make a consistent decision while using any GUI frontends 
which edit the same config file that you can edit manually - either use 
the GUI all the time or edit the config file manually all the time. I 
personally do both - I use GUI the first time to create a template, and 
then consistently *allways* manually edit them.

Comments are for humans; if you decide to use an automated/GUI frontend, 
you have to sacrifice that unless the GUI allows you to make contextual 
comments to options.

The connection between comments and the option that it is related to is 
very subjective - I can make a global comment somewhere or a comment on 
the next option in the file. Say you add an additional option to the 
configuration - Where will the UI put a new option line without 
disturbing the comment context? Too difficult, not reliable and not 
worth the trouble when all you want is to create an UI for users to add 
option reliably.

It is virtually unthinkable to ever make an UI which can reliably handle 
preserving comments to options.

- Sandip

--
Sandip Bhattacharya
sandip (at) puroga.com
Puroga Technologies Pvt. Ltd.
Work: http://www.puroga.comHome: http://www.sandipb.net
GPG: 51A4 6C57 4BC6 8C82 6A65 AE78 B1A1 2280 A129 0FF3

___
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/


Re: [ilugd] SAMBA server config... best tool ??

2004-05-04 Thread Sanjeev \Ghane\ Gupta
Sandip Bhattacharya wrote:
 Sanjeev Ghane Gupta wrote:
 It added the new share, stripped ALL comments, and re-wrote smb.conf.
 No backup.

 Unforgivable.
 It is virtually unthinkable to ever make an UI which can reliably
 handle preserving comments to options.

True.  I am not asking that it should have figured out if its newlines
should appear above or below a comment.  What I was cheesed about was what I
said above: it did not backup the file, it gave no warning.  I know it was
my fault, but I partially blame the program for not adhering to the
principle of Least Surprise.

--
Sanjeev


___
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/


Re: [ilugd] SAMBA server config... best tool ??

2004-05-03 Thread Raj Mathur
 Sandip == Sandip Bhattacharya [EMAIL PROTECTED] writes:

Sandip anil bindal wrote:
 a) Apart from SAMBA, is there any other alternative which is
 easy to use and user friendly ?
 
 b) What do generally list admins recommend and use on this list
 for easy sharing ( non-command line - pref. GUI ) of files/dir
 on Linux PC to other LAN Linux/solaris/windows PCs..

Sandip Try configuring Samba using swat.

Eww, please don't recommend that POS called Swat!  Use Webmin (I'm
sure it has a Samba plugin) or better yet edit the files manually.
Swat is a Bad Idea(tm), just like GUI front-ends to Iptables.

Regards,

-- Raju
-- 
Raj Mathur[EMAIL PROTECTED]  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
  It is the mind that moves

___
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/


Re: [ilugd] SAMBA server config... best tool ??

2004-05-03 Thread komal

- Original Message - 
From: Raj Mathur [EMAIL PROTECTED]
To: The Linux-Delhi mailing list [EMAIL PROTECTED]
Sent: Monday, May 03, 2004 9:28 PM
Subject: Re: [ilugd] SAMBA server config... best tool ??


  Sandip == Sandip Bhattacharya [EMAIL PROTECTED] writes:
 
 Sandip anil bindal wrote:
  a) Apart from SAMBA, is there any other alternative which is
  easy to use and user friendly ?
  
  b) What do generally list admins recommend and use on this list
  for easy sharing ( non-command line - pref. GUI ) of files/dir
  on Linux PC to other LAN Linux/solaris/windows PCs..
 
 Sandip Try configuring Samba using swat.
 
 Eww, please don't recommend that POS called Swat!  Use Webmin (I'm
 sure it has a Samba plugin) or better yet edit the files manually.
 Swat is a Bad Idea(tm), just like GUI front-ends to Iptables.
 
 Regards,
 
 -- Raju
snip

Raju , Would you please elaborate more on why Swat is a Bad Idea (tm)

Komal

___
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/


Re: [ilugd] SAMBA server config... best tool ??

2004-05-03 Thread Shashank Sharma
--- komal [EMAIL PROTECTED] wrote:

Raju , Would you please elaborate more on why Swat is a Bad Idea (tm)

Komal

-
SWAT stands for Samba Web Administration Tool.
Google/linux came up with this
http://samba.linuxbe.org/en/samba/learn/swat.html

The problem AFAIK with swat is that it is not easy to configure. Beats the hell out of 
you and you still get nowhere. That's so in many cases, but, those who are successful 
in configuring it right love it. 

-LinuxLala

_
Linux.Net --Open Source to everyone
Powered by Linare Corporation
http://www.linare.com/

___
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/


Re: [ilugd] SAMBA server config... best tool ??

2004-05-03 Thread Sandip Bhattacharya
Raj Mathur wrote:
Eww, please don't recommend that POS called Swat!  Use Webmin (I'm
sure it has a Samba plugin) or better yet edit the files manually.
Swat is a Bad Idea(tm), just like GUI front-ends to Iptables.
And could you tell me how it is a bad solution to the OP's question? 
swat comes by default enabled only to be accessed from localhost. Yes, 
it asks for root password over a cleartext based HTTP POST system. But I 
am sure, it is good enough to be used over localhost when the local root 
account is considered to be secure enough. And if configured to be used 
along with stunnel it is as secure as any other over the network. UI - 
webmin or what not. BTW, even webmin is considered to be a security hole 
by many.

- Sandip

--
Sandip Bhattacharya
sandip (at) puroga.com
Puroga Technologies Pvt. Ltd.
Work: http://www.puroga.comHome: http://www.sandipb.net
GPG: 51A4 6C57 4BC6 8C82 6A65 AE78 B1A1 2280 A129 0FF3

___
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/


Re: [ilugd] SAMBA server config... best tool ??

2004-05-03 Thread Raj Shekhar
anil bindal wrote:
Hi,

a) Apart from SAMBA, is there any other alternative which is easy to use
and user friendly ?
I think the way to do this in *nix world is through NFS. I am not a NFS 
man myself, but people who use it for sharing files are generally happy 
with it.

Another plus point about NFS is that you can browse it using Konqueror 
by typing lan:// (again I have not tried this out myself, since I get my 
work done with Samba and not NFS). This has been a part of conqueror 
since 2.0 See http://www.kde.org/announcements/announce-2.0.php

As for setting up the NFS you can have a look at Linux NFS-HOWTO 
http://nfs.sourceforge.net/nfs-howto/index.html I am not sure if you 
have a webmin module for configuring NFS

--
   / \__
  (@\___Raj Shekhar
  / O   My home : http://geocities.com/lunatech3007/
 /   (_/My blog : http://lunatech.journalspace.com/
/_/   U 
___
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/


Re: [ilugd] SAMBA server config... best tool ??

2004-05-03 Thread Raj Mathur
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 Komal == komal  [EMAIL PROTECTED] writes:

  Sandip == Sandip Bhattacharya [EMAIL PROTECTED]
 writes:
 
Sandip anil bindal wrote:
  a) Apart from SAMBA, is there any other alternative which is
  easy to use and user friendly ?
  
  b) What do generally list admins recommend and use on this
 list  for easy sharing ( non-command line - pref. GUI ) of
 files/dir  on Linux PC to other LAN Linux/solaris/windows
 PCs..
 
Sandip Try configuring Samba using swat.
 Eww, please don't recommend that POS called Swat!  Use Webmin
 (I'm sure it has a Samba plugin) or better yet edit the files
 manually.  Swat is a Bad Idea(tm), just like GUI front-ends to
 Iptables.
 
 Regards,
 
 -- Raju
Komal snip

Komal Raju , Would you please elaborate more on why Swat is a Bad
Komal Idea (tm)

Because it's incomplete.  You can make manual edit changes in
smb.conf, and then run Swat and if Swat doesn't understand those
changes it'll just happily delete them.  It'll also delete any
comments that you put in your smb.conf to make it more readable to the
next person who comes along to maintain Samba in your organisation.

Regards,

- -- Raju
- -- 
Raj Mathur[EMAIL PROTECTED]  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
  It is the mind that moves
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iD8DBQFAlxZCyWjQ78xo0X8RAqVUAJwJy0uyRZmJN7Kb/CMDPicKSLlfCwCdGMMF
4yLM/Nf7D4Bdv/Um6tduvPw=
=Yzm4
-END PGP SIGNATURE-

___
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/