[Samba] Strange error messages

Fabio Corazza corazza at prosa.com
Mon Jan 27 10:16:01 GMT 2003


Hello,

I've configured a small Linux box just for sharing
some disks and route the traffic across two networks.

This works fine, since Samba can join the domain of
my NT4 PDC by Winbind.

But I get those strange error messages on my logs,
even if all seems to work correctly.

This seems regarding to winbindd:

Jan 27 11:03:25 wanda winbindd[1015]: [2003/01/27 11:03:25, 0]
nsswitch/winbindd_sid.c:winbindd_lookupname(89)
Jan 27 11:03:25 wanda winbindd[1015]:   could not find domain entry for
domain 'PROSADOM
Jan 27 11:03:25 wanda winbindd[1015]: [2003/01/27 11:03:25, 0]
nsswitch/winbindd_group.c:winbindd_getgrnam(210)
Jan 27 11:03:25 wanda winbindd[1015]:   could not get domain sid for domain
'PROSADOM
Jan 27 11:03:25 wanda smbd[1492]: [2003/01/27 11:03:25, 0]
lib/username.c:user_in_winbind_group_list(356)
Jan 27 11:03:25 wanda smbd[1492]:   user_in_winbind_group_list:
winbind_lookup_name for group 'PROSADOM+Domain failed.
Jan 27 11:03:25 wanda winbindd[1015]: [2003/01/27 11:03:25, 0]
nsswitch/winbindd_group.c:winbindd_getgrnam(210)
Jan 27 11:03:25 wanda winbindd[1015]:   could not get domain sid for domain
'PROSADOM

This to CUPS:

Jan 27 10:48:28 wanda smbd[2669]: [2003/01/27 10:48:28, 0]
printing/print_cups.c:cups_printername_ok(290)
Jan 27 10:48:28 wanda smbd[2669]:   Unable to get printer status for archivi
- client-error-not-found
Jan 27 10:48:28 wanda smbd[2669]: [2003/01/27 10:48:28, 0]
smbd/service.c:make_connection(251)
Jan 27 10:48:28 wanda smbd[2669]:   piggy (192.168.1.3) couldn't find
service archivi
Jan 27 10:48:29 wanda smbd[2669]: [2003/01/27 10:48:29, 0]
printing/print_cups.c:cups_printername_ok(290)
Jan 27 10:48:29 wanda smbd[2669]:   Unable to get printer status for archivi
- client-error-not-found
Jan 27 10:48:29 wanda smbd[2669]: [2003/01/27 10:48:29, 0]
smbd/service.c:make_connection(251)
Jan 27 10:48:29 wanda smbd[2669]:   piggy (192.168.1.3) couldn't find
service archivi
Jan 27 10:48:29 wanda smbd[2669]: [2003/01/27 10:48:29, 0]
printing/print_cups.c:cups_printername_ok(290)
Jan 27 10:48:29 wanda smbd[2669]:   Unable to get printer status for archivi
- client-error-not-found
Jan 27 10:48:29 wanda smbd[2669]: [2003/01/27 10:48:29, 0]
smbd/service.c:make_connection(251)
Jan 27 10:48:29 wanda smbd[2669]:   piggy (192.168.1.3) couldn't find
service archivi

But, I repeat, sharing and printing behave correctly.
Also the permissions on my shared folders are right.

My actual configuration on this box is Samba 2.2.7a
+ CUPS 1.1.18 on RedHat 7.2

Some configuration files are explained below:

## smb.conf
[global]
   workgroup = PROSADOM
   server string = %h server (Samba %v)
   printing = yes
   printcap name = cups
   load printers = yes
   log file = /var/log/samba/log.%m
   max log size = 50
   security = domain
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   interfaces = 127.0.0.1 192.168.1.10
   bind interfaces only = yes
   dns proxy = no
winbind separator = +
winbind uid = 10000-20000
winbind gid = 10000-20000
template homedir = /home/winnt/%D/%U
template shell = /bin/bash

[homes]
   comment = Home Directories
   browseable = no
   writable = no
   create mask = 0700
   directory mask = 0700

[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   guest ok = no
   writable = no
   printable = yes
   printer admin = Administrator
   show add printer wizard = yes

[print$]
   comment = Printer Drivers
   path = /etc/samba/drivers
   browseable = yes
   guest ok = no
   read only = yes
   write list = root

[PDFWriter]
   comment = PDF Distiller
   path = /tmp
   printable = yes
   browseable = yes
   guest ok = no

[archivio]
   comment = Archivio File
   path = /workspace/archivio
   writable = yes
   browseable = yes
   guest ok = no
   create mask = 0664
   directory mask = 0775
   write list = @'PROSADOM+Domain Users'

## nsswitch.conf
passwd:     files winbind nisplus
shadow:     files nisplus
group:      files winbind nisplus

## /etc/pam.d/samba
auth       required     pam_nologin.so
auth       sufficient   pam_winbind.so
auth       required     pam_stack.so service=system-auth
account    required     pam_stack.so service=system-auth
session    required     pam_mkhomedir.so  skel=/etc/skel  umask=0002
session    required     pam_stack.so service=system-auth
password   required     pam_stack.so service=system-auth

-- 
Fabio Corazza - Prosa s.r.l.
Via Polanzani, 74 - 30033 Noale Venice - Italy
Phone: +39.041.5897009 - e-mail: corazza at prosa.com



More information about the samba mailing list