----- Original Message -----
Sent: Sunday, September 29, 2002 9:08
AM
Subject: SAMBA Problem Sharing root (/)
directory in Win2K SPK2 - Please Advise
Dear all,
I'm running a Windows 2000 SPK2 host and am
attempting to create a SMB file share on a Red Hat v. 6.0 server using an
account with a root (/) home directory. Network Neighbourhood hangs upon
login in, and the root directory on the server becomes unstable, eg. an "ls
-al /" command from linux will hang, as does a "df -k". Eventually
something times out as fuctionality is restored in the / directory after a
long wait, and the Windows hang is relieved when I stop the smbd
server. In the /var/log/messages file, the amd service is
indicated reporting that 'desktop.ini is not a valid host' and that
/net is unreachable. I am guessing that the problem may be related to amd or
its mapfile, and automatic filesystem mounting, but I have no experience in
this area if this is the case. I have a basic filesystem setup with
/var and /usr being separate. The problem does not occur when I change
the account home directory to a dedicated filesystem mount point, eg.
/usr, or any directory below one. Nor does it occur if I access the
above (/ share) using linux smbclient. Sharing root from windows is the
only problem. My version of SAMBA was 2.0.3. and I updated to the
latest - v 2.2.5 - still to no avail. Below is some basic system
information. If it is not my system configuration then perhaps it is
something that has been patched in later RH Linux releases, though I must
consider downloading the latest version as a last resort. Please could
someone advise?
Thank you.
Regards,
Furqan Jenkins
smbd Hostname: linux
smbd spawned by inetd.
---------------------------------------------------------------
Red
Hat Linux version 6.0
SAMBA version 2.2.5
Windows 2000 Professional
service pack 2
---------------------------------------------------------------
--------------------------------------------
Errors from
/var/log/messages
--------------------------------------------
Sep 27 07:42:54 linux kernel: nfs: server pid531@linux:/net not responding, still
trying
Sep 27 07:42:58 linux kernel: nfs_revalidate_inode: /// getattr
failed, ino=3, error=-512
Sep 27 07:43:02 linux kernel: nfs: task 1374
can't get a request slot
Sep 27 07:44:03 linux amd[531]: Unknown host:
desktop.ini
Sep 27 07:44:03 linux amd[531]: Using NFS version 0, protocol
udp on host desktop.ini
-------------------------------------------------------
Information in
/var/log/samba/log.smb
-------------------------------------------------------
smbd version 2.0.3 started.
Copyright Andrew
Tridgell 1992-1998
[2002/09/27 15:39:50, 1]
smbd/files.c:file_init(219)
file_init: Information only: requested
10000 open files, 1014 are available.
-------------------
My /etc/fstab
-------------------
/dev/hda1
/
ext2
defaults
1 1
/dev/hda5
/usr
ext2 defaults
1
2
/dev/hda7 /var
ext2
defaults 1
2
/dev/hda6
swap
swap defaults
0
0
/dev/fd0
/mnt/floppy ext2
noauto 0
0
/dev/cdrom
/mnt/cdrom iso9660
noauto,ro 0
0
none
/proc
proc
defaults
0
0
none
/dev/pts
devpts
mode=0622 0 0
--------------------
My /etc/mtab
--------------------
/dev/hda1 / ext2 rw 0 0
none /proc proc rw 0
0
/dev/hda5 /usr ext2 rw 0 0
/dev/hda7 /var ext2 rw 0 0
none
/dev/pts devpts rw,mode=0622 0 0
linux:(pid531) /net nfs
intr,rw,port=1023,timeo=8,retrans=110,indirect,map=/etc/amd.conf,dev=00000003
0 0