[Samba] SAMBA with LDAP - net join fails
Matthias Eichler
me-lists at eichler-fleschuetz.de
Thu Apr 21 13:31:02 GMT 2005
Hi,
I would not specify the password in the commandline, but when
prompted for it. I had some problems with special signs (maybe
like your % in the password...)
Matthias
Am Donnerstag, den 21.04.2005, 08:25 -0500 schrieb Steven C. Henry:
> Hi,
>
> I have performed all the steps from John Tepstra's "Samba-3 by Example" 20
> April 2005 to Chapter 5, step 21, pg 146.
> (My goal is to have SAMBA with LDAP and no MS Windows servers.)
>
> Everything appears to work properly to this point.
>
> When I perform the command: (amd is the name of this test server)
>
> net rpc join -S AMD -U root%not24get
>
> I get the error:
>
> Could not connect to server AMD
> The username or password was not correct.
>
> Adding debug -d 1, I get the following additional information:
> [2005/04/20 17:00:23, 1] utils/net_rpc.c:run_rpc_command(139)
> rpc command function failed! (NT_STATUS_ACCESS_DENIED)
> [2005/04/20 17:00:23, 1] libsmb/cliconnect.c:cli_full_connection(1494)
> failed session setup with NT_STATUS_LOGON_FAILURE
> Could not connect to server AMD
> The username or password was not correct.
>
> When restarting winbindd before trying to join the domain, I get the
> following in the windbindd error log:
>
> [2005/04/20 16:36:54, 0] lib/smbldap.c:smbldap_open_connection(599)
> ldap_initialize: Bad parameter to an ldap routine
> [2005/04/20 16:36:54, 1] lib/smbldap.c:another_ldap_try(1011)
> Connection to LDAP server failed for the 1 try!
> ...
> [2005/04/20 16:37:09, 0] sam/idmap.c:idmap_init(138)
> idmap_init: failed to initialize remote backend!
> [2005/04/20 16:37:09, 1] nsswitch/winbindd.c:main(897)
> Could not init idmap -- netlogon proxy only
>
> The following occurs in samba IP (machine) log, which I would expect.
>
> [2005/04/20 16:29:04, 0] rpc_server/srv_netlog_nt.c:get_md4pw(244)
> get_md4pw: Workstation AMD$: no account in domain
>
> the /etc/nsswitch.conf file has the following:
>
> passwd: compat ldap
> shadow: files ldap
> group: compat ldap
>
> hosts: files dns wins
>
> System is running SuSE 9.2 with Samba 3.0.14a-.1-SUSE
>
> Any assistance would be greatly appreciated. Thank you.
>
>
> --
> Steven C. Henry
> stevench at xnet.comstevenchh@xnet.com
> Steven C. Henry
>
More information about the samba
mailing list