NethServer Version: 7 final
Module:
Hi,
I’m trying to migrate to NS from my old server (Zentyal).
Unfortunately the old server authenticates many services (Mail, Apache, Qnap, Zeroshell …)
I decided to begin to migrate mailboxes leaving authentication on the old LDAP server.
It seemed easy but …
[root@neth ~]# account-provider-test dump
{
"startTls" : "",
"bindUser" : "ebox",
"userDN" : "ou=Users,dc=zen,dc=xx,dc=xx,dc=xx,dc=it",
"port" : 389,
"isAD" : "",
"host" : "140.xxx.xx.xx",
"groupDN" : "ou=Groups,dc=zen,dc=xx,dc=xx,dc=xx,dc=it",
"isLdap" : "1",
"ldapURI" : "ldap://140.xxx.xx.xx",
"baseDN" : "dc=zen,dc=xx,dc=xx,dc=xx,dc=it",
"bindPassword" : "uZlB-xxxxxxxxxxxx",
"bindDN" : "cn=ebox,dc=zen,dc=xx,dc=xx,dc=xx,dc=it"
}
[root@neth ~]# config show sssd
sssd=service
AdDns=
BaseDN=dc=zen,dc=xx,dc=xx,dc=xx,dc=it
BindDN=cn=ebox,dc=zen,dc=xx,dc=xx,dc=xx,dc=it
BindPassword=uZlB-xxxxxxxxxxxxx
GroupDN=ou=Groups,dc=zen,dc=xx,dc=xx,dc=xx,dc=it
LdapURI=ldap://140.xxx.xx.xx.xx
Provider=ldap
StartTls=disabled
UserDN=ou=Users,dc=zen,dc=xx,dc=xx,dc=xx,dc=it
status=enabled
[root@neth ~]# ldapsearch -b dc=zen,dc=xx,dc=xxx,dc=x,dc=it -h 140.xxx.xx.xx -D uid=admin,ou=Users,dc=zen,dc=xx,dc=xx,dc=xx,dc=it -W
Enter LDAP Password:
#extended LDIF
#
#LDAPv3
#base <dc=zen,dc=xx,dc=xx,dc=xx,dc=it> with scope subtree
#filter: (objectclass=*)
#requesting: ALL
.........
# search result
search: 2
result: 4 Size limit exceeded
# numResponses: 501
# numEntries: 500
[root@neth ~]# getent passwd admin
admin:*:2121:1901:- -:/home/admin:/usr/sbin/nologin
[root@neth ~]# ldapsearch -H ldap://140.xxx.xx.xx -v -x -b "dc=zen,dc=xx,dc=xx,dc=xx,dc=it" '(uid=admin)' mail
ldap_initialize( ldap://140.xxx.xx.xx:389/??base )
filter: (uid=admin)
requesting: mail
# extended LDIF
#
# LDAPv3
# base <dc=zen,dc=xx,dc=xx,dc=xx,dc=it> with scope subtree
# filter: (uid=admin)
# requesting: mail
#
# admin, Users, zen.xx.xx.xx.it
dn: uid=admin,ou=Users,dc=zen,dc=xx,dc=xx,dc=xx,dc=it
mail: admin@xxx.xxx.it
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
[root@neth ~]#
Ok seems to be all right but …
Nothing users, groups only.
And now where do I start?
Thanks
Emilio