search for: logfilefullpath

Displaying 1 result from an estimated 1 matches for "logfilefullpath".

2007 May 16
1
SAMBA: Share specific log files
...int the log messages pertaining to each share in a different log file for auditing purposes. We are using Samba v3.0.20b. We are trying to modify the file smbd/service.c::make_connection_snum() function by changing the log file full path. The code changes that is done are as follows: char logfilefullpath[70]; char sharename[256]; safe_strcpy_fn (__FILE__, __LINE__ ,logfilefullpath, "/log/sharenet/", sizeof ("/log/sharenet/")); safe_strcat_fn (__FILE__,__LINE__,logfilefullpath,lp_servicename(snum), sizeof("/log/sharenet/")+sizeof(lp_servicename(snu...