Hello Clive
Thanks for pointing me to to ipcalc,
I noticed smb.conf has a commented entry for 127.0.0.0/8
This would cover the whole local subnet:
HostMin: 127.0.0.1
HostMax: 127.255.255.254
Does it make sense to cover more than 127.0.0.1 and 127.0.1.1 in
/etc/hosts.allow ?
I don
Thanks for clearing this up Juan and Shawn.
I noticed I could change smbd to run in inetd mode if I flip the switch
in /etc/default/samba, but I don't known how this would improve things,
eventually create new drawback in cifs performance ... so I'll keep it
as it is with additiona
Hi Tuxoholic,
[...]
> With this smb.conf tweaking it works fine, but why could smbd/nmbd run past
> /etc/hosts.allow and /etc/hosts.deny without those lines in smb.conf?
Already answered by Juan Sierra Pons.
> To my limited CIDR understandig a /32 mask should restrict
ALL: ALL
> >
> > With this ruleset in place nmbd broadcasts still pull through and cifs
> mounts
> > are still possible, whereas ssh/rsh access is no longer possible.
> >
> > To get rid of nmbd/smbd access I have to tweak smb.conf additionally:
> >
> >
access is no longer possible.
>
> To get rid of nmbd/smbd access I have to tweak smb.conf additionally:
>
> /etc/samba/smb.conf
>
> [global]
> bind interfaces only = Yes
> interfaces = 127.0.0.0/8, eth0
> ;; hosts allow = 192.168.2.0/24, 127.
>
/24
ALL: localhost 127.0.1.1 192.168.2.0/32
/etc/hosts.deny
ALL: ALL
With this ruleset in place nmbd broadcasts still pull through and cifs mounts
are still possible, whereas ssh/rsh access is no longer possible.
To get rid of nmbd/smbd access I have to tweak smb.conf additionally:
/etc/samba
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,
>
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" a
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
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 g
-a guest
# testparm
# /etc/init.d/samba restart
On 11/30/06, Francis Healy < [EMAIL PROTECTED]> wrote:
Your SMB.conf file has security=user set. Have you created user accounts
on the linux box for each of the Samba users?
*anthony < [EMAIL PROTECTED]>* wrote:
Hello,
For a
) to mount read and write using the pass/user pair guest/guest
(trying to keep it as simple as possible).
I made a guest user on the file server machine :
# adduser guest
and added the samba password
# smbpasswd -a guest
# testparm
# /etc/init.d/samba restart
For some reason the smb.conf that
Tom Dickson wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
No. Samba will check (and reload if necessary) your smb.conf once a
minute, I think.
Hi!
Thanks! This is realy works and it's great! But :) do you know a
solution that is done automagicaly. You know now the root has to add
> -Original Message-
> From: Paul Johnson [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 27, 2002 6:32 AM
> To: Debian Users
> Subject: Re: smb.conf on Debian
>
>
> On Thu, Sep 26, 2002 at 04:30:15PM -0400, David Sanders wrote:
> > When I try to acces
t more than you have. I would strongly suggest editing the
default smb.conf to suit your needs rather than trying to wrangle such
a complex config entirely on your own. The default file is
well-commented, and the smb.conf(5) manpage covers it extensively
(warning, for reference only. My school ha
password encryption in
>smb.conf file has been turned on (or similarly the windows registry has been
>hacked to avoid this). Then set up a smbpasswd for this new user account.
>Under global settings in smb.conf change this (if not already changed):
>
>encrypt passwords = yes
>
>Th
I added the lines you suggested, and it works now. Thanks!!
David Sanders
[EMAIL PROTECTED]
http://www.sandersweb.net
> -Original Message-
> From: deFreese, Barry [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 26, 2002 6:24 PM
> To: Debian Users
> Subject:
David,
Not that I am aware of by default in Debian. RedHat, however, installs
ipchains (7.2) and iptables (7.3) which do have default rules to block
inbound netbios.
A few other things to check then:
do you have the following entriess in smb.conf?
[global]
encrypt passwords = Yes
passwd
gt; To: Debian Users
> Subject: RE: smb.conf on Debian
>
>
> David,
>
> I was getting this error on my RedHat machine at home and it turned out to
> be ipchains. I didn't have rules in place to allow the inbound traffic on
> the netbios ports (137-139). Are you using i
David,
You will need to add a user account to your linux system (ie adduser
). You will then need to ensure that password encryption in
smb.conf file has been turned on (or similarly the windows registry has been
hacked to avoid this). Then set up a smbpasswd for this new user account.
Under
(949)-616-4005
[EMAIL PROTECTED]
"Technology doesn't make you less stupid; it just makes you stupid faster."
Jerry Gregoire - Former CIO at Dell
-Original Message-
From: David Sanders [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 1:30 PM
To: Debian Users
I set up a SMB share on a Debian 3.0 machine with this config:
/etc/samba/smb.conf
[global]
workgroup = SANDERS
[test]
comment = For testing only
path = /data/test
browseable = yes
read only = no
guest ok = yes
When I try to access the share from
need to add the users to samba, that is going to access
the debianbox from form windows.
Use also man smb.conf :)
Hope this help
/ernst
> hi
>
> i have an internal network with a debian box as a router to the external
> network and the external network printer. i can print from in
ebian box as a router to the external
> > network and the external network printer. i can print from internal linux
> > boxes via the router to the external printer. now im trying to do the same
> > thing from the winboxes. i have installed samba on the debian router. the
> &
. the smb.conf is
below. only the upload dir is working. the home dir asks for user and password
(which i want it to), but it goes:
Incorrect passsword or unknown username for
\\Debainbox\home
and i did not misstype!
also the printer goes:
Printer on Debianbox Access denied, unable to connect
eth0 is the "briged" interface to the LAN? I have
> included the output to ifconfig, netstat -r, smb.conf, and dmesg.
Go into the configuration editor for the virtual machine and check the
settings for the Ethernet interfaces. If there's only one, it should be set
to bridged. If it is, t
the network environment of NT,
although
> both machines have the same subnet mask and live in the same workgroup (at
> least i specified "workgroup = Workgroup" in [global] of smb.conf and
> "Workgroup" in the NT's Network setup. But if i search for the linux
computer
&
e same subnet mask and live in the same workgroup (at
> least i specified "workgroup = Workgroup" in [global] of smb.conf and
> "Workgroup" in the NT's Network setup. But if i search for the linux computer
> using it's IP-adress, the NT client finds him and
n the same workgroup (at
least i specified "workgroup = Workgroup" in [global] of smb.conf and
"Workgroup" in the NT's Network setup. But if i search for the linux computer
using it's IP-adress, the NT client finds him and i can browse the shares
defined in smb
Brian Servis wrote:
> *- On 6 Oct, Kent West wrote about "Samba: When does smb.conf get read?"
> > Maybe I'm just not looking in the right places, but I can't find the
> > answer in any of the docs/web sites.
> >
> > I've installed Samba, and l
did you /etc/init.d/samba restart? generally that makes changes to
smb.conf happy happy. however, if you hadn't noticed, windows network
neighborhood is sort of broken. try relogging into that machine (assuming
you haven't.. somehow i don't see you keeping a windows box up for t
*- On 6 Oct, Kent West wrote about "Samba: When does smb.conf get read?"
> Maybe I'm just not looking in the right places, but I can't find the
> answer in any of the docs/web sites.
>
> I've installed Samba, and left the workgroup=workgroup. Accordingly,
&g
ot?! Surely I'm just missing something basic?
So my two questions are:
1) Whenever I make a change to /etc/samba/smb.conf, what do I have to do
to make the change active? In other words, what does it take to get the
system to reread smb.conf?
2) Is my problem a Samba configuration problem, or is
to open configuration file "/etc/smb.conf":
> No such file or directory
> Can't load /etc/smb.conf - run testparm to debug it
> load_client_codepage: filename /usr/lib/codepages/codepage.850 does not exist.
>
> and mc works.
>
> How to tell him/her/it,
Hi,
i just entered the debian-user mailing list, and wanted to ask for that. Thanks!
But now i get the funny message:
[EMAIL PROTECTED]:/home/reimann > mc
params.c:OpenConfFile() - Unable to open configuration file "/etc/smb.conf":
No such file or directory
Can't load /
Title: smb.conf / security = DOMAIN (samba 2.0.0)
Hi
In smb.conf I wish to have security = DOMAIN
When I try to access the specified shared directory
I am asked for password authorization
Of course no passwords will work.
To support this I know I have to use smbpasswd
and -n and each
stab
> is set as follows and as recommended in the smb.conf
> file:
>
> /dev/scd0 /cd0 iso9660 defaults,noauto,user,ro 0 0
>
> The smb.conf entry is
>
> [cd0]
> comment = Samba Server's cdrom 0
> writable = no
> locking = no
> path = /c
Subject: smb.conf and preexec
Date: Wed, Feb 24, 1999 at 01:17:33AM +
In reply to:tony mollica
Quoting tony mollica([EMAIL PROTECTED]):
>
> Hi. I'm running samba 1.9.18p8 on a Debian
> 2.0, 2.0.34 system connected to a winnt4sp3
> network. Most everyt
Hi. I'm running samba 1.9.18p8 on a Debian
2.0, 2.0.34 system connected to a winnt4sp3
network. Most everything works nicely, but
I can't get the cdrom's (2 scsi) on the Linux
box to automount with "preexec = ". The fstab
is set as follows and as recommended in the
On Thu, Feb 19, 1998 at 10:21:53AM -0500, Vladislav Papayan x285 wrote:
> after I upgraded to hamm (on Dec 19, 1997) and now latest kernel
> (2.1.86) -- I always have to hit Feed button to get anything out of the
> printer. The same printer (Okidata laser 710e) works fine for NT.
> Did something g
Hello,
after I upgraded to hamm (on Dec 19, 1997) and now latest kernel
(2.1.86) -- I always have to hit Feed button to get anything out of the
printer. The same printer (Okidata laser 710e) works fine for NT.
Did something get changed in the settings of /dev/lp0 or may be
parport device driver th
41 matches
Mail list logo