How to authenticate windows 2012 Active Diretory users from

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read how to get help
Post Reply
rajeev2631007
Level 1
Level 1
Posts: 30
Joined: Wed Sep 16, 2015 2:20 am

How to authenticate windows 2012 Active Diretory users from

Post by rajeev2631007 »

There used to be a GUI called likewise-open but it got bought by Beyondtrust and renamed Powerbroker .. I gather you can still get it for free, but it's no longer in the repos:
https://askubuntu.com/questions/452904/ ... connect-ad

I had installed the above said Package and try to join to windows Server 2012 AD using powerborker using GUI and Terminal ways I get given below errors.

GUI-Domainjoin-gui
Link-To-Snap Shot
https://drive.google.com/file/d/0BwT9N8 ... sp=sharing
https://drive.google.com/file/d/0BwT9N8 ... sp=sharing
https://drive.google.com/file/d/0BwT9N8 ... sp=sharing

Log file Details

Code: Select all

20151223132541:INFO:Adding moc075 (fqdn moc075.maspar.local) to /etc/hosts ip 127.0.0.1, removing moc075, moc075.maspar.local, moc075, moc075.maspar.local
20151223132634:INFO:Adding moc075 (fqdn moc075.maspar.local) to /etc/hosts ip 127.0.0.1, removing moc075, moc075.maspar.local, moc075, moc075.maspar.local
20151223132716:INFO:Adding moc075 (fqdn moc075.maspar.local) to /etc/hosts ip 127.0.0.1, removing moc075, moc075.maspar.local, moc075, moc075.maspar.local
Terminal-domainjoin-cli

Code: Select all

#without --disable ssh
administrator@moc075:/opt/likewise/bin$ sudo domainjoin-cli join maspar.local administrator
[sudo] password for administrator: 

Error: Unable to find ssh binary [code 0x00000436]

A sshd config file was at {nowhere}, and a sshd binary file was found at
{nowhere}. Exactly one config file and one binary must exist on the system in a
standard location. Uninstall any unused copies of ssh.
Please see the documentation related to sshd configuration options required and
re-attempt the join with "domainjoin-cli join/leave --disable ssh <domain>
<username>"
#with --disable ssh

#/opt/likewise/bin folder
administrator@moc075:/opt/likewise/bin$ sudo domainjoin-cli join --disable ssh  maspar.local administrator
Joining to AD Domain:   maspar.local
With Computer DNS Name: moc075.maspar.local

administrator@MASPAR.LOCAL's password: 

Error: ERROR_GEN_FAILURE [code 0x0000001f]


administrator@moc075:/opt/likewise/bin$ 

#/opt/pbis/bin folder
administrator@MOC075:/opt/pbis/bin$ sudo domainjoin-cli join --disable ssh maspar.local  administrator
Joining to AD Domain:   maspar.local
With Computer DNS Name: MOC075.maspar.local

administrator@MASPAR.LOCAL's password: 

Error: ERROR_GEN_FAILURE [code 0x0000001f]
Host file Details

Code: Select all

127.0.0.1 moc075.maspar.local moc075
127.0.0.1 moc075.maspar.local moc075
127.0.0.1 localhost
172.168.1.3 axdatabase
172.168.1.2 axdc
172.168.1.2 axdc.maspar.local
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Ping details

Code: Select all

administrator@moc075:~$ ping 172.168.1.2
PING 172.168.1.2 (172.168.1.2) 56(84) bytes of data.
64 bytes from 172.168.1.2: icmp_seq=1 ttl=127 time=1.16 ms
64 bytes from 172.168.1.2: icmp_seq=2 ttl=127 time=1.07 ms
64 bytes from 172.168.1.2: icmp_seq=3 ttl=127 time=0.915 ms
64 bytes from 172.168.1.2: icmp_seq=4 ttl=127 time=1.06 ms
64 bytes from 172.168.1.2: icmp_seq=5 ttl=127 time=0.993 ms
64 bytes from 172.168.1.2: icmp_seq=6 ttl=127 time=1.21 ms
^C
--- 172.168.1.2 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5003ms
rtt min/avg/max/mdev = 0.915/1.072/1.214/0.103 ms
administrator@moc075:~$ ping axdc.maspar.local
PING axdc.maspar.local (172.168.1.2) 56(84) bytes of data.
64 bytes from axdc (172.168.1.2): icmp_seq=1 ttl=127 time=1.23 ms
64 bytes from axdc (172.168.1.2): icmp_seq=2 ttl=127 time=1.33 ms
64 bytes from axdc (172.168.1.2): icmp_seq=3 ttl=127 time=1.07 ms
64 bytes from axdc (172.168.1.2): icmp_seq=4 ttl=127 time=1.12 ms
64 bytes from axdc (172.168.1.2): icmp_seq=5 ttl=127 time=1.09 ms
^C
--- axdc.maspar.local ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 1.078/1.173/1.335/0.097 ms
administrator@moc075:~$ 
I request you please advice.

Regards,

Rajeev Gautam

User avatar
txba516
Level 3
Level 3
Posts: 197
Joined: Fri Aug 10, 2007 11:57 am
Location: Atlanta, GA

Re: How to authenticate windows 2012 Active Diretory users f

Post by txba516 »

Hi Rajeev,

Have you adjusted the avahi config on your system? Try this walk-through instead...
http://swissperience.ch/techtalk/ubuntu ... ad-domain/

Cheers!
LM17.2 x64 Cinnamon
Help the forums get answers faster! Mark your fixed problem thread as [SOLVED]

Post Reply

Return to “Other networking topics”