Bluehost.com Web Hosting $6.95

[Samba] Guest user mapped account rights not being set correctly

This is a discussion on [Samba] Guest user mapped account rights not being set correctly within the Samba forums, part of the Networking and Network Related category; Hi, =20 I wanted to allow unknown(guest users) users to print. I have used "guest ok =3D yes&...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-20-2005
gnamasiv@cisco.com
 
Posts: n/a
Default [Samba] Guest user mapped account rights not being set correctly

Hi,
=20
I wanted to allow unknown(guest users) users to print. I have used
"guest ok =3D yes", "map to guest =3D bad password" and "guest account =
=3D
guestuser" where guestuser is a windows domain user. The reason for
using this being the windows user can modify the rights that would be
given to the guest account by changing the rights to guestuser in the
security tab of printer properties. However, the guest user is able to
print only when the user "everyone" is given print access in the printer
-> security settings. He is not able to print when "everyone" is removed
and "guestuser" is given print access although I could see from the logs
the mapping to guestuser is happening correctly.I have also included my
smb.conf. Please let me know if I am doing something wrong.
=20
smb.conf

[global]
idmap uid =3D 70000-200000
idmap gid =3D 70000-200000
winbind enum users =3D yes
winbind enum groups =3D yes
winbind cache time =3D 10
winbind use default domain =3D yes
printcap name =3D cups
load printers =3D yes
printing =3D cups
cups options =3D "raw"
force printername =3D yes
lpq cache time =3D 0
log file =3D /local/local1/errorlog/samba.log
max log size =3D 50000
socket options =3D TCP_NODELAY SO_RCVBUF=3D8192 SO_SNDBUF=3D8192
smb ports =3D 50139
local master =3D no
domain master =3D no
preferred master =3D no
dns proxy =3D no
template homedir =3D /local/local1/
template shell =3D /admin-shell
client schannel =3D no
printer admin =3D @printeradmin
addprinter command =3D /usr/bin/addprinter1.pl
map to guest =3D bad password
guest account =3D guestuser
log level =3D 10
deleteprinter command =3D /usr/bin/removeprinter
workgroup =3D LAB2003DOMAIN
netbios name =3D ODI-MGT-CE2
wins server =3D <wins server ip>
password server =3D <password server ip>
security =3D domain
=20

[print$]
path =3D /state/samba/printers
guest ok =3D yes
browseable =3D yes
read only =3D yes
write list =3D >print admin gorup>
force user =3D root
force group =3D root
=20

[printers]
comment =3D All Printers
path =3D /local/local1/spool/samba
browseable =3D no
guest ok =3D yes
writable =3D no
printable =3D yes

Thanks,
Guru.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:04 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0