0

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..

1 Answer 1

0

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

# smbldap-useradd -w NEXENTA
12
  • i do it, but .. Jul 18, 2013 at 10:26
  • Could you show the output of smbldap-usershow NEXENTA$
    – ALex_hha
    Jul 18, 2013 at 11:27
  • see below [root@armada ~]# smbldap-usershow NEXENTA$ dn: uid=nexenta$,ou=Computers,dc=geo,dc=org objectClass: top,account,posixAccount cn: nexenta$ uid: nexenta$ uidNumber: 1686 gidNumber: 515 homeDirectory: /dev/null loginShell: /bin/false description: Computer gecos: Computer Jul 18, 2013 at 14:48
  • Try the following # smbldap-userdel NEXENTA$ # smbldap-useradd -W -g 515 NEXENTA
    – ALex_hha
    Jul 18, 2013 at 14:59
  • [root@armada ~]# smbldap-useradd -W -g 515 NEXENTA Jul 18, 2013 at 16:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.