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

Pages: [1]
1
I just lost my 3.5 zentyal configuration after a software update.
I can access the machine but network is not working anymore.

I asked for support on Zentyal but 3.5 is no longer supported.

Can I backup my 3.5 configuration and restore in 4.0 new machine ?

2
Installation and Upgrades / How to reset zentyal ldap master password
« on: February 22, 2011, 12:08:33 am »
Hi folks,

I would like to access the ldap tree but I don't know the ldap master password.
How can I reset it ?

Thanks in advance,
Josir Gomes

3
Hi folks,

I use ebox for several years but now I have to migrate to Samba 3 due to Windows 7 machines authentications. Before give up and buy a Windows Server, I will try to make a last shot.

My strategy (based on [1]):
- Install a Zentyal as BDC (Backup Domain Controller)
- Copy users from PDC (ebox) to BDC
- Disable ebox machine
- Test

1) After Zentyal installation, I did not enable File Server
2) Change file /usr/share/ebox/stubs/samba/smb.conf.mas to indicate that Zentyal will be a BDC

 domain logons = Yes
 os level = 35
 preferred master = No
 domain master = No

3) Yet on this file, I change the domain name and hostname

 workgroup = MEDIASYS
 netbios name = LINUX13

4) Via web interface, I started the File Server service and then verify if it is really a BDC with command:

testparm

5) Enter the main domain:

net rpc join -S 192.168.0.11 -Ujosir%xxxx

where 192.168.0.11 is the ebox server.

6) I stopped here: how to import users and machines ?

Some guys said that the best solution is to do a ldap replication [2]
But I think this is not going to work becaus zentyal and ebox seems to have a different ldap tree.

I am also thinking about to make a script to create all users and reset all password on new server.

So, if someone has any glue I appreciate.

Josir.

[1] http://www.enterprisenetworkingplanet.com/netos/article.php/3457461
[2] http://groups.google.com/group/linux.samba/browse_thread/thread/bbd71cc519f969d8?hl=en

4
Hi folks,

I am trying to run the kvm image but the vm is not recognizing the disk.

Here is my disk config:

    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' />
      <source file='/srv/Linux13.qcow2'/>
      <target dev='hda' bus='ide'/>
    </disk>

Does somebody have a virsh xml definition for the kvm image supplied by Zentyal ?

Thanks in advance,
Josir Gomes

5
Hi folks, I just tried to install from a fresh iso:

zentyal-2.0-2-amd64.iso

Installation stops with error on step: Install and select software

I guess that the installation could not find the software to download because I'm behind a proxy.
Then I open a new console and add /etc/apt/apt.conf

Acquire::http::proxy "http://192.168.0.1:3128/";

But it didn't work either.

Where can I find a log to try to find the problem ?

6
Installation and Upgrades / Zentyal 2.0 New server - step by step
« on: October 26, 2010, 04:24:05 pm »
Hi folks,

I am dead with an ebox 1.3 that is not working anymore and I intend to install a new box from scratch.

This is the plan:

1. Install Ubuntu and Zentyal 2.0. I just use Zentyal with Samba/LDAP Authentication.

2. I will not bother to type all users again - put someone to type is cheaper than dig for a solution (I use ebox/samba for 3 years and I never got a reasonable one).

3. And this is my question: What to do I have to do in order tonot have to register all windows machines in the new domain ? That is, I want that the win machines do not have to be registered again.

Does someone has any tip?

Thanks in advance,
Josir

7
Installation and Upgrades / Network service does not start
« on: October 26, 2010, 01:31:49 am »
Hi folks, I did an upgrade from 1.2 to 1.3

After that I could not start the network service. Looking at ebox error log, I got:

Code: [Select]
2010/10/25 20:22:23 INFO> Service.pm:625 EBox::Module::Service::restartService - Restarting service for module: network
2010/10/25 20:22:26 DEBUG> Network.pm:1011 EBox::Network::ifaceMethod - Interface eth2 não existe.
2010/10/25 20:22:26 ERROR> Service.pm:630 EBox::Module::Service::__ANON__ - Error restarting service: Interface eth2 não existe.

But I don't have an eth2 interface!

root@linux11:/var/log/ebox# cat /etc/network/interfaces

Code: [Select]
auto lo eth3

iface lo inet loopback
iface eth3 inet static
address 192.168.0.11
netmask 255.255.255.0
broadcast 192.168.0.255

How can I find and fix this problem ?

8
Installation and Upgrades / Upgrade from ebox 1.0 to 1.2
« on: October 08, 2010, 07:50:20 pm »
Hi folks,

Is there any step-by-step tutorial on how to upgrade an old ebox 1.0 installation to 1.2 ?

1. Alter the software sources to http://ppa.launchpad.net/ebox/1.2/ubuntu
2. sudo apt-get upgrade

Is there any other step?
Josir.

9
Since some eBox update, we cannot join new Windows Client on the domain.

Oddly, I can add the machines manually:

smbldap-useradd -w "media100$"

Machine:
Ubuntu 8.04.4 LTS
Linux linux11 2.6.24-27-server #1 SMP Wed Jan 27 23:39:33 UTC 2010 x86_64 GNU/Linux
eBox version - File sharing     1.0.3-0ubuntu1~ppa1~hardy1

How can I "debug" the problem or provide more info in order to fix the problem ?

Thanks in advance,
Josir.

10
Hi folks,

I  tried to access LDAP on a regular ebox installation but I got "ldap_bind: Invalid credentials (49)"

ldapsearch -x -D "cn=admin,dc=ebox" -W

I am using the same web interface password
What am I doing wrong?

11
Installation and Upgrades / Messing with LDAP and linux user
« on: June 18, 2009, 10:16:05 pm »
Hi folks,

I have a particular situation where I created a user for myself on LDAP ebox database but I've already had the same user on Linux. Now, I cannot grant add myself to groups or shares because of that.

I can login the domain but I don't have access to the shares.

Some logs:

root@linux11:~# id Josir
uid=2001(josir) gid=1901(__USERS__) groups=1901(__USERS__)
root@linux11:~# id josir
uid=1000(josir) gid=2001(Info) groups=2001(Info),4(adm),20(dialout),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),107(fuse),111(lpadmin),112(admin),131(sambashare),512(Domain Admins),513(Domain Users),544(Domain Computers)

Does somebody has a solution for that ?

Thanks in advance,
Josir Gomes

12
Installation and Upgrades / File permission on directories
« on: June 15, 2009, 04:25:03 pm »
Hi folks,

I want to register which user save/modify files on shared directories. Is that possible ?

For example: In Linux, if I create a file on suid enabled sub-directory, I got:

>>ls -ls
total 4
4 drwxrwsr-x 3 ebox __USERS__ 4096 2009-06-15 11:13 Aplicacao

>>cd Aplicacao
>>echo josir > teste1.txt

>>ls -ls
total 8
4 -rw-r--r-- 1 josir __USERS__    6 2009-06-15 11:11 teste1.txt

If I create a file on a Samba client (running on Linux and Windows), I got:
4 -rw-r--r-- 1 josir __USERS__    6 2009-06-15 11:11 teste1.txt
0 -rwxrw-rw- 1 root  __USERS__    0 2009-06-15 11:22 teste2.txt

Is it possible to write the correct name using ebox/LDAP/Samba ?

Thanks in advance,
Josir Gomes


13
Installation and Upgrades / File ownership on user files
« on: June 09, 2009, 05:28:46 pm »
Hi folks,

my ebox/samba installation was successfull and user/groups are working fine either. Now it's fine tuning time:

Some users create files to test but the ownership don't belong to them.

root@linux11:/home/samba/shares/Aplicacao# ls -ls
total 16
4 drwxrwxr-x 2 root josir     4096 2009-06-08 22:11 Acentuação
4 -rwxrwxrwx 1 root root         6 2009-04-07 19:01 josir.txt
4 drwxrwxr-x 2 root josir     4096 2009-04-07 19:57 Teste
4 drwxrwxr-x 2 root __USERS__ 4096 2009-06-09 12:16 teste isnard

root@linux11:/home/samba/shares/Aplicacao# groups isnard
__USERS__ Domain Users Info Users

How can I make users take ownership on files created by them ?

Thanks in advance,
Josir Gomes


14
Installation and Upgrades / How to backup ebox ldap database
« on: May 25, 2009, 11:14:30 pm »
Hi folks, I've installed ebox only with ldap/samba services. Everything is working fine and users are happy.

But now I intended to plan a backup machine where I can copy all ldap info to this machine.
How is the best approach to do that with ebox ?

Thanks in advance.
Josir Gomes
Rio de Janeiro - Brasil

Pages: [1]