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

Re: ldapmodify interactive?



Buongiorno,

recode ibmpc..lat1

(on my machine I created an alias dos2unix for this)

this command converts arbitrary text files between dos & unix. For
conversion in the other direction, just exchange the parameters.
(Should also convert special characters like german umlauts, french
accents & many other)

Hope it Helps

CU
Werner


Edward Khoo wrote:
> 
>   Buon pomeriggio,
> 
>  >Significantly, you are not entering the DN you want to modify,
> :-) That was just a quick example. But, you are right in a different
> way....I was using a DN with no rights to read/write any record, that is
> why I was getting errors.
> 
> About the LDIF, is there some sort of converter to change the DOS <crlf>
> to a Unix <\n> ? Anyone knows?
> I read in the FAQ that the <crlf> won't be accepted by a Unix Directory
> Server.
> 
> Grazie. :-)
> 
> Edward
> 
> Pierangelo Masarati wrote:
> 
> >Edward Khoo wrote:
> >
> >>Hi folks,
> >>
> >>Does ldapmodify.exe (compiled for Win2K using cygwin) have interactivity
> >>with commercial (netscape) directory servers?
> >>
> >>Eg.
> >>prompt> ldapmodify -D "o=company.com" -h 123.123.123.123 -w passwd
> >> >changetype: add
> >> >telephonenumber: 987654321
> >> >-
> >>
> >>I tried using it without success (as above), am I doing it wrong or it
> >>is not a feature?
> >>
> >
> >You must input a complete and correct LDIF entry. See the man page
> >at http://www.openldap.org/software/man.cgi (check both ldapmodify(3)
> >and slapd.replog(5)).
> >
> >Significantly, you are not entering the DN you want to modify, and the
> >type of change you want to apply to the attibute. Your ldif should
> >read (assuming you bound as the entry you want to modify):
> >
> >dn: o=company.com
> >changetype: modify
> >add: telephoneNumber
> >telephoneNumber: 987654321
> >-
> >
> >
> >Pierangelo.
> >