Arthur S. Alexion on 26 Feb 2004 02:22:02 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Samba/DNS question


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

kaze wrote:

--> Arthur S. Alexion wrote:
-->
--> > Working from this point of inquiry, I have diagnosed my problem.  The
--> > reason I can't browse the Linux machine from the windows machine is
--> > that nmbd refuses to load.  I can't get it to load from swat and I
--> > can't get it to load from xterm.  It appears on boot that it
--> is set to
--> > load and fails.  No error messages.
--> >
--> > Any ideas how I can detect the reason it refuses to load.
--> >
--> > more info: when I load from the command line, it appears that
--> the load
--> > was successful, but then, when I check, it is not loaded.
--> >
-->
--> Now that makes complete sense.  You NetBIOS name resolver will not load
--> so Samba can't resolve names.  Have you checked /var/log/messages for
--> clues?  Also, have you confirmed that smbd is actually starting
--> successfully?

Maybe try testparm

testparm — check an smb.conf configuration file for internal correctness

testparm [-s] [-h] [-v] [-L <servername>] [-t <encoding>] {config filename}
[hostname hostIP]


WORKED!!! Thanks to Eugene Smiley, Mike Leone, Sean Finney, and especially Paul and finally kaze who got me onto the solution.

testparm (run only with the -s parameter) told me that I could not set two wins parameters
<excerpt>
ERROR: both 'wins support = true' and 'wins server = <server>' cannot be set in the smb.conf file. nmbd will abort with this setting.
</excerpt>


I had wins support = true and 'wins server =<the IP address of the samba server> thinking that was what I had to do in order for the linux/samba server supply wins services to a network without an NT/2000/XP machine (the two windows machines are 9x). For some reason, every time I tried to blank out the wins server = IP address, it kept coming back (using swat), so I changed wins support to false, instead, and nmbd started successfully. I hopped on the windows machines, and right there in the network browser, the linux machine appeared.

Now I need to figure out what I am doing wrong trying to set up an HP Laserjet on one of the windows machines as a samba/cups printer so I can print to it from the linux machine. Maybe nmbd will solve this problem too, since the cups web interface (localhost:631) wouldn't show smb as an available port as the instructions said it should.

Last, I need to figure out why smbmount prompts me for a password, even though I provide one with the command's parameters. I am afraid to put it in fstab until I get this password thing resolved.

Thanks again to all. I don't know how I would do it without the people on this list.

- --

- --

_______________________________________
Art Alexion
Arthur S. Alexion LLC
arthur [at] alexion [dot] com
aim: aalexion
sms: 2679725536 [at] messaging [dot] sprintpcs [dot] com

GnuPG fingerprint
pub  1024D/ACC5BA7A 2004-01-30 Arthur S. Alexion (Art Alexion) <arthur@alexion.com>
    Key fingerprint = 52A4 B10C AA73 096F A661  92D2 3B65 8EAC ACC5 BA7A
sub  1024g/328F84E6 2004-01-30
________________________________________

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAPVe1O2WOrKzFunoRAtQeAJ9W33hEEOgDPGc8MmrZRGwlKxs7UwCeJ7T1
mTS6C0qLAJ6oAkujUq/hf18=
=mQrF
-----END PGP SIGNATURE-----


___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug