I dont know. I have yet to figure out the no password thing. I would love that.
samba-2.2.1a-4 on rh 7.1.
The following configuration works flawlesslyto share the printer and allow guest access without prompting for password (from smb.conf)
workgroup=plt
server string = Linux server
local master = no
guest account = pcguest
map to guest = bad user
# printer share
[Lnx-prt]
comment = ePDF printer
path = /var/spool/ePDF
guest ok = yes
guest only = yes
printable = yes
printer driver = Apple LColor LaserWriter 12/600
print command = /usr/local/bin/ePDF.sh -u %U %s 2>> log
As I mentioned before this works with no problem.
BUT:
EXACTLY the same configuration running on rh 7.3 samba-2.2.3a-6
asks me for password when I click in the network neighborhood on the linux computer icon.
P.S. nbtstat -A on wondows boxes and nmblookup -A on linux box itself work fine.
Any ideas?
Any changes in samba version?
Thanks.
I dont know. I have yet to figure out the no password thing. I would love that.
I figured that out.....map to guest = bad user was in wrong section....I had to move it, but it was working fine with previous version of samba.
Strange.
Since I cant find my Samba book, where does it go?
there is a line in smb.conf that has :
;guest account = pcguest
You should uncomment this line (in the case you use guest account pcguest)
Right beneath that line you should put:
map to guest = bad user
The last line was in my case somwhere in the middle of smb.conf and it didn't work. The moment I moved it right after ;guest account = pcguest then it starts working.
So if I make a guestacct user, and map to guest as you did, it will give all guest access to guestacct user?
My idea here was like that (and it works)
Create pcguest user , then when you specify the line'map to guest = bad user" you actually tell the following :
Each user that connects to the share you configured will be mapped to guest account if it has bad (unknown) username, which effecively maps all users to pcguest..
Ah yes, one of the neat things about Linux (and all the software associated with it) is that you learn something new just about every day.
Right!
and thanks elovkoff -- it worked fine!
Bookmarks