Samba as a Domain Member

Mike Kennedy mikek at syrinx.ucr.edu
Wed Feb 14 21:50:14 GMT 2001


I'm having a hell of a time with attempting to configure 2.0.7 on
Solaris 2.7 to work as a member of a domain. Here are the steps that I
have done so far.

I have set the following options in smb.conf:

workgroup = SCS
netbios name = EREBUS
security = domain
password server = HEMERA NYX
domain master = no
wins server = 138.23.13.102
domain groups = SCS

The samba server is a wins client for the wins server on 138.23.13.102.

Plus I joined the domain using smbpasswd -j SCS with no problems.

If I log in to a workstation in the SCS domain and try to view the
shares on the Samba Domain Member it asks for a password. If I enter
my login and password in the dialog box it doesn't accept it and I get
this in the samba log for that workstation:

[2001/02/14 00:20:27, 0] rpc_client/cli_netlogon.c:(391)
  cli_net_sam_logon: NT_STATUS_INVALID_INFO_CLASS
[2001/02/14 00:20:27, 0] smbd/password.c:(1470)
  domain_client_validate: unable to validate password for user mikek in
domain SCS to Domain controller HEMERA. Error was NT_STATUS_INVALID_INFO_CLASS.
[2001/02/14 00:20:27, 0] passdb/smbpass.c:(87)
  startsmbfilepwent_internal: unable to open file 
/inst/samba-2.0.7/private/smbpasswd. Error was No such file or directory
[2001/02/14 00:20:27, 0] passdb/passdb.c:(149)
  unable to open smb password database.
[2001/02/14 00:20:27, 1] smbd/password.c:(500)
  Couldn't find user 'mikek' in smb_passwd file.
[2001/02/14 00:20:27, 0] passdb/smbpass.c:(87)
  startsmbfilepwent_internal: unable to open file
/inst/samba-2.0.7/private/smbp
asswd. Error was No such file or directory
[2001/02/14 00:20:27, 0] passdb/passdb.c:(149)
  unable to open smb password database.
[2001/02/14 00:20:27, 1] smbd/password.c:(500)
  Couldn't find user 'mikek' in smb_passwd file.
[2001/02/14 00:20:27, 1] smbd/reply.c:(925)
  Rejecting user 'mikek': authentication failed

The only way it works is if I have a local smbpasswd file with 
my login that it can fall back on. 

Please help me, I've been through lots of the archives for this list
and I can't find anyone that has had this exact problem. It seems like
for some reason the password encryption isn't working correctly.

One more thing, if I use smbclient to view the shares on my Samba server
it works fine as long as I connect anonymously.

Thanks in advance,

Mike

--
Mike Kennedy
Systems Group, C&C
mikek at syrinx.ucr.edu
909.787.5922






More information about the samba mailing list