Re: ldapsearch getting wrong base

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fosiul Alam wrote:
Hi just a quick question

i have this in file

dn: cn=techops-uk,ou=groups,l=UK,dc=fosiul,dc=lan
uniqueMember: uid=salam,ou=users,l=UK,dc=fosiul,dc=lan
changetype: modify
delete: uniqueMember

when i try to execute this

ldapmodify -xZZ -a -D "cn=Directory Manager" -w 'testtest' -f instattr.tmp

adding new entry "cn=techops-uk,ou=groups,l=UK,dc=fosiul,dc=lan"
ldapmodify: Already exists (68)

why its trying to add rather then delete ??

Drop -a from your command-line.

-a     Add new entries.  The default for ldapmodify is to modify exist-
       ing entries.  If invoked as ldapadd, this flag is always set.

rob
--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users



[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux