Hello folks, I am running Samba 2.2.3a, on a RedHat 7.2 server. So far everything seems to be working fine. I can access shares, print from Windows clients, but I cannot change the password from the Win98 client. When I try, Windows tells me that the old password is incorrect. Here's my smb.conf file # Global parameters [global] ;basic server settings workgroup = OPERA netbios name = WOTAN server string = file server socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192 ;Creates a UNIX trust account as needed when the client first joins the domain add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false -M %u ;PDC and master browser settings os level = 64 preferred master =yes local master = yes domain master = yes ;security and logging settings security = user encrypt passwords = yes log file = /var/log/samba/log.%m log level = 2 max log size = 50 ;sync UNIX passwords with Samba passwords. ;this lets users change their passwords through MS intereface smb passwd file = /usr/local/samba/private/smbpasswd unix password sync = yes passwd program = /usr/bin/passwd %u ;PASSWD CHAT line must all be on one line passwd chat = *New*UNIX*password %n\n *Retype*new*UNIX*password* %n\n *Enter*new*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *passwd: *all*authentication*tokens*updated*successfully* passwd chat debug = yes log level = 100 ;login script requirements time server = yes logon script = netlogon.bat ;print server stuff min print space = 2000 print command = /usr/bin/lpr -P%p -r %s Anyone have any guesses why the password change wouldn't work? Thanks, Brian -------------- next part -------------- HTML attachment scrubbed and removed
Brian, I can't help you with your problem, but maybe you can help me with mine. I am running the same version of Samba that you are and I can't get past the encrypted passwords. I've told Samba to use encrypted passwords and tried turning it off in windows. Neither way works. Do you have any suggestions? Thanks, Parrish Message: 9 Date: Fri, 07 Jun 2002 16:05:05 -0400 From: "Brian McGraw" <bmcgraw@philorch.org> To: <samba@lists.samba.org> Subject: [Samba] Win98 client passwords w/Samba 2.2.3a This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=_520E6314.1B7A1F73 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hello folks, I am running Samba 2.2.3a, on a RedHat 7.2 server. So far everything seems to be working fine. I can access shares, print from Windows clients, but I cannot change the password from the Win98 client. When I try, Windows tells me that the old password is incorrect. Here's my smb.conf file # Global parameters [global] ;basic server settings workgroup =3D OPERA netbios name =3D WOTAN server string =3D file server socket options =3D TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=3D8192 SO_RCVBUF=3D8192 ;Creates a UNIX trust account as needed when the client first joins the domain add user script =3D /usr/sbin/useradd -d /dev/null -g machines -s /bin/false -M %u ;PDC and master browser settings os level =3D 64 preferred master =3Dyes local master =3D yes domain master =3D yes ;security and logging settings security =3D user encrypt passwords =3D yes log file =3D /var/log/samba/log.%m log level =3D 2 max log size =3D 50 ;sync UNIX passwords with Samba passwords. ;this lets users change their passwords through MS intereface smb passwd file =3D /usr/local/samba/private/smbpasswd unix password sync =3D yes passwd program =3D /usr/bin/passwd %u ;PASSWD CHAT line must all be on one line passwd chat =3D *New*UNIX*password %n\n *Retype*new*UNIX*password* %n\n *Enter*new*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *passwd: *all*authentication*tokens*updated*successfully* passwd chat debug =3D yes log level =3D 100 ;login script requirements time server =3D yes logon script =3D netlogon.bat ;print server stuff min print space =3D 2000 print command =3D /usr/bin/lpr -P%p -r %s Anyone have any guesses why the password change wouldn't work?=20 Thanks, Brian
On Sat, 2002-06-08 at 15:28, pshook wrote:> Brian, > > Please excuse my ignorance, but where is the diagnostic.txt file located? What about webmin? I did a search for > both and didn't find either.No problem. webmin is at http://www.webmin.com/ . It is also available through Debian's apt--although an old version. Regarding the diagnositic file, I apologize for a memory freeze. It is DIAGNOSIS.TXT. Following is some of what I have in /usr/doc/ : brian@peter:/usr/doc$ ls sam* samba: DIAGNOSIS.txt.gz README.build.gz Samba-HOWTO-Collection.pdf.gz copyright README.Debian.gz README.gz TODO.Debian README.Win2kSP2 README.ldap WHATSNEW.txt.gz README.Win32-Viruses Roadmap changelog.Debian.gz samba-common: DIAGNOSIS.txt.gz README.build.gz changelog.Debian.gz README.Win2kSP2 README.ldap copyright README.Win32-Viruses Samba-HOWTO-Collection.pdf.gz samba-doc: DIAGNOSIS.txt.gz Registry examples README.Win2kSP2 Samba-HOWTO-Collection.pdf.gz faq README.Win32-Viruses THANKS.gz history.gz README.build.gz announce.gz htmldocs README.gz changelog.Debian.gz textdocs README.ldap copyright> > > > I got this working, however I found that once you get Samba set-up and > > all other problems have been verified up to that point--e.g., I used the > > DIAGNOSTIC.TXT file. Then we set the passwords on the win clients and > > the server. That is sometimes I just need to redo both passwords as if > > the password encrypted to 2 different strings for the client and > > server. I have each user of Samba set-up as a regular user in Linux > > first as well. I also I use the latest version of Webmin--it makes the > > whole process easier. The only part I miss on the Samba module of > > Webmin is how SWAT does the documentation with a help button for each > > option that links to an explanation. That is so handy when first > > setting Samba up. > > > > Brian >