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
Holger Biber <Holger.Biber <at> Teleos-web.de> writes: ...> 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"You're configuration is a little funny, but I don't think that has anything to do with your problems. I'm assuming that the user you are logged onto XP with doesn't have access to agbhome.>From the network traces I've done w/ dfs I see:1. client connects to samba server (using the userid from /user if one is specified) 2. The samba server sends back the dfs referral 3. The XP client initiates a new connect to the target server -- but it doesn't use the ID specified with /user. I have assumed this was a MS bug or feature. They probably assume everyone signs onto a domain and only connects w/ that userid. As for your config, since you are using msdfs proxy, I don't think Samba is ever looking at your symlinks.> 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: \> lsSmbclient is probably sending specified userid on all the connections. Bill