Hi,

I'm running Samba/openLDAP on a FC4 and I'm trying to make it work as a=20
PDC. I installed all the software using yum instead smbldap-tools.

I've done all the configuration but, when I try to join a Windows XP=20
Professional named 'pc4' to the domain it fails with "Error joining the=20
domain OPENWIRED. Username not found". And no machine account is created =

under ou=3DComputers,dc=3Dopenwired,dc=3Dnet

If I run /usr/local/sbin/smbldap-useradd -w 'pc4$' it works OK.

smbd.log at the end.

When I start SAMBA it binds OK to the LDAP using the=20
cn=3Droot,dc=3Dopenwired,dc=3Dnet account and it has all privileges grant=
ed in=20
slapd.conf.

What's happening

Thank you in advance,

# net getlocalsid
SID for domain PDC-SRV is: S-1-5-21-1518432643-1164322876-3946144605

# net getdomainsid
SID for domain PDC-SRV is: S-1-5-21-1518432643-1164322876-3946144605
SID for domain OPENWIRED is: S-1-5-21-27105391-1648776033-2601101416

smd.conf
[global]
workgroup =3D OPENWIRED
netbios name =3D PDC-SRV


smbd.log:
[2005/03/20 21:07:24, 2] smbd/reply.c:reply_special(236)
netbios connect: name1=3DPDC-SRV name2=3DPC4
[2005/03/20 21:07:24, 2] smbd/reply.c:reply_special(243)
netbios connect: local=3Dpdc-srv remote=3Dpc4, name type =3D 0
[2005/03/20 21:07:24, 2] smbd/sesssetup.c:setup_new_vc_session(608)
setup_new_vc_session: New VC =3D=3D 0, if NT4.x compatible we would cl=
ose=20
all old resources.
[2005/03/20 21:07:24, 2] smbd/sesssetup.c:setup_new_vc_session(608)
setup_new_vc_session: New VC =3D=3D 0, if NT4.x compatible we would cl=
ose=20
all old resources.
[2005/03/20 21:07:24, 2] lib/smbldap.c:smbldap_open_connection(692)
smbldap_open_connection: connection opened
[2005/03/20 21:07:24, 2] passdb/pdb_ldap.c:init_sam_from_ldap(499)
init_sam_from_ldap: Entry found for user: root
[2005/03/20 21:07:24, 2] auth/auth.c:check_ntlm_password(305)
check_ntlm_password: authentication for user [root] -> [root] ->=20
[root] succeeded
[2005/03/20 21:07:24, 2] smbd/server.c:exit_server(609)
Closing connections
[2005/03/20 21:07:24, 2] smbd/reply.c:reply_special(236)
netbios connect: name1=3DPDC-SRV name2=3DPC4
[2005/03/20 21:07:24, 2] smbd/reply.c:reply_special(243)
netbios connect: local=3Dpdc-srv remote=3Dpc4, name type =3D 0
[2005/03/20 21:07:24, 2] smbd/sesssetup.c:setup_new_vc_session(608)
setup_new_vc_session: New VC =3D=3D 0, if NT4.x compatible we would cl=
ose=20
all old resources.
[2005/03/20 21:07:24, 2] smbd/sesssetup.c:setup_new_vc_session(608)
setup_new_vc_session: New VC =3D=3D 0, if NT4.x compatible we would cl=
ose=20
all old resources.
[2005/03/20 21:07:24, 2] lib/smbldap.c:smbldap_open_connection(692)
smbldap_open_connection: connection opened
[2005/03/20 21:07:24, 2] passdb/pdb_ldap.c:init_sam_from_ldap(499)
init_sam_from_ldap: Entry found for user: root
[2005/03/20 21:07:24, 2] auth/auth.c:check_ntlm_password(305)
check_ntlm_password: authentication for user [root] -> [root] ->=20
[root] succeeded
[2005/03/20 21:07:24, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(258=
0)
Returning domain sid for domain OPENWIRED ->=20
S-1-5-21-27105391-1648776033-2601101416
sh: -c: line 0: unexpected EOF while looking for matching `''
sh: -c: line 1: syntax error: unexpected end of file
[2005/03/20 21:07:24, 0] rpc_server/srv_samr_nt.c:_samr_create_user(2324)=

_samr_create_user: Running the command=20
`/usr/local/sbin/smbldap-useradd -w 'pc4$' gave 2
[2005/03/20 21:07:24, 2] smbd/server.c:exit_server(609)
Closing connections

--=20
David Mor=F3n Ruano



--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba