Setting up Samba

Adam Getchell
Wed, 25 Aug 1999 00:25:23 -0000

Hello all,

I've set perms on /home/samba/private and /home/samba/private/smbpasswd, and
made smbpasswd with the script. I'm on the third step of the diagnostic test
at
http://us1.samba.org/samba/docs/DIAGNOSIS.html and I'm getting this error
message right after I enter root or user password (doesn't matter which):

session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a
Tree Connect

According to the docs:

"If you get a error message containing the string "Bad password"
then
you probably have either an incorrect "hosts allow", "hosts
deny" or
"valid users" line in your smb.conf, or your guest account is not
valid. Check what your guest account is using "testparm" and
temporarily remove any "hosts allow", "hosts deny",
"valid users" or
"invalid users" lines."

Now, having run testparm I have these lines:

      "guest account = nobody
        invalid users         valid users         guest only = No
        guest ok = No
        only user = No
        hosts allow         hosts deny =Y"

So I think my guest account is the culprit. In /etc/smb.conf there's the
guest=pcguest which is currently commented out.

Now, to get around having to sync passwords between *nix and NT, I'm trying
to
follow the directions given in DOMAIN_MEMBER.txt. Unfortunately, I get this
result:

[root@hapkido samba]# smbpasswd -j HR -r DYLAN
cli_net_auth2: Error NT_STATUS_NO_TRUST_SAM_ACCOUNT
cli_nt_setup_creds: auth2 challenge failed
modify_trust_password: unable to setup the PDC credentials to machine DYLAN.
Error was : NT_STATUS_NO_TRUST_SAM_ACCOUNT.
1999/08/24 17:46:28 : change_trust_account_password: Failed to change password
for domain HR.
Unable to join domain HR.

However, my samba server appears fine in Server Manager on NT.

Any tips to untangle this?

Thanks,

 --
****************
*	Adam Getchell
*	acgetchell@ucdavis.edu
****************
"Invincibility is in oneself, vulnerability in the opponent." -- Sun
Tzu