Samba won't allow PC connections

Joel Hammer Joel at HammersHome.com
Mon Nov 19 17:29:06 GMT 2001


I couldn't recreate your error on with my setup by:
1. Using a windows login name different from any user on my samba server.
This is as expected.
2. Changing the workgroup name on my windows pc to an odd name. Everything
worked  with netview without difficulty.
Could this be some deal with encrypted passwords? Even though none are being
passed? Maybe try enabling encypted passwords on your samba server. I doubt
it will work but the experience might teach you something (really, thrashing
around is how I "solve" most of my computer problems.)
I would still look at tcpdump and see what is being passed back and forth.
I would also set log level to 3 and see if there are any clues in the logs.
Joel
On Mon, Nov 19, 2001 at 07:52:20PM -0500, Ben Griffith wrote:
> Joel,
> 
> Thanks for the config file, I will go through it at length and see what 
> else I can learn. I probably should have mentioned that I did run through 
> the diagnosis in the samba docs. Everything hums along fine until step 8 
> where one is supposed to try "net view \\BIGSERVER".
> 
> Here I get the invalid password message, when prompted to enter a password, 
> I can try a valid one or just hit enter, either way Win gives me an Error 
> 5: You do not have the proper rights to access this blah blah.....
> 
> It is especially frustrating since I can do the same thing on a 'nix 
> machine eg: smbclient -L //BIGSERVER and when prompted for the password, 
> press enter and I get the list of active shares on BIGSERVER.
> 
> I am continuing to hunt for the best way to do totally anonymous access for 
> this. I will keep hunting on the lists and reading posts.
> 
> Thanks!
> 
> 	--Ben--
> 
> --On Monday, November 19, 2001 5:48 PM -0500 Joel Hammer 
> <Joel at HammersHome.com> wrote:
> 
> | First, walk through DIAGNOSIS.txt in /doc/textdocs <---MOST IMPORTANT.
> | If that all works, below is my smb.conf which does just what you want.
> | I do not use the [printer] special share, rather, I list each printer
> | separately. This keeps things simpler. This printer definition does not
> | filter. All filtering happens on the windows boxes.
> |
> | [global]
> |         netbios name = HAMMER2
> |         interfaces = 192.168.0.2
> |         security = SHARE
> |         guest account = ftp
> |         hosts allow = 192.168. 127.
> |         strict sync = Yes
> | [lp]
> |         comment = Raw Printer for Z53
> |         path = /tmp
> |         create mask = 0700
> |         guest ok = Yes
> |         hosts allow = 192.168.
> |         printable = Yes
> |         printing = lprng
> |#       print command = echo "Tried to print %s" > /SPOOL/junk.%s
> |         print command = /usr/bin/lpr -Plp %s; rm %s
> |         lpq command = /usr/bin/lpq -Plp
> |         lprm command = /usr/bin/lprm -Plp %j
> |         lppause command = /usr/bin/lpc hold -Plp %j
> |         lpresume command = /usr/bin/lpc release -Plp %j
> |         printer name = lp
> |         share modes = No
> |
> | [AllFiles]
> |         comment = All Files
> |         path = /
> |         read only = No
> |         guest ok = Yes
> |
> |
> | My lp in /etc/printcap is:
> | lp|LP|z53-outfiles:\
> |         :sd=/var/spool/lpd/lp:\
> |         :mx#0:\
> |         :lp=/dev/lp0:\
> |         :sh:rw:
> |
> | I am not certain if the rw does any good (open printer for reading and
> | writing) but it might. Notice there is no filter in this definition.
> | Joel
> |
> 
> 
> 
> -------------------------------
> Ben Griffith
> Assistant Network Admin
> bgriffit at email.unc.edu
> -------------------------------




More information about the samba mailing list