At 15:58 00-04-17, you wrote:>Date: Mon, 17 Apr 2000 14:45:07 +0200 >From: werner maes <werner.maes@cc.kuleuven.ac.be> >To: samba@samba.org >Subject: SMBD-error: important?? >Message-ID: <38FB0753.B00F2E49@cc.kuleuven.ac.be> >MIME-Version: 1.0 >Content-Type: text/plain; charset=us-ascii >Content-Transfer-Encoding: 7bit > >Hello, > >When I look in log.smb I see this error: > >[date] [time]: smbd/password.c: password_ok (551) >Error: challenge not done for user = werner > >I receive this error each time I make a connection with a share on >server1. >There's no problem with the connection, but I always see this message >in the logs. > >This is my configuration (briefly): > >server1: >security = server >encrypt passwords = no >password server = server2 > >server2: >security = user >encrypt passwords = no > >Does anyone know what this error means? > >Thanks a lot, > >Werner Maes >KULeuvenThe problem is (as I read about week ago on this list) that you have not defined the user werner (can be with password * and shell /dev/null) on server2 - ever if you use force user = some_user_on_server2 (as I have used) it doesn't work. Best Regards **************************************************************** * Bartlomiej Solarz-Niesluchowski * * Administrator WSISiZ * * Motto - nie psuj Win'9x one i bez tego sie psuja.... * * Jak sobie poscielisz tak sie wyspisz * ****************************************************************
>>Hello, >> >>When I look in log.smb I see this error: >> >>[date] [time]: smbd/password.c: password_ok (551) >>Error: challenge not done for user = werner >> >>I receive this error each time I make a connection with a share on >>server1. >>There's no problem with the connection, but I always see this message >>in the logs. >> >>This is my configuration (briefly): >> >>server1: >>security = server >>encrypt passwords = no >>password server = server2 >> >>server2: >>security = user >>encrypt passwords = no >> >>Does anyone know what this error means? >> >>Thanks a lot, >> >>Werner Maes >>KULeuven >The problem is (as I read about week ago on this list) that you have not >defined the user werner (can be with password * and shell /dev/null) on >server2 - ever if you use force user = some_user_on_server2 (as I have >used) it doesn't work.I know that you must have defined the user on the local server even when you refer to a password server. I have done this with a valid password and shell. I even can make a valid connection, but I receive this error. Maybe it's because I use 'encrypt passwords = no', I don't know (it's the first time I see this error). User werner: account on local server1 (only in /etc/passwd) account on password server2 (only in /etc/passwd). Since I've set 'encrypt passwords = no', I do not need /etc/smbpasswd. Any ideas? Werner
Re:> Date: Mon, 17 Apr 2000 14:44:57 +0200 (CEST) > From: Niels Kokholm <kokholm@math.ku.dk> > To: samba@samba.org > Subject: Problem: Samba 2.0.7pre4 --with-utmp on OSF1 > > I tried configuring Samba 2.0.7pre4 on a OSF1 machine (actually a DEC > Alpha running Digital Unix 4.0d) with --with-utmp. > > The autoconf system sets the variable HAVE_UTMPX_H > > The linking of smbd aborts with the message > ---------------------------------------------------------- > ld: > Unresolved: > getutmpx > utmpxname > updwtmpx > *** Exit 1 > ---------------------------------------------------------- > > If I insert into smbd/connection.c > ---------------------------------------------------------- > #if defined (OSF1) > #undef HAVE_UTMPX_H > #endif > ---------------------------------------------------------- > right after > ---------------------------------------------------------- > /* > * Apparently AIX has utmpx.h but doesn't implement it. > * The test for this ought to be (a) more automatic (b) elsewhere. > */ > #if defined (AIX) > #undef HAVE_UTMPX_H > #endif > ---------------------------------------------------------- > The linking of smbd works ok and logging to the utmp file seems to > work. There is no logging to the wtmp file, but that would be obvious from > the comments in smbd/connection.c for this case: > ---------------------------------------------------------- > /* *** Hmmm. Appending wtmp (as distinct from overwriting utmp) has > me baffled. How is it to be done? *** */ > ----------------------------------------------------------Sorry for the delay in replying: I was on holiday. (I write as the person who has been coordinating the utmp development.) Thanks for the report. The "utmp" functionality is brand new to "official" Samba at 2.0.7 . It has turned out that each operating system has its own little quirks in this area. Even during the course of 2.0.7pre1 through to pre3, the utmp code in Samba was evolving rapidly to improve portability. And, of course, this tends to run counter to a principal aim of such a phase, which is to stabilise the existing code. So it was deliberately frozen (agreed by Jeremy and me) at "pre3". Meanwhile (and while not on holiday!), I have continued to develop a version of the utmp code with the prime aim of increasing portability to different operating systems. Now that 2.0.7 is released, I hope rapidly to retrofit my most recent changes to that, and make them available. I am reasonably confident that these changes should address the issues you raise. Indeed, I hope you won't mind if, in a few days, I ask you to check them on your OS. -- : David Lee I.T. Service : : Systems Programmer Computer Centre : : University of Durham : : http://www.dur.ac.uk/~dcl0tdl South Road : : Durham : : Phone: +44 191 374 2882 U.K. :
I have discovered minor bug in samba 2.0.7 (RH 62) in SWAT code. utmp hostname isn't editable field by SWAT - you can change it in SWAT but no changes are appeared in smb.conf..... Best Regards **************************************************************** * Bartlomiej Solarz-Niesluchowski * * Administrator WSISiZ * * Motto - nie psuj Win'9x one i bez tego sie psuja.... * * Jak sobie poscielisz tak sie wyspisz * ****************************************************************