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

Pages: [1] 2 3 ... 17
Obviously the same solution but cross posted at the same time.

Hi therobust,

...when i try to open the localhost page, i get the error:
unable to connect :(

a quick help would be appreciated plz.

I just had the same issue on a non-production test rig.  I was able to sort it by running:
Code: [Select]
/etc/init.d/ebox restart   

Hi jide

...after a short while of say about 1 week we notice we cannot add new users to shared printers...
A couple of other reports have recently been posted in the forum that sound similar to this:
Adding a Printer to a User
Problem sharing printers under Zentyal with CUPS

A reason has not yet emerged from the Zentyal users community.  If you believe you have found a bug you might consider reporting it directly to the Zentyal developers:
Bug Report

Installation and Upgrades / Re: Installing deb packages in Zentyal
« on: June 10, 2011, 07:36:51 pm »
I wanted a word to categorize the different profiles that can Zentyal and they are: Gateway, Infrastructure, Office, Security and Communications. You can choose them all at once? which suits me if I want to have a data server only.
Yes, all Zentyal profiles can be installed together, or individually.  It is your choice.

If "data server" means file and print server for workstations on your LAN then you probably want the Office profile.

This wiki page gives a description of each profile:

2) What SMB should you choose to install a package. deb?
Installing software is not done by any Zentyal profile it is performed by the Ubuntu package manager.  You have it already installed.

Installation and Upgrades / Re: Installing deb packages in Zentyal
« on: June 10, 2011, 05:49:27 pm »
Hi again Ruben,

Is this the same request you made a few days ago here:,7075.msg28395.html#msg28395

It is not easy to understand what you are asking for.

2) What SMB should you choose to install a package. deb?
What is meant by SMB?

Installation and Upgrades / Re: Adding a Printer to a User
« on: June 10, 2011, 04:02:36 pm »
Good to hear it is working OK for you now.

...I am not satisfied with this solution. I hope it will be corrected soon...
A permanent fix might be helped with a little more information about your system.  Can you attach the following:

1. A list of your users
Code: [Select]
getent group | grep "Domain Users" cut -d: -f4
2. A list of your groups and their members
Code: [Select]
getent group | grep 200
3. The Samba configuration file /etc/samba/smb.conf

4. The CUPS printers configuration file /etc/cups/printers.conf

5. Did you migrate your system from a previous version of eBox/Zentyal or was it set up from scratch using the Zentyal 2 installer CD?

6. Have all package updates been applied?

When I install a package with synaptic Internet download does not install anything, do not install and gives no error.
Does this mean you now able to run Synaptic and see it GUI?  To be clear answer Yes or No.

If the answer is "Yes" have you used it before on a different machine?  Are you familiar with how it is used?
is not installed or deb package and I'll have to unzip it and install it by hand right?
Synaptic can download and install any package in the Ubuntu repositories automatically.  The repositories only contain .deb packages.  When you update the packages of your Zentyal system they are .deb packages, some of them are retrieved from the Ubuntu repositories.  Synaptic is just a GUI front end to what is already provided by Zentyal.  It is not necessary to unzip it and install it by hand, simply search for it in Synaptic and tell it to install it.

I ran the command line: sudo apt-cache policy synaptic

and left the following information:
Installed: 0.63 lubuntu7
Candidates: 0.63 lubuntu7
Version table
0.63 *** lubuntu7 0
       500 / lucid-updates/main Packages
       100 / var / lib / dpkg / status
       0.63 lubuntu6 0
       500 Package
OK this shows it is installed and the version is fine.

Lubuntu mentioned here and when I run the command line: sudo apt-cache show synaptic, do not come out Lubuntu support.
It is number one not a lowercase L.  Synaptic is the GUI package manager for Ubuntu and its variations.

As I can do to run a package. deb in Zentyal 2, Synaptic I have installed but not running.
It is not clear to me what you mean here, but assume you cannot get synaptic to run.  Before replying to your original request for help, I set up a test Zentyal machine and tested the commands.  These steps work flawlessly here.  The cause of your problem is not easy to see.

First check that your system does not have any broken or missing dependencies for synaptic
Code: [Select]
sudo apt-get checkIf this reports any problems, you must install whatever is missing before proceding.

Try starting synaptic from a terminal. This will allow you to see any error messages.
Code: [Select]
sudo synaptic
If that works try starting it from the Zentyal "Start" menu (the monitor icon at the bottom left of the screen).
Prefernces-->Synaptic Package Manager

Run this in a terminal and post the output:
Code: [Select]
sudo apt-cache policy synaptic   

Hi rawa,
I am not sure I fully understand fully your question.  If you are asking how to install non Zentyal deb packages from the repository and want to do it with a graphical installer you probably want Synaptic.  This is the usual GUI package manager for Ubuntu based distributions.

Try this:
To view what will be installed:
Code: [Select]
sudo apt-cache show synaptic
To install it
Code: [Select]
sudo apt-get install synaptic   

Installation and Upgrades / Re: Adding a Printer to a User
« on: June 06, 2011, 05:34:32 pm »
...I cannot give or refuse access to printers.

Interesting that under Groups it works but under Users not. Clicking on the Change button redirects me to a blank page (https://server_ip/ebox/Samba/ActivePrinting).
I don't see that behaviour.  Here printer access can be granted at a user and a group level.  You are the 2nd within a few days to report an inability to grant access to users:,7016.0.html

If you believe you have found a bug you could report it here:

As you have access control at a group level, one idea as a workaround is to create a group for the (or each) printer and add users to that group then grant printing access to the group.

Hope that helps.

Installation and Upgrades / Re: Adding a Printer to a User
« on: June 06, 2011, 01:26:54 pm »
...I have changed the NIC in the server last week from 10/100 to 100/1000. Could this cause the problem?
It is not easy to see how this might cause the problem you describe as it would be likely to affect all your users rather than a single user.

You have supplied too little information.  What diagnosis steps have you taken to establish the differences between the working users and non working user.

How did you set up printing for those users that are able to print?  What prevents you from doing the same for the new user?  Perhaps a good starting point might be to investigate the way in which the working users are set up on the Zentyal machine.  Does the problem with the new user happen when she users different LAN workstations etc...etc... 

It seems that CUPS is rather a separate component, installed on Ubuntu server.
OK, just to clarify here...
CUPS and Samba are entirely separate apps.  They are often used together but this is not a requirement. 
  • CUPS is the app that provides a printing capability to both Linux and Windows machines.  User authentication may optionally be conducted.
  • Samba is the app that provides the shares to Windows LAN workstations.  To control access to the shares authentication of users is usually conducted.
  • Both may use entirely independent user databases
When using the Office profile (file and print serving), Zentyal uses both CUPS and Samba to perform the functions described above but uses a single user database (via LDAP) as a common resource.  The apps and the user info exist together in Zentyal in this scenario. It is common business practice to require control of the printing resources.  Maintaining separate user info is not normally wanted, so access control to the printers is done through Samba via the user account or group membership.  Hence, the examples shown in the Zentyal guide illustrate CUPS and Samba being used together.

I share the printer by specifying the Zentyal IP and the port, like this:

Code: [Select]
This is what I was referring to as uncontrolled access in the first 5 bullet points in reply #5.  To illustrate a little further, before posting that reply I set up an XP and a Linux stand-alone workstation.  I logged on locally to each machine, i.e. using user credentials that do not exist in the Zentyal machine.  I was able to set-up each workstation to use a print queue on Zentyal that was shared via CUPS (not shared via Samba) and did not request authentication.  Printing from the XP machine was was set-up in the same way as your KM1820.

In your /etc/cups/printers.conf  there is is a list of allowed users.  I would guess this indicates that you are trying to use CUPS to control user access i.e. not using LDAP+Samba.  I have not tried this route but can envisage that you will need to set-up and maintain independent Linux user accounts, enable PAM on Zentyal and recreate your users in order for their accounts to be correctly set-up.

If you wanted to try unauthenticated access you could try the first 5 bullet points in reply #5 without setting the allowed users in CUPS.

I'm pretty sure this is a bug...
If you believe you have found a bug you could report it here:

...otherwise my Zentyal installation is borked...
True, the cause of the missing printer section has not yet been established.

As for the printers.conf, it's there allright...

Perhaps I should add, the users that cannot print do not authenticate when starting a windows session. I've set the user and password in the printer properties only.
That would be my last resort - Try to set the Windows user and pass exactly as the user created in Zentyal.
OK the queue exists and works but it is unknown whether Zentyal references that file.

Common user settings will at worst allow for greater consistency when testing.  It may not explain the cause of the missing section.

Previously you mentioned that you are trying to share via Samba in order to control access.  As 2 of the 6 users can print, how did you set-up printing via Samba for those 2 users?  What changed afterwards to prevent doing the same for the remaining 4 users?  Perhaps this might give further pointers.

15 my edit-user menu tab there is no option for the printer, altough it should be there according to the manual.
I don't know how this happened, but I would like to have that option.
That is probably one for the devs.  I do not have any knowledge of how it is done.

This is really just poking in the mist...
Zentyal must pick up the information about the available printers in order to display it in the currently missing section.  Logically, this cannot be done until the printer queue has been created in CUPS.  A file /etc/cups/printers.conf appears to hold the details of the print queue.  On the tentative assumption this is the file referenced by Zentyal, is you printer listed there?

Pages: [1] 2 3 ... 17