[Samba] Linux share Samba access error

jbk jbk at mail2.gis.net
Sat Feb 2 20:30:04 GMT 2002


I have been using Samba for 2 Years w/o any
noticeable problems until this latest installation
on a RH7.2.

######################################################

This file generated for trouble shooting purposes.

Problem: Samba is not allowing share access on
win98. Access is allowed from NT.
############-Symptom-#################################

# smbclient -L bagend -U Dad
added interface ip=10.251.227.4
bcast=10.255.255.255 nmask=255.0.0.0
Password:
session setup failed: ERRSRV - ERRbadpw (Bad
password - name/password pair in a Tree Connect or
Session Setup are invalid.)
############################################################

Checking network configuration.
############################################################

# cat /etc/services

ntp  123/udp    # Network Time Protocol
netbios-ns 137/tcp    # NETBIOS Name Service
netbios-ns 137/udp
netbios-dgm 138/tcp    # NETBIOS Datagram Service
netbios-dgm 138/udp
netbios-ssn 139/tcp    # NETBIOS session service
netbios-ssn 139/udp
imap  143/tcp  imap2  # Interim Mail Access Proto
v2

############################################################

# tail /var/log/messages
Feb  2 02:23:16 bagend gnome-name-server[2421]:
starting
Feb  2 02:23:16 bagend gnome-name-server[2420]:
starting
Feb  2 02:23:17 bagend gnome-name-server[2420]:
name server starting
Feb  2 02:23:17 bagend gnome-name-server[2421]:
name server was running on display, exiting
Feb  2 02:25:13 bagend su(pam_unix)[2489]: session
opened for user root by Dad(uid=500)
Feb  2 02:32:30 bagend smb: smbd shutdown
succeeded
Feb  2 02:32:31 bagend smb: nmbd shutdown
succeeded
Feb  2 02:32:31 bagend smb: smbd startup succeeded

Feb  2 02:32:31 bagend smb: nmbd startup succeeded

Feb  2 04:02:05 bagend syslogd 1.4.1: restart.

############################################################

log.bagend

[2002/01/31 22:21:42, 0]
smbd/password.c:domain_client_validate(1563)
  domain_client_validate: could not fetch trust
account password for domain KR
[2002/01/31 22:26:18, 0]
smbd/password.c:domain_client_validate(1563)
  domain_client_validate: could not fetch trust
account password for domain KR
[2002/02/02 02:46:33, 0]
smbd/password.c:domain_client_validate(1563)
  domain_client_validate: could not fetch trust
account password for domain KR
[2002/02/02 13:28:49, 0]
smbd/password.c:domain_client_validate(1563)
  domain_client_validate: could not fetch trust
account password for domain KR

############################################################

log.kelly-rand

[2002/02/01 22:41:29, 0]
smbd/password.c:domain_client_validate(1563)
  domain_client_validate: could not fetch trust
account password for domain KR
[2002/02/01 22:41:29, 0]
passdb/smbpass.c:startsmbfilepwent_internal(87)
  startsmbfilepwent_internal: unable to open file
/usr/local/etc/private/smbpasswd. Error was No
such file or directory
[2002/02/01 22:41:29, 0]
passdb/smbpass.c:iterate_getsmbpwnam(1282)
  unable to open smb password database.
[2002/02/01 22:41:29, 0]
passdb/smbpass.c:startsmbfilepwent_internal(87)
  startsmbfilepwent_internal: unable to open file
/usr/local/etc/private/smbpasswd. Error was No
such file or directory
[2002/02/01 22:41:29, 0]
passdb/smbpass.c:iterate_getsmbpwnam(1282)
  unable to open smb password database.
[2002/02/02 13:53:29, 0]
smbd/password.c:domain_client_validate(1563)
  domain_client_validate: could not fetch trust
account password for domain KR

############################################################

log.sped

[2002/02/02 21:59:28, 0]
smbd/password.c:domain_client_validate(1563)
  domain_client_validate: could not fetch trust
account password for domain KR

############################################################

smb.conf
[global]
 workgroup = kr
 hosts allow = 10.251.227. 127.
 load printers = yes
 log file = /var/log/samba/log.%m
 max log size = 50
 security = user
 security = domain
 socket options = TCP_NODELAY
# allow encrypted passwords
 smb passwd file =
/usr/local/etc/private/smbpasswd
       update encrypted = no
      encrypt passwords = yes
# Win the browser election
# local master = yes
#      preferred master = yes
# os level = 18
# No printers to share as of 011202






More information about the samba mailing list