[Samba] can't join a domain
John H Terpstra
jht at samba.org
Fri Oct 1 17:19:55 GMT 2004
On Friday 01 October 2004 02:13, Thorsten Scherf wrote:
> when trying to put a samba3 server into a domain (samba3 pdc) I always
> get the following error messages:
> [root at file samba]# net join -d 2 -U smbadmin RHEL -S
smbadmin must have uid 0.
- John T.
> [2004/09/30 23:36:35, 2] lib/interface.c:add_interface(79)
> added interface ip=192.168.0.150 bcast=192.168.0.255
> smbadmin's password:
> [2004/09/30 23:36:37, 1] libads/ldap.c:ads_connect(251)
> Failed to get ldap server info
> [2004/09/30 23:36:37, 0] utils/net_ads.c:ads_startup(183)
> ads_connect: No results returned
> [2004/09/30 23:36:37, 1] utils/net_rpc.c:run_rpc_command(141)
> rpc command function failed! (NT_STATUS_ACCESS_DENIED)
> Create of workstation account failed
> User specified does not have administrator privileges
> Unable to join domain RHEL.
> [2004/09/30 23:36:38, 2] utils/net.c:main(792)
> return code = 1
> I'm using a ldapsam backend, and authentication with smbclient is
> working well. the user smbadmin is also a member of the domain admin
> group, and group mapping was done:
> [root at server1 samba]# net groupmap list
> Domain Admins (S-1-5-21-3370306482-4184561861-561853233-512) ->
> Domain Users (S-1-5-21-3370306482-4184561861-561853233-512) -> domuser
> Domain Guests (S-1-5-21-3370306482-4184561861-561853233-512) ->
> I saw this on problem discussed on several mailinglists, but with no
> solution. maybe anybody here can help me with a hint.
John H Terpstra
Phone: +1 (650) 580-8668
The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
OpenLDAP by Example, ISBN: 0131488732
Other books in production.
More information about the samba