search for: valid_stat

Displaying 7 results from an estimated 7 matches for "valid_stat".

2024 Jun 10
2
4.20: case (in)sensitive is broken
...index c5b5084e108..f3c9f0e359c 100644 --- a/source3/modules/vfs_widelinks.c +++ b/source3/modules/vfs_widelinks.c @@ -383,8 +383,14 @@ static int widelinks_openat(vfs_handle_struct *handle, } lstat_ret = SMB_VFS_NEXT_LSTAT(handle, full_fname); - if (lstat_ret != -1 && - VALID_STAT(full_fname->st) && + if (lstat_ret == -1) { + /* Can't be a DFS link. */ + int saved_errno = errno; + TALLOC_FREE(full_fname); + errno = saved_errno; + return -1; + } + if (VALID_STAT(full_fname->st) && S_ISLNK(full_fname->st.st_ex_mode)) { fsp...
2024 Jun 11
1
4.20: case (in)sensitive is broken
...nks.c > +++ b/source3/modules/vfs_widelinks.c > @@ -383,8 +383,14 @@ static int widelinks_openat(vfs_handle_struct *handle, > ???????? } > ???????? lstat_ret = SMB_VFS_NEXT_LSTAT(handle, > ???????????????? full_fname); > -??????? if (lstat_ret != -1 && > -??????????? VALID_STAT(full_fname->st) && > +??????? if (lstat_ret == -1) { > +??????????? /* Can't be a DFS link. */ > +??????????? int saved_errno = errno; > +??????????? TALLOC_FREE(full_fname); > +??????????? errno = saved_errno; Can TALLOC_FREE change errno? > +??????????? return -...
2019 May 16
3
Error smb_panic(): calling panic action [/bin/sleep 999999999]
...16 14:00:12 s4slave smbd[7141]: smb_panic(): calling panic action [/bin/sleep 999999999] May 16 14:00:57 s4slave smbd[7173]: [2019/05/16 14:00:57.839574, 0] ../source3/smbd/dir.c:1440(user_can_write_file) May 16 14:00:57 s4slave smbd[7173]: PANIC: assert failed at ../source3/smbd/dir.c(1440): VALID_STAT(smb_fname->st) May 16 14:00:57 s4slave smbd[7173]: [2019/05/16 14:00:57.839682, 0] ../source3/lib/util.c:789(smb_panic_s3) May 16 14:00:57 s4slave smbd[7173]: PANIC (pid 7173): assert failed: VALID_STAT(smb_fname->st) May 16 14:00:57 s4slave smbd[7173]: [2019/05/16 14:00:57.840700, 0] ../...
2024 Jun 07
1
4.20: case (in)sensitive is broken
07.06.2024 20:52, Jeremy Allison wrote: > Fair enough. Can you post a minimal smb.conf and directory > setup that reproduces the problem and how to demo it with smbclient > command lines please ? I know I'm asking to be spoon-fed but my time for > Samba these days is quite limited and this would aid immensely > in creating a properly tested fix. You're not asking to be
2019 May 16
2
Error smb_panic(): calling panic action [/bin/sleep 999999999]
Dear all, since a few days I have a panic error in my logfiles on my second joined DC, Samba version 4.3.4. Can anyone help? PANIC (pid 24120): assert failed: VALID_STAT(smb_fname->st) May 16 10:01:43 s4slave smbd[24120]: [2019/05/16 10:01:43.333006, 0] ../source3/lib/util.c:900(log_stack_trace) May 16 10:01:43 s4slave smbd[24120]: BACKTRACE: 30 stack frames: May 16 10:01:43 s4slave smbd[24120]: #0 /usr/local/samba/lib/libsmbconf.so.0(log_stack_trace+0x1f)...
2002 Sep 03
1
hangin when listing named pipes
Hi Even when you are not opening the pipe, but just listing it in cygwin, or trying to see the properties in explorer, you will have this problem: Does anybody know how to disable named pipes in samba? Or how you can kill the connection from the client side? And no, setting "nt pipe support" to no, doesn't fix the problem. /Kaj Symptom: Samba daemon hanging when trying to open
2009 Feb 24
6
Can't modify ms word files with samba 3.3
Hello, I tried this week to upgrade my samba 3.2.4 (2 PDCs one trusting the other) to samba 3.3.0 then samba 3.3.1, and apart from the problem with winbindd and trusted domain, my users are not able to modify any ms word document (excel does the same). You can open the file correctly, modify it, and when saving it, it pops up "Access denied" If you try to save the file in the same