IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Samba question
I'm trying to automate some work on an NT box.
Actually, the code is running on Linux and
I'm trying to smb mount the NT Win2K dir.

Which has a LOT file files and directories,
and then returns NO file when accessed, ie:

ls -l /mnt/monti/maildat/
total 0

dmesg shows this:
smb_proc_readdir_long: name=, result=-2, rcls=1, err=123


Googling tells me I'm SOL. I wanted to try the most
recent Samba to see if it fixed it, so I DLed and
installed via:

./configure \\
--with-smbwrapper \\
--with-smbmount \\
--with-automount \\
--with-quotas \\
--with-acl-support \\
--with-winbind \\
--with-msdfs \\
--with-syslog \\
--with-utmp \\
--with-ads 2>&1 | tee config.log


This installed in /usr/local/samba tree.

I then went to the /usr/local/samba/bin dir to execute the
./smbmount command. I know it's using the local one since
it looked to the local smb.conf file.

BUT: Since this is interacting with the internal kernal
mount stuff, I'm not sure (from a driver level) what is
actually being used.

This failed as well, same message.

lsmod shows me running:
smbfs 43680 1 (autoclean)

I assume this would mean:

-rw-r--r-- 1 root root 55794
Sep 4 2002 /lib/modules/2.4.18-14/kernel/fs/smbfs/smbfs.o

Ahh, this would mean I need to drop in the newer smbfs portion
and recompile the kernel? Yick. I haven't done that in years.
I was hoping to never do it again.

Here's the current kernel:

[broom@rd broom]$ uname -a
Linux rd.cc3.com 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002
i686 i686 i386 GNU/Linux

But smbfs is not found in my downloaded recent stuff, other
than:

[root@rd samba-3.0.4]# find . -name "*smbfs*"
./packaging/Debian/debian/smbfs.files

[root@rd samba-3.0.4]# cat ./packaging/Debian/debian/smbfs.files
sbin/mount.smbfs
sbin/mount.smb
usr/bin/smbmount
usr/bin/smbumount
usr/bin/smbmnt
usr/share/man/man8/smbmount.8
usr/share/man/man8/smbumount.8
usr/share/man/man8/smbmnt.8
usr/share/man/man8/mount.smb.8
usr/share/man/man8/mount.smbfs.8


So this feels like the kernel driver is a standard interface
that should not need replacing, which means I need to just
make sure I am using the right mount program? ie:
sbin/mount.smbfs, which is really a link, ie:

/sbin/mount.smbfs -> /usr/local/samba/bin/smbmount

Which in this case IS my recent one, ie:
-rwxr-xr-x 1 root root 678396 Jun 6 16:26
/usr/local/samba/bin/smbmount

This has not fixed the problem, which means it either
is not on the Samba side or it is unfixable because
M$ wants it to be unfixable.

Other than cut down the number of files in the directory,
anybody got any hints? Did I missed anything during this
troubleshooting process?

Note: smbclient DOES work, but it will be 10 times as much
work to automate via it rather than straight filesystem code.
New any permission mismatches on the NT side?
Anchorage AK: House for sale 3 bed 1 bath 1440 sq feet huge lot near Cheney Lake 175K FSBO 813.273.3518

Time for Lord Stanley to get a Tan
questions, help? [link|mailto:pappas@catholic.org|email pappas at catholic.org]
New Unlikely
smbclient works using the same id/passwd
New If you are just testing right now...
I would pull the 2.6.6 kernel from testing (and JUST the Deps for it) and samba-3.0.4-X (and just the DEPS.), then remove the testing sources from your list.

See what happens. You might be surprised.
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey

I've decided to become a perfectionist.
That way I'll have more reasons to hate people.
Your recycled electrons annoy me. Please use new electrons.
New Neither
That was my office desktop system, which is RH8.
New Then go get the bin rpm from samba.org
[link|http://us1.samba.org/samba/ftp/bin-pkgs/RedHat/SRPMS/samba-3.0.4-1.src.rpm|RH8 src.rpm by samba.org]

[link|http://us1.samba.org/samba/ftp/bin-pkgs/RedHat/RPMS/i386/8.0/samba-3.0.4-1_rh8.i386.rpm|RH8 BIN RPM by Samba.org]

It is compiled with what you want and more.
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey

I've decided to become a perfectionist.
That way I'll have more reasons to hate people.
Your recycled electrons annoy me. Please use new electrons.
New Thanks
Downloading
New Same problem
oh well
New You have the dream job.
-drl
New I know!
Don't you think it's worh kissing ass ocassionally?
     Samba question - (broomberg) - (9)
         any permission mismatches on the NT side? -NT - (boxley) - (1)
             Unlikely - (broomberg)
         If you are just testing right now... - (folkert) - (4)
             Neither - (broomberg) - (3)
                 Then go get the bin rpm from samba.org - (folkert) - (2)
                     Thanks - (broomberg)
                     Same problem - (broomberg)
         You have the dream job. -NT - (deSitter) - (1)
             I know! - (broomberg)

He makes Murphy look like a babbling optimist.
57 ms