[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldapadd error





Steve Feehan wrote:
On 4/10/06, Adam Williams <awilliam@mdah.state.ms.us> wrote:


>From your first ldapsearch it appears you're using a simple bind. So
for the second search you should also specify -x:

ldapsearch -x -b 'dc=mdah,dc=state,dc=ms,dc=us' -s base '(objectclass=*)'

And you should be checking that ou=people exists:

ldapsearch -x -b 'ou=people,dc=mdah,dc=state,dc=ms,dc=us' -s base
'(objectclass=*)'

--
Steve Feehan




it looks like it doesn't exist, so how do I create it?

ldapsearch -x -b 'ou=people,dc=mdah,dc=state,dc=ms,dc=us' -s base '(objectclass=*)'
# extended LDIF
#
# LDAPv3
# base <ou=people,dc=mdah,dc=state,dc=ms,dc=us> with scope base
# filter: (objectclass=*)
# requesting: ALL
#


# search result
search: 2
result: 32 No such object

# numResponses: 1