[Samba] Login-Problem with DFS-Share
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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Problem with dfs-share and hidden directory
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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Hashing for short pathnames
Hi, using samba 2.2.5-UL (on a SuSE-SLOX-System) we have to mangle long pathnames to short ones. We need this for some of our apps which generate batch-files (*.bat) for compilation. Normally this works correctly, exept for a directory named Only_for_generation. This directory is mangled into Only_~%0 (it' s NULL at the end). And this is the problem. In batch-files (*.bat) you shouldn't use this, because it meens to call the batch itself (like $0 in bash-scripts). There must be a possibility to exclude % from the resulting hash values. Perhaps other special characters, like $§... could leed to faults too. I've changed the hash mathod to hash2: mangling method = hash2 but doesn't help. For our special case if inserted a mangled map: mangled map = (Only_for_generation Only_~01) but this is very special. Perhaps someone else would get a similar hash value for one of his paths. Thanks in advance for any hints how to avoid this or how to manage it. Bye Holger -- Dipl.-Math. Holger Biber MLaP - Universität Paderborn Fakultät Maschinenbau Pohlweg 98 , 33098 Paderborn Tel : 05251/60-5585 Fax : 05251/60-5579 [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba