More logs, this time from smbpasswd. Although smbpasswd shouldnt be used,
it does only error on machine accounts, not user accounts.
Furthermore when using pam_ldap version, I can not get a machine on to the
domain at all. Even If I create the machine account myself, i get
"parameter is incorrec
Perhaps this logging will help?
2002/11/26 16:08:45, 10] passdb/pdb_get_set.c:pdb_set_init_flags(493)
element 17 -> now SET
[2002/11/26 16:08:45, 10] passdb/pdb_get_set.c:pdb_set_init_flags(493)
element 18 -> now SET
[2002/11/26 16:08:45, 10] passdb/pdb_get_set.c:pdb_set_init_flags(493)
elem
I'm using the scripts from samba.idealx.org
Here are my scripts:
add user script = /usr/local/sbin/smbldap-useradd.pl -a -m -d /dev/null -g
100 -s /bin/false %u
add machine script = /usr/local/sbin/smbldap-useradd.pl -g 553 -w %u
add user to group script = /usr/local/sbin/smbldap-groupmod.pl -m %
On Mon, 2002-11-25 at 17:26, Samba Guy wrote:
> I just noticed that when I try to add a machine, its acctflags get set to
> [DW ]. Also pwdmustchange seems to get cut in half as well. What
> would cause samba to make these changes? If the add machine script runs
> twice it just says user exist
I just noticed that when I try to add a machine, its acctflags get set to
[DW ]. Also pwdmustchange seems to get cut in half as well. What
would cause samba to make these changes? If the add machine script runs
twice it just says user exists, it doesnt modify anything. So it has to be
samba.
Has anyone had any luck adding machine accounts from w2k to a samba 3.0
pdc? I posted the issue last week, as I noticed others were encountering
the same problem. The weird thing is I had it working on a box before.
But this time I'm using pam_ldap to avoid local unix accounts, and it
wont work.