Bug 4401 - smbclient fails with dfs links when connecting to homes instead of username share
Summary: smbclient fails with dfs links when connecting to homes instead of username s...
Status: NEW
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: smbclient (show other bugs)
Version: 3.0.24
Hardware: Other Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
: 5125 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-16 10:44 UTC by Eric PEYREMORTE
Modified: 2011-07-12 14:04 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric PEYREMORTE 2007-02-16 10:44:07 UTC
Before 3.0.23, i couldn't connect to a home share configured with "msdfs root = Yes" using smbclient with "smbclient //SERVER/homes -U username":
it only worked when using "smbclient //SERVER/username -U username"

Jerry solved the bug, but now when i try to explore a dfs link i have "NT_STATUS_PATH_NOT_COVERED" error. It works ok when using username instead of homes.
Here is a sample :

Cornas # DANGER> smbclient //GIGONDAS/epeyremo -U epeyremo
Password:

Domain=[ETUDIANTS] OS=[Unix] Server=[Samba 3.0.24]
smb: \> dir
  .                                   D       0  Fri Feb 16 10:01:58 2007
  ..                                  D       0  Thu Feb 15 09:48:03 2007
  Desktop                             D       0  Wed Sep  6 16:28:16 2006
  .profile                            H      90  Tue Jul 11 16:04:23 2006
  .indent.pro                         H     519  Tue Jul 11 16:04:23 2006
  .bashrc                             H     168  Thu Aug 31 14:45:49 2006
  .nedit                              H   12357  Thu Aug 31 14:46:24 2006
  .gconf                             DH       0  Tue Sep  5 10:31:18 2006
  .mozilla                           DH       0  Tue Jul 11 16:04:23 2006
  config                              D       0  Thu Feb 15 10:36:02 2007
  public_html                         D       0  Thu Feb 15 09:47:17 2007
  defaut                              D       0  Tue Sep  5 10:31:18 2006
  quotas                                    163  Fri Feb 16 16:06:16 2007
  essai                               D       0  Fri Feb 16 10:01:58 2007

                50000 blocks of size 2048. 46086 blocks available
smb: \> cd essai
smb: \essai\> dir
  .                                   D       0  Fri Feb 16 16:03:59 2007
  ..                                  D       0  Fri Feb 16 16:03:47 2007
  essai                                       0  Fri Feb 16 16:02:35 2007
  fichier_test                                0  Fri Feb 16 16:03:59 2007

                63667 blocks of size 524288. 39463 blocks available
smb: \essai\> quit
Cornas # DANGER> smbclient //GIGONDAS/homes -U epeyremo
Password:

Domain=[ETUDIANTS] OS=[Unix] Server=[Samba 3.0.24]
smb: \> dir
  .                                   D       0  Fri Feb 16 10:01:58 2007
  ..                                  D       0  Thu Feb 15 09:48:03 2007
  Desktop                             D       0  Wed Sep  6 16:28:16 2006
  .profile                            H      90  Tue Jul 11 16:04:23 2006
  .indent.pro                         H     519  Tue Jul 11 16:04:23 2006
  .bashrc                             H     168  Thu Aug 31 14:45:49 2006
  .nedit                              H   12357  Thu Aug 31 14:46:24 2006
  .gconf                             DH       0  Tue Sep  5 10:31:18 2006
  .mozilla                           DH       0  Tue Jul 11 16:04:23 2006
  config                              D       0  Thu Feb 15 10:36:02 2007
  public_html                         D       0  Thu Feb 15 09:47:17 2007
  defaut                              D       0  Tue Sep  5 10:31:18 2006
  quotas                                    163  Fri Feb 16 16:11:54 2007
  essai                               D       0  Fri Feb 16 10:01:58 2007

                50000 blocks of size 2048. 46086 blocks available
smb: \> cd essai
cd \essai\: NT_STATUS_PATH_NOT_COVERED
smb: \>
Comment 1 Björn Jacke 2011-07-12 14:04:18 UTC
*** Bug 5125 has been marked as a duplicate of this bug. ***