[Samba] Problem with dfs-share and hidden directory

Holger Biber Holger.Biber at Teleos-web.de
Fri May 4 08:22:38 GMT 2007


Hallo,

I'm using samba 3.0.20b-3.11-SUSE on a SLES-based system.
My system has two NICs in this configuration
eth0  Protokoll:Ethernet  Hardware Adresse 00:0A:5E:24:xx:xx
      inet Adresse:172.16.0.2  Bcast:172.16.255.255  Maske:255.255.0.0

eth1  Protokoll:Ethernet  Hardware Adresse 00:0A:5E:1B:xx:xx
      inet Adresse:172.18.160.11  Bcast:172.18.255.255 Maske:255.255.224.0

eth0 points to the internal network with several WinXP(pro) clients, eth1
points to a dmz with an Windows2003 server (IP: 172.18.160.10) with
several shares. I want to distribute some of these shares to the
WinXP-clients in my network.
I've modified "smb.conf" as mentioned in the docs and HowTos, made the
links to the dfsroot.

Here's my smb.conf:

[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

[agblehrer]
  browsable = no
  msdfs root = yes
  comment = Lehrer-Bereich im AGB-LAN
  msdfs proxy = \172.18.160.11\lehrer$\_lehrerbereich_
  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


The shares "agbschueler" and "agblehrer" work very fine, i.e. no problem.
But when trying to connect to "agbhome" the user is prompted for a login
and password. But with correct login/password the share wasn't connected.

admin:~ # ls -lgG /export/dfsroot/
lrwxrwxrwx  1  20 2007-03-28 09:36 home -> msdfs:172.18.160.10\
lrwxrwxrwx  1  43 2007-02-04 11:44 lehrer ->
                           msdfs:172.18.160.10\lehrer$\_Lehrerbereich_
lrwxrwxrwx  1  28 2007-03-28 09:35 schueler -> msdfs:172.18.160.10\schueler


Thanks for any hints why "agbhome" couldn't be connected.
Bye
Holger




More information about the samba mailing list