[Samba] no mapping between account names and security ids was done

Bas Goes b.e.a.goes at student.utwente.nl
Thu Apr 3 07:30:46 GMT 2003


On Thu, 2003-04-03 at 06:23, lists at masonc.com wrote:
> Date: Wed, 2 Apr 2003 19:14:37 -0400
> From: "Chris Mason" <lists at masonc.com>
> To: <samba at lists.samba.org>
> Subject: [Samba] no mapping between account names and security ids was
done
> Message-ID: <000601c2f96d$a1630d90$7300a8c0 at mason.home>
> Content-Type: text/plain;
>       charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Precedence: list
> Message: 44
> Tailing /var/log/samba/poseiden.log
> 
> [2003/04/02 19:06:18, 2] passdb/pdb_ldap.c:ldap_connect_system(250)
>   ldap_connect_system: succesful connection to the LDAP server
> [2003/04/02 19:06:18, 2] passdb/pdb_ldap.c:ldap_search_one_user(262)
>   ldap_search_one_user: searching
> for:[(&(uid=poseiden1$)(objectclass=sambaAccount))]
> [2003/04/02 19:06:18, 0] passdb/pdb_ldap.c:pdb_getsampwnam(858)
>   LDAP search "(&(uid=poseiden1_)(objectclass=sambaAccount))" returned
0
> entries.
> [2003/04/02 19:06:18, 0] rpc_server/srv_netlog_nt.c:get_md4pw(176)
>   get_md4pw: Workstation poseiden1$: no account in domain
> [2003/04/02 19:06:18, 2] smbd/server.c:exit_server(461)
>   Closing connections

Have you tried querying your ldap database?

ldapsearch -x -W -D "<admin account>" -b "<searchbase>"
"(&(uid=poseiden1_)(objectclass=sambaAccount))" 

or something like that or do a slapcat > ldapdir.tmp en search for
uid=poseidon1$ in there.
If it ain't there you can try making it by hand, the passwords are the
machinename afaik.
If it is there it could be that it has to do with your machine sid, this
is just a suggestion I don't know much about SID stuff.
Try some googling on secrets.tdb or just throw secrets.tdb away if it's
just a test setup, it's in /var/lib/samba or /var/samba. 

Hope this is helpfull, I have had similar error messages in winxp for
some time but with me someone pointed me at nss not looking in the right
ldapbase, but that's not your problem, i just mentioned it for people
searching the sambalist history.

Regards
Bas

PS: my apologees for the the first message



More information about the samba mailing list