[Samba] Login-Problem with DFS-Share

Holger Biber Holger.Biber at Teleos-web.de
Thu Aug 23 12:11:33 GMT 2007


Hallo,

I want to use several DFS-Shares from a M$-Server trough my Samba-Server
(3.0.20b-3.21-1370-SUSE on an OpenSchoolServer).

I've created symlinks in /export/dfsroot like:

lrwxrwxrwx  1 root root  19 2007-05-04 08:06 agbhome -> msdfs:172.18.160.10
lrwxrwxrwx  1 root root  20 2007-03-28 09:36 home -> msdfs:172.18.160.10\
lrwxrwxrwx  1 root root  43 2007-02-04 11:44 lehrer ->
msdfs:172.18.160.10\lehrer$\_Lehrerbereich_
lrwxrwxrwx  1 root root  26 2007-02-04 11:48 public ->
msdfs:172.18.160.10\public
lrwxrwxrwx  1 root root  28 2007-03-28 09:35 schueler ->
msdfs:172.18.160.10\schueler


My smb.conf looks like:

[global]
   ...
   host msdfs = yes
   ...

[agbschueler]
  browsable = no
  msdfs root = yes
  comment = Schueler-Bereich im AGB-LAN
  msdfs proxy = \172.18.160.11\schueler
  path = /export/dfsroot
  valid users = @teachers

...

[agbhome]
  browsable = no
  msdfs root = yes
  comment = HOME im AGB-LAN
  msdfs proxy = \172.18.160.11\%U$
  path = /export/dfsroot
  valid users = @teachers


When using "net use k: \\samba\agbschueler /USER:myuser" on a WindowsXPpro
machine everything works fine. The share is connected and I could read and
write everything.

But trying to use "net use l: \\samba\agbhome /USER:myuser" I'll be
prompted for the password, and the error message is displayed:
"Systemfehler 59 aufgetreten
 Ein unerwarteter Netzwerkfehler ist aufgetreten"

(translated: "Systemerror 59 occured.
  An unexpected networkerror occured"

No network-drive "L:" (or any other letter) is connected.

Strange, because directly on "samba" I use:

admin:~ # smbclient \\\\samba\\agbhome -U AGB\\agb.bib
Password:
Domain=[AGB-NB] OS=[Unix] Server=[Samba 3.0.20b-3.21-1370-SUSE]
session request to 172.18.160.11 failed (Called name not present)
session request to 172 failed (Called name not present)
session request to 172.18.160.11 failed (Called name not present)
session request to 172 failed (Called name not present)
smb: \> ls

==> ALL FILES WILL BE DISPLAYED


Thanks in advance for any help or hints.
Bye
Holger




More information about the samba mailing list