In first case you will need either stop or restart nscd. In second - create such user or check its password.
Hope it helps, Igor
Tomasz Chmielewski wrote:
Hello,
I'm trying to set up Samba + OpenLDAP as a PDC.
I followed the instructions from chapter 6 in Samba-3 by Example, my system is SuSE 9.1.
ldap, winbind, nmb and smb are running.
testparm says my smb.conf file is OK.
I set LDAP password using smbpasswd -w.
There was a similar post a few days ago (smbldap-tools don't create machine account properly), but it didn't help me.
When I try to join using net rpc (page 158 of Samba-3 by Example), I get this:
# net rpc join -U Administrator%password Could not connect to server SERVER The username or password was not correct.
This is what is logged with debugs 1-9 in smb.conf (same log with each debug):
# cat /var/log/samba/log.192.168.0.109 [2004/10/25 15:01:04, 0] rpc_server/srv_netlog_nt.c:get_md4pw(201) get_md4pw: Workstation SERVER$: no account in domain
I get the same even when I add machine SERVER manually.
I can find this machine manually using ldapsearch:
# ldapsearch -x -b "dc=magista,dc=de" "(uid=SERVER$)" # extended LDIF # # LDAPv3 # base <dc=magista,dc=de> with scope sub # filter: (uid=SERVER$) # requesting: ALL #
# server$, Users, magista.de dn: uid=server$,ou=Users,dc=magista,dc=de objectClass: top objectClass: inetOrgPerson objectClass: posixAccount cn: server$ sn: server$ uid: server$ uidNumber: 1004 gidNumber: 515 homeDirectory: /dev/null loginShell: /bin/false description: Computer gecos: Computer
# search result search: 2 result: 0 Success
# numResponses: 2 # numEntries: 1
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba