Hello, 

I was lookig for a good opensource groupware suite and found
SOGo. Because my skills are limited, I was glad to find the SOGo ZEG script
found here http://www.onlinedemo.hu/32-besorolatlan/71-zeg-install-script


But I try and try, but always failed. I did not know why, till today. The
domain I want to use is mijn-voipcentrale.nl and for some kind of reason
samba4 have problems with the netbios name "mijn-voipcentrale". 

See my
logs from step 4 of the scripts. 

4 - Openchange install and
setup
Continue ...
Executing: gpg --ignore-time-conflict --no-options
--no-default-keyring --secret-keyring /tmp/tmp.I7hKjkvaSx --trustdb-name
/etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring
/etc/apt/trusted.gpg --keyserver keys.gnupg.net --recv-key 0x810273C4
gpg:
requesting key 810273C4 from hkp server keys.gnupg.net
gpg: key 810273C4:
"Inverse Support (package signing) " not changed
gpg: Total number
processed: 1
gpg: unchanged: 1
deb http://inverse.ca/ubuntu precise
precise
Hit http://us.archive.ubuntu.com precise Release.gpg
Hit
http://us.archive.ubuntu.com precise-updates Release.gpg
Hit
http://us.archive.ubuntu.com precise-backports Release.gpg
Hit
http://us.archive.ubuntu.com precise Release
Hit
http://us.archive.ubuntu.com precise-updates Release
Hit
http://us.archive.ubuntu.com precise-backports Release
Hit
http://us.archive.ubuntu.com precise/main Sources
Hit
http://us.archive.ubuntu.com precise/restricted Sources
Hit
http://us.archive.ubuntu.com precise/universe Sources
Hit
http://us.archive.ubuntu.com precise/multiverse Sources
Hit
http://us.archive.ubuntu.com precise/main i386 Packages
Hit
http://us.archive.ubuntu.com precise/restricted i386 Packages
Hit
http://us.archive.ubuntu.com precise/universe i386 Packages
Hit
http://us.archive.ubuntu.com precise/multiverse i386 Packages
Hit
http://us.archive.ubuntu.com precise/main TranslationIndex
Hit
http://us.archive.ubuntu.com precise/multiverse TranslationIndex
Hit
http://us.archive.ubuntu.com precise/restricted TranslationIndex
Hit
http://us.archive.ubuntu.com precise/universe TranslationIndex
Hit
http://us.archive.ubuntu.com precise-updates/main Sources
Hit
http://us.archive.ubuntu.com precise-updates/restricted Sources
Hit
http://us.archive.ubuntu.com precise-updates/universe Sources
Hit
http://us.archive.ubuntu.com precise-updates/multiverse Sources
Hit
http://us.archive.ubuntu.com precise-updates/main i386 Packages
Hit
http://us.archive.ubuntu.com precise-updates/restricted i386 Packages
Hit
http://us.archive.ubuntu.com precise-updates/universe i386 Packages
Hit
http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit
http://us.archive.ubuntu.com precise-updates/main TranslationIndex
Hit
http://us.archive.ubuntu.com precise-updates/multiverse
TranslationIndex
Hit http://us.archive.ubuntu.com
precise-updates/restricted TranslationIndex
Hit
http://us.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit
http://us.archive.ubuntu.com precise-backports/main Sources
Hit
http://us.archive.ubuntu.com precise-backports/restricted Sources
Hit
http://us.archive.ubuntu.com precise-backports/universe Sources
Hit
http://us.archive.ubuntu.com precise-backports/multiverse Sources
Hit
http://us.archive.ubuntu.com precise-backports/main i386 Packages
Hit
http://us.archive.ubuntu.com precise-backports/restricted i386 Packages
Hit
http://us.archive.ubuntu.com precise-backports/universe i386 Packages
Hit
http://us.archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit
http://us.archive.ubuntu.com precise-backports/main TranslationIndex
Hit
http://us.archive.ubuntu.com precise-backports/multiverse
TranslationIndex
Hit http://us.archive.ubuntu.com
precise-backports/restricted TranslationIndex
Hit
http://us.archive.ubuntu.com precise-backports/universe
TranslationIndex
Hit http://us.archive.ubuntu.com precise/main
Translation-en
Hit http://us.archive.ubuntu.com precise/multiverse
Translation-en
Hit http://us.archive.ubuntu.com precise/restricted
Translation-en
Hit http://us.archive.ubuntu.com precise/universe
Translation-en
Hit http://us.archive.ubuntu.com precise-updates/main
Translation-en
Hit http://us.archive.ubuntu.com precise-updates/multiverse
Translation-en
Hit http://us.archive.ubuntu.com precise-updates/restricted
Translation-en
Hit http://us.archive.ubuntu.com precise-updates/universe
Translation-en
Hit http://us.archive.ubuntu.com precise-backports/main
Translation-en
Hit http://us.archive.ubuntu.com
precise-backports/multiverse Translation-en
Hit
http://us.archive.ubuntu.com precise-backports/restricted
Translation-en
Hit http://us.archive.ubuntu.com precise-backports/universe
Translation-en
Hit http://security.ubuntu.com precise-security
Release.gpg
Hit http://security.ubuntu.com precise-security Release
Hit
http://security.ubuntu.com precise-security/main Sources
Hit
http://security.ubuntu.com precise-security/restricted Sources
Hit
http://security.ubuntu.com precise-security/universe Sources
Hit
http://security.ubuntu.com precise-security/multiverse Sources
Hit
http://security.ubuntu.com precise-security/main i386 Packages
Hit
http://security.ubuntu.com precise-security/restricted i386 Packages
Hit
http://security.ubuntu.com precise-security/universe i386 Packages
Hit
http://security.ubuntu.com precise-security/multiverse i386 Packages
Hit
http://security.ubuntu.com precise-security/main TranslationIndex
Hit
http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit
http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit
http://security.ubuntu.com precise-security/universe TranslationIndex
Hit
http://security.ubuntu.com precise-security/main Translation-en
Hit
http://security.ubuntu.com precise-security/multiverse Translation-en
Hit
http://security.ubuntu.com precise-security/restricted Translation-en
Hit
http://security.ubuntu.com precise-security/universe Translation-en
Hit
http://inverse.ca precise Release.gpg
Hit http://inverse.ca precise
Release
Hit http://inverse.ca precise/precise i386 Packages
Ign
http://inverse.ca precise/precise TranslationIndex
Ign http://inverse.ca
precise/precise Translation-en_US
Ign http://inverse.ca precise/precise
Translation-en
Reading package lists... Done
Reading package lists...
Done
Building dependency tree
Reading state information... Done
0 upgraded,
0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Done
Building dependency tree
Reading state information...
Done
openchange-ocsmanager is already the newest
version.
openchange-rpcproxy is already the newest version.
openchangeproxy
is already the newest version.
openchangeserver is already the newest
version.
samba4 is already the newest version.
sogo is already the newest
version.
sogo-openchange is already the newest version.
0 upgraded, 0 newly
installed, 0 to remove and 0 not upgraded.
deb http://inverse.ca/ubuntu
precise precise
Reading package lists... Done
Building dependency
tree
Reading state information... Done
Package bind9 is not installed, so
not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not
upgraded.
'/etc/samba/smb.conf' backed up
ERROR(): uncaught exception - The
name ''MIJN-VOIPCENTRALE'' is not a valid NetBIOS name
 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 398, in
run
 use_rfc2307=use_rfc2307, skip_sysvolacl=False)
 File
"/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 1892,
in provision
 sitename=sitename, rootdn=rootdn)
 File
"/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 561,
in guess_names
 raise InvalidNetbiosName(domain)
# Global
parameters
[global]
 ### Configuration required by OpenChange server ###

dcerpc endpoint servers = +epmapper, +mapiproxy
 dcerpc_mapiproxy:server =
true
 dcerpc_mapiproxy:interfaces = exchange_emsmdb, exchange_nsp,
exchange_ds_rfr
 ### Configuration required by OpenChange server ###


workgroup = MIJN-VOIPCENTRALE
 realm = mijn-voipcentrale.nl
 netbios name =
SOGO
 server role = active directory domain controller
 dns forwarder =
185.27.173.5

[netlogon]
 path =
/var/lib/samba/sysvol/mijn-voipcentrale.nl/scripts
 read only =
No

[sysvol]
 path = /var/lib/samba/sysvol
 read only = No
Reading package
lists... Done
Building dependency tree
Reading state information... Done
0
upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
NOTE: This
operation can take several minutes
[+] Step 1: Register Exchange OIDs
[+]
Step 2: Add Exchange attributes to Samba schema
[!] error while
provisioning the Exchange schema classes (68): Entry
CN=ms-Exch-Access-Control-Map,CN=Schema,CN=Configuration,DC=mijn-voipcentrale,DC=nl
already exists
[+] Step 3: Exchange Samba with Exchange configuration
objects
[!] error while provisioning the Exchange configuration objects
(68): Entry CN=Microsoft
Exchange,CN=Services,CN=Configuration,DC=mijn-voipcentrale,DC=nl already
exists
Setting up openchange db
Traceback (most recent call last):
 File
"/usr/sbin/openchange_provision", line 67, in 

openchange.openchangedb_provision(lp, firstorg=opts.firstorg,
firstou=opts.firstou)
 File
"/usr/lib/python2.7/dist-packages/openchange/provision.py", line 567, in
openchangedb_provision
 openchange_ldb.setup()
 File
"/usr/lib/python2.7/dist-packages/openchange/mailbox.py", line 59, in
setup
 """)
 File "/usr/lib/python2.7/dist-packages/samba/__init__.py",
line 224, in add_ldif
 self.add(msg, controls)
_ldb.LdbError: (68, 'Entry
@OPTIONS already exists')
samba4 stop/waiting
samba4 start/running, process
9499
 * Stopping OCSManager application ocsmanager [ OK ]
 * Starting
OCSManager application ocsmanager Entering daemon mode
 [ OK
]
'/etc/krb5.conf' backed up
# This file describes the network interfaces
available on your system
# and how to activate them. For more information,
see interfaces(5).

# The loopback network interface
auto lo
iface lo inet
loopback

# The primary network interface
auto eth0
iface eth0 inet static

address 185.27.173.44
 netmask 255.255.255.0
 gateway 185.27.173.3

dns-nameservers 185.27.173.5
 dns-search mijn-voipcentrale.nl
 dns-domain
mijn-voipcentrale.nl
Wait to start Samba4 LDAP ... OK
ldap_result: Can't
contact LDAP server (-1)
ldap_result: Can't contact LDAP server (-1)
BUG -
userPrincipalName is missing, fixing it now
ldap_result: Can't contact LDAP
server (-1)
Traceback (most recent call last):
 File
"/usr/sbin/openchange_newuser", line 66, in 
 openchange.newuser(lp, creds,
username=args[0])
 File
"/usr/lib/python2.7/dist-packages/openchange/provision.py", line 431, in
newuser
 "upn": user_attrs["userPrincipalName"]}
KeyError: 'No such
element'
ldap_result: Can't contact LDAP server (-1)
ldap_result: Can't
contact LDAP server (-1)
Expiry for user 'administrator'
disabled.
ERROR(ldb): Failed to create group "MIJN-VOIPCENTRALE Users" -
samldb: Account name (sAMAccountName) 'MIJN-VOIPCENTRALE Users' already in
use!
Operations are OK [Yn]? No 

Who can help me out, because the majority
of my domains have hyphens in them. 

Also I would like to know if this
netbios name failure has to do why Samba4 can't contact the LDAP server.


Thanks-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to