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 - Barrydocks

Pages: 1 ... 7 8 [9] 10
121
Installation and Upgrades / Re: Antivirus Update failed
« on: January 21, 2011, 12:03:19 pm »
Ok now getting the following error if I manually run the cron job for freshclam:
Code: [Select]
Output from command /usr/bin/freshclam --quiet ..

ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!).

Any suggestions?

122
Installation and Upgrades / Antivirus Update failed
« on: January 20, 2011, 02:57:00 pm »
The Zentyal web interface states that the antivirus database is out of date and that the last update was on the install day.

I have manually updated clamav with freshclam, and the logs say it is being successfully updated via the cron job.

Any idea why the interface module is incorrect?
Thanks

123
Installation and Upgrades / Re: Samba shares over VPN
« on: January 19, 2011, 08:41:47 pm »
OK, borrowed a friends machine connected directly to the internet (via a router), I changed the workgroup name on the zentyal server to match the local PC and (hey-presto) the zentyal server showed up in the neighbourhood network by name and I was able to browse the shares after entering a username and password.

Still can't get a machine on the local LAN to browse the shares via a VPN ???  possibly due to the http cache on the LAN???

124
Installation and Upgrades / Re: Samba shares over VPN
« on: January 19, 2011, 11:44:00 am »
It might have to do with permissions.
Are you using the same computer at work and at home?
no, but interestingly I cannot browse the samba shares via the VPN from a pc on my local LAN (it works without a problem when not using the VPN ???)
Quote from: josep
The reason is that you are probably using a Windows client, which has a username and password defined. When you connect to the server it uses those credentials to authenticate itself.
If they are not valid, it should ask for new credentials. But if, for instance, the username exists on teh server although with a different password, it may just fail with no additional indication.
You could try to figure this out by opening a command prompt in the client and using the command "net use" (run "net use /?" for the list of options)
Thanks, I will try this.

125
Installation and Upgrades / Re: Samba shares over VPN
« on: January 19, 2011, 10:52:49 am »
If I connect directly to the internet (not via a http proxy) and change the workgroup of the remote machine to match the workgroup of the zentyal server I can see the workgroup in the neighbourhood network but can't browse it.

Any suggestions?
Thanks

126
Installation and Upgrades / Re: Samba shares over VPN
« on: January 10, 2011, 09:48:12 pm »
After connecting via VPN, can you browse the shares in the server by name or IP?
Say that your server is named EBOX and its IP is 10.0.0.5, can you browse \\EBOX? Can you browse \\10.0.0.5?
No neither? I have tried via the VPN connection from a PC on the local LAN that I can already browse the shares on - but I may be doing it wrong:
1. the local LAN IP address is 10.0.0.0/24; samba is on server64 at 10.0.0.1
2. the VPN IP address is 10.0.1.0/24;  I have the advertised network as 10.0.0.0/24 (not sure this is correct?

Via the VPN connection I can:
1. browse the web server from http://10.0.1.1
2. access zentyal dashboard from https://10.0.1.1:443
but nothing shows up in the neighbourhood network and I can't browse any shares either by:
\\10.0.1.1\photos
\\server64\photos

Will also check the logs

127
Installation and Upgrades / Samba shares over VPN
« on: January 09, 2011, 09:39:32 pm »
Having difficulty accessing samba shares via a VPN.  The Windows client connects OK to VPN and obtains the appropriate IP but I cannot browse the samba shares.  I can access the zentyal dashboard via the browser on the VPN IP address. 

I have opened the inward VPN port on the fire wall and the outward port is enabled as "any service" to "any port".  I have tried disabling the windows firewall which made no difference.  
I have PAM enabled to give real local user accounts.

The documentation here http://doc.zentyal.org/en/vpn.html?highlight=vpn says:
Quote
Also, to browse shared files from the VPN [3] you must explicitly allow the broadcast traffic of the Samba server.
 but I am not sure how to do this?

Also do I need to open any other ports either on the firewall or the router other than for the VPN?
Does the zentyal server need to be a PDC?
Does the remote windows PC need to be in the same workgroup or domain as the zentyal VPN server?

The remote PC is connecting through a HTTP proxy, will this make a difference?

Grateful for any help, I think I'm very close to making it work!
Thanks


128
Installation and Upgrades / Re: Samba & permission problems
« on: January 09, 2011, 09:31:32 pm »
Thankyou for your replies.

Slightly embarrassingly, after revisiting the problem a few days later, I noticed a typo in the share path :-[

All works properly now :)

129
Installation and Upgrades / Samba & permission problems
« on: January 03, 2011, 06:34:33 pm »
I am having serious problems allowing any users to access samba shares that are not created in /home/samba/share :(

I have a directory on a separate partition that I would like to access via samba.  I have set this up in zentyal and it appears as a share within the workgroup by I cannot get any users to access it.  I am fairly convinced it is a permission problem on the directory itself.
I have tried:
1. setting the user permissions to 'root', 'ebox' and 'sysadmin' (my privileged user);
2. setting the group permissions to '__USERS__' and 'users' (which is group I created in zentyal);
3. enabling 'guest use';
4. setting the directory permissions to 777 (read, write, executable by all everyone);

I don't really understand the relationship between LDAP groups/users and system groups/users.  I have enabled PAM settings in order to give the LDAP users a system account - but the users created do not seem to be listed as system users ???

Please can some one help??? :'(


131
Installation and Upgrades / [SOLVED] custom samba config
« on: December 29, 2010, 11:33:31 am »
In order to allow multiple user access to a MS ACCESS database, I need to add the line
Code: [Select]
veto oplocks = *.mdbto the smb.conf

I know that zentyal will over write any changes I make directly to the file and will have to use a script in the /etc/ebox/hooks/ directory.  My problem is adding the line to the correct part of the file.  Here's my script:
Code: [Select]
#!/bin/sh

if grep "veto oplocks" /etc/network/interfaces >/dev/null; then
        exit 0
fi
echo veto oplocks = *mdb >> /etc/samba/smb.conf

exit 0

The problem is that I need it inserted after the share expression [share], this script currently places it at the end of the file.

Any suggestions?

132
Basically zentyal calls the /etc/ebox/hooks/network.postsetconf script just before staring.  In that script you need to copy your custom network settings to the /etc/network/interfaces file.  Here's how do do it (assuming you have not installed zentyal yet):

Copy your custom interfaces file that is currently being implemented:
Code: [Select]
cp /etc/network/interfaces /etc/network/interfaces.copy
Install zentyal components as you require.

create /etc/ebox/hooks/network.postsetconf script:
Code: [Select]
nano /etc/ebox/hooks/network.postsetconf
Paste the following:
Code: [Select]
#!/bin/sh

if grep "/sbin/ifenslave" /etc/network/interfaces >/dev/null; then
        exit 0
fi
cp /etc/network/interfaces.copy /etc/network/interfaces

exit 0

make the script executable:
Code: [Select]
chmod +x /etc/ebox/hooks/network.postsetconf
reboot and make sure it all works ;D

133
Installation and Upgrades / Re: Squid Proxy cache location
« on: November 14, 2010, 11:10:34 pm »
Ok worked it out.

Just create a symlink to another directory:

remove current cache location:
Code: [Select]
rm -r  /var/spool/squid
Create new directory (I have called it cache but it could be anything under any path):
Code: [Select]
mkdir /cache
Fix the permissions to allow squid to use it:
Code: [Select]
chown proxy:proxy /cache
Create the link:
Code: [Select]
ln -s /cache /var/spool/squid
Then restart squid

134
After reading this post:
http://forum.zentyal.org/index.php?topic=1682.0

I have solved the problem by creating a copy of the correct config file and copying it to /etc/network/interfaces by creating a script /etc/ebox/hooks/network.postsetconf :)

135
Installation and Upgrades / [SOLVED] Squid Proxy cache location
« on: November 14, 2010, 10:47:29 pm »
How do I change the default directory location for the squid cache from /var/spool/squid to an alternate directory of my choice.  Obviously, if I modify the /etc/squid/squid.conf file it gets over written on reboot?

Thanks
 

Pages: 1 ... 7 8 [9] 10