[Samba] Workstation xxxx$: no account in domain

Wolfgang Pichler madmin at dialog-telekom.at
Mon May 26 08:44:04 GMT 2003


hi,

i've found the problem - so for the archive:

after i've added the root user to the ldap archive everything worked
fine. Without the root user the added workstation always got acctflags
[DW  ].

mfG
Wolfi

Am Fre, 2003-05-23 um 13.01 schrieb Wolfgang Pichler:
> hi,
> 
> I've a problem with adding workstations to my samba/ldap pdc - if i add
> the workstation with win2000 to the pdc then the workstation gets
> registered in ldap with the following entry:
> (i am using  smbldap-useradd.pl -w -d /dev/null -g computers -c
> 'Computer Account' -s /bin/false %u)
> which seems to me to be ok, but the workstation tells me that it
> couldn't get attached to the damain. In the samba logs i can see that
> samba has found the workstation but then i get a:
>   get_md4pw: Workstation nomicro$: no account in domain
> 
> I've already googled for this problem - found something but o solution ?
> Can anyone tell me what can cause this error ?
> 
> here my workstation ldif entry:
> 
> dn: uid=nomicro$, ou=computers, dc=dialog-telekom,dc=at
> logonTime: 0
> displayName: nomicro$
> lmPassword: 6BCAC9BC98D80DE1AAD3B435B51404EE
> objectClass: account
> objectClass: posixAccount
> objectClass: sambaAccount
> primaryGroupID: 2007
> acctFlags: [DW         ]
> uid: nomicro$
> uidNumber: 1000
> cn: nomicro$
> loginShell: /bin/false
> logoffTime: 2147483647
> gidNumber: 503
> kickoffTime: 2147483647
> pwdLastSet: 1053686926
> rid: 3000
> description: Computer
> homeDirectory: /dev/null
> pwdCanChange: 0
> pwdMustChange: 2147483647
> ntPassword: 4DA811CEF46834C8201960E47D39C07D
> 
> 
> samba log:
> [2003/05/23 12:48:48, 2] passdb/pdb_ldap.c:ldap_search_one_user(272)
>   ldap_search_one_user: searching
> for:[(&(uid=nomicro$)(objectclass=sambaAccount))]
> [2003/05/23 12:48:48, 2] passdb/pdb_ldap.c:get_single_attribute(370)
>   get_single_attribute: [uid] = [nomicro$]
> [2003/05/23 12:48:48, 2] passdb/pdb_ldap.c:init_sam_from_ldap(505)
>   Entry found for user: nomicro$
> [2003/05/23 12:48:48, 2] passdb/pdb_ldap.c:get_single_attribute(370)
>   get_single_attribute: [pwdLastSet] = [1053686926]
> [2003/05/23 12:48:48, 2] passdb/pdb_ldap.c:get_single_attribute(370)
>   get_single_attribute: [logonTime] = [0]
> [2003/05/23 12:48:48, 2] passdb/pdb_ldap.c:get_single_attribute(370)
>   get_single_attribute: [logoffTime] = [2147483647]
> [2003/05/23 12:48:48, 2] passdb/pdb_ldap.c:get_single_attribute(370)
>   get_single_attribute: [kickoffTime] = [2147483647]
> [2003/05/23 12:48:48, 2] passdb/pdb_ldap.c:get_single_attribute(370)
>   get_single_attribute: [pwdCanChange] = [0]
> [2003/05/23 12:48:48, 2] passdb/pdb_ldap.c:get_single_attribute(370)
>   get_single_attribute: [pwdMustChange] = [2147483647]
> [2003/05/23 12:48:48, 2] passdb/pdb_ldap.c:get_single_attribute(370)
>   get_single_attribute: [cn] = [nomicro$]
> [2003/05/23 12:48:48, 2] passdb/pdb_ldap.c:get_single_attribute(364)
>   get_single_attribute: [homeDrive] = [<does not exist>]
> [2003/05/23 12:48:48, 2] passdb/pdb_ldap.c:get_single_attribute(364)
>   get_single_attribute: [smbHome] = [<does not exist>]
> [2003/05/23 12:48:48, 2] passdb/pdb_ldap.c:get_single_attribute(364)
>   get_single_attribute: [scriptPath] = [<does not exist>]
> [2003/05/23 12:48:48, 2] passdb/pdb_ldap.c:get_single_attribute(364)
>   get_single_attribute: [profilePath] = [<does not exist>]
> [2003/05/23 12:48:48, 2] passdb/pdb_ldap.c:get_single_attribute(370)
>   get_single_attribute: [description] = [Computer]
> [2003/05/23 12:48:48, 2] passdb/pdb_ldap.c:get_single_attribute(364)
>   get_single_attribute: [userWorkstations] = [<does not exist>]
> [2003/05/23 12:48:48, 2] passdb/pdb_ldap.c:get_single_attribute(370)
>   get_single_attribute: [rid] = [3000]
> [2003/05/23 12:48:48, 2] passdb/pdb_ldap.c:get_single_attribute(370)
>   get_single_attribute: [primaryGroupID] = [2007]
> [2003/05/23 12:48:48, 2] passdb/pdb_ldap.c:get_single_attribute(370)
>   get_single_attribute: [lmPassword] =
> [6BCAC9BC98D80DE1AAD3B435B51404EE]
> [2003/05/23 12:48:48, 2] passdb/pdb_ldap.c:get_single_attribute(370)
>   get_single_attribute: [ntPassword] =
> [4DA811CEF46834C8201960E47D39C07D]
> [2003/05/23 12:48:48, 2] passdb/pdb_ldap.c:get_single_attribute(370)
>   get_single_attribute: [acctFlags] = [[DW         ]]
> [2003/05/23 12:48:48, 0] rpc_server/srv_netlog_nt.c:get_md4pw(188)
>   get_md4pw: Workstation nomicro$: no account in domain
> [2003/05/23 12:48:48, 2] smbd/server.c:exit_server(461)
>   Closing connections
> 
> mfG
> Wolfi







More information about the samba mailing list