OES2 NCP share mounted with pam_mount shows no files

Bug #325226 reported by PITHY THI FOO
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Linux
Expired
Medium
ncpfs (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Binary package hint: ncpfs

Description: Ubuntu 8.04.2
Release: 8.04

All available updates installed

Actual output:
Files are accessible if requested directly, and new files can be created, though they disappear.
e.g.
user@workstation:~/Vol1/path$ touch test
user@workstation:~/Vol1/path$ ls
user@workstation:~/Vol1/path$ cat test
user@workstation:~/Vol1/path$ cat > test
test
user@workstation:~/Vol1/path$ cat test
test
user@workstation:~/Vol1/path$ ls
user@workstation:~/Vol1/path$
user@workstation:~/Vol1/path$ ls -la
total 1
drwxr-xr-x 1 user user 512 2008-08-26 10:54 .
dr-xr-xr-x 1 user user 512 2009-01-06 14:49 ..
user@workstation:~/Vol1/path$

Expected output:
A directory listing containing the file "test"

/etc/security/pam_mount.conf.xml
<ncpmount>ncpmount -S %(SERVER)/%(VOLUME) -A %(SERVER).example.com -U %(USER).Group.site -V %(VOLUME) %(MNTPT) -o "pass-fd=0,volume=%(VOLUME),uid=%(USERUID),gid=%(USERGID)%(before=\",\" OPTIONS)"</ncpmount>

<ncpumount>umount -l %(MNTPT)</ncpumount>

   <volume fstype="ncpfs" server="server" path="Vol1"
        mountpoint="~/Vol1"/>
   <volume fstype="ncpfs" server="server" path="Vol2"
        mountpoint="~/Vol2"/>
   <volume fstype="ncpfs" server="server" path="Vol3"
        mountpoint="~/Vol3"/>

This worked until I installed the latest updates, and works OK on XP SP3.

The only thing that seems not to work is directory listings, which show only directories. This does not seem to be the same as the partial listing problem described elsewhere, as directories are always shown, and files never are. "find . -t file" returns nothing. Traffic from the server to the workstation seems uninhibited by the intervening firewall (tested using tcpdump on firewall and client and comparing the traffic: it was identical).

The server is OES2 with the latest updates (though not SP2) and the following ncp-related package versions:
ncpfs 2.2.6-24.10
novell-libncputil 1.0-13
novell-libncputil-32bit 1.0-13
novell-ncpenc 5.1.3-0.2.2
novell-ncpns 5.1-4.5
novell-ncpserv 2.0.1-4
novell-ncpserv-nrm 2.0.1-3
novell-ncpserv-tools 2.0.1-4
novell-shadowfs 1.0-18
yast2-novell-ncpserver 2.13.3-36

There seems to be no -dbg package for libncp. I'm afraid I don't know how to debug the ncpfs module. Install a debug kernel? Then what? I couldn't see anything about debugging at https://wiki.ubuntu.com/DebuggingProcedures#Kernel

$ uname -a
Linux dhcp147a 2.6.24-23-server #1 SMP Mon Jan 26 01:36:05 UTC 2009 x86_64 GNU/Linux

I run the server kernel because I use the workstation for development and run various services. However, I've tried the generic kernel too, and it behaves in the same way.

$apt-cache policy libncp
libncp:
  Installed: 2.2.6-4ubuntu3
  Candidate: 2.2.6-4ubuntu3
  Version table:
 *** 2.2.6-4ubuntu3 0
        500 http://mirror.ox.ac.uk hardy/universe Packages
        100 /var/lib/dpkg/status

Revision history for this message
PITHY THI FOO (russell-jones) wrote :
Changed in linux:
status: Unknown → Confirmed
Revision history for this message
Steven Harms (sharms) wrote :

Can you please test this out on 10.04, Lucid Lynx, and let me know how it is working for you?

Changed in ncpfs (Ubuntu):
status: New → Incomplete
Revision history for this message
Andrew Goodnough (agoodno) wrote :

Just tried it and it doesn't work. Our servers are running a pretty new version of Novell OES. A co-worker found some information that this problem was related to a character set issue in the kernel - something related to UTF-8 support not being enabled by default on OES or something. Sorry I was never able to track down the information he was referring to. Without confirmation, the techs weren't excited about trying to enable that setting on our OES servers (for a couple Ubuntu developers having a problem).

Changed in linux:
importance: Unknown → Medium
Changed in linux:
status: Confirmed → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.