Discussion:
[Samba] Audit in 2.2.6
Eugene M. Zheganin
22 years ago
Permalink
Greetings.

I have samba 2.2.6 installed on FreeBSD 4.7-RC, from ports, compiled
with audit/syslog/recycle/winbind. I try to use audit via syslogd.
I created the following share:

===Cut===
[price]
create mask = 664
security mask = 644
directory security mask = 000
directory mask = 755
comment = Fresh Norma PriceList
path = /usr/local/public/ftp/pub/price
valid users = emz ramil hunter alex ckv vitaly vvs mars vaganova_e
browseable = yes
writeable = yes
guest ok = no
vfs object = /usr/local/lib/samba/audit.so
===Cut===

All works just fine, but when I try to create new file or directory -
smbd drops connection and in samba logs I recieve the following:

===Cut===
Oct 21 15:00:38 freedom smbd_audit[88374]: [2002/10/21 15:00:38, 0] lib/fault.c:fault_report(38)
Oct 21 15:00:38 freedom smbd_audit[88374]: ===============================================================
Oct 21 15:00:38 freedom smbd_audit[88374]: [2002/10/21 15:00:38, 0] lib/fault.c:fault_report(39)
Oct 21 15:00:38 freedom smbd_audit[88374]: INTERNAL ERROR: Signal 11 in pid 88374 (2.2.6)
Oct 21 15:00:38 freedom smbd_audit[88374]: Please read the file BUGS.txt in the distribution
Oct 21 15:00:39 freedom smbd_audit[88374]: [2002/10/21 15:00:39, 0] lib/fault.c:fault_report(41)
Oct 21 15:00:39 freedom smbd_audit[88374]: ===============================================================
Oct 21 15:00:39 freedom smbd_audit[88374]: [2002/10/21 15:00:39, 0] lib/util.c:smb_panic(1094)
Oct 21 15:00:39 freedom smbd_audit[88374]: PANIC: internal error
===Cut===

I'm not straight sure that this is not my configuration bug. So i
wanna ask- does someone have working audit configuration on 2.2.6 ?
May I see it ?
Gerald (Jerry) Carter
22 years ago
Permalink
Post by Eugene M. Zheganin
Greetings.
I have samba 2.2.6 installed on FreeBSD 4.7-RC, from ports, compiled
with audit/syslog/recycle/winbind. I try to use audit via syslogd.
Can you recreate the crash when not using audit.so ?




cheers, jerry
Eugene M. Zheganin
22 years ago
Permalink
Hello Gerald.
Post by Eugene M. Zheganin
I have samba 2.2.6 installed on FreeBSD 4.7-RC, from ports, compiled
with audit/syslog/recycle/winbind. I try to use audit via syslogd.
GJC> Can you recreate the crash when not using audit.so ?
No. No ideas. I saw that message in my logs for the first time, right
after using audit.so.
--
Best regards,
Eugene mailto:***@norma.perm.ru
Continue reading on narkive:
Loading...