Eduardo Carriles wrote:
Detail LAN setup please, after on next post, i will tell you some on NetBEUI.
Which are the machines involved, hardware, OS's and versions included??
Internet <--->[shaitan.inet]<--->[10/100M Switch]<--->[lanfear.inet] | [ishamael.inet]<--------+-------->[sammael.inet] | [asmodean.inet]<--------+-------->[demandred.inet] Relevant host data: haitan.inet OS: FreeSCO 0.26 Use: Firewall/Gateway IP: 10.0.0.1 on eth0 H/W: Celeron 266 w/ 64M RAM, 3.2G HD, 3Com 905B TX nic lanfear.inet OS: Win98 Use: Kid's games, M$ Word, ClipArt, etc. IP: 10.0.0.2 H/W: Celeron 400 w/ 64M RAM, 10G HD, Netgear FA310TX nic HP DeskJet 722c sammael.inet OS: Dual-boot Win98/SuSE 6.4 Linux Use: Testing questionable (i.e. alpha-beta grade) software IP: 10.0.0.3 H/W: PII-300 w/ 64M RAM, 6G HD, needs new nic, 3Com pcmcia modem ishamael.inet OS: Dual-boot Win98/SuSE 6.4 Linux Use: Main day2day workstation, gaming box IP: 10.0.0.4 H/W: PIII-500 w/ 384M RAM, 10G HD, onboard nic (905B), HP LaserJet 2100 asmodean.inet OS: SuSE 6.4 Linux Use: Teenager's thrash box IP: 10.0.0.5 H/W: Celeron 266 w/ 64M RAM, 3.2G HD, Netgear FA310TX nic demandred.inet TBD, reserved for spare PII-400/128M/24G server Plan to have the Win98 box serve up the DeskJet printer to the other hosts, and initially have ishamael serve the laserjet to the lan, as well as a bit of drive space. Eventually, will migrate to using server to serve laserjet and drive space to the lan, among other things.
NetBEUI is the clue, as far as _windoze_ knows. Post small snip of your SWAT lines on /etc/inetd.conf and on /etc/services. You can do, as root: # cd /etc # grep swat * Snip the preceding garbage, and post the _swat_ related, they are no more than 5 lines.
Once I went back to Samba 2.0.7, SWAT is working fine.
[TIP] Although you must have on your /etc/smb.conf: [global] ... encrypt passwords = Yes ...
I copied the default /etc/smb.conf that the SuSE rpm installed, and used SWAT to create a basic smb.conf file as per the book [global] workgroup = INET netbios name = ISHAMAEL server string = SuSE Linux Workstation encrypt passwords = yes wins support = yes [test] comment = For testing only, please. path = /pub/export/samba/test I added the netbios name, since according to what I could read, it shouldn't matter, as it would default to that anyway, as that's whats set up in the dns on shaitan. The book makes it sound like you shouldn't use wins support if you just have a samba server and no NT servers, but the Samba section in the IBM Redbook on SuSE/Netfinity serverss set it on. In my case, it didn't make any difference (and I did make sure to go back and enable wins support on lanfear, and supply the address to ishamael, and reboot) An interesting sidenote: I tried this using the original /etc/smb.conf that came w/ the package, just adding the [test] share again, this time w/ a path of '/tmp', which allows me to do the 'smbclient '\\ishamael\test' ' successfully. Otherwise, w/ the original [test] share, I'd get the following error: Domain=[INET] OS=[Unix] Server=[Samba 2.0.7} tree connect failed: ERRSRV - ERRinvnetname (Invalid network name in tree connect) How the heck is this possible w/ such a simble share?
On some share also:
[share] browseable = Yes
Or leave it without the "browseable =" parameter (defaults to "Yes") for _windoze_ to see some Samba share, or the Samba server at all on the WorkGroup. Without this tip it won't work, it will not be visible on the Network Neighborhood from the _windoze_ side.
Use _smbpasswd_ and setup users/encrypted passwords on the Linux side.
Did this, but when I did (as root) 'smbpasswd -a monte', and entered a passwd for user monte, when I went to use smbclient as monte, it balked until I did (as monte) 'smbpasswd', and entered the old passwd, then entered and confirmed the new passwd (which was the same as the old one). Weird.
Thanks for your time,
You are welcome, Sir.
Monte
-- HTH
Best regards, Eduardo Carriles
[-- Better a smile than a flame --] (Long time SuSE-Linux [preferred distro] user). [-- Se me nota mucho? -- Notices me much?] [-- Have a lot of fun...]
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq