[Bug 738968] Re: Can't See Parts of DFS CIFS Share

2014-11-18 Thread Larry Reid
Julian: The patch I submitted fixed my problem (see #13 above).
Unfortunately I don't have time tonight to try to reproduce the
situation, and indeed I may not be able to (I'm not sure I have access
to the server anymore). But I can definitely confirm that it was still
fixed in LinuxMint 13 (Ubuntu 12.04), because I connected to the same
share before I upgraded to LinuxMint 17.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/738968

Title:
  Can't See Parts of DFS CIFS Share

To manage notifications about this bug go to:
https://bugs.launchpad.net/samba/+bug/738968/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 738968] Re: Can't See Parts of DFS CIFS Share

2011-04-02 Thread Larry Reid
I submitted the bug and patch to Samba at:
https://bugzilla.samba.org/show_bug.cgi?id=8055.

** Bug watch added: Samba Bugzilla #8055
   https://bugzilla.samba.org/show_bug.cgi?id=8055

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/738968

Title:
  Can't See Parts of DFS CIFS Share

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 738968] Re: Can't See Parts of DFS CIFS Share

2011-03-26 Thread Larry Reid
Here's the patch. I made it on the v3-4-test branch of the Samba git
repository. It seems to also patch the current stable 3.5.8 version. I
hope this helps.

** Patch added: 
0001-Fix-for-servers-that-don-t-put-a-path-separator-at-t.patch
   
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/738968/+attachment/1944476/+files/0001-Fix-for-servers-that-don-t-put-a-path-separator-at-t.patch

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/738968

Title:
  Can't See Parts of DFS CIFS Share

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 738968] Re: Can't See Parts of DFS CIFS Share

2011-03-25 Thread Larry Reid
James: I downloaded the source for Samba 3.5.8, built it, and confirmed
that it had the same problem. So I've been tracing the code. What I see
is that in the function cli_dfs_get_referal in libsmb/clidfs.c two
components of the path are returned: one that doesn't end in a \, and
the other that doesn't start with a \. When the two paths are put
together in the function cli_resolve_path (in the same source file), no
\ is put between the components, which leads to smbclient not finding
the directory.

I haven't had time to trace below cli_dfs_get_referral, but I believe
that the path components are being returned by the server. I'm guessing
(stress guessing) that there may be a difference in the EMC CIFS or DFS
implementation, and EMC is returning a string without a trailing \ when
other implementations return a trailing \.

Give me the weekend to see if I confirm my guesses. I'm pretty sure I
have a patch that would work for me, but I have no resources to be able
to test other cases to make sure my patch doesn't break anything else.
Also, I think we have a case that this is indeed a case that Samba
should handle. My limited experience upstreaming bugs from Ubuntu is
that they never get addressed. My gut says the Samba team will be more
responsive. What do you think the chances are that we can get the Samba
team's attention for this?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/738968

Title:
  Can't See Parts of DFS CIFS Share

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 738968] Re: Can't See Parts of DFS CIFS Share

2011-03-25 Thread Larry Reid
My fix for my issue works. As I said, I can't test it against other
servers. Let me know how we should guide this through the Samba team.
Thanks for your help so far!

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/738968

Title:
  Can't See Parts of DFS CIFS Share

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 738968] Re: Can't See Parts of DFS CIFS Share

2011-03-24 Thread Larry Reid
James, will do. I may get to it tonight Pacific Time or at the latest
over the weekend.

I've traced the code enough to feel confident that my problem is NOT
related to the authentication issue I mentioned in my original bug
description. I'm currently looking at a path that seems to lose a \
somewhere along the way.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/738968

Title:
  Can't See Parts of DFS CIFS Share

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 738968] Re: Can't See Parts of DFS CIFS Share

2011-03-24 Thread Larry Reid
Is it a regression ?
Did this use to work properly with a previous release ?

Not as far as I know.

What version of samba packages are used ?
Please give the output of:

dpkg-query -W -f='${Package} ${Version} ${Source} ${Status}\n' | grep
samba

libsmbclient 2:3.4.7~dfsg-1ubuntu3.5 samba install ok installed
libwbclient0 2:3.4.7~dfsg-1ubuntu3.5 samba install ok installed
samba-common 2:3.4.7~dfsg-1ubuntu3.5 samba install ok installed
samba-common-bin 2:3.4.7~dfsg-1ubuntu3.5 samba install ok installed
smbclient 2:3.4.7~dfsg-1ubuntu3.5 samba install ok installed
smbfs 2:3.4.7~dfsg-1ubuntu3.5 samba install ok installed
winbind 2:3.4.7~dfsg-1ubuntu3.5 samba install ok installed

How is the remote share accessed from the Ubuntu system?
nautilus (or other GUI client) YES
smbclient (from the command line) YES
cifs filesystem mount (from /etc/fstab or a mount command) YES
If nautilus (or another GUI client) is used to access the remote share, can the 
share be accessed with the smbclient command line utility ? NO

To test:

install the samba-client package
try to connect to the remote system from the command line:

smbclient //remote_system/share_name

Connection works, but crossing to another server through DFS doesn't

If the share requires a specific username/password, try using the -U
parameter (for example, use -U ntdomain\\user).

smbclient doesn't work either. I have tried all combinations of ways to
authenticate. With -d 10 I'm seeing messages that make me reasonably
confident it's not an authentication problem (but it could be, I
suppose).

If a cifs mount is used
In that case please also provide:

the content of the file /etc/fstab, or the command line used to mount
the remote share if the share is manually mounted.

sudo mount -t cifs --verbose -o user=my-domain/my-username //my-
server/my-share /mnt

mount works. Nautilus, gvfs-mount and smbclient don't.

the content of the file /proc/fs/cifs/DebugData

What is the remote server ?
In all cases, please include the output of the following smbclient command:


smbclient -L //remote_system
This should give us the remote server version. Also include on what kind of 
machine the share is located (Windows 2003 Server, Ubuntu 8.04, NAS box 
model...)

It's an EMC Celerra NAS NSG-8 with NAS version 5.6.50

I can't get the command output right now because the VPN is down.
(Problem occurs with or without VPN.)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/738968

Title:
  Can't See Parts of DFS CIFS Share

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 738968] Re: Can't See Parts of DFS CIFS Share

2011-03-24 Thread Larry Reid
Sorry for the extra post. VPN's working again. Here's the output of the
smbclient -L command:


Domain=[my-domain] OS=[EMC-SNAS:T5.6.50.2] Server=[my-server]

Sharename   Type  Comment
-     ---
my-share  Disk  DFS01 root share
C$  Disk  Root Service
IPC$IPC   IPC Service
Domain=[my-domain] OS=[EMC-SNAS:T5.6.50.2] Server=[my-server]

Server   Comment
----

WorkgroupMaster
----

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/738968

Title:
  Can't See Parts of DFS CIFS Share

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 738968] Re: Can't See Parts of DFS CIFS Share

2011-03-21 Thread Larry Reid
Does Nautilus use smbclient (or the client library) for sure? Is it
possible that the issue is in the way Nautilus uses smbclient? I'm
prepared to work with someone to find a solution e.g. testing, providing
more info on my situation. We can work bottom up or top down, whichever
you prefer. Just let me know what you what me to try.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.
https://bugs.launchpad.net/bugs/738968

Title:
  Can't See Parts of DFS CIFS Share

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs