Top-Themen

AppleEntwicklungHardwareInternetLinuxMicrosoftMultimediaNetzwerkeOff TopicSicherheitSonstige SystemeVirtualisierungWeiterbildungZusammenarbeit

Aktuelle Themen

Administrator.de FeedbackApache ServerAppleAssemblerAudioAusbildungAuslandBackupBasicBatch & ShellBenchmarksBibliotheken & ToolkitsBlogsCloud-DiensteClusterCMSCPU, RAM, MainboardsCSSC und C++DatenbankenDatenschutzDebianDigitiales FernsehenDNSDrucker und ScannerDSL, VDSLE-BooksE-BusinessE-MailEntwicklungErkennung und -AbwehrExchange ServerFestplatten, SSD, RaidFirewallFlatratesGoogle AndroidGrafikGrafikkarten & MonitoreGroupwareHardwareHosting & HousingHTMLHumor (lol)Hyper-VIconsIDE & EditorenInformationsdiensteInstallationInstant MessagingInternetInternet DomäneniOSISDN & AnaloganschlüsseiTunesJavaJavaScriptKiXtartKVMLAN, WAN, WirelessLinuxLinux DesktopLinux NetzwerkLinux ToolsLinux UserverwaltungLizenzierungMac OS XMicrosoftMicrosoft OfficeMikroTik RouterOSMonitoringMultimediaMultimedia & ZubehörNetzwerkeNetzwerkgrundlagenNetzwerkmanagementNetzwerkprotokolleNotebook & ZubehörNovell NetwareOff TopicOpenOffice, LibreOfficeOutlook & MailPapierkorbPascal und DelphiPeripheriegerätePerlPHPPythonRechtliche FragenRedHat, CentOS, FedoraRouter & RoutingSambaSAN, NAS, DASSchriftartenSchulung & TrainingSEOServerServer-HardwareSicherheitSicherheits-ToolsSicherheitsgrundlagenSolarisSonstige SystemeSoziale NetzwerkeSpeicherkartenStudentenjobs & PraktikumSuche ProjektpartnerSuseSwitche und HubsTipps & TricksTK-Netze & GeräteUbuntuUMTS, EDGE & GPRSUtilitiesVB for ApplicationsVerschlüsselung & ZertifikateVideo & StreamingViren und TrojanerVirtualisierungVisual StudioVmwareVoice over IPWebbrowserWebentwicklungWeiterbildungWindows 7Windows 8Windows 10Windows InstallationWindows MobileWindows NetzwerkWindows ServerWindows SystemdateienWindows ToolsWindows UpdateWindows UserverwaltungWindows VistaWindows XPXenserverXMLZusammenarbeit
GELÖST

Problem mit Samba Printserver auf Debian

Frage Linux Samba

Mitglied: jobi05

jobi05 (Level 1) - Jetzt verbinden

04.10.2009, aktualisiert 05.10.2009, 4938 Aufrufe, 5 Kommentare

Drucken nur von einem Pc möglich

Ich habe auf Wunsch meiner Famielienmitglieder angefangen einen Debian Printserver aufzusetzen. Jetzt (am 3. Tag) komme ich mit der Installation einfach nicht weiter. Ich bin mittlerweile so weit das ich von einem (meinem) Pc problemlos drucken kann, wenn ich jedoch an einem anderen Pc versuche zu drucken reagiert der Drucker zwar (er zeiht das Papier bis zur hälfte ein) jedoch druckt er nicht. Mir ist bisher nur ein Unterschied der Konfigurationen der Windows-Clients aufgefallen. In "Druckername" -> Eigenschaften -> Anschlüsse sieht es bei mir (Drucken möglich) aus wie in "Bild1" und bei meinen Familienmitgliedern (Drucken nicht möglich) wie in "Bild2". Ich kann aber keinen neuen Druckeranschluss hinzufügen oder den bestehenden verändern. Evtl. hat ja jemand ähnliche Erfahrungen oder kennt die Lösung des Problems. :/



Bild1

a8feac8b581d2578a47f3d167567da42-bild1 - Klicke auf das Bild, um es zu vergrößern



Bild2

369f58aba8dbcf1ad4e7488a1f628705-bild2 - Klicke auf das Bild, um es zu vergrößern



Meine smb.conf

01.
 
02.
# Sample configuration file for the Samba suite for Debian GNU/Linux. 
03.
04.
05.
# This is the main Samba configuration file. You should read the 
06.
# smb.conf(5) manual page in order to understand the options listed 
07.
# here. Samba has a huge number of configurable options most of which  
08.
# are not shown in this example 
09.
10.
# Some options that are often worth tuning have been included as 
11.
# commented-out examples in this file. 
12.
#  - When such options are commented with ";", the proposed setting 
13.
#    differs from the default Samba behaviour 
14.
#  - When commented with "#", the proposed setting is the default 
15.
#    behaviour of Samba but the option is considered important 
16.
#    enough to be mentioned here 
17.
18.
# NOTE: Whenever you modify this file you should run the command 
19.
# "testparm" to check that you have not made any basic syntactic  
20.
# errors.  
21.
# A well-established practice is to name the original file 
22.
# "smb.conf.master" and create the "real" config file with 
23.
# testparm -s smb.conf.master >smb.conf 
24.
# This minimizes the size of the really used smb.conf file 
25.
# which, according to the Samba Team, impacts performance 
26.
# However, use this with caution if your smb.conf file contains nested 
27.
# "include" statements. See Debian bug #483187 for a case 
28.
# where using a master file is not a good idea. 
29.
30.
 
31.
#======================= Global Settings ======================= 
32.
 
33.
[global] 
34.
	log file = /var/log/samba/log.%m 
35.
	load printers = yes 
36.
	passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . 
37.
	include = /etc/samba/dhcp.conf 
38.
	obey pam restrictions = yes 
39.
	encrypt passwords = true 
40.
	passdb backend = tdbsam 
41.
	passwd program = /usr/bin/passwd %u 
42.
	case sensitive = yes 
43.
	dns proxy = no 
44.
	netbios name = Jones Server 
45.
	mangle case = yes 
46.
	server string = %h server 
47.
	default = printers 
48.
	unix password sync = yes 
49.
	os level = 20 
50.
	auto services = printers 
51.
	syslog = 0 
52.
	panic action = /usr/share/samba/panic-action %d 
53.
	max log size = 1000 
54.
	pam password change = yes 
55.
 
56.
## Browsing/Identification ### 
57.
 
58.
# Change this to the workgroup/NT-domain name your Samba server will part of 
59.
 
60.
# server string is the equivalent of the NT Description field 
61.
 
62.
# Windows Internet Name Serving Support Section: 
63.
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server 
64.
#   wins support = no 
65.
 
66.
# WINS Server - Tells the NMBD components of Samba to be a WINS Client 
67.
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both 
68.
;   wins server = w.x.y.z 
69.
 
70.
# If we receive WINS server info from DHCP, override the options above.  
71.
 
72.
# This will prevent nmbd to search for NetBIOS names through DNS. 
73.
 
74.
# What naming service and in what order should we use to resolve host names 
75.
# to IP addresses 
76.
;   name resolve order = lmhosts host wins bcast 
77.
 
78.
#### Networking #### 
79.
 
80.
# The specific set of interfaces / networks to bind to 
81.
# This can be either the interface name or an IP address/netmask; 
82.
# interface names are normally preferred 
83.
;   interfaces = 127.0.0.0/8 eth0 
84.
 
85.
# Only bind to the named interfaces and/or networks; you must use the 
86.
# 'interfaces' option above to use this. 
87.
# It is recommended that you enable this feature if your Samba machine is 
88.
# not protected by a firewall or is a firewall itself.  However, this 
89.
# option cannot handle dynamic or non-broadcast interfaces correctly. 
90.
;   bind interfaces only = yes 
91.
 
92.
 
93.
 
94.
#### Debugging/Accounting #### 
95.
 
96.
# This tells Samba to use a separate log file for each machine 
97.
# that connects 
98.
 
99.
# Cap the size of the individual log files (in KiB). 
100.
 
101.
# If you want Samba to only log through syslog then set the following 
102.
# parameter to 'yes'. 
103.
#   syslog only = no 
104.
 
105.
# We want Samba to log a minimum amount of information to syslog. Everything 
106.
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log 
107.
# through syslog you should set the following parameter to something higher. 
108.
 
109.
# Do something sensible when Samba crashes: mail the admin a backtrace 
110.
 
111.
 
112.
####### Authentication ####### 
113.
 
114.
# "security = user" is always a good idea. This will require a Unix account 
115.
# in this server for every user accessing the server. See 
116.
# /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html 
117.
# in the samba-doc package for details. 
118.
#   security = user 
119.
 
120.
# You may wish to use password encryption.  See the section on 
121.
# 'encrypt passwords' in the smb.conf(5) manpage before enabling. 
122.
 
123.
# If you are using encrypted passwords, Samba will need to know what 
124.
# password database type you are using.   
125.
 
126.
 
127.
# This boolean parameter controls whether Samba attempts to sync the Unix 
128.
# password with the SMB password when the encrypted SMB password in the 
129.
# passdb is changed. 
130.
 
131.
# For Unix password sync to work on a Debian GNU/Linux system, the following 
132.
# parameters must be set (thanks to Ian Kahan <<kahan@informatik.tu-muenchen.de> for 
133.
# sending the correct chat script for the passwd program in Debian Sarge). 
134.
 
135.
# This boolean controls whether PAM will be used for password changes 
136.
# when requested by an SMB client instead of the program listed in 
137.
# 'passwd program'. The default is 'no'. 
138.
 
139.
########## Domains ########### 
140.
 
141.
# Is this machine able to authenticate users. Both PDC and BDC 
142.
# must have this setting enabled. If you are the BDC you must 
143.
# change the 'domain master' setting to no 
144.
145.
;   domain logons = yes 
146.
147.
# The following setting only takes effect if 'domain logons' is set 
148.
# It specifies the location of the user's profile directory 
149.
# from the client point of view) 
150.
# The following required a [profiles] share to be setup on the 
151.
# samba server (see below) 
152.
;   logon path = \\%N\profiles\%U 
153.
# Another common choice is storing the profile in the user's home directory 
154.
# (this is Samba's default) 
155.
#   logon path = \\%N\%U\profile 
156.
 
157.
# The following setting only takes effect if 'domain logons' is set 
158.
# It specifies the location of a user's home directory (from the client 
159.
# point of view) 
160.
;   logon drive = H: 
161.
#   logon home = \\%N\%U 
162.
 
163.
# The following setting only takes effect if 'domain logons' is set 
164.
# It specifies the script to run during logon. The script must be stored 
165.
# in the [netlogon] share 
166.
# NOTE: Must be store in 'DOS' file format convention 
167.
;   logon script = logon.cmd 
168.
 
169.
# This allows Unix users to be created on the domain controller via the SAMR 
170.
# RPC pipe.  The example command creates a user account with a disabled Unix 
171.
# password; please adapt to your needs 
172.
; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u 
173.
 
174.
# This allows machine accounts to be created on the domain controller via the  
175.
# SAMR RPC pipe.   
176.
# The following assumes a "machines" group exists on the system 
177.
; add machine script  = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u 
178.
 
179.
# This allows Unix groups to be created on the domain controller via the SAMR 
180.
# RPC pipe.   
181.
; add group script = /usr/sbin/addgroup --force-badname %g 
182.
 
183.
########## Printing ########## 
184.
 
185.
# If you want to automatically load your printer list rather 
186.
# than setting them up individually then you'll need this 
187.
#   load printers = yes 
188.
 
189.
# lpr(ng) printing. You may wish to override the location of the 
190.
# printcap file 
191.
;   printing = bsd 
192.
;   printcap name = /etc/printcap 
193.
 
194.
# CUPS printing.  See also the cupsaddsmb(8) manpage in the 
195.
# cupsys-client package. 
196.
;   printing = cups 
197.
;   printcap name = cups 
198.
 
199.
############ Misc ############ 
200.
 
201.
# Using the following line enables you to customise your configuration 
202.
# on a per machine basis. The %m gets replaced with the netbios name 
203.
# of the machine that is connecting 
204.
;   include = /home/samba/etc/smb.conf.%m 
205.
 
206.
# Most people will find that this option gives better performance. 
207.
# See smb.conf(5) and /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/speed.html 
208.
# for details 
209.
# You may want to add the following on a Linux system: 
210.
#         SO_RCVBUF=8192 SO_SNDBUF=8192 
211.
#   socket options = TCP_NODELAY 
212.
 
213.
# The following parameter is useful only if you have the linpopup package 
214.
# installed. The samba maintainer and the linpopup maintainer are 
215.
# working to ease installation and configuration of linpopup and samba. 
216.
;   message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' & 
217.
 
218.
# Domain Master specifies Samba to be the Domain Master Browser. If this 
219.
# machine will be configured as a BDC (a secondary logon server), you 
220.
# must set this to 'no'; otherwise, the default behavior is recommended. 
221.
#   domain master = auto 
222.
 
223.
# Some defaults for winbind (make sure you're not using the ranges 
224.
# for something else.) 
225.
;   idmap uid = 10000-20000 
226.
;   idmap gid = 10000-20000 
227.
;   template shell = /bin/bash 
228.
 
229.
# The following was the default behaviour in sarge, 
230.
# but samba upstream reverted the default because it might induce 
231.
# performance issues in large organizations. 
232.
# See Debian bug #368251 for some of the consequences of *not* 
233.
# having this setting and smb.conf(5) for details. 
234.
;   winbind enum groups = yes 
235.
;   winbind enum users = yes 
236.
 
237.
# Setup usershare options to enable non-root users to share folders 
238.
# with the net usershare command. 
239.
 
240.
# Maximum number of usershare. 0 (default) means that usershare is disabled. 
241.
;   usershare max shares = 100 
242.
 
243.
#======================= Share Definitions ======================= 
244.
 
245.
 
246.
[printers] 
247.
	guest ok = yes 
248.
	create mask = 0700 
249.
	comment = All Printers 
250.
	printable = yes 
251.
	writable = yes 
252.
	path = /var/spool/samba 
253.
 
254.
# Windows clients look for this share name as a source of downloadable 
255.
# printer drivers 
256.
[print$] 
257.
   comment = Printer Drivers 
258.
   path = /var/lib/samba/printers 
259.
   browseable = yes 
260.
   read only = no 
261.
   guest ok = yes 
262.
# Uncomment to allow remote administration of Windows print drivers. 
263.
# You may need to replace 'lpadmin' with the name of the group your 
264.
# admin users are members of. 
265.
# Please note that you also need to set appropriate Unix permissions 
266.
# to the drivers directory for these users to have write rights in it 
267.
;   write list = root, @lpadmin 
268.
 
269.
# A sample share for sharing your CD-ROM with others. 
270.
;[cdrom] 
271.
;   comment = Samba server's CD-ROM 
272.
;   read only = yes 
273.
;   locking = no 
274.
;   path = /cdrom 
275.
;   guest ok = yes 
276.
 
277.
# The next two parameters show how to auto-mount a CD-ROM when the 
278.
#	cdrom share is accesed. For this to work /etc/fstab must contain 
279.
#	an entry like this: 
280.
281.
#       /dev/scd0   /cdrom  iso9660 defaults,noauto,ro,user   0 0 
282.
283.
# The CD-ROM gets unmounted automatically after the connection to the 
284.
285.
# If you don't want to use auto-mounting/unmounting make sure the CD 
286.
#	is mounted on /cdrom 
287.
288.
;   preexec = /bin/mount /cdrom 
289.
;   postexec = /bin/umount /cdrom 
290.
 
291.
 
292.
[Hp] 
293.
	printer = Deskjet_F4200_series 
294.
	comment = mh 
295.
	writeable = yes 
296.
	printing = cups 
297.
	printable = yes 
298.
	public = yes 
299.
	path = /var/spool/samba 
300.
 
301.
[Dateien] 
302.
	comment = Nur Download kein Upload 
303.
	writeable = yes 
304.
	path = /LAN/Dateien 
305.
 
306.
[Filesharing] 
307.
	comment = Download und Upload 
308.
	delete readonly = yes 
309.
	writeable = yes 
310.
	public = yes 
311.
	path = /LAN/Filesharing
Mitglied: kopie0123
05.10.2009 um 01:34 Uhr
hm... Ist in diesem Forum eigentlich Platz für ###s? (siehe Desktop...)


###: leute die rechte Musik hören...
Bitte warten ..
Mitglied: jobi05
05.10.2009 um 12:03 Uhr
hm... Ist in diesem Forum eigentlich Platz für Leute die sachlich bleiben und nicht meinen Desktop nach auffälligkeiten durchstöbern?
Bitte warten ..
Mitglied: 2hard4you
05.10.2009 um 22:28 Uhr
Zitat von jobi05:
hm... Ist in diesem Forum eigentlich Platz für Leute die sachlich
bleiben und nicht meinen Desktop nach auffälligkeiten
durchstöbern?

aber sicher

Nur ist Helfen nicht Pflicht....

24
Bitte warten ..
Mitglied: jobi05
06.10.2009 um 00:01 Uhr
Zitat von 2hard4you:

aber sicher

Nur ist Helfen nicht Pflicht....

Sinn des Forums ist aber auch nicht dumme Kommentare zu Posten also bitte zurück zum Thema
Bitte warten ..
Mitglied: jobi05
06.10.2009 um 00:05 Uhr
Bitte warten ..
Neuester Wissensbeitrag
Internet

Unbemerkt - Telekom Netzumschaltung! - BNG - Broadband Network Gateway

(3)

Erfahrungsbericht von ashnod zum Thema Internet ...

Ähnliche Inhalte
Debian
Debian 8, SSH Logging, Popuser-Meldung und rkhunter Problem (5)

Frage von d4shoerncheN zum Thema Debian ...

Multimedia & Zubehör
gelöst BENQ Beamer Fernbedingung Frequenz Problem (4)

Frage von xbast1x zum Thema Multimedia & Zubehör ...

Windows Server
Google Chrome Web Store Problem auf Terminal Farm

Frage von dakoerry zum Thema Windows Server ...

Debian
Debian 8.6 Absichern? (11)

Frage von Motte990 zum Thema Debian ...

Heiß diskutierte Inhalte
Switche und Hubs
Trunk für 2xCisco Switch. Wo liegt der Fehler? (17)

Frage von JayyyH zum Thema Switche und Hubs ...

Windows Server
Outlook Verbindungsversuch mit Exchange (15)

Frage von xbast1x zum Thema Windows Server ...

DSL, VDSL
DSL-Signal bewerten (14)

Frage von SarekHL zum Thema DSL, VDSL ...