From: Gilles on
Hello

I'm seeing this issue when connecting from XPSP3 to Ubuntu 10.04
running Samba 3.4.7 installed through apt-get:

After booting Ubuntu, if I try to connect to a share from XP, I get
this error:

=======
C:\>net use x: \\linux\www /user:me
System error 59 has occurred.

An unexpected network error occurred.
=======

When I run "ps aux", I notice that for some reason, smbd is running
two processes (status = S and Ss):

=======
root 762 0.0 0.4 15328 3980 ? Ss 10:39 0:00 smbd
-F
root 833 0.0 0.1 15328 1176 ? S 10:39 0:00 smbd
-F
root 944 0.0 0.1 8660 1644 ? Ss 10:39 0:00 nmbd
-D
=======

I can connect successfully if I restart nmbd:

=======
# /etc/init.d/nmbd restart
=======

But then, nmbd is also running two processes :-/

FYI, Ubuntu uses runlevel "N 2", and /etc/rc2.d/ only contains one
link to nmbd and smbd each.

Has someone seen this problem?

Thank you.

PS: FWIW, here's my dead-simple smb.conf:

=======
[global]
workgroup = WORKGROUP
netbios name = LINUX
server string = Samba Server %v
security = user
log level = 3

[www]
comment = WWW directory
path = /var/www
browsable = yes
read only = no
available = yes
public = yes
writable = yes
create mask = 0644
=======

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba