search for: found_entry

Displaying 2 results from an estimated 2 matches for "found_entry".

1998 Oct 28
4
Anyone resolved "failed to lock SMB passwd file"?
Hi all. I'm experiencing long connect delays due to password file locking errors. For each connection samba logs the following errors: do_pw_lock: failed to lock SMB passwd file. mod_smbpwd_entry: unable to lock file /usr/local/samba-1.9.18p10/private/smbpasswd In the archives I found some other messages reporting the problem (on May this year), but no solution. Did I
1998 Oct 29
1
Anyone resolved "failed to lock SMB passwd file"? (PR#10819)
Fulvio.Corno@polito.it wrote: > > I found the (possible) source of the error, in smbpass.c line 620+ .... > > If no entry is found, the procedure returns without releasing the lock. > I modified the last statement as: > > if (!found_entry) /* line 707 */ > { > fclose(fp); > pw_file_unlock(lockfd); > return False; > } > Fulvio & Robert, Thanks for that and sorry for the delay in responding. It was a known bug in 1.9.18p10 that wa...