Can't resolve address
Chris Hoogendyk
choogend at library.umass.edu
Thu Jul 8 18:24:33 GMT 1999
I hope this is simple, but it has temporarily stumped me.
I got Samba2.0.4b running from scratch on a Sun Enterprise Server 250
under Solaris 7 yesterday. Added it to an NT domain, joined the domain,
browse & mount shares from NT workstations, and so on.
Today, I needed to get our Webserver, a DEC Alpha, updated from an older
version of Samba. I got 2.0.4b, backed up Samba (cp, not mv), did the
configure, make, make install, etc. copied smb.conf from the Sun and
then modified it, tried to join the NT domain, and got stuck.
First, I got the following:
# ./smbpasswd -j libstaff -r umalstf1
trust_password_lock: cannot open file /usr/local/samba/private/
LIBSTAFF.ICEBERG.mac - Error was No such file or directory.
Unable to open the machine account password file for machine ICEBERG
in domain LIBSTAFF.
So I looked and found that the private directory did not exist. I
created it as follows within the samba directory:
drwx------ 2 root system 8192 Jul 8 13:50 private
and tried again. also added a user to make sure it was happy with the directory.
now, I'm getting:
# ./smbpasswd -j LIBSTAFF -r UMALSTF1
modify_trust_password: Can't resolve address for UMALSTF1
1999/07/08 13:50:56 : change_trust_account_password: Failed to change
password for domain LIBSTAFF.
Unable to join domain LIBSTAFF.
This is our web server. People from all over are hitting it and would
complain if it weren't online. I can go to it across the net. I can go
out from it across the net. So I don't see how it can be a network
thing. I thought it might be a memory thing with NT -- perhaps it cached
the key information from the first join, but iceberg failed to save it
because the private directory wasn't there. So now iceberg can't
renegotiate it.
I've removed iceberg from the domain in server manager on NT. I've added
it again. I've removed it, shutdown the NT workstation I was running
server manager from, restarted, added again. But I keep getting this
same error.
What am I missing???
I've pasted my smb.conf file at the end.
---------------
Chris Hoogendyk
Network Specialist, Library Systems Office
W.E.B. Du Bois Library
University of Massachusetts, Amherst
<choogend at library.umass.edu>
---------------
# cat lib/smb.conf
# Entire following copied & then edited from Images 7/8/99 cgh
# (can't login remote as root to run SWAT on Iceberg)
#
# Samba config file created using SWAT
# from ufo.library.umass.edu (128.119.168.25)
# Date: 1999/07/07 14:10:16
# Global parameters
[global]
workgroup = LIBSTAFF
netbios name = ICEBERG
interfaces = 128.119.168.69/255.255.254.0
security = DOMAIN
encrypt passwords = Yes
password server = UMALSTF1 UMALSTF2
wins server = 128.119.166.43 128.119.166.143
create mask = 0664
directory mask = 2775
hosts allow = 128.119.168. 128.119.169. 128.119.170.
128.119.171. 127.0.
0.1
[webroot]
path = /usr/local/etc/httpd/htdocs
read only = No
[subject]
path = /usr/local/etc/httpd/htdocs/subject
read only = No
[homes]
writeable = yes
-----the Sun smb.conf is as follows (and works)------
# cat lib/smb.conf
# Samba config file created using SWAT
# from ufo.library.umass.edu (128.119.168.25)
# Date: 1999/07/07 14:10:16
# Global parameters
[global]
workgroup = LIBSTAFF
netbios name = IMAGES
interfaces = 128.119.168.97/255.255.252.0
security = DOMAIN
encrypt passwords = Yes
password server = UMALSTF1 UMALSTF2
wins server = 128.119.166.43 128.119.166.143
create mask = 0664
directory mask = 2775
hosts allow = 128.119.168. 128.119.169. 128.119.170. 128.119.171.
[shared]
path = /export/home/shared
read only = No
------note------
yep. the subnet masks are different for the two unix servers. one is
older, and we have expanded our subnets in the last year. the NT server
is 128.119.168.100, so it is in the same subnet as iceberg.
More information about the samba
mailing list