Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170743 - can't connect to net-fs/samba-3.0.24
Summary: can't connect to net-fs/samba-3.0.24
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High minor
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-13 15:20 UTC by robert walter
Modified: 2007-09-10 08:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info, smb.conf, error log (log.txt,12.96 KB, text/plain)
2007-04-04 19:19 UTC, Thekk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description robert walter 2007-03-13 15:20:46 UTC
hi
i can't connect from gentoo/kubuntu/windows machines to my gentoo box running samba-3.0.24. when i downgrade to samba-3.0.22-r3 everything is fine again. the error message is

# mount -t cifs -o username=<username> //192.168.0.5/tunes /mnt/tunes
Password: 
retrying with upper case share name
mount error 6 = No such device or address
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

if samba-3.0.24 is running a can see the shares with smbclient but mounting isn't possible. 

best regards

Reproducible: Always

Steps to Reproduce:
1.mount -t cifs -o username=wg //192.168.0.5/tunes /mnt/tunes
Actual Results:  
retrying with upper case share name
mount error 6 = No such device or address
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)


Expected Results:  
mount the samba share

Portage 2.1.2.2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.15-reiser4-r1-adapted x86_64)
=================================================================
System uname: 2.6.15-reiser4-r1-adapted x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 13 Mar 2007 10:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -ftracer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O3 -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://130.59.10.35/mirror/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X alsa amd64 bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dv dvd dvdr eds emboss encode esd fam ffmpeg firefox fortran gdbm gif gpm gtk2 hal iconv isdnlog java jpeg kde kdehiddenvisibility libg++ mad midi mikmod mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin nvidia ogg opengl pam pcre perl pic png ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-13 19:31:51 UTC
You'll have to post something to actually debug your problem, like - your samba configuration?
Comment 2 robert walter 2007-03-13 23:43:40 UTC
your're right, of course.

[global]
workgroup = 6ERWG
server string = Samba Server %v

# printing
printcap name = cups

# logging
log file = /var/log/samba/log.%m
log level = 0
max log size = 500

# tcp-interface
socket options = TCP_NODELAY
interfaces = lo eth0
bind interfaces only = yes

hosts allow = 127.0.0.1 192.168.0.0/16
hosts deny = 0.0.0.0/0

domain master = yes
preferred master = yes
smb passwd file = /etc/samba/private/smbpasswd
restrict anonymous = no
max protocol = NT
ldap ssl = No
server signing = Auto

[HPDJ930C]
printer name = HPDJ930C
comment = HP DeskJet 930C Network Printer
printable = yes
path = /var/spool/samba
guest ok = yes

[tunes]
case sensitive = no
path = /data/multimedia/tunes
valid users = wg,robert,root
msdfs proxy = no
wide links = no

[incoming]
case sensitive = no
path = /data/incoming
valid users = wg,robert,root
msdfs proxy = no
wide links = no
read only = no
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-03-13 23:44:47 UTC
Reopen.
Comment 4 Matthias Nagl 2007-03-30 16:06:28 UTC
Same here. My PDC suddenly stopped working after the update. I consider this bug major.
Comment 5 Thekk 2007-04-04 19:19:47 UTC
Created attachment 115474 [details]
emerge --info, smb.conf, error log

I have the same problem.
Does anyone know the cause of this problem?
Comment 6 Thekk 2007-04-07 10:55:03 UTC
Comment on attachment 115474 [details]
emerge --info, smb.conf, error log

Found a bug in my smb.conf. Completely looked over the path parameter in the [public] share (the one acting up).
Comment 7 robert walter 2007-06-28 01:40:21 UTC
nice, 3.0.22-r3 was removed..
still can't connect to 3.0.24 or 3.0.24-r3

[ebuild   R   ] net-fs/samba-3.0.24-r3  USE="async caps cups fam oav python readline -acl -automount -doc -examples -kerberos -ldap -pam -quotas (-selinux) -swat -syslog -winbind"

still the same error...
retrying with upper case share name
mount error 6 = No such device or address
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

how do i get 3.0.22-r3 back? that version worked for me.
best regards
Comment 8 Ricky Marshall 2007-09-10 00:13:32 UTC
(In reply to comment #7)
> nice, 3.0.22-r3 was removed..
> still can't connect to 3.0.24 or 3.0.24-r3
> 
> [ebuild   R   ] net-fs/samba-3.0.24-r3  USE="async caps cups fam oav python
> readline -acl -automount -doc -examples -kerberos -ldap -pam -quotas (-selinux)
> -swat -syslog -winbind"
> 
> still the same error...
> retrying with upper case share name
> mount error 6 = No such device or address
> Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
> 
> how do i get 3.0.22-r3 back? that version worked for me.
> best regards
> 

Try running /usr/sbin/smbd and /usr/sbin/nmbd by hand. I can't start samba using the init scripts anymore (samba-3.0.25c) but they work fine by hand.
Comment 9 Tiziano Müller (RETIRED) gentoo-dev 2007-09-10 08:14:36 UTC
Jup, this bug is already fixed in samba-3.0.25c-r1.
I hope I understood this correctly: This issue here is fixed for you now, right? If not, please reopen.