BUGS: at least two in pdb_ldap.c
Donny Davies
djdavies at rogers.com
Fri May 23 19:37:10 GMT 2003
Lines 1705 and 1714 are obviously incorrect.
I tried patching locally here by replacing "nextUserRid" with
get_attr_key2string(dominfo_attr_list, LDAP_ATTR_NEXT_USERRID)
and similarly replacing "nextGroupRid" with
get_attr_key2string(dominfo_attr_list, LDAP_ATTR_NEXT_GROUPRID)
which lets me get further with `smbpasswd -a -m foo' than i did
before, but it still doesnt work and I end up triggering:
DEBUG(0, ("NO user RID specified on account %s, and "
"finding next available NUA RID failed, "
"cannot store!\n", pdb_get_username(sampass)));
I'm afraid I don't know how to fix this. Please take a look.
Thanks.
More information about the samba-technical
mailing list