[Samba] Asking for messages in log files.
Meli Marco
Marco.Meli at gknsintermetals.com
Wed Apr 6 08:52:18 GMT 2005
Hi,
I running samba 3.0.13 on RH9, and share a folder in a mix network
workstations (W2k, DOS, Win98SE, NT4) and I have set following smb.conf
file:
netbios name = NETBIOSNAME
os level = 16
wins server = 10.90.17.80
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE
workgroup = DOMAIN
realm = DOMAIN.COM
security = ADS
password server = kdcsrv.sinter.gkn.com
encrypt passwords = yes
# null passwords = yes
# auth methods = guest sam_ignoredomain winbind:ntdomain
allow trusted domains = Yes
winbind use default domain = Yes
winbind separator = /
winbind enum users = Yes
winbind enum groups = yes
idmap uid = 10000-100000
idmap gid = 10000-100000
hide unreadable = Yes
template homedir = /data/user/%U
template shell = /bin/false
use sendfile = No
printer admin = ***
admin users = ***
log file = /var/log/samba/log.%m
log level = 1 auth:5 sam:5
max log size = 50
printing = cups
printcap name = cups
load printers = Yes
map acl inherit = Yes
nt acl support = Yes
Yesterday some local users doesn't login on the samba share, if I get in the
window property panel I have noticed that these users was replaced by others
(maybe id mapping problem) so I decided to relocate them on Windows 2003,
delete them by the smbpasswd file and /etc/smbpasswd, run tdbbackup tool and
disable auth methods option (no more local users authentication).
Today everithing seems works fine but I have stranges messages by winbind
and smbd log file again:
Tail -f /var/log/samba/log.winbindd:
[2005/04/06 10:29:53, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(161)
user 'MILSALHP2200D_1' does not exist <-
this is a printer!
[2005/04/06 10:33:01, 1] nsswitch/winbindd_sid.c:winbindd_gid_to_sid(474)
Could not convert gid 24329 to sid
Tail -f /var/log/samba/log.smbd:
[2005/04/06 08:33:57, 0] lib/util_sock.c:get_peer_addr(1150)
getpeername failed. Error was Transport endpoint is not connected
[2005/04/06 08:58:21, 0] lib/util_sock.c:get_peer_addr(1150)
getpeername failed. Error was Transport endpoint is not connected
How can I fix it?
Thanks.
Marco.
More information about the samba
mailing list