Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba/Cups Printserver drucken ohne Authentifizierung
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
aZZe
l33t
l33t


Joined: 20 Feb 2003
Posts: 965
Location: Dinslaken, Germany

PostPosted: Thu Mar 12, 2009 1:30 pm    Post subject: Samba/Cups Printserver drucken ohne Authentifizierung Reply with quote

Hallo zusammen!


Ich möchte hier einen Cups/Samba Druckerserver für Windows Clients aufsetzen. Es funktioniert alles prima. Ich kann vom Windows Client Druckertreiber auf den Linuxserver kopieren etc. Jetzt ist mein Problem, dass ich es Benutzern ermöglichen möchte, dass sie auf die Freigabe des Servers gehen können, sprich den Explorer öffnen und "\\DruckerserverIP" eingeben und die freigegebenen Drucker aufgelistet bekommen und sich mit diesen dann verbinden können. Dies funktioniert auch alles nur kann der Client nicht drucken. Nehme ich aus der smb.conf die Optionen für den guest Account heraus, so dass eine Authentifizierung durch eine Druckeradmin von Nöten ist, funktioniert es. Ich möchte jetzt aber logischerweise den Benutzern nicht zumuten einen Benutzernamen einzugeben. Das muss ja auch so gehen. Anbei paste ich mal meine smb.conf mit guest account. Die Config hab ich aus diversen HowTos wo es angeblich funtionieren soll.

Hier noch Infos zu den Dateirechten:

ls -al /var/spool/samba/:

s -al  /var/spool/samba/
total 8
drwxrwxrwt  2 root root 4096 2009-03-12 14:02 .
drwxr-xr-x  7 root root 4096 2009-02-23 13:38 ..
-rw-r--r-- 14 root root    0 2009-02-23 13:38 .keep_net-fs_samba-0


ls -la /var/samba/drivers/:

ls -la /var/samba/drivers/
total 36
drwxrwxr-x 9 root ntadmin 4096 2009-03-12 11:48 .
drwxr-xr-x 3 root root    4096 2009-02-23 14:58 ..
drwxrwxr-x 2 root ntadmin 4096 2009-02-23 14:59 IA64
drwxrwxr-x 2 root ntadmin 4096 2009-02-23 14:59 W32ALPHA
drwxrwxr-x 2 root ntadmin 4096 2009-02-23 14:59 W32MIPS
drwxrwxr-x 2 root ntadmin 4096 2009-02-23 14:59 W32PPC
drwxrwxr-x 2 root ntadmin 4096 2009-02-23 15:00 W32WIN40
drwxrwxr-x 3 root ntadmin 4096 2009-02-27 11:05 W32X86
drwxrwxr-x 2 root ntadmin 4096 2009-02-23 15:00 x64


/etc/samba/smb.conf:

[global]
   server string = %h
   printing = cups
   printcap = cups
   printcap name = cups
#   printcap cache time = 750
   use client driver = yes   
   cups options = raw
   security = user
   printer admin = @ntadmin
   show add printer wizard = yes
   map to guest = Bad User
   guest account = nobody
   load printers = yes
   username map = /etc/samba/smbusers

[printers]
   comment = All Printers
   path = /var/spool/samba
   printable = yes
   create mask = 0700
   browseable = no
   printer admin = root, @ntadmin
   guest ok = yes
   guest only = yes
   writeable = no
   public = yes

[print$]
   comment = Printer Drivers
   path = /var/samba/drivers
   write list = root, @ntadmin
# force group = ntadmin
#   printer admin = @ntadmin
#   create mask = 0664
#   directory mask = 0775
   browseable = yes
   read only = yes
   guest ok = no

_________________
ASUS 4A785TD-V EVO with AMD Phenom(tm) II X4 965
4GB RAM DDR3-1333
ATI Radeon HD4870
Back to top
View user's profile Send private message
aZZe
l33t
l33t


Joined: 20 Feb 2003
Posts: 965
Location: Dinslaken, Germany

PostPosted: Sat Mar 14, 2009 3:17 pm    Post subject: Reply with quote

Problemlösung habe ich in einem Parallelthread gelöst.

http://www.linuxforen.de/forums/showthread.php?t=260043
_________________
ASUS 4A785TD-V EVO with AMD Phenom(tm) II X4 965
4GB RAM DDR3-1333
ATI Radeon HD4870
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum