smbpasswd
MCCALL,DON (HP-USA,ex1)
don_mccall at hp.com
Wed Apr 11 21:56:59 GMT 2001
Hi mjs,
If the table you show is from nbtstat -n on your win2k domain controller,
then digicon would be your domain controller name and DIGITALCONSCIOU would
be the domain name; so the smbpasswd command to join your samba server would
be
smbpasswd -j digitalconsciou -r digicon
as you suspected.
in your smb.conf file you should have in the global section:
netbios name = (whatever you named your samba server)
security = domain
encrypt passwords = yes
workgroup = digitalconsciou
password server = * or digicon
When you add the computer account to the win2k domain, of course use
whatever name
your smb.conf "netbios name=" parameter specifies.
Another thing that is important is when you add the computer account to the
win2k domain,
that you make SURE you check the box that says "Allow pre-Windows 2000
computers to use this account"
You might want to go back into the microsoft management console and remove
the computer account you created and recreate it, and try again.
good luck,
Don
-----Original Message-----
From: mjs [mailto:mjs at digitalconscious.com]
Sent: Wednesday, April 11, 2001 1:22 PM
To: SAMBA
Subject: smbpasswd
im running win2k as a DC and added the computer account for samba,..but i
need to know what my netbios name and DC name is for the command smbpasswd
here is the table,..which is the netbios and DC named for my comp??
Name Type Status
---------------------------------------------
DIGICON <00> UNIQUE Registered
DIGICON <20> UNIQUE Registered
DIGITALCONSCIOU<00> GROUP Registered
DIGITALCONSCIOU<1C> GROUP Registered
DIGITALCONSCIOU<1B> UNIQUE Registered
DIGICON <03> UNIQUE Registered
DIGICON$ <03> UNIQUE Registered
DIGITALCONSCIOU<1E> GROUP Registered
DIGITALCONSCIOU<1D> UNIQUE Registered
..__MSBROWSE__.<01> GROUP Registered
ADMINISTRATOR <03> UNIQUE Registered
Im only guessing here,..but is this correct
smbpasswd -j DIGITALCONSCIOU -r digicon
because it dosen't seem to work properly...
this is the error i get when running the above command line
/root]# smbpasswd -j digitalconsciou -r digicon
cli_net_auth2: Error NT_STATUS_ACCESS_DENIED
cli_nt_setup_creds: auth2 challenge failed
modify_trust_password: unable to setup the PDC credentials to machine
DIGICON. Error was : NT_STATUS_ACCESS_DENIED.
2001/04/08 11:50:05 : change_trust_account_password: Failed to change
password for domain DIGITALCONSCIOU.
Unable to join domain DIGITALCONSCIOU.
or is this another issue
Thanks,
any help is much appreciated
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.247 / Virus Database: 120 - Release Date: 4/6/2001
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list