Steffen Einsle
1999-Feb-07 22:27 UTC
Help needed! tricky browsing configuration and BUG_REPORT
hi there, can please anybody help me solve my little problem ? I have about a dozen separated networks connected to my local lan via isdn dial-up (on-demand). I am running linux kernel 2.0.36 and samba 2.0.0 (2.0.2 doesn't work either). There is a linux-box running samba 2.0.0 connected to every remote network. The Clients are always Win95/Win98/WinNT. Local browsing seems to work perfectly. I have configured every server to be PDC, DMB, LMB and WINS server. As all networks should be (and stay) separated apart from my maintenance accessses, no periodic browse-sync is desired (telephone costs!!). Now I would like to connect to a remote network from my local Win98 machine. Windows explorer: \\GARGAMEL (I have a local LMHOSTS file to resolve GARGAMEL) Result: I get a list with the available shares from server GARGAMEL, besides my network neighbourhood is extended and now contains the remote domain SMURFS_DOM. 2 seconds later an error message pops up stating that my computer cannot access SMURFS_DOM, requested server or service is not available. My local machine connects to WINS server requesting address for SMURFS_DOM. As my WINS server never had any contact to server GARGAMEL no address can be found. Now I create a file /etc/lmhosts and add a few entries: 192.168.138.1 GARGAMEL#0x1D 192.168.138.1 GARGAMEL#0x1B 192.168.138.1 GARGAMEL#0x1E (my local network is 192.168.139.0 ROMANS_DOM with MAJESTIX as PDC, DMB, LMB and WINS.) ---------------------------------------------------------------------------- ------------ (please note the 0x before any name_type is necessary for a correct parsing, this seems to be a bug in libsmb/namequery.c in getlmhostsent. /* Extra feature. If the name ends in '#XX', where XX is a hex number, then only add that name type. */ if((ptr = strchr(name, '#')) != NULL) { char *endptr; ptr++; *name_type = (int)strtol(ptr, &endptr,0); <<<<< should be (ptr, &endptr,16) ---------------------------------------------------------------------------- ------------ Now NMBD adds these entries to REMOTE BROADCAST SUBNET ... but the error message cannot access SMURFS_DOM, requested server or service is not available keeps popping up. has it something to do with the INTERFACES setting in smb.conf? or do I have to adjust my ISDN network interfaces? (ip works fine, no problems) Do i have to create REMOTE ANNOUNCE sections for the remote networks? How can I get rid of the error message and access the remote servers browse list? Could it help to have different smb.conf files for local clients and remote clients? samba novice seeking advice... S. Einsle
Apparently Analagous Threads
- [Bug 2793] New: xattr support fails with multiples attributes
- [ossh patch] principal name/patterns in authorized_keys2
- PATCH: krb4/krb5/... names/patterns in auth_keys entries
- Problems with MySQL backend.
- [PATCH] Remove local_strtoull, windows has equivalent function _strtoui64