Re: samba - smb.conf

2009-03-12 Thread Rodrigo Hashimoto
Hello Roberto,

That's right, I only get a new "smb.conf" after reinstall the
"samba-common" instead of "samba".

Thanks a lot.


On Thu, 2009-03-12 at 23:07 +, Roberto D'Oliveira wrote:

> 2009/3/12 Rodrigo Hashimoto :
> > Hello guys,
> >
> > I have two questions, the first one is how to generate a new "smb.conf" ??
> >
> > And the second question is regarding the aptitude on Debian Lenny. I tried
> > to removed the samba with "dpkg -r samba" and reinstall it with "aptitude
> > install samba" to check if I get a new "smb.conf". However I noticed the
> > command "dpkg -r samba" didn't remove all the samba files. So how can I
> > remove completely a package like samba ?
> >
> > Thanks.
> 
> The package that contains /etc/samba/smb.conf is "samba-common"
> 


Re: samba - smb.conf

2009-03-12 Thread Dan Serban




Rodrigo Hashimoto wrote:

  
  
Hello guys,
  
I have two questions, the first one is how to generate a new "smb.conf"
??

dpkg-reconfigure samba

  
And the second question is regarding the aptitude on Debian Lenny. I
tried to removed the samba with "dpkg -r samba" and reinstall it with
"aptitude install samba" to check if I get a new "smb.conf". However I
noticed the command "dpkg -r samba" didn't remove all the samba files.
So how can I remove completely a package like samba ?
  

aptitude purge samba
Thanks.





-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: samba - smb.conf

2009-03-11 Thread Daniel Dickinson
On Wed, 11 Mar 2009 20:51:01 -0300
Rodrigo Hashimoto  wrote:

> Hello guys,
> 
> I have two questions, the first one is how to generate a new
> "smb.conf" ??

Do you just mean the smb.conf from the package or do have specific
settings you want.  If you want to configure your smb.conf without
doing it by editing smb.conf, you can try gadmin-samba, swat or
similar utilities.
 
> And the second question is regarding the aptitude on Debian Lenny. I
> tried to removed the samba with "dpkg -r samba" and reinstall it with
> "aptitude install samba" to check if I get a new "smb.conf". However I
> noticed the command "dpkg -r samba" didn't remove all the samba files.
> So how can I remove completely a package like samba ?
> 
> Thanks.

apt-get --purge remove packagename

-- 
And that's my crabbing done for the day.  Got it out of the way early, 
now I have the rest of the afternoon to sniff fragrant tea-roses or 
strangle cute bunnies or something.   -- Michael Devore
GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C  http://gnupg.org


signature.asc
Description: PGP signature


samba - smb.conf

2009-03-11 Thread Rodrigo Hashimoto
Hello guys,

I have two questions, the first one is how to generate a new
"smb.conf" ??

And the second question is regarding the aptitude on Debian Lenny. I
tried to removed the samba with "dpkg -r samba" and reinstall it with
"aptitude install samba" to check if I get a new "smb.conf". However I
noticed the command "dpkg -r samba" didn't remove all the samba files.
So how can I remove completely a package like samba ?

Thanks.