Linux – Add nexentastor to domain (ldap/samba)

illumoslinuxnexentasambasolaris

I have PDC on LDAP/SAMBA 3.x on CentOS 5.
Domain memberships – Linux/Windows (Xp..7).
For add computer account in PDC i run (on PDC)

smbldap-useradd -w workstationname

on the linux,

  • configure smb.conf
  • smbpasswd -w password_for_ldap_admin
  • net join -S PDC_NAME -U domainadmin

Welcome to domain..

At now, i have one NexentaStor OS machine (v40-0-18, beta)

uname -a
SunOS gis 5.11 288c5cb8e28a i86pc i386 i86pc Solaris

i am to installed samba

apt-cache show service-network-samba

Package: service-network-samba
Version: 1.1.1
Architecture: solaris-i386

make machine account on PDC (smbldap-useradd -w nexenta), configured smb.conf and try add to domain

net join -S ARMADA

Enter root's password:
Could not connect to server ARMADA
The username or password was not correct.
Connection failed: NT_STATUS_LOGON_FAILURE

error log on PDC

[2013/07/18 15:59:41,  0] rpc_server/srv_netlog_nt.c:336(get_md4pw)
  get_md4pw: Workstation NEXENTA$: no account in domain
[2013/07/18 15:59:41,  0] rpc_server/srv_netlog_nt.c:584(_netr_ServerAuthenticate3)
  _netr_ServerAuthenticate2: failed to get machine password for account NEXENTA$: NT_STATUS_ACCESS_DENIED
[2013/07/18 15:59:41,  0] rpc_server/srv_netlog_nt.c:336(get_md4pw)
  get_md4pw: Workstation NEXENTA$: no account in domain
[2013/07/18 15:59:41,  0] rpc_server/srv_netlog_nt.c:584(_netr_ServerAuthenticate3)
  _netr_ServerAuthenticate2: failed to get machine password for account NEXENTA$: NT_STATUS_ACCESS_DENIED

what i doing wrong? Always work fine, but with nexenta dont work..

Best Answer

You should create machine account for the NEXENTA before you can add it to the domain

# smbldap-useradd -w NEXENTA