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

Pages: 1 2 3 [4] 5 6 ... 8
46
Email and Groupware / email services never start
« on: April 28, 2016, 03:19:13 pm »
Editing the users email settings in the web interface,  I get a warning:

Quote
"Mail account is unavailable because either there isn't any mail virtual domain created or you need to save changes in order to activate the new domains.
Click here to create a new mail virtual domain"

Okay, so mail is not started, but why?

Trying to start mail:

Quote
root@zentyal-cyprus:~# service zentyal status
Usage: /etc/init.d/zentyal start|stop|restart
       /etc/init.d/zentyal <module> start|stop|status|enabled|restart
root@zentyal-cyprus:~# service zentyal mail status
Zentyal: status module mail:         [ STOPPED ]
root@zentyal-cyprus:~# service zentyal mail start
 * Restarting Zentyal module: mail                                       [fail]
root command set -e
samba-tool domain exportkeytab '/etc/dovecot/dovecot.keytab' --principal 'zentyal-mail-zentyal-cyprus'
samba-tool domain exportkeytab '/etc/dovecot/dovecot.keytab' --principal 'imap/zentyal-cyprus.niotronic.lan'
samba-tool domain exportkeytab '/etc/dovecot/dovecot.keytab' --principal 'imap/zentyal-cyprus.niotronic.lan@NIOTRONIC.LAN'
samba-tool domain exportkeytab '/etc/dovecot/dovecot.keytab' --principal 'smtp/zentyal-cyprus.niotronic.lan'
samba-tool domain exportkeytab '/etc/dovecot/dovecot.keytab' --principal 'smtp/zentyal-cyprus.niotronic.lan@NIOTRONIC.LAN'
samba-tool domain exportkeytab '/etc/dovecot/dovecot.keytab' --principal 'pop/zentyal-cyprus.niotronic.lan'
samba-tool domain exportkeytab '/etc/dovecot/dovecot.keytab' --principal 'pop/zentyal-cyprus.niotronic.lan@NIOTRONIC.LAN'
chown 'root':'dovecot' '/etc/dovecot/dovecot.keytab'
chmod '440' '/etc/dovecot/dovecot.keytab' failed.
Error output: GENSEC backend 'gssapi_spnego' registered
 GENSEC backend 'gssapi_krb5' registered
 GENSEC backend 'gssapi_krb5_sasl' registered
 GENSEC backend 'spnego' registered
 GENSEC backend 'schannel' registered
 GENSEC backend 'naclrpc_as_system' registered
 GENSEC backend 'sasl-EXTERNAL' registered
 GENSEC backend 'ntlmssp' registered
 GENSEC backend 'http_basic' registered
 GENSEC backend 'http_ntlm' registered
 GENSEC backend 'krb5' registered
 GENSEC backend 'fake_gssapi_krb5' registered
 interpret_string_addr_internal: getaddrinfo failed for name eth1 (flags 32) [Name or service not known]
 interpret_interface: Can't find address for eth1
 interpret_string_addr_internal: getaddrinfo failed for name eth1 (flags 32) [Name or service not known]
 interpret_interface: Can't find address for eth1
 ERROR(runtime): uncaught exception - Key table entry not found
   File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 175, in _run
     return self.run(*args, **kwargs)
   File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line 117, in run
     net.export_keytab(keytab=keytab, principal=principal)

Command output: .
Exit value: 255
root@zentyal-cyprus:~#

That's right, I only need eth0, I have not configured eth1..... but.... why should I ?

What shall I do to get mail to work ?


47
I better attach a screen shot so you immidately know what I mean:




48
Hello.
I was trying to reproduce bugtracker's issue #4811 (which is, "suddenly cannot add users anymore, useradd fails!") by using a Zentyal server running in a Virtualbox.
I could not reproduce the bug, but I found another hint: I added several users, and then I deleted one user (in this case, "user10").
The home directory of "user 10" remains, and it looks like this:

drwxr-xr-x  15 att                att          4096 Mär 13 23:10 att
drwx------   2 office-assholesign domain users 4096 Mär 11 19:26 office-assholesign
drwx------   2 office-cyprus      domain users 4096 Mär 11 19:27 office-cyprus
drwx------   2 office-cyprus2     domain users 4096 Mär 12 20:58 office-cyprus2
drwxrwx---+  4 root               domain users 4096 Mär 11 18:45 samba
drwx------   2 user1              domain users 4096 Mär 11 19:21 user1
drwx------   2               2513 domain users 4096 Mär 12 20:19 user10
drwx------   2 user10-test2       domain users 4096 Mär 13 23:12 user10-test2
drwx------   2 user11             domain users 4096 Mär 12 20:55 user11
drwx------   2 user12             domain users 4096 Mär 12 20:56 user12
drwx------   2 user13             domain users 4096 Mär 12 20:57 user13
drwx------   2 user13             domain users 4096 Mär 12 20:56 user13-13
drwx------   2 user14             domain users 4096 Mär 12 20:59 user14
drwx------   2 user14-cyprus      domain users 4096 Mär 12 20:57 user14-cyprus
drwx------   2 user2              domain users 4096 Mär 12 20:16 user2
drwx------   2 user3              domain users 4096 Mär 12 20:16 user3
drwx------   2 user4              domain users 4096 Mär 12 20:17 user4
drwx------   2 user5              domain users 4096 Mär 12 20:17 user5
drwx------   2 user6              domain users 4096 Mär 12 20:17 user6
drwx------   2 user7              domain users 4096 Mär 12 20:18 user7
drwx------   2 user8              domain users 4096 Mär 12 20:18 user8
drwx------   2 user9              domain users 4096 Mär 12 20:18 user9
root@virtualzentyal:/home#

You notice this strange "user10" ?  -> drwx------   2               2513 domain users 4096 Mär 12 20:19 user10

It is still there, in the home directory, despite I deleted the user.
Where is the /etc/passwd and /etc/shadow credentials of each user stored? I cannot find it in these files....... ?
I thought if I delete a user, the home directory ought to be deleted too, and the /etc/passwd and /etc/shadow "entries" - whereever in Zentyal they really are now - also ought not to carry around the deleted user?
Any hints appreciated...


49
That helps. Thanks a lot !

50
Hello,
I have installed Zentyal 4.2 64bit into a Virtualbox. It's a fresh install.
I am informed that 61 system updates are available.
I click on "update"!
It fails with "apt-get install failed.... blablah ... -fix-missing?"
Now I guess I have to edit /etc/apt/sources.list but I don't know from where to get the "good" updates.....
Also, GCC C-Compiler is not pre-installed, which is a shame. I need to compile....!

51
Anyway, I just reported back. I cannot add any more users. It seems usernumer 2513 is a sort of special magical value that must not appear.
I dont know where Zentyal keeps the current highest user number....

Zentyal staff asked me to report:  "Can you run this command in your machine and report back the result?:

perl -e' print getgrgid(2513) . "\n"; 1' 

So that's what I did, and the result:
I get an empty line:

root@srvzz:/home/ad# perl -e' print getgrgid(2513) . "\n"; 1'

root@srvzz:/home/ad#
root@srvzz:/home/ad# perl -e' print getgrgid(2513) . "aaa\n"; 1'
aaa
root@srvzz:/home/ad# perl -e' print getgrgid(2513) . "\n"; 1'

Also take note:

root@srvzz:/home/samba/profiles# ls al
total 124
drwxrwx-- 18 root 2513 4096 Jän 7 11:53 .
drwxrwx---+ 4 root 2513 4096 Dez 29 14:43 ..
drwxrwx---+ 2 2503 2513 4096 Dez 29 15:44 accounting
drwxrwx---+ 2 2500 2512 4096 Dez 29 14:53 Administrator
drwxrwx---+ 2 2504 2513 4096 Dez 29 15:44 af
drwxrwx---+ 2 2505 2513 4096 Dez 29 15:46 backoffice
drwxrwx---+ 2 2506 2513 4096 Dez 29 15:47 cz
drwxrwx---+ 2 2501 2514 4096 Dez 29 14:53 Guest
drwxrwx---+ 2 2507 2513 4096 Dez 29 15:49 kp
drwxrwx---+ 2 2508 2513 4096 Dez 29 15:50 office
drwxrwx---+ 2 2509 2513 4096 Dez 29 15:51 order
drwxrwx---+ 2 2510 2513 4096 Dez 29 15:53 rk
drwxrwx---+ 2 2511 2513 4096 Dez 29 15:54 sj
drwxrwx---+ 2 2512 2513 4096 Dez 29 15:55 support
drwx------ 2 2513 2513 4096 Jän 7 11:53 test22
drwx------ 2 2513 2513 4096 Jän 7 11:27 testb
drwxrwx---+ 2 2502 2513 4096 Dez 29 15:41 ts1
drwx------ 2 2513 2513 4096 Jän 7 11:50 tttster
root@srvzz:/home/samba/profiles# perl -e 'print getgrgid(2513) ."\n"; 1'



---> Take note, the user "test22", "testb", "tttster" : I was trying to add them, using the web interface, but the same error appeared, the adding broke with the same error.

All these weird users have same user id 2513 ?? So they were partially added...

Also take note, no extended ACL rights are available in this directory with the broken users (test22, testb, tttster).

The very first bad user "office-cyprus" was not even added at all.


52
I am still waiting. The silence here is deafening. This is SUCH A LARGE BUG that it ought to be fixed immidately.
I still have this bug, and I am aching for a fix!
What is going on??

Edit: My bug is obviously a copy of the bug #3360 :

Bug #3360
« Previous | 204 of 228 | Next »
setfacl: Option -m: Invalid argument near character 32

 Added by Zentyal Bug Reporter 9 months ago. Updated 9 months ago. Status:   Accepted      


Priority:   Normal      

Assignee:   -      
Component:   samba   Version:   4.1
 Votes:   0

Quote 
Description

Can't add new user, it gives me an error

So, it's been 9 FU****G MONTHS and the bug is also known as issue #3360 and STILL IT IS NOT FIXED.
I'm pissing mad....


53
Hello,
I have a strange issue with Zentyal 4.2.
I installed it - ok, that worked nicely.
I configured my network and 2 interface cards - fine so far.
I added some users - that works very well.
I shut down the machine, rebooted it today, wanted to add more users but it suddenly fails:

https://tracker.zentyal.org/issues/4811

"Unexpected Error" : 

root command set -e mkdir -p '/home/samba/profiles/test2' chown -R 2513:2513 '/home/samba/profiles/test2' chmod 0700 '/home/samba/profiles/test2' setfacl -b '/home/samba/profiles/test2' setfacl -R -m u:root:rwx,g::---,g:2513:---,u:'test2':rwx '/home/samba/profiles/test2' setfacl -R -m d:u:root:rwx,d:g::---,d:g:2513:---,d:u:'test2':rwx '/home/samba/profiles/test2' failed. Error output: setfacl: Option -m: Invalid argument near character 32 Command output: . Exit value: 2 at /usr/share/perl5/EBox/Sudo.pm line 240

The user was called "test2" ; the first user I tried to add was called "office-cyprus" and I thought that maybe due to the "-" sign in the name there was a problem. But when I added another user "test2" he could not add this user with the same message (see above).

The rest you can see in bug report 4811.......  that was the "office-cyprus" user that suddenly offended Zentyal 4.2.

Your milage may vary. Any help, especially fast help, appreciated...... !


54
Hello,

I was trying to use a Zentyal 4.1 server not only as a local fileserver, but also as a gateway machine to the rest of the internet.
For this purpose, I thought I could use my existing, working vpn client files, and simply issue "openvpn configfile.conf" and the Zentyal would happily be a working gateway to the vpn server, which would be the gateway to the internet.
HOWEVER, things did not quite work as I supposed them to. When I used the commandline "openvpn configfile.conf" as user root in a Zentyal shell, the Zentyal server DID connect to the VPN server correctly, but it was unable to change the route to that server (tun device, 10.8.0.1....)

So what, precisely, do I have to do so that Zentyal would make a connection to this other VPN server and tunnel all the outgoing traffic through it ?

55
Installation and Upgrades / Re: Zentyal4.1: DHCP: TFTP/pxelinux.0 ?
« on: December 29, 2015, 12:18:22 pm »
I figured it myself  - I have to have a single file called "pxelinux.0" in the /var/lib/tftpboot directory.
In the DHCP->konfiguration->extended configuration options, I set "next server" to "host: my-zentyal-ip-adress" and I set filepath to just "pxelinux.0" (NOT to /var/lib/tftpboot etc.etc.)

56
Installation and Upgrades / [SOLVED] Zentyal4.1: DHCP: TFTP/pxelinux.0 ?
« on: December 28, 2015, 01:21:28 pm »
Hello,

I have now Zentyal 4.1 including latest updates; I just wonder if it is possible to migrate our DHCP-Server to Zentyal?
At the moment, we have a different machine serving a single pxelinux.0 TFTP-image for all the clients:

nobody    3078  0.0  0.0  15320  1092 ?        S     2014   6:32 /usr/sbin/dnsmasq --bind-interfaces --interface eth0 --except-interface lo --enable-tftp --tftp-root=/etc/pxeboot --dhcp-boot=/etc/pxeboot/pxelinux.0 --dhcp-range=192.168.0.2,192.168.0.173,168h --log-dhcp

This single command line above handles all quite well.
How to migrate this DHCP/TFTP-functionality away from this "extra-server" to Zentyal?  I cannot find any option in Zentyal 4.1 that allows me to select a TFTP-file to send, when the BIOS of a client needs one?


57
Installation and Upgrades / Re: VPN Internet Traffic Redirect?
« on: October 27, 2015, 10:08:18 pm »
I think you can't do it in Zentyal itself; but you can edit the config-file.
My solution was to have a config-file for each user, a "client-config-dir" for OpenVpn:

/etc/openvpn/ccd

In this directory, I keep a textfile for each openvpn-user, the name of the textfile is the name of the user:

/etc/openvpn/ccd/user1
/etc/openvpn/ccd/user2
/etc/openvpn/ccd/user3  etc.

Each user contains a specific route-push-option:

In the textfile "user1":

ifconfig-push 10.8.0.200 255.255.255.0

In the textfile "user2":
ifconfig-push 10.8.0.30 255.255.255.0

so the user is always getting the same static ip. For example.

See the "iroute" and "ifconfig-push" parameters in the client-config-dir.


58
I hope that "upgrade button" is coming soon. I still don't see it anywhere.

59
Hello, World.

I am now trying to update a Zentyal 4.1 machine to 4.2; I repeatedly click on the webinterface on the "Software management" options and its sub-buttons, but no matter what I try, I never get an option to update Zentyal from 4.1 to 4.2.
So as I understand it, the only way to upgrade to Zentyal 4.2 is a fresh install from CD?

I spent many hours of installing and configuring Zentyal 4.1. Are there any options to update to 4.2, and if so, how to do it?

60
Installation and Upgrades / Re: VPN Internet Traffic Redirect?
« on: October 23, 2015, 01:21:51 pm »
I ran into a similar problem - you may have several networks called "192.168.x.y".
If your own IP at home is "192.168.x.y" and you connect to VPN _and_ the VPN network on the other side is also "192.168.x.y", your computer at home does not know what to do when to reach "192.168.x.y" - reach the one at home or reach the one at the other end of the VPN?
I see no other solution but to switch to another network, either at home or at the other endpoint.
Other networks likely include "10.x.y.z" (24 bit network, large!), etc:

10.0.0.0 bis 10.255.255.255   10.0.0.0/8   10/8   224 = 16.777.216   Class A: 1 private Net with 16.777.216 IP's
10.0.0.0/8

172.16.0.0 bis 172.31.255.255   172.16.0.0/12   172.16/12   220 = 1.048.576   Class B: 16 private Networks with each containing 65.536 IP-Adresses;
172.16.0.0/16 bis 172.31.0.0/16        -> several of these seem to be a wise choice

192.168.0.0 bis 192.168.255.255   192.168.0.0/16   192.168/16   216 = 65.536   Class C: 256 private subnets with each 256 Adresses;
192.168.0.0/24 bis 192.168.255.0/24


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