Toon posts:

[redhat 9] printerserver samba

Pagina: 1
Acties:

Verwijderd

Topicstarter
Hallo,
Ik zit hier nu al een eindje te zoeken hoe ik men hp laserjet 5L op men linuxbak moet gaan delen zodanig dat ik vanuit win NT en win XP kan gaan printen.

Windows XP vind wel degelijk mijn printer, maar reclameert dat er een onjuiste driver geinstalleerd staat op de server. Vanuit linux kan ik wel printen.

Ligt dit aan een verkeerde configuratie van smb.conf?? of is er weldegelijk een compatibiliteitsprobleem tussen de drivers??

smb.conf:
(ik heb gewoon de standaard smb.conf file gebruikt, hier en daar wat aangepast. Heb hem wel wat opgekuist om te posten - alles die nergens toe doet weg gedaan)

[global]

# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = Hobasbenelux

# server string is the equivalent of the NT Description field
server string = LVC-fileserver


# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
printcap name = /etc/printcap
load printers = yes

# It should not be necessary to spell out the print system type unless
# yours is non-standard. Currently supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx, cups
printing = cups


# this tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/%m.log

# Put a capping on the size of the log files (in Kb).
max log size = 0

# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = user


# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd


# The following are needed to allow password changing from Windows to
# update the Linux system password also.
# NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above.
# NOTE2: You do NOT need these to allow workstations to change only
# the encrypted SMB passwords. They allow the Unix password
# to be kept in sync with the SMB password.
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*

# You can use PAM's password change control flag for Samba. If
# enabled, then PAM will be used for password changes when requested
# by an SMB client instead of the program listed in passwd program.
# It should be possible to enable this without changing your passwd
# chat parameter for most setups.

pam password change = yes

# This parameter will control whether or not Samba should obey PAM's
# account and session management directives. The default behavior is
# to use PAM for clear text authentication only and to ignore any
# account or session management. Note that Samba always ignores PAM
# for authentication in the case of encrypt passwords = yes

obey pam restrictions = yes

# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192


# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The built-in default for versions 1.9.17 is yes,
# this has been changed in version 1.9.18 to no.
dns proxy = no


[homes]
comment = Home Directories
browseable = yes
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = yes
writable = no
printable = yes


[public]
path = /home/
public = yes
only guest = yes
writable = yes
printable = yes

  • Gomez12
  • Registratie: Maart 2001
  • Laatst online: 17-10-2023
Onjuiste driver op server klopt, omdat er geen driver staat. Je moet gewoon op ok klikken en dan los de driver erbij installen. Je kan het ook automatisch doen, maar dat is vrij veel werk.

Verwijderd

Topicstarter
Da was inderdaad het probleem, khad da al gedaan maar dan lukte het me niet om te printen, acces denied enzo...
kheb in smb.conf een regeltje toegevoegd: netbios name = ... en dan lukte het wel

toch bedankt e ;)