<div>Thats Great !!</div>
<div>Added single quote and it worked !!!</div>
<div> </div>
<div>Hey Sorry but that was fake password.</div>
<div>Just was checking if ! at the start can work or not.</div>
<div> </div>
<div>Anyway..Thanks for the help.<br><br></div>
<div class="gmail_quote">On Fri, Jan 15, 2010 at 10:23 PM, Sean Murray <span dir="ltr"><<a href="mailto:murray@tlabs.ac.za">murray@tlabs.ac.za</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im">Ajeet S Raina wrote:<br>> Saludos,<br>><br>> Thanks for the quick response.<br>> I tried ur suggestions and getting the error:<br>><br></div>> ldapmodify -x -h <a href="http://389-ds.sap.com/" target="_blank">389-ds.sap.com</a> <<a href="http://389-ds.sap.com/" target="_blank">http://389-ds.sap.com</a>> -D<br>
<div class="im">> "cn=Directory Manager" -w !ntra123 -f Users.ldif<br>> -bash: !ntra123: event not found<br>><br>> Any idea ?<br><br></div>Its not a great idea to publish passwords in a public forum like this.<br>
That being said enclose it in single quotes.<br><br>Cheers<br>Sean<br>
<div class="im">><br>><br>><br>><br>> 2010/1/15 Sergio A. Morales <<a href="mailto:sergiomorales@archlinux.cl">sergiomorales@archlinux.cl</a><br></div>> <mailto:<a href="mailto:sergiomorales@archlinux.cl">sergiomorales@archlinux.cl</a>>><br>
<div class="im">><br>> On Fri, 2010-01-15 at 21:30 +0530, Ajeet S Raina wrote:<br>> ><br>> ><br>> > Guys,<br>> ><br>> > I downloaded a script called USERADD from link:<br>
> > <a href="http://www.redhat.com/f/pdf/rhas/NetgroupWhitepaper.pdf" target="_blank">http://www.redhat.com/f/pdf/rhas/NetgroupWhitepaper.pdf</a> Page 9 and<br>> > follow as follow:<br>> ><br>
> > It did create a new Users.ldif file as follow:<br>> ><br>> > dn: uid=dave, cn=EnvOD,ou=IM,ou=Bangalore,dc=im,dc=sap,dc=com<br>> > changetype: add<br>> > uid: dave<br>
> > objectClass: top<br>> > objectClass: person<br>> > objectClass: organizationalPerson<br>> > objectClass: inetorgperson<br>> > objectClass: posixAccount<br>> > cn: Dave Meyer<br>
> > sn: Meyer<br>> > givenName: Dave Meyer<br>> > gidNumber: 1000<br>> > uidNumber: 1003<br>> > userPassword: {clear}redhat<br>> > loginShell: /bin/bash<br>
> > homeDirectory: /home/dave<br>> ><br>> ><br>> > But if I import it into Directory Server as:<br>> ><br></div>> > ldapmodify -h <a href="http://389-ds.sap.com/" target="_blank">389-ds.sap.com</a> <<a href="http://389-ds.sap.com/" target="_blank">http://389-ds.sap.com/</a>> -D<br>
<div class="im">> "cn=Directory Manager" -w <password><br>> > -f Users.ldif<br>> > [1] 9443<br>> > -bash: -f: command not found<br>> > [root@389-ds opt]# SASL/EXTERNAL authentication started<br>
> > ldap_sasl_interactive_bind_s: Unknown authentication method (-6)<br>> > additional ldapmodify -h <a href="http://389-ds.sapient.com/" target="_blank">389-ds.sapient.com</a><br></div>> <<a href="http://389-ds.sapient.com/" target="_blank">http://389-ds.sapient.com/</a>> -D "cn=Directory<br>
<div class="im">> > Manager" -w Oracle123456& -f Users.ldif<br>> ><br>> > No Idea why its behaving so?<br>> > Am I missing anything in the command.<br>> > I did provided -ZZ options for TLS but it dint work.<br>
> ><br>> > Note: I have configured SSL for the 389-Ds.<br>> ><br>> ><br>> Try -x for simple Auth:<br>><br></div>> ldapmodify -x -h <a href="http://389-ds.sap.com/" target="_blank">389-ds.sap.com</a> <<a href="http://389-ds.sap.com/" target="_blank">http://389-ds.sap.com/</a>> -D<br>
<div class="im">> "cn=Directory Manager" -w <password><br>> -f Users.ldif<br>><br>><br>> Saludos<br>><br>><br>> --<br>> Sergio A. Morales <<a href="mailto:sergiomorales@archlinux.cl">sergiomorales@archlinux.cl</a><br>
</div>> <mailto:<a href="mailto:sergiomorales@archlinux.cl">sergiomorales@archlinux.cl</a>>><br>
<div class="im">> uSCI & CSRG Sysadmin<br>> Archlinux Chile<br>><br>><br>> --<br>> 389 users mailing list<br>> <a href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a><br>
</div>> <mailto:<a href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a>><br>
<div class="im">> <a href="https://admin.fedoraproject.org/mailman/listinfo/389-users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/389-users</a><br>><br>><br>><br>><br>> --<br>><br>
><br>> ”It is not possible to rescue everyone who is caught in the Windows<br>> quicksand<br>> --Make sure you are on solid Linux ground before trying.”<br>><br>><br>><br></div>> ------------------------------------------------------------------------<br>
<div>
<div></div>
<div class="h5">><br>> --<br>> 389 users mailing list<br>> <a href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a><br>> <a href="https://admin.fedoraproject.org/mailman/listinfo/389-users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/389-users</a><br>
<br>--<br>389 users mailing list<br><a href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a><br><a href="https://admin.fedoraproject.org/mailman/listinfo/389-users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/389-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><br><br>”It is not possible to rescue everyone who is caught in the Windows quicksand<br> --Make sure you are on solid Linux ground before trying.”<br>
<br><br>