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@syrinx.ucr.edu 909.787.5922
Perhaps this clarify my previous post. My PDC is a Sun runnin Solaris PC Netlink and my Samba server is another Sun w/ Solaris 2.7 in its domain trying to authenticate with the PDC. -- Mike Kennedy Systems Group, C&C mikek@syrinx.ucr.edu 909.787.5922 On Wed, 14 Feb 2001, Mike Kennedy wrote:> > 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@syrinx.ucr.edu > 909.787.5922 > > >
Mike, Jerry is right - HP's Advanced Server for HPUX has the same issue. Don -----Original Message----- From: Gerald Carter [mailto:gcarter@valinux.com] Sent: Thursday, February 15, 2001 3:53 AM To: Mike Kennedy Cc: samba@us5.samba.org Subject: Re: Samba as a Domain Member Mike Kennedy wrote:> > Perhaps this clarify my previous post. My PDC is a > Sun runnin Solaris PC Netlink and my Samba server is > another Sun w/ Solaris 2.7 in its domain trying > to authenticate with the PDC.....> > [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.IIRC this is a known problem with ASU derived servers. I don't think anyone has coded a fix yet. Cheers, jerry ---------------------------------------------------------------------- /\ Gerald (Jerry) Carter Professional Services \/ http://www.valinux.com/ VA Linux Systems gcarter@valinux.com http://www.samba.org/ SAMBA Team jerry@samba.org http://www.plainjoe.org/ jerry@plainjoe.org "...a hundred billion castaways looking for a home." - Sting "Message in a Bottle" ( 1979 )