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

Adding user entries...



I have not yet been able to add a user to my ldap server.

I'm going to attached what I have successfully entered into the ldap server.

Using me as an example, could someone type a short ldif file as an example for the following.

I want to add myself to the ldap server.
I need to be in the ASD division, and the its bureau.
I want to put my e-mail address and telephone number.

Please help... Thank you!
# extended LDIF
#
# LDAPv3
# base <dc=nmenv,dc=state,dc=nm,dc=us> with scope sub
# filter: (objectclass=*)
# requesting: ALL
#

# nmenv.state.nm.us
dn: dc=nmenv,dc=state,dc=nm,dc=us
objectClass: dcObject
objectClass: organization
dc: nmenv
o: New Mexico Environment Department
description: New Mexico Environment Deparment

# asd, nmenv.state.nm.us
dn: ou=asd,dc=nmenv,dc=state,dc=nm,dc=us
objectClass: top
objectClass: organizationalUnit
ou: asd
description: Administrative Services Division

# its, asd, nmenv.state.nm.us
dn: ou=its,ou=asd,dc=nmenv,dc=state,dc=nm,dc=us
objectClass: top
objectClass: organizationalUnit
ou: its
description: Information Technology Services

# cpb, asd, nmenv.state.nm.us
dn: ou=cpb,ou=asd,dc=nmenv,dc=state,dc=nm,dc=us
objectClass: top
objectClass: organizationalUnit
ou: cpb
description: Construction Programs Bureau

# fsb, asd, nmenv.state.nm.us
dn: ou=fsb,ou=asd,dc=nmenv,dc=state,dc=nm,dc=us
objectClass: top
objectClass: organizationalUnit
ou: fsb
description: Financial Services Bureau

# budgets, asd, nmenv.state.nm.us
dn: ou=budgets,ou=asd,dc=nmenv,dc=state,dc=nm,dc=us
objectClass: top
objectClass: organizationalUnit
ou: budgets
description: NMED Budgets and Grants Bureau

# pb, asd, nmenv.state.nm.us
dn: ou=pb,ou=asd,dc=nmenv,dc=state,dc=nm,dc=us
objectClass: top
objectClass: organizationalUnit
ou: pb
description: Purchasing Bureau

# psb, asd, nmenv.state.nm.us
dn: ou=psb,ou=asd,dc=nmenv,dc=state,dc=nm,dc=us
objectClass: top
objectClass: organizationalUnit
ou: psb
description: Personnel Services Bureau

# Manager, nmenv.state.nm.us
dn: cn=Manager,dc=nmenv,dc=state,dc=nm,dc=us
objectClass: organizationalRole
cn: Manager
description: Directory Manager

# epd, nmenv.state.nm.us
dn: ou=epd,dc=nmenv,dc=state,dc=nm,dc=us
objectClass: top
objectClass: organizationalUnit
ou: epd
description: Environmental protection Division

# swb, epd, nmenv.state.nm.us
dn: ou=swb,ou=epd,dc=nmenv,dc=state,dc=nm,dc=us
objectClass: top
objectClass: organizationalUnit
ou: swb
description: Solid Waste Bureau

# aqb, epd, nmenv.state.nm.us
dn: ou=aqb,ou=epd,dc=nmenv,dc=state,dc=nm,dc=us
objectClass: top
objectClass: organizationalUnit
ou: aqb
description: Air Quality Bureau

# pstb, epd, nmenv.state.nm.us
dn: ou=pstb,ou=epd,dc=nmenv,dc=state,dc=nm,dc=us
objectClass: top
objectClass: organizationalUnit
ou: pstb
description: Petroleum Storage Tank Bureau

# wwmd, nmenv.state.nm.us
dn: ou=wwmd,dc=nmenv,dc=state,dc=nm,dc=us
objectClass: top
objectClass: organizationalUnit
ou: wwmd
description: Water and Waste Management Division

# ohsa, epd, nmenv.state.nm.us
dn: ou=ohsa,ou=epd,dc=nmenv,dc=state,dc=nm,dc=us
objectClass: top
objectClass: organizationalUnit
ou: ohsa
description: Occupational Health and Safety Bureau

# hwb, wwmd, nmenv.state.nm.us
dn: ou=hwb,ou=wwmd,dc=nmenv,dc=state,dc=nm,dc=us
objectClass: top
objectClass: organizationalUnit
ou: hwb
description: Hazardous Waste Bureau

# gwqb, wwmd, nmenv.state.nm.us
dn: ou=gwqb,ou=wwmd,dc=nmenv,dc=state,dc=nm,dc=us
objectClass: top
objectClass: organizationalUnit
ou: gwqb
description: Ground Water Quality Bureau

# doe, wwmd, nmenv.state.nm.us
dn: ou=doe,ou=wwmd,dc=nmenv,dc=state,dc=nm,dc=us
objectClass: top
objectClass: organizationalUnit
ou: doe
description: DOE Oversight Bureau

# swqb, wwmd, nmenv.state.nm.us
dn: ou=swqb,ou=wwmd,dc=nmenv,dc=state,dc=nm,dc=us
objectClass: top
objectClass: organizationalUnit
ou: swqb
description: Surface Water Quality Bureau

# fod, nmenv.state.nm.us
dn: ou=fod,dc=nmenv,dc=state,dc=nm,dc=us
objectClass: top
objectClass: organizationalUnit
ou: fod
description: Field Operations Division

# do1, fod, nmenv.state.nm.us
dn: ou=do1,ou=fod,dc=nmenv,dc=state,dc=nm,dc=us
objectClass: top
objectClass: organizationalUnit
ou: do1
description: District Office 1

# do2, fod, nmenv.state.nm.us
dn: ou=do2,ou=fod,dc=nmenv,dc=state,dc=nm,dc=us
objectClass: top
objectClass: organizationalUnit
ou: do2
description: District Office 2

# do3, fod, nmenv.state.nm.us
dn: ou=do3,ou=fod,dc=nmenv,dc=state,dc=nm,dc=us
objectClass: top
objectClass: organizationalUnit
ou: do3
description: District Office 3

# do4, fod, nmenv.state.nm.us
dn: ou=do4,ou=fod,dc=nmenv,dc=state,dc=nm,dc=us
objectClass: top
objectClass: organizationalUnit
ou: do4
description: District Office 4

# dwb, fod, nmenv.state.nm.us
dn: ou=dwb,ou=fod,dc=nmenv,dc=state,dc=nm,dc=us
objectClass: top
objectClass: organizationalUnit
ou: dwb
description: Drinking Water Bureau

# rpb, fod, nmenv.state.nm.us
dn: ou=rpb,ou=fod,dc=nmenv,dc=state,dc=nm,dc=us
objectClass: top
objectClass: organizationalUnit
ou: rpb
description: Radiation Protection Bureau

# search result
search: 2
result: 0 Success

# numResponses: 27
# numEntries: 26