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

Re: Samba-Drucker definieren und freigeben ( Anfänger )



Am Sonntag 30 Oktober 2005 12:10 schrieb Andreas Pakulat:
> On 30.10.05 11:13:52, Klaus Ponnath wrote:
> > ich habe Deb. Sarge mit Standartkernel und möchte meinen Drucker
> > als Sambadrucker einrichten um ihn dann unter VMware und XP als
> > Netzwerkdrucker zu installieren.
> > Ich hoffe, ich habe mich richtig ausgedrückt und für alle
> > verständlich, die samba conf. habe ich schon geöffnet, aber ich
> > traue mich nicht da etwas ohne eure Hilfe zu ändern.
>
> 1. Zu dem Thema sollte Google einiges finden koennen
> 2. XP kann direkt mittels IPP auf die Cups-Drucker zugreifen, Samba
> ist da unnoetig

das habe ich schon versucht, aber es klappt nicht, es heist da immer " 
keine Berechtigung " um das zu ändern muß ich in die Cups conf. und 
ohne genau zu wissen was zu machen ist, faß ich da nichts an

> 3. Ich mag mich irren, aber IIRC ist schon alles fuer die Freigabe
> der Drucker in der smb.conf eingerichtet. Um das zu kontrollieren
> solltest du deine smb.conf mal posten (aber ohne die Leerzeilen und
> die auskommentierten), dann kann man dir auch spezieller helfen
# The next two parameters show how to auto-mount a CD-ROM when the
#	cdrom share is accesed. For this to work /etc/fstab must contain
#	an entry like this:
#
#       /dev/scd0   /cdrom  iso9660 defaults,noauto,ro,user   0 0
#
# The CD-ROM gets unmounted automatically after the connection to the
#
# If you don't want to use auto-mounting/unmounting make sure the CD
#	is mounted on /cdrom
#
hier die samba conf.:
 part of
   workgroup = linux
;   wins support = no
;   wins server = w.x.y.z

#### Debugging/Accounting ####


   log file = /var/log/samba/log.%m


   max log size = 1000


;   syslog only = no


   syslog = 0




####### Authentication #######


;   security = user


   encrypt passwords = true


   passdb backend = tdbsam guest

   obey pam restrictions = yes

;   guest account = nobody
   invalid users = root


;   unix password sync = no


;   pam password change = no


########## Printing ##########


;   load printers = yes


;   printing = bsd
;   printcap name = /etc/printcap


;   printing = cups
;   printcap name = cups


;   printer admin = @ntadmin


######## File sharing ########

# Name mangling options
;   preserve case = yes
;   short preserve case = yes


############ Misc ############


;   include = /home/samba/etc/smb.conf.%m


   socket options = TCP_NODELAY

 
;   message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm 
%s' &


;   domain master = auto


;   idmap uid = 10000-20000
;   idmap gid = 10000-20000
;   template shell = /bin/bash

#======================= Share Definitions =======================

[homes]
	guest account = klaus
	browseable = no
	writeable = yes
	create mask = 0700
	comment = Home Directories
	directory mask = 0700
	valid users = klaus

[printers]
   comment = All Printers
   browseable = no
   path = /tmp
   printable = yes
   public = no
   writable = no
   create mode = 0700


[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = no

;   write list = root, @ntadmin


;   comment = Samba server's CD-ROM
;   writable = no
;   locking = no
;   path = /cdrom
;   public = yes


;   preexec = /bin/mount /cdrom
;   postexec = /bin/umount /cdrom

Hallo Andreas, hoffentlich habe ich nicht zu viel gelöscht,

gruß Klaus



Reply to: