samba

bridged with qdn.public.ddk.network
Post Reply
pkinc

samba

Post by pkinc » Mon Nov 25, 2002 1:44 pm

Hi,

I have a problem with setting samba server for print.
I need to print from qnx on remote printer connected to win2000. I have installed Samba 2.2.3.
There are my smb.conf:
[global]
workgroup = 540
server string = JordanBohinovsky
log file = /opt/var/samba/logs/log.%m
max log size = 50
share modes = yes
encrypt passwords = yes
wins support = yes
printcap name = /opt/etc/printcap
load printers = yes

[homes]
comment = Home Directories
browseable = no
writable = yes

[printers]
comment = tiskarny
browseable = yes
printable = yes
public = yes
guest ok = yes
writable = no
printable = yes

if i write command: " $smbclient -L //remotemachine
i have got this output:
Unknown parameter encountered: "
printcap name"
Ignoring unknown parameter "
printcap name"
params.c:Parameter() - Ignoring badly formed line in configuration file:
params.c:Parameter() - Ignoring badly formed line in configuration file:
params.c:Parameter() - Ignoring badly formed line in configuration file:
added interface ip=192.168.0.184 bcast=192.168.1.255 nmask=255.255.254.0
Got a positive name query response from 192.168.0.185 ( 192.168.0.185 )
Domain=[540] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]

Sharename Type Comment
--------- ---- -------
sambatisk Disk
Sdileni Disk
canon Printer canon

Server Comment
--------- -------

Workgroup Master
--------- -------

The printcap file i have in /opt/etc but i don't know how to setup this file. I have red about another important file ".config" but i don't how to setup it.

note: communication between both computers is function. I see qnx shared directories in windows

please help

Post Reply

Return to “qdn.public.ddk.network”