I don’t see anything glaringly wrong with your smb.com. My guess would be that you either forgot to create the machine account on the samba server for the w2k machine, or you’re trying to join the domain as a user without the authority to do so from the win2k machine.
to check if the machine account exists:
cat /etc/passwd | grep -e “w$:.*”
look for the name of the win2k machine followed by a “$”
if you don’t see it there:
# useradd machinename -d /dev/null -s /bin/false
locate the machine username and append the $ to the end of it (RHEL won’t let you create a user with a dollar sing in it) so you have an entry like:
# smbpasswd -a -m machinename
leave off the dollar sign
restart samba – just to be sure, you probably don’t really have to.
As to actually joining your domain, I don’t see where you have an admin user defined, so you’ll have to join the domain from the win2k machine as root (that is – the samba server’s root user – this is generally not a good idea, I usually define a user just for this task)