Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Bug#410308: samba: Samba listing system files under backup..

 
   Soft32 Home -> Linux2 Arch -> Bugs Dist RSS
Next:  Bug#410306: libgpgme-dev: new upstream version re..  
Author Message
Daniel Fernández

External


Since: Feb 09, 2007
Posts: 5



(Msg. 1) Posted: Fri Feb 09, 2007 10:10 am
Post subject: Bug#410308: samba: Samba listing system files under backup share
Archived from groups: linux>debian>bugs>dist (more info?)

Package: samba
Version: 3.0.23d-4
Severity: normal

Samba server list system files under backup share even whent backup
share does not exist. However, the contents of the files cannot be
readed. This bug has been found on etch and sarge systems, in amd64 and
i386 architectures.

For reproduce the bug:

smbmount //<server>/backup /a_dir
ls -l /a_dir
-rwxr-xr-x 1 daniel daniel 954095 2007-02-05 01:00 dpkg.status.0
-rwxr-xr-x 1 daniel daniel 265053 2007-01-29 01:00 dpkg.status.1.gz
-rwxr-xr-x 1 daniel daniel 265055 2007-01-22 01:05 dpkg.status.2.gz
-rwxr-xr-x 1 daniel daniel 265090 2007-01-15 01:00 dpkg.status.3.gz
-rwxr-xr-x 1 daniel daniel 265095 2007-01-11 09:59 dpkg.status.4.gz
-rwxr-xr-x 1 daniel daniel 265091 2007-01-01 01:00 dpkg.status.5.gz
-rwxr-xr-x 1 daniel daniel 265088 2006-12-18 01:00 dpkg.status.6.gz
-rwxr-xr-x 1 daniel daniel 745 2007-01-31 10:56 group.bak
-rwxr-xr-x 1 daniel daniel 613 2007-01-31 10:56 gshadow.bak
-rwxr-xr-x 1 daniel daniel 1468 2005-11-04 18:59 inetd.conf.bak
-rwxr-xr-x 1 daniel daniel 5073 2006-12-11 01:01 infodir.bak
-rwxr-xr-x 1 daniel daniel 1492 2007-01-31 10:56 passwd.bak
-rwxr-xr-x 1 daniel daniel 1100 2007-01-31 10:56 shadow.bak

backup share does not exist in smb.conf

Thanks,
Daniel.

-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-amd64
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-Cool

Versions of packages samba depends on:
ii debconf 1.5.11 Debian configuration
management sy
ii libacl1 2.2.41-1 Access control list shared
library
ii libattr1 2.4.32-1 Extended attribute shared
library
ii libc6 2.3.6.ds1-10 GNU C Library: Shared
libraries
ii libcomer 1.39+1.40-WIP-2006.11.14+dfsg-1 common error description
library
ii libcupsy 1.2.7-4 Common UNIX Printing
System(tm) -
ii libgnutl 1.4.4-3 the GNU TLS library -
runtime libr
ii libkrb53 1.4.4-6 MIT Kerberos runtime
libraries
ii libldap2 2.1.30-13.2 OpenLDAP libraries
ii libpam-m 0.79-4 Pluggable Authentication
Modules f
ii libpam-r 0.79-4 Runtime support for the PAM
librar
ii libpam0g 0.79-4 Pluggable Authentication
Modules l
ii libpopt0 1.10-3 lib for parsing cmdline
parameters
ii logrotat 3.7.1-3 Log rotation utility
ii lsb-base 3.1-22 Linux Standard Base 3.1
init scrip
ii netbase 4.29 Basic TCP/IP networking
system
ii procps 1:3.2.7-3 /proc file system utilities
ii samba-co 3.0.23d-4 Samba common files used by
both th
ii zlib1g 1:1.2.3-13 compression library -
runtime

Versions of packages samba recommends:
pn smbldap-tools <none> (no description available)

-- debconf information:
samba/run_mode: daemons
samba/tdbsam: false
samba/generate_smbpasswd: true





--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST.RemoveThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.RemoveThis@lists.debian.org
Back to top
Login to vote
Steve Langasek

External


Since: Nov 18, 2006
Posts: 652



(Msg. 2) Posted: Sat Feb 10, 2007 8:30 am
Post subject: Bug#410308: samba: Samba listing system files under backup share [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sat, Feb 10, 2007 at 11:45:53AM +0100, Christian Perrier wrote:
> tags 4410308 confirmed
> thanks

> Quoting Daniel Fernández (daniel@z-ha-dum.dyndns.org):
> > Package: samba
> > Version: 3.0.23d-4
> > Severity: normal

> > Samba server list system files under backup share even whent backup
> > share does not exist. However, the contents of the files cannot be
> > readed. This bug has been found on etch and sarge systems, in amd64 and
> > i386 architectures.

> > For reproduce the bug:

> Actually, I didn't want to believe this, but apparently you're true:

> root@mykerinos:~> smbclient -U bubulle //localhost/backup
> Password:
> Domain=[CC-MYKERINOS] OS=[Unix] Server=[Samba 3.0.24]
> smb: \> dir
> . D 0 Tue Feb 6 05:34:37 2007
> .. D 0 Tue Jun 20 13:40:52 2006
> infodir.bak 9494 Fri Feb 9 15:38:35 2007
> passwd.bak 2193 Sat Feb 3 16:56:52 2007
> group.bak 947 Tue Jan 16 08:00:08 2007
> shadow.bak 1401 Sat Feb 3 16:56:52 2007
> gshadow.bak 783 Tue Jan 16 08:00:08 2007
> smbpasswd.bak 107 Wed Nov 22 07:54:20 2006

> So, now we have to find out why...Smile

Because of the 'homes' share.

--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world..
vorlon.TakeThisOut@debian.org http://www.debian.org/
Back to top
Login to vote
peloy

External


Since: Feb 13, 2007
Posts: 1



(Msg. 3) Posted: Tue Feb 13, 2007 11:00 am
Post subject: Bug#410308: [Pkg-samba-maint] Bug#410308: samba: Samba listing system files under backup share [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sat, Feb 10, 2007 at 04:47:46PM +0100, Christian Perrier wrote:
> Quoting Daniel Fernández (daniel@z-ha-dum.dyndns.org):
> > Package: samba
> > Version: 3.0.23d-4
> > Severity: normal
> >
> > Samba server list system files under backup share even whent backup
> > share does not exist. However, the contents of the files cannot be
> > readed. This bug has been found on etch and sarge systems, in amd64 and
> > i386 architectures.
>
>
> OK, got it. The "backup" user on Debian systems has a valid home
> directory:
>
> root@mykerinos:/var/log/samba> cd ~backup
> root@mykerinos:/var/backups>
>
>
> Interesting spot. FWIW, we do provide a fedault [homes] share so that
> will probably happen with the defautl setup of the package.

What about adding "backup" to "invalid users" in smb.conf fix this
problem?

Cheers,

Eloy.-


--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org
Back to top
Login to vote
Daniel Fernández

External


Since: Feb 09, 2007
Posts: 5



(Msg. 4) Posted: Tue Feb 13, 2007 11:10 am
Post subject: Bug#410308: [Pkg-samba-maint] Bug#410308: samba: Samba listing system files under backup share [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> What about adding "backup" to "invalid users" in smb.conf fix this
> problem?

It will require to add all system users (I mean all the ones that are
in /etc/passwd and are not "real" users). The valid users = %S option
works well for me.

Daniel.



--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST RemoveThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster RemoveThis @lists.debian.org
Back to top
Login to vote
Steve Langasek

External


Since: Nov 18, 2006
Posts: 652



(Msg. 5) Posted: Tue Feb 13, 2007 4:40 pm
Post subject: Bug#410308: [Pkg-samba-maint] Bug#410308: samba: Samba listing system files under backup share [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, Feb 13, 2007 at 10:30:16AM -0500, peloy RemoveThis @debian.org wrote:
> On Sat, Feb 10, 2007 at 04:47:46PM +0100, Christian Perrier wrote:
> > Quoting Daniel Fernández (daniel@z-ha-dum.dyndns.org):
> > > Package: samba
> > > Version: 3.0.23d-4
> > > Severity: normal

> > > Samba server list system files under backup share even whent backup
> > > share does not exist. However, the contents of the files cannot be
> > > readed. This bug has been found on etch and sarge systems, in amd64 and
> > > i386 architectures.

> > OK, got it. The "backup" user on Debian systems has a valid home
> > directory:

> > root@mykerinos:/var/log/samba> cd ~backup
> > root@mykerinos:/var/backups>

> > Interesting spot. FWIW, we do provide a fedault [homes] share so that
> > will probably happen with the defautl setup of the package.

> What about adding "backup" to "invalid users" in smb.conf fix this
> problem?

In this context, 'backup' isn't the name of the connecting user, so 'invalid
users' would have no effect.

The evident fix is the one offered by the Ubuntu packaging, to make [homes]
shares accessible by default only to the named user.

--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world..
vorlon RemoveThis @debian.org http://www.debian.org/
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Bug#410308: [Pkg-samba-maint] Bug#410308: samba: Samba lis.. - > > Interesting spot. FWIW, we do provide a fedault [homes] share so that > > will probably happen with the...

Bug#367621: samba: Samba crashes after upgrade to 3.0.23d .. - Package: samba Version: 3.0.23d-1 Followup-For: Bug #367621 After upgrade to version 3.0.23d-1 samba crashes also on m...

Bug#405236: samba: Samba depends on libgnutls11 but libgnu.. - Package: samba Version: 3.0.23d-3 Severity: normal Updating Samba from 3.0.23d-2+b1 to 3.0.23d-3 fails, because it..

Bug#405236: samba: Samba depends on libgnutls11 but libgnu.. - Same problem here, using sid as well. Can't upgrade samba because of this. See..

Bug#407716: samba: Samba fails at start "lidldap_r.so.2 no.. - Package: samba Version: 3.0.23d-4 Severity: grave Justification: renders package unusable After installing the new..

Bug#414841: samba-common: /etc/dhcp3/dhclient-enter-hooks... - Package: samba-common Version: 3.0.24-3 Severity: minor I recently noticed the following error message, after rebootin...
       Soft32 Home -> Linux2 Arch -> Bugs Dist All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
 Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]