[Samba] troubles with PDC

Michiel_Lange at actuera.nl Michiel_Lange at actuera.nl
Fri Jun 28 04:57:04 GMT 2002


Hello everybody,

I hope somebody can tell me what is going wrong and how it can be fixed.
To be honest:
I have walked through the test document, and smbd and nmbd seem to work
quite properly.
However this is the case:
Recently one of our smb-servers was suffering from a very bad HD. So I took
another and installed linux on it (Slackware 8.1) and took most of the
config files (among which smb.conf) and did some adaptions to make most of
it work.
This is the smb.conf file:
# Global parameters
[global]
        workgroup = ACTUERA.NL
        netbios name = INTRANET
        server string = Samba Server %v
        security = domain
        domain logons = yes
        encrypt passwords = Yes
        password server = stromboli
        unix password sync = Yes
        log file = /var/log/samba/log.%m
        max log size = 50
        socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
        printcap name = lpstat
#       add user script = /usr/sbin/adduser %u
        add user script = /usr/sbin/useradd -d /home/%u %u
        dns proxy = No
#       auto services = printers
#       printing = cups
#       print command = /usr/bin/lp -d%p -oraw %s; rm %s
#       lpq command = /usr/bin/lpstat -o%p
#       lprm command = /usr/bin/cancel %p-%j
#       queuepause command = /usr/bin/disable %p
#       queueresume command = /usr/bin/enable %p

[homes]
        comment = Home Directories
        writeable = Yes
        browseable = No

#[printers]
#       comment = All Printers
#       path = /var/spool/samba
#       create mask = 0700
#       guest ok = Yes
#       printable = Yes
#       print command = lpr-cups -P %p -o raw %s -r      # using client
side printer drivers.
#       lpq command = lpstat -o %p
#       lprm command = cancel %p-%j

#[collection]
#       comment = Collection Share
#       path = /collection
#       force user = nobody
#       admin users = mil, wri
#       writeable = Yes
#       guest only = Yes

[website]
        comment = Acceptation Webserver
        path = /var/www/acc
        valid users = mil, elm, cvh
        admin users = mil, elm, cvh
        force user = apache
        force group = apache
        writeable = Yes
        create mask = 0740
        guest ok = Yes

[intracc]
        comment = Intranet Webserver
        path = /var/www/intranet
        valid users = elm, mil, rbo, mhi, cvh
        admin users = elm, mil, rbo, mhi
        force user = apache
        force group = apache
        writeable = Yes
        create mask = 0740
        guest ok = Yes

[intranet]
        comment = Intranet Webserver
        path = /var/www/html
        valid users = mil, rbo, mhi, admin
        admin users = mil, rbo, mhi, admin
        force user = apache
        force group = apache
        writeable = Yes
        create mask = 0740
        guest ok = Yes

[tmp]
        comment = temporary files
        path = /tmp
        read only = yes

And commented a few things out, to see if the other option would work...
sadly enough it would not :(
It now appears that however I can see the samba server in the network, I
cannot access it, in no way...
The server should synchronize passwords with the PDC (stromboli) (which can
be pinged) but it will not...
Here's a snippet from the log messages I get:

[2002/06/23 09:16:51, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1367)
  unable to open passdb database.
[2002/06/23 09:16:54, 0] smbd/password.c:domain_client_validate(1549)
  domain_client_validate: could not fetch trust account password for domain
ACTU
ERA.NL
[2002/06/23 09:16:54, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1367)
  unable to open passdb database.
[2002/06/23 09:16:54, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1367)
  unable to open passdb database.
[2002/06/23 09:16:56, 0] smbd/password.c:domain_client_validate(1549)
root at intranet:/var/log/samba# tail log.ibmtp-mil
[2002/06/27 10:23:04, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1367)
  unable to open passdb database.
[2002/06/27 10:23:04, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1367)
  unable to open passdb database.
[2002/06/27 10:23:09, 0] smbd/password.c:domain_client_validate(1549)
  domain_client_validate: could not fetch trust account password for domain
ACTUERA.NL
[2002/06/27 10:23:09, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1367)
  unable to open passdb database.
[2002/06/27 10:23:09, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1367)
  unable to open passdb database.

Anyone who can help me out?





More information about the samba mailing list