[Samba] Samba fails joining domain

Germ van Ek | Esyst germ at esyst.nl
Tue Jul 1 02:18:29 MDT 2014


https://wiki.samba.org/index.php/Setup_a_Samba_AD_Member_Server#Joining_a_Member_Server_to_the_domain 




Met vriendelijke groeten, 
Germ van Ek 
Esyst BV 

----- Oorspronkelijk bericht -----

Van: "Andrew Stein" <andrew.stein at teleresources.net> 
Aan: samba at lists.samba.org 
Verzonden: Maandag 16 juni 2014 16:14:34 
Onderwerp: [Samba] Samba fails joining domain 

Does anyone have a guess as to where I should be looking to fix this? I can 
run wbinfo -u wbinfo -g and all the names come up right. Kinit works and I 
get a Ker ticket.. This is an Ubuntu 14.04 with samba 4. 



THIS IS THE FIRST LINUX COMPUTER I HAVE EVER BUILT!!!!!!! I knew absolutely 
ZERO about linux last week so I don't even know how to explain the issue. 



What I want to do is share some folders and have the authentication run 
through my 2008 R2 server with all the users/passwords on it etc. Worst 
case I may ditch the domain passwords but that's what I would really prefer. 



Thanks, 

Drew 



root at fileserv:~# samba-tool domain join TRIDULUTH.COM DC -U andrew.stein 
--realm=TRIDULUTH.COM 

Finding a writeable DC for domain 'TRIDULUTH.COM' 

Found DC dulserv.triduluth.com 

Password for [TRIDULUTH\andrew.stein]: 

Failed to bind - LDAP client internal error: NT_STATUS_INVALID_PARAMETER 

Failed to connect to 'ldap://dulserv.triduluth.com' with backend 'ldap': 
(null) 

ERROR(ldb): uncaught exception - None 

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 552, 
in run 

machinepass=machinepass, use_ntvfs=use_ntvfs, dns_backend=dns_backend) 

File "/usr/lib/python2.7/dist-packages/samba/join.py", line 1150, in 
join_DC 

machinepass, use_ntvfs, dns_backend, promote_existing) 

File "/usr/lib/python2.7/dist-packages/samba/join.py", line 81, in 
__init__ 

credentials=ctx.creds, lp=ctx.lp) 

File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 56, in 
__init__ 

options=options) 

File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 114, in 
__init__ 

self.connect(url, flags, options) 

File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 71, in 
connect 

options=options) 

root at fileserv:~# 

-- 
To unsubscribe from this list go to the following URL and read the 
instructions: https://lists.samba.org/mailman/options/samba 



More information about the samba mailing list