F2B
21.10.05, 15:13
Hallo Leute,
ich bin gerade dabei in meiner bestehenden Sambakonfiguration einen Printserver zu installieren. Also Cups ist installiert und druckt auch einwandfrei. Zumindest die Testseite :lol:
Bin jetzt dabei laut diesem Wiki ( http://www.debianforum.de/wiki/SambaPrintserver ) Cups in Samba einzubinden. Bis zu de Punkt wo man den Druckertreiber für Windwows runterladen und installieren muss, funktioniert alles.
Also zumindest starte ich mit ./cups-samba.install die Treiberinstallation die auch ohne Fehlermeldung abgeschlossen wird:
Do you agree with the terms of this license? yes
Removing old versions of cups-samba software...
Copyright 1993-2003 by Easy Software Products, All Rights Reserved.
Removing/restoring installed files...
Checking configuration files...
Removal is complete.
Backing up old versions of shared files to be installed...
Installing software...
Updating file permissions...
Running post-install commands...
Installation is complete.
Danach lege ich mit smbpasswd -a root den User root als Samba-User fest:
debian-server:/tmp# smbpasswd -a root
New SMB password:
Retype new SMB password:
Jetzt kommt mein Problem. Wenn ich nun mit cupsaddsmb -v -a die Treiber für windows bereitstellen möchte kommt folgende Fehlermeldung:
debian-server:/tmp# cupsaddsmb -v -a
Password for root required to access localhost via SAMBA:
Running command: rpcclient localhost -N -U'root%meinpwd' -c 'setdriver CanonBJC240 CanonBJC240'
failed tcon_X with NT_STATUS_ACCESS_DENIED
Cannot connect to server. Error was NT_STATUS_ACCESS_DENIED
Password for root required to access localhost via SAMBA:
Da ich mal denke, dass die smb.conf vielleicht auch interessant ist, poste ich die hier auch mal:
# Global parameters
[global]
log file = /var/log/samba/log.%m
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spa$
include = /etc/samba/dhcp.conf
admin users = root, f2b
obey pam restrictions = Yes
domain master = No
null passwords = Yes
passdb backend = tdbsam, guest
passwd program = /usr/bin/passwd %u
dns proxy = No
netbios name = server
netbios aliases =
server string = %h server (Samba %v)
default = homes
unix password sync = Yes
local master = No
workgroup = Master
os level = 20
valid users = f2b
security = user
syslog = 0
panic action = /usr/share/samba/panic-action %d
preferred master = yes
#load printers = yes
printing = cups
printcap name = cups
guest account = printuser
map to guest = Bad User
[printers]
path = /var/spool/samba
browseable = no
guest ok = yes
writable = no
printable = yes
printer admin = root, @ntadmin
[print$]
#Windows clients laden von dieser Freigabe Treiber herunter
path = /etc/samba/drivers
browseable = yes
guest ok = yes
read only = yes
write list = root, @ntadmin
[Debian]
comment = Daten
path = /Netz
read only = no
force creetae mode = 0777
force directory mode = 0777
public = no
guest = no
Hilfeeee....... was läuft da schief? Ich hoffe, es kann mir bitte einer von Euch helfen.
Cu
F2B
ich bin gerade dabei in meiner bestehenden Sambakonfiguration einen Printserver zu installieren. Also Cups ist installiert und druckt auch einwandfrei. Zumindest die Testseite :lol:
Bin jetzt dabei laut diesem Wiki ( http://www.debianforum.de/wiki/SambaPrintserver ) Cups in Samba einzubinden. Bis zu de Punkt wo man den Druckertreiber für Windwows runterladen und installieren muss, funktioniert alles.
Also zumindest starte ich mit ./cups-samba.install die Treiberinstallation die auch ohne Fehlermeldung abgeschlossen wird:
Do you agree with the terms of this license? yes
Removing old versions of cups-samba software...
Copyright 1993-2003 by Easy Software Products, All Rights Reserved.
Removing/restoring installed files...
Checking configuration files...
Removal is complete.
Backing up old versions of shared files to be installed...
Installing software...
Updating file permissions...
Running post-install commands...
Installation is complete.
Danach lege ich mit smbpasswd -a root den User root als Samba-User fest:
debian-server:/tmp# smbpasswd -a root
New SMB password:
Retype new SMB password:
Jetzt kommt mein Problem. Wenn ich nun mit cupsaddsmb -v -a die Treiber für windows bereitstellen möchte kommt folgende Fehlermeldung:
debian-server:/tmp# cupsaddsmb -v -a
Password for root required to access localhost via SAMBA:
Running command: rpcclient localhost -N -U'root%meinpwd' -c 'setdriver CanonBJC240 CanonBJC240'
failed tcon_X with NT_STATUS_ACCESS_DENIED
Cannot connect to server. Error was NT_STATUS_ACCESS_DENIED
Password for root required to access localhost via SAMBA:
Da ich mal denke, dass die smb.conf vielleicht auch interessant ist, poste ich die hier auch mal:
# Global parameters
[global]
log file = /var/log/samba/log.%m
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spa$
include = /etc/samba/dhcp.conf
admin users = root, f2b
obey pam restrictions = Yes
domain master = No
null passwords = Yes
passdb backend = tdbsam, guest
passwd program = /usr/bin/passwd %u
dns proxy = No
netbios name = server
netbios aliases =
server string = %h server (Samba %v)
default = homes
unix password sync = Yes
local master = No
workgroup = Master
os level = 20
valid users = f2b
security = user
syslog = 0
panic action = /usr/share/samba/panic-action %d
preferred master = yes
#load printers = yes
printing = cups
printcap name = cups
guest account = printuser
map to guest = Bad User
[printers]
path = /var/spool/samba
browseable = no
guest ok = yes
writable = no
printable = yes
printer admin = root, @ntadmin
[print$]
#Windows clients laden von dieser Freigabe Treiber herunter
path = /etc/samba/drivers
browseable = yes
guest ok = yes
read only = yes
write list = root, @ntadmin
[Debian]
comment = Daten
path = /Netz
read only = no
force creetae mode = 0777
force directory mode = 0777
public = no
guest = no
Hilfeeee....... was läuft da schief? Ich hoffe, es kann mir bitte einer von Euch helfen.
Cu
F2B