Error while join to domain (Unable to create machine account)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba |
Invalid
|
Unknown
|
|||
smbldap-tools (Ubuntu) |
Triaged
|
Undecided
|
Unassigned |
Bug Description
# net rpc join -S dfbsa106 -U Administrator
Creation of workstation account failed
On PDC log return this:
dfbsa106:
[2007/11/22 10:57:20, 2] passdb/
init_
[2007/11/22 10:57:20, 2] passdb/
init_
[2007/11/22 10:57:20, 2] smbd/reply.
Serving IPC$ as a Dfs root
failed to perform search; Unexpected EOF at /usr/share/
line 374.
Error looking for next uid at /usr/share/
[2007/11/22 10:57:20, 0] passdb/
_samr_
"dfbsafernando$"' gave 1
And running the command manually it work.
dfbsa106:~# /usr/sbin/
dfbsa106:~#
dfbsa106:~# ldapsearch -x uid=dfbsafernando$ -LLL
dn: uid=dfbsafernan
objectClass: top
objectClass: person
objectClass: organizationalP
objectClass: inetOrgPerson
objectClass: posixAccount
cn: dfbsafernando$
sn: dfbsafernando$
uid: dfbsafernando$
uidNumber: 13571
gidNumber: 515
homeDirectory: /dev/null
loginShell: /bin/false
description: Computer
gecos: Computer
My smb.conf:
[global]
workgroup = XXX
netbios name = dfbsafernando
obey pam restrictions = yes
security = domain
encrypt passwords = true
wins server = wins.xxx.gov.br
template shell = /bin/bash
template homedir = /home/%U
printing = cups
invalid users = root
winbind use default domain = yes
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
winbind offline logon = true
winbind separator = \
On 3.0.24 it work fine, after upgrade it fail.
smbldap-tools Version: 0.9.2-3
Changed in samba: | |
status: | Unknown → Confirmed |
Changed in samba: | |
status: | Confirmed → Invalid |
affects: | samba (Ubuntu) → smbldap-tools (Ubuntu) |
Changed in samba: | |
importance: | Unknown → Critical |
Changed in samba: | |
importance: | Critical → Unknown |
I'm also having problems joining Ubuntu Gutsy BDC to our existing PDC. We also tried to setup a Gutsy PDC but windows client are unable to join. The machine accounts are added to the LDAP server but it fails to join the domain.
$ net join -S PDC -Uroot%password rpc_join. c:net_rpc_ join_newstyle( 304)
[2007/11/23 16:41:54, 0] utils/net_
error setting trust account password: NT code 0x1c010002
Unable to join domain PDC.
$ tail -f /var/log/syslog sock.c: read_data( 534) pdb_interface. c:pdb_default_ create_ user(329) smbldap- useradd -w "vmxp$"' gave 9
Nov 23 17:19:57 ubuntu smbd[5390]: [2007/11/23 17:19:57, 0] lib/util_
Nov 23 17:19:57 ubuntu smbd[5390]: read_data: read failure for 4 bytes to client 192.200.2.37. Error = Connection reset by peer
Nov 23 17:20:14 ubuntu smbd[5391]: [2007/11/23 17:20:14, 0] passdb/
Nov 23 17:20:14 ubuntu smbd[5391]: _samr_create_user: Running the command `/usr/sbin/