On 2.0.6-pre2

Giulio Orsero giulioo at tiscalinet.it
Sun Oct 31 11:11:23 GMT 1999


1) HUP/log
In a previous post I said that the HUP/logging issue was still there. I
did some more tests:

For example:
===  /etc/logrotate.d/samba
/var/log/samba/log.nmb {
    daily
    postrotate
    /usr/bin/killall -HUP nmbd
    endscript
}
 
/var/log/samba/log.smb {
    daily
    postrotate
    /usr/bin/killall -HUP smbd
    endscript
}
===
[go at i4 samba]$ pwd
/var/log/samba
[go at i4 samba]$ ls -ltr
total 10
drwxrwxr-x   2 root     root         1024 Oct 22 21:13 old2.dr
-rw-r--r--   1 root     root          544 Oct 27 19:07 log.nmb.4.gz
-rw-r--r--   1 root     root          736 Oct 28 04:02 log.smb.4.gz
-rw-r--r--   1 root     root           30 Oct 28 04:02 log.smb.3.gz
-rw-r--r--   1 root     root           30 Oct 28 04:02 log.nmb.3.gz
-rw-r--r--   1 root     root           30 Oct 29 04:02 log.smb.2.gz
-rw-r--r--   1 root     root           30 Oct 29 04:02 log.nmb.2.gz
-rw-r--r--   1 root     root           30 Oct 30 04:02 log.smb.1.gz
-rw-r--r--   1 root     root           30 Oct 30 04:02 log.nmb.1.gz
-rw-r--r--   1 root     root            0 Oct 31 04:02 log.smb
-rw-r--r--   1 root     root            0 Oct 31 04:02 log.nmb
drwxrwxr-x   2 root     root         1024 Oct 31 12:01 old.dr

So samba stopped logging completely, or maybe kept logging to a zipped
file. During these days samba worked as usual, and was never restarted.

I had to restart samba to see the log files growing:
[root at i4 samba]# /etc/rc.d/init.d/smb restart
Shutting down SMB services:                                [  OK  ]
Shutting down NMB services:                                [  OK  ]
Starting SMB services:                                     [  OK  ]
Starting NMB services:                                     [  OK  ]
[root at i4 samba]# ls -ltr
total 13
drwxrwxr-x   2 root     root         1024 Oct 22 21:13 old2.dr
-rw-r--r--   1 root     root          544 Oct 27 19:07 log.nmb.4.gz
-rw-r--r--   1 root     root          736 Oct 28 04:02 log.smb.4.gz
-rw-r--r--   1 root     root           30 Oct 28 04:02 log.smb.3.gz
-rw-r--r--   1 root     root           30 Oct 28 04:02 log.nmb.3.gz
-rw-r--r--   1 root     root           30 Oct 29 04:02 log.smb.2.gz
-rw-r--r--   1 root     root           30 Oct 29 04:02 log.nmb.2.gz
-rw-r--r--   1 root     root           30 Oct 30 04:02 log.smb.1.gz
-rw-r--r--   1 root     root           30 Oct 30 04:02 log.nmb.1.gz
drwxrwxr-x   2 root     root         1024 Oct 31 12:01 old.dr
-rw-r--r--   1 root     root          254 Oct 31 12:04 log.smb
-rw-r--r--   1 root     root         1833 Oct 31 12:04 log.nmb


2) Print queue names
This is a request for enhancement, if it's possible.
When you print to a samba printer from win9x, you see in the
printer-queue-window-on-win9x the file name that is being spooled
(filename or title); as soon as the file is in /var/spool/samba, you see
the filename as it's on the linux side (go.AJHSJSK or similar). Wouldn't
it be possible to show to win9x the real name even when the file is
already on the linux side?

Thanks.

-- 
giulioo at tiscalinet.it


More information about the samba-technical mailing list