3.0.23a, adding to domain problem

Dmitry Melekhov dm at belkam.com
Fri Jul 28 06:30:52 GMT 2006


Looks like all were OK with 3.0.22.

When we try to add win2000 computer to samba domain we get:

[2006/07/28 11:04:45, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(617)
  add_smbfilepwd_entry: entry with name SHUVALOVAMA$ already exists
[2006/07/28 11:12:38, 0] passdb/pdb_smbpasswd.c:build_sam_account(1202)
  build_sam_account: smbpasswd database is corrupt!  username 
SHUVALOVAMA$ with uid 50481 is not in unix passwd database!

computer name is in low case,
but it is created in upper case in smbpasswd and in low case in passwd.

add machine script = /usr/sbin/useradd -c Machine -g 50000 -s /bin/false %m$

when I created uppercase name in passwd samba included machine in domain...

More information about the samba-technical mailing list