Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13481 - samba log files
Summary: samba log files
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-08 04:02 UTC by roma1390
Modified: 2003-09-26 19:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description roma1390 2003-01-08 04:02:19 UTC
Normal log is done per host.
We have client with name foo then login is into directory: /var/log/log.foo
But /var/log/log.smbd and /var/log/log.smbmount is samba's system logs.
If someone tryes to rename pc to smbmount or smbd :((
I sugested to do system log:
/var/log/smbd.log
/var/log/smbmount.log

I didn't konw how works samba when two loging file has the same name.
Comment 1 Donny Davies (RETIRED) gentoo-dev 2003-01-21 23:26:08 UTC
yeah mandrake has a patch for this, i think.

good idea.  will fix in the near future.
Comment 2 Donny Davies (RETIRED) gentoo-dev 2003-03-01 01:41:32 UTC
Okay I'm actually not really sure what you're talking about, could you
please clarify, what, if anything, we need to do?

See this:
http://us1.samba.org/samba/whatsnew/macroexploit.html

Now, our example smb.conf file has the correct way to do the
per machine logging, as per the above article with regards to
syntax.

Also, it was Redhat that has a small patch for SAMBA logging
code, but it doesnt quite do what I originally thought it did.
Please take a look at their patch and lemme know what you think.

Also, would --logfilebase come into play for this at all?

I'm not sure if there's anything to fix here at the moment.
Comment 3 roma1390 2003-03-01 08:44:45 UTC
## samba-2.2.7a

I only want to say that deamon/command nmbd,smbd,smbmount do loging into:
/var/log/samba/log.<name>

eternal pc cnnections is loging into:
/var/log/samba/log.<name>

what hapens if someone has pc with name nmbd or smbd or smbmount?

Comment 4 Donny Davies (RETIRED) gentoo-dev 2003-06-04 23:49:36 UTC
i dont think i can fix this, man.

you should really ask the samba folks about this i suppose.
Comment 5 Donny Davies (RETIRED) gentoo-dev 2003-09-26 19:08:03 UTC
afaik this isnt an issue, logging is not changed by our ebuild.