Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - tamuin

Pages: [1]
1
The 'General Information' widget on the Dashboard list the number of users.  Right now on my system it shows 1, which happens to be equal to the number of VPN users (me) but in reality there are another six people logged on right now.  These other active users show up when I run "smbstatus" or "net status sessions" from the command line.

2
Directory and Authentication / Samba issue
« on: February 07, 2020, 04:24:55 am »
I am having an issue where part way through the day several users lose their mapped network drives (and their ability to access shared folders using the UNC path).  Windows file explorer will just hang if you try to access a mapped drive and any program will hang if you go to file - open and try to navigate to a mapped drive.

When this happens I can not ping their machines from the server but usually they can still ping the server from their machine.

The users can still access the internet through a browser when this happens, and zentyal is acting as a gateway.

Logging off and back on again typically solves the problem; however, if several users experience the problem at the same time I have to reboot the server to restore access.

I have tried various method of mapping the drives, initially I had been mapping the drives with a group policy then switched to running a local a script file that runs when a user logs on to their workstation.  The script file essentially does this for several shared directories:
Code: [Select]
net use n: /delete
net use n: \\server\share

I suspect this is a samba issue, but I can not find any smoking gun in:
/var/log/syslog
/var/log/samba/*
/var/log/zentyal/*

I do see the following error messages at various times during the day in /var/log/samba/samba.old
Code: [Select]
samba.log.old:  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[5] status[NT_STATUS_INVALID_PARAMETER] || at ../source3/smbd/smb2_ioctl.c:309
samba.log.old:[2020/02/06 16:18:31.443160,  3] ../source3/smbd/smb2_server.c:3139(smbd_smb2_request_error_ex)
samba.log.old:  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[9] status[STATUS_NO_MORE_FILES] || at ../source3/smbd/smb2_query_directory.c:155
samba.log.old:[2020/02/06 16:18:31.443599,  3] ../source3/smbd/smb2_server.c:3139(smbd_smb2_request_error_ex)
samba.log.old:  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_ACCESS_DENIED] || at ../source3/smbd/smb2_getinfo.c:154
but the time at which these errors occur does not correspond to the time at which the users have the issue.

I just started running running Zentyal 6.1 in a VM under proxmox and everything had been running well for a while (2 weeks) and then this issue cropped up.

One last bit of information, the issue often happens when the users are using Adobe Indesign.

Any thoughts are appreciated.

3
Directory and Authentication / Samba logs
« on: February 07, 2020, 03:36:54 am »
I believe I have a problem with samba (which I will put in another post).  I have been trying to take a look at the logs to figure out what is going on and it appears that the webui for logs in Zentyal is not working correctly (perhaps just on my machine).

If I go to the logs screen in the webui and take a look at the samba log for "any event" the last activity I see is this:
Code: [Select]
2020-02-06 15:53:11   10.10.10.233   LTRW\smulligan  Read file .

But if I take a look at syslog, this is what I see:
Code: [Select]
grep smulligan /var/log/syslog | tail
Feb  6 19:19:05 stthomas smbd_audit: LTRW\smulligan|10.10.10.233|disconnect|ok|Archive
Feb  6 19:19:05 stthomas smbd_audit: LTRW\smulligan|10.10.10.233|chdir|ok|chdir|/home/samba/shares/Shared
Feb  6 19:19:05 stthomas smbd_audit: LTRW\smulligan|10.10.10.233|stat|ok|.
Feb  6 19:19:05 stthomas smbd_audit: LTRW\smulligan|10.10.10.233|file_id_create|ok|31:3161c:0
Feb  6 19:19:05 stthomas smbd_audit: LTRW\smulligan|10.10.10.233|stat|ok|/home/samba/shares/Shared
Feb  6 19:19:05 stthomas smbd_audit: LTRW\smulligan|10.10.10.233|chdir|ok|chdir|/
Feb  6 19:19:05 stthomas smbd_audit: LTRW\smulligan|10.10.10.233|stat|ok|.
Feb  6 19:19:05 stthomas smbd_audit: LTRW\smulligan|10.10.10.233|file_id_create|ok|fd00:2:0
Feb  6 19:19:05 stthomas smbd_audit: LTRW\smulligan|10.10.10.233|stat|ok|/
Feb  6 19:19:05 stthomas smbd_audit: LTRW\smulligan|10.10.10.233|disconnect|ok|Shared

As you can see there is a multi-hour gap.  During this gap there was quite a bit of samba activity but it is not showing up in the webui logs screen.  Any idea why?

Restarting logs through the dashboard widget kinda helps, now there is a new log entry:
Code: [Select]
2020-02-06 21:28:08   10.10.10.205   LTRW\ap   Read file   20191216_135831.jpg
But there still is a multi-hour gap.  Any idea of what is going on?  I have assumed that the logs screen is searching the syslog but perhaps it does something else, I could not find anything in the Zentyal documentation that provides any insite on how Zentyal stores its logs.

4
I would like to be able to see which VPN are active so I went to drag the widgets onto the dashboard.  Unfortunately only some of the VPNs show up under the widget list.  I have 6 vpn servers set up and the widgets for only 4 of them show up in the widget list.  Any ideas of what might be causing this?

Pages: [1]