[Samba] USRMGR issues, net rpc ... OK

John H Terpstra jht at Samba.Org
Fri May 6 15:11:11 GMT 2005


On Friday 06 May 2005 06:14, johnh at primebuchholz.com wrote:
> Greetings,
>
> I have Samba 3.0.10 set up with ldapsam (OpenLDAP 2.2.13) and
> smbldap-tools 0.8.8, using start tls.
>
> Account info etc. is read properly from ldap, and
> adding/removing/modifying users with the "net" command works fine.
>
> Oddly, if I try to use USRMGR, for instance, to add a user, only the posix
> account gets created (by the smbldap-tools script) but the samba sam
> account add fails with the following error:
>
> [2005/05/05 16:19:56, 1] passdb/pdb_ldap.c:ldapsam_modify_entry(1516)
>   ldapsam_modify_entry: Failed to modify user dn=
> uid=johntest,ou=People,dc=mydomain,dc=com with: Strong(er) authentication
> required
>         modifications require authentication
> [2005/05/05 16:19:56, 0] passdb/pdb_ldap.c:ldapsam_add_sam_account(1948)
>   ldapsam_add_sam_account: failed to modify/add user with uid = johntest
> (dn = uid=johntest,ou=People,dc=mydomain,dc=com)
> [2005/05/05 16:19:56, 0] rpc_server/srv_samr_nt.c:_samr_create_user(2272)
>   could not add user/computer johntest to passdb.  Check permissions?
>
> Any ideas?

Did you follow the book "Samba-3 by Example"? It is available from:
http://www.samba.org/samba/docs/Samba-Guide.pdf

PS: Did you execute: smbpasswd -w 'secret'
 where 'secret' is the access password to your LDAP server?

- John T.
-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
Other books in production.


More information about the samba mailing list