Hi Guys,
Great job on the beta so far. I’m new to Nethserver (though I did run an e-smith server back in the day) and am considering updating my aging ClearOS server to Nethserver 7. So, I’ve been doing some experimenting and testing for a bit and hit a wall. I don’t know if it’s a bug or something I’m doing wrong, but for the life of me I can’t get nethserver-dc to work properly. Here is some background information on the setup and what I’ve done so far:
- Nethserver 7 beta 1 is running in VirtualBox.
- Only the base system is installed and updates applied.
- Server has a static IP and default root password is changed.
- nethserver-dc installs properly; I see no errors in the log.
- A bridge is created on the green interface (via the checkbox) and I used a different IP than the server’s.
As the install is finishing up, I get a red error box at the top of the web page and this in the log:
Jul 27 11:38:16 amiga systemd-nspawn: Failed to create directory /var/lib/machines/nsdc//sys/fs/selinux: No such file or directory
Jul 27 11:38:16 amiga systemd-nspawn: Failed to create directory /var/lib/machines/nsdc//sys/fs/selinux: No such file or directory
Jul 27 11:38:40 amiga systemd: Started Authorization Manager.
Jul 27 11:38:40 amiga realmd: * Resolving: _ldap._tcp.kuntzilla.com
Jul 27 11:38:40 amiga realmd: * Performing LDAP DSE lookup on: 192.168.67.23
Jul 27 11:38:40 amiga realmd: ! Can’t contact LDAP server
Jul 27 11:38:40 amiga esmith::event[2805]: realm: Cannot join this realm
Jul 27 11:38:40 amiga esmith::event[2805]: [ERROR] DC join failed
Jul 27 11:38:40 amiga esmith::event[2805]: Action: /etc/e-smith/events/nethserver-dc-save/S96nethserver-dc-join FAILED: 1 [2.949292]
Jul 27 11:38:51 amiga esmith::event[2805]: Event: nethserver-dc-save FAILED
Not wanting to just give up, I found Davide’s nethserver-dc docs and followed the steps to join the AD domain manually. That worked and I got the expected output he shows in the doc right up to the “net ads info” command. That fails with the following:
ads_connect: No logon servers
ads_connect: No logon servers
Didn’t find the ldap server!
I don’t see anything about it in /var/log/messages. Clicking the “Domain Accounts” option in server manager gives similar output:
ads_connect: No logon servers
ads_connect: No logon servers
Didn’t find the ldap server!
ads_connect: No logon servers
Join to domain is not valid: No logon servers
Trying to create a new user with the server manager results in a red error box at the top of the page with the message “User name The user already exists”. I wasn’t ever prompted for a user name
Any ideas or hints? Seems like it shouldn’t be this hard… If I need to fill our a bug report or provide more information please let me know. I’m happy to help out if I can.
Thanks!