Maarten de Boer
2003-Apr-30 08:49 UTC
[Samba] huge amount of _samr_query_aliasmem errors [repost]
Hello, I am reposting this messages, because I did not get any reply, and frankly, I am rather desparate... I also found out some additional info (at the end) I get a HUGE amount of the following errors: In /var/log/samba/log.smbd [2003/04/28 12:11:55, 0] rpc_server/srv_samr_nt.c:_samr_query_aliasmem(2626) _samr_query_aliasmem: Not yet implemented. In /var/log/syslog Apr 28 12:25:14 iuamtg smbd[23473]: [2003/04/28 12:25:14, 0] rpc_server/srv_samr _nt.c:_samr_query_aliasmem(2626) Apr 28 12:25:14 iuamtg smbd[23473]: _samr_query_aliasmem: Not yet implemented. And when I see huge, I mean huge: grep smbd /var/log/syslog | grep "Apr 28 11:" | wc -l 38398 grep _samr_query_aliasmem /var/log/samba/log.smbd | grep "04/28 11" | wc -l 19193 Obviously this is not only rather unpleasant, but also pretty worrying... All these errors come from one user (WindowsXP). The server is samba 2.2.8a on a debian woody box. ADDENDUM: The application that seems to be causing this is LinCVS (both 1.1.2 and 1.1.6), though it must be a combination of factors, because several other users use WindowsXP and LinCVS as well. Please, any suggestions how to solve this problem, track it down, or at least avoid the logs to be filled up. Maarten
Andrew Bartlett
2003-Apr-30 09:36 UTC
[Samba] huge amount of _samr_query_aliasmem errors [repost]
On Wed, 2003-04-30 at 18:49, Maarten de Boer wrote:> Hello, I am reposting this messages, because I did not get any reply, > and frankly, I am rather desparate... I also found out some additional > info (at the end)It's perfectly normal - we just don't implement it. Adjust the debug level for that statement if it really bothers you. Samba 3.0 implements that call, but if it's being called that often, it's going to be rather slow... Andrew Bartlett -- Andrew Bartlett abartlet@pcug.org.au Manager, Authentication Subsystems, Samba Team abartlet@samba.org Student Network Administrator, Hawker College abartlet@hawkerc.net http://samba.org http://build.samba.org http://hawkerc.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20030430/4bcaf508/attachment.bin
Maarten de Boer
2003-Apr-30 09:48 UTC
[Samba] huge amount of _samr_query_aliasmem errors [repost]
First of all, thanks for your reply, Andrew.> It's perfectly normal - we just don't implement it. Adjust the debug > level for that statement if it really bothers you.In the source code? Or can this be done in the samba configuration?> Samba 3.0 implements that call, but if it's being called that often, > it's going to be rather slow...Maybe it is called that often because they application does not get the response it wants? Are could there be a legitimite reason for a program to call it that often? Maarten
John H Terpstra
2003-Apr-30 09:56 UTC
[Samba] huge amount of _samr_query_aliasmem errors [repost]
On Wed, 30 Apr 2003, Maarten de Boer wrote:> Hello, I am reposting this messages, because I did not get any reply, > and frankly, I am rather desparate... I also found out some additional > info (at the end) > > I get a HUGE amount of the following errors: > > In /var/log/samba/log.smbd > > [2003/04/28 12:11:55, 0] rpc_server/srv_samr_nt.c:_samr_query_aliasmem(2626) > _samr_query_aliasmem: Not yet implemented.This is caused by MS Windows XP asking for protocols that are not implemented in SAmba-2.2.x. Do not worry about this, the Windows client and samba agree to fall back to older supported protocols. You can control the noise in you log file by setting in smb.conf [globals] the "log level" to control / limit to detail level that is reported. Other parameters you might want to look at include: log file = /var/log/samba/%m.log in this case each client gets it's own log file. max log size = 500 Which limits the log file to max 500Kb, the file will be rotated as soon as possible after it hits that size limit.> > In /var/log/syslog > > Apr 28 12:25:14 iuamtg smbd[23473]: [2003/04/28 12:25:14, 0] rpc_server/srv_samr > _nt.c:_samr_query_aliasmem(2626) > Apr 28 12:25:14 iuamtg smbd[23473]: _samr_query_aliasmem: Not yet implemented. > > And when I see huge, I mean huge: > > grep smbd /var/log/syslog | grep "Apr 28 11:" | wc -l > 38398 > > grep _samr_query_aliasmem /var/log/samba/log.smbd | grep "04/28 11" | wc -l > 19193You can disable this by setting in smb.conf [globals] syslog = 0> > Obviously this is not only rather unpleasant, but also pretty worrying...No need to worry. No need to put up with the noise, the above allows you to trim it all down.> > All these errors come from one user (WindowsXP). > The server is samba 2.2.8a on a debian woody box.Yes. Windows XP has enablement of protocols that are not even supported in MS Windows 2000. This is there in preparation for MS Windows 2003. At least Samba has made you aware of the new behaviour.> > ADDENDUM: The application that seems to be causing this is LinCVS > (both 1.1.2 and 1.1.6), though it must be a combination of factors, > because several other users use WindowsXP and LinCVS as well.If this is a new application it may be calling for newer MS Windows XP protocols.> > Please, any suggestions how to solve this problem, track it down, > or at least avoid the logs to be filled up.Hope this gives you some satisfaction. Sorry about not attending to your needs. The Samba-Team are rather busy at the moment trying to get samba-3 ready for release. - John T. -- John H Terpstra Email: jht@samba.org