Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Samba per host loging

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
[ds]
n00b
n00b
Posts: 11
Joined: Sun Feb 27, 2005 10:13 pm
Location: Moskow, MIPT

Samba per host loging

  • Quote

Post by [ds] » Fri Jun 03, 2005 5:08 pm

I'm running Samba 3.0.10
I want to have different logs for each host
I added entry

Code: Select all

log file = /var/samba/log.%m
into smb.conf [global] section and got several errors in /var/samba/log.smbd :?

Code: Select all

[2005/06/03 20:56:13, 0] lib/debug.c:reopen_logs(589)
  Unable to open new log file /var/samba/log.HOSTNAME: No such file or directory

Code: Select all

# ls -al /var/log/samba/
drwx------   2 root root   120 Jun  3 20:09 .
drwxr-xr-x  15 root root   720 Jun  3 10:32 ..
-rw-r--r--   1 root root     0 Jun  3 20:02 .keep
-rw-r--r--   1 root root  6634 Jun  3 21:01 log.nmbd
-rw-r--r--   1 root root 10083 Jun  3 21:03 log.smbd
Any ideas?
Top
svf
n00b
n00b
Posts: 50
Joined: Tue Feb 01, 2005 12:22 am

  • Quote

Post by svf » Fri Jun 03, 2005 5:28 pm

hey

Code: Select all

log file = /var/samba/log.%m
and

Code: Select all

# ls -al /var/log/samba/ 
find the difference ;)...


edit first line to

Code: Select all

# ... /var/log/samba/ ...
and everything should be fine
uchafu!
Top
[ds]
n00b
n00b
Posts: 11
Joined: Sun Feb 27, 2005 10:13 pm
Location: Moskow, MIPT

  • Quote

Post by [ds] » Fri Jun 03, 2005 5:40 pm

:D :D :D
Big thanks.
It's working now. Sorry for this silly question.
Top
Post Reply

3 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic