Re: "insufficient access" when adding users
Tim Rice <
tim@...>
2010-07-07 22:48:24 GMT
On Wed, 7 Jul 2010, delpheye wrote:
> Just realized I didn't reply to the list...
>
> LAM doesn't report any errors after login, and the root user is listed in
> the Domain Admins group. So far it and nobody are the only two users in
> LDAP.
The "Domain Admins group" really doesn't have anything to to with
OpenLDAP allowing writes to the ldap database. You've got an LDAP
issue not a LAM issue.
Perhaps send your slapd.conf to the list so we can see what's going on.
Be sure to sanitize the password.
> Also, I'm running LAM 2.9.0 on CentOS 5.5. I tried to install 3.0 and 3.1,
> but there were pcre compatibility issues that I couldn't resolve.
>
> On Wed, Jul 7, 2010 at 12:54 PM, Roland Gruber <post@...> wrote:
>
> > Am 07.07.2010 18:31, schrieb delpheye:
> > > Whenever I try to save a new user in LAM, it returns "Insufficient
> > access."
> > > The server logs say:
> > >
> > > ERROR: [uid=root,ou=Users,dc=domain,dc=com] Unable to create DN:
> > > uid=testuser,ou=Users,dc=domain,dc=com (Insufficient access).
> > >
> > > However I can add users manually with smbldap-useradd. I've looked at
> > ldap
> > > and LAM directory permissions and they're both correct(ldap and apache,
> > > respectively).
> >
> > insufficient access usually means that either the LDAP user that you use
> > for LAM is not the admin or that you try to create entries in
> > non-existing parts of the LDAP tree.
> > Does LAM report any missing suffixes after login? Is "dc=domain,dc=com"
> > your right LDAP suffix?
> >
> > - --
> >
> > Best regards
> >
> > Roland Gruber
--
--
Tim Rice Multitalents (707) 887-1469
tim@...
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first