[Date Prev][Date Next] [Chronological] [Thread] [Top]

bind: invalid dn



Hello list!

I cant join a samba domain (openldap based) because it has problems with the trusted machine account.
If i use:


add machine script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u && /usr/sbin/smbldap-useradd -w "%u"

in my samba config everything works.
So i guess nss has a problem with checking for the machinename$.

Here are the logs:

Nov 29 13:21:23 localhost slapd[915]: slapd starting
Nov 29 13:21:39 localhost slapd[921]: bind: invalid dn ("cn=Manager,dc=IDEALX,dc=ORG")
Nov 29 13:21:39 localhost smbd[920]: [2004/11/29 13:21:39, 0] auth/auth_sam.c:check_sam_security(306)
Nov 29 13:21:39 localhost smbd[920]: check_sam_security: make_server_info_sam() failed with 'NT_STATUS_NO_SUCH_USER'
Nov 29 13:21:39 localhost slapd[921]: bind: invalid dn ("cn=Manager,dc=IDEALX,dc=ORG")
Nov 29 13:21:40 localhost slapd[921]: bind: invalid dn ("cn=Manager,dc=IDEALX,dc=ORG")
Nov 29 13:21:40 localhost smbd[922]: [2004/11/29 13:21:40, 0] auth/auth_sam.c:check_sam_security(306)
Nov 29 13:21:40 localhost smbd[922]: check_sam_security: make_server_info_sam() failed with 'NT_STATUS_NO_SUCH_USER'
Nov 29 13:21:40 localhost slapd[921]: bind: invalid dn ("cn=Manager,dc=IDEALX,dc=ORG")



Why invallid dn? From slapd.conf: --- suffix "dc=IDEALX,dc=ORG" rootdn "cn=Manager,dc=IDEALX,dc=ORG"


As you can see, i tried to follow the idealx howto.

Which debug mode will give me more hints about whats goinf wrong/on?

Thanks, Mario