Toon posts:

[Debian] Samba - Cups probleem met SetDriver

Pagina: 1
Acties:

Verwijderd

Topicstarter
Ok, ik heb een debian distro 3.1 en samba + cups werkt perfect, alleen nu wil ik de printer driver ook meegeven via de printserver. Alleen krijg ik deze error, als ik setdriver wil doen of getprinter wil doen via het rpcclient programma:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/:#rpcclient vhreve -U'frank%PASSWORD' -N -c 'getprinter hplaserjet_1010' -d3
added interface ip=XXX bcast=XXX nmask=255.255.254.0
added interface ip=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0
lp_load: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
Connecting to host=vhreve
Connecting to 127.0.1.1 at port 445
error connecting to 127.0.1.1:445 (Connection refused)
Connecting to 127.0.1.1 at port 139
Doing spnego session setup (blob length=58)
got OID=1 3 6 1 4 1 311 2 2 10
got principal=NONE
Got challenge flags:
Got NTLMSSP neg_flags=0x608a0235
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x60080215
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x60080215
rpc_pipe_bind: Remote machine vhreve pipe \lsarpc fnum 0x74e6 bind request returned ok.
lsa_io_sec_qos: length c does not match size 8
rpc_pipe_bind: Remote machine vhreve pipe \spoolss fnum 0x74e7 bind request returned ok.
result was WERR_ACCESS_DENIED


mijn smb.conf

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[global]
        workgroup = WERKGROEP
        socket options = IPTOS_LOWDELAY TCP_NODELAY
        printcap name = cups
        security = user
        ldap ssl = no
        admin users = frank
        read only = No
        guest ok = Yes
        hosts allow = 192.168.1.0/255.255.255.0, 127.0.1.1, localhost
        printing = cups
        lpq command = %p
        use client driver = no

[print$]
        comment = Printer Drivers
        path = /etc/samba/printer
        write list = frank
        read only = Yes

[hplaserjet_1010]
        path = /tmp
        valid users = frank
        read only = Yes
        printable = Yes
        hosts allow = 192.168.1.0/255.255.255.0, 127.0.1.1, localhost



Weet iemand wat ik fout doe ? 8)7 |:(