Question
January 23, 2008 at 07:44 AM
paul

LDAP batch file

by paul . Updated 18 years, 10 months ago

Is there an additional line I can add to the batch file to specify a PROFILE?

This is what I put into the BATCH FILE via the echo command:

dn: radiusname=6605826700@HWS3G.NET,radiusclass=Native-user,radiusclassroot=useser,o=radius”

changetype: add

objectclass: top

objectclass: Native-User

objectclass: user

radiusname: 6605826700@HWS3G.NET

password: {x-clear}XXXXXXX

Then I execute the batch file with this command:

ldapmodify -c -h 10.80.91.96 -p 667 -D “cn=admin,o=radius” -w radius -f /tmp/psauser.ldf

This discussion is locked

All Comments