Displaying 3 results from an estimated 3 matches for "lsbuf".
Did you mean:
sbuf
2025 Feb 17
1
Weird usershares attempted use
...this might be another of those diagnostic that Douglas is
looking for, it is coming from source3/param/loadparam.c
'process_usershare_file':
/* Minimize the race condition by doing an lstat before we
open and fstat. Ensure this isn't a symlink link. */
if (sys_lstat(fname, &lsbuf, false) != 0) {
if (errno == ENOENT) {
/* Unknown share requested. Just ignore. */
goto out;
}
/* Only log messages for meaningful problems. */
DEBUG(0,("process_usershare_file: stat of %s failed. %s\n",
fname, strerror(errno) ));
goto out;
}
Your client is 'askin...
2025 Feb 17
1
Weird usershares attempted use
Another issue I don't understand:
On two different samba servers, smbd logs errors like this:
Feb 16 18:36:29 roberts smbd[136]: process_usershare_file: stat of /var/lib/samba/usershares/business failed. Permission denied
Neither machine have configured usershares. There are no users on the sambashare group. The server logging the above error is replacing a file server that had a share
2025 Feb 17
1
Weird usershares attempted use
...this might be another of those diagnostic that Douglas is looking for, it is coming from source3/param/loadparam.c
'process_usershare_file':
/* Minimize the race condition by doing an lstat before we
open and fstat. Ensure this isn't a symlink link. */
if (sys_lstat(fname, &lsbuf, false) != 0) {
if (errno == ENOENT) {
/* Unknown share requested. Just ignore. */
goto out;
}
/* Only log messages for meaningful problems. */
DEBUG(0,("process_usershare_file: stat of %s failed. %s\n",
fname, strerror(errno) ));
goto out;
}
Your client is 'askin...