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.


Messages - expertgeeks

Pages: 1 2 3 [4] 5 6 ... 9
46
Installation and Upgrades / Re: POSIX ACL Bug Issue in Zentyal 4.1
« on: August 24, 2015, 09:20:11 pm »
That's really helpful. Thanks!

47
Ok, I've just done this in a VM to check it out for you :)

Go to Users and Computers > LDAP Settings > Uncheck 'Enable PAM'. Save changes. Re-check 'Enable PAM' & save changes. This should recreate the local users for you.. at least, it worked for me. You can then migrate the user folders from backups and chown the user folders. Good luck !

48
Installation and Upgrades / Re: POSIX ACL Bug Issue in Zentyal 4.1
« on: August 24, 2015, 07:06:28 pm »
Thanks very much jbahillo, that's given me something to work on !

As I got your reply I came across this post showing how to copy ntacls to a file and then apply to folders.. but I'll look into this further. Cheers.

49
Installation and Upgrades / Re: POSIX ACL Bug Issue in Zentyal 4.1
« on: August 24, 2015, 06:50:28 pm »
Did you manage to get this to work adhidash ? I had a problem where the files were copied directly into the shared folders
Code: [Select]
cp -R /source/folder /home/samba/share/folder and this stopped samba from being able to set the ACLs, resulting in lots of these sorts of errors in zentyal.log;

Code: [Select]
2015/08/24 15:03:46 ERROR> Samba.pm:1045 EBox::Samba::_postServiceHook - Error setting security descriptor on file <FILENAME>: Failed to open: NT_STATUS_ACCESS_DENIED at /usr/share/perl5/EBox/Samba.pm line 1043, <GEN0> line 2356.
I manually copied the ACLs from a working folder;
Code: [Select]
getfacl WORKING_FOLDER > acl
setfacl -M acl -R BROKEN_FOLDER
to these broken folders but Zentyal kept logging the same errors when ticking/unticking 'Apply ACLs recursively' in the GUI.

I tried using samba-tool that you recommended jbahillo, but couldn't work out how to copy ACLs using
Code: [Select]
samba-tool ntaclThe man page for samba-tool ntacl is pretty enigmatic  ;)

Unsatisfying fix was to copy the data out of the samba shared folder, chown source folder, delete source and then copy it back.. I'd like to learn how to properly fix ACLs in Zentyal from shell commands :)

50
Good work, thanks for the info :)

51
Installation and Upgrades / Re: WINS server without DHCP?
« on: August 15, 2015, 12:08:18 pm »
Thank you.

52
Installation and Upgrades / Re: WINS server without DHCP?
« on: August 14, 2015, 10:54:54 pm »
*bump*

53
Installation and Upgrades / Re: Show list of Samba Users
« on: August 14, 2015, 10:53:52 pm »
Are you looking to show currently connected users ? If yes, look at my post here;

https://forum.zentyal.org/index.php/topic,25436.msg96476.html#msg96476

If not, what output do you need ?

54
Installation and Upgrades / WINS server without DHCP?
« on: August 11, 2015, 12:15:55 am »
Simple question, does Zentyal 4.1 have a WINS server function without enabling DHCP? If not, how are windows network names resolved ?

55
Installation and Upgrades / Re: NetBIOS over VPN
« on: July 30, 2015, 01:33:25 pm »
*bump*

56
Installation and Upgrades / Re: NetBIOS over VPN
« on: July 23, 2015, 01:38:07 am »
I've also tried enabling 'Allow client-to-client connections' which correctly shows the other computers connected via VPN, so broadcast/name resolution messages are not being blocked. It still won't show the server in the network though.

smbtree throws up; resolve_wins: WINS server resolution selected and no WINS servers listed. Shouldn't Zentyal samba act as the WINS server ?


57
Installation and Upgrades / NetBIOS over VPN
« on: July 22, 2015, 08:22:18 pm »
Using Zentyal 4.1.3. Until recently the name resolution was working over VPN without issue, although the nmbd service wouldn't start automatically. I followed the suggestion here to get it to autostart at boot (which didn't work incidentally). I have since reverted the changes, rebooted the server but still cannot access the server/samba using the network name over a VPN connection. I've also tried removing and recreating the network object, removing and re-adding the advertised networks in the VPN configs.

nslookup of the network name on the server gives the correct IP. IP access to the samba shares works fine. Setting the server name and IP in the local hosts file works, but using the server name without doing so returns nothing. Before I start breaking out the backups, PLEASE does anyone have suggestions how I can fix this ?

58
Rebooting didn't help. None of the users connected via VPN can see the network name now. I can't check whether this is the case on the LAN yet.

Anyone got any ideas how to fix this? I've tried editing the network object, then removing and re-adding it back to the list of advertised networks in the VPN configs..

Failing restoring from a backup, I'm a bit stumped.

59
Installation and Upgrades / Re: DNS Lookup Error[Solved]
« on: July 21, 2015, 04:33:47 pm »
How ? You posted the question, please add to the body of knowledge by saying how you fixed it. Thanks.

60
I tried this with 4.1 and not only did it not work, it stopped all name resolution for users connected via VPN. IP access to server not affected, but name resolution borked. Not great! Manually restarting the service works;
Code: [Select]
service nmbd restartyou can also try the advice in; this thread. Wasn't working for me last time I rebooted the server, but I omitted the 'sleep' command so it probably restarted too early to be effective.

EDIT: Not only VPN external access, but local access also. I've put the original config back and stopped/started nmbd. Using the server name comes back with 'Windows cannot access \\servername' Error code 0x80004005, unspecified error. Do not try this with version 4.1. I hope services will come back up correctly following a reboot or I'm in trouble.

Pages: 1 2 3 [4] 5 6 ... 9