Re: ns-activate/inactivate/accountstatus.pl

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

 



Hello,

Did you try to specify the serverid (slapd-<serverid>). like

ns-accountstatus.pl -D "cn=Directory Manager" -w password -p 389 -h myldapserver -I "cn=ejtest,ou=Deactivated Accts,ou=People,dc=mycompany,dc=com" -Z <serverId>

regarsd
thierry


On 04/09/2014 04:25 PM, Elizabeth Jones wrote:
I just discovered the ns-activate/inactivate/accountstatus.pl scripts but
I can't seem to get them to work.  I've tried a bunch of different
combinations along these lines --

s-accountstatus.pl -D "cn=Directory Manager" -w password -p 389 -h
myldapserver -I cn=ejtest,ou=Deactivated
Accts,ou=People,dc=mycompany,dc=com
ns-accountstatus.pl -D Directory Manager -w password -p 389 -h
myldapserver -I cn=ejtest,ou=Deactivated
Accts,ou=People,dc=mycompany,dc=com
ns-accountstatus.pl -D "cn=Directory Manager" -w password -p 389 -h
myldapserver -I "cn=ejtest,ou=Deactivated
Accts,ou=People,dc=mycompany,dc=com"
ns-accountstatus.pl -D Directory Manager -w password -p 389 -h
myldapserver -I "cn=ejtest,ou=Deactivated
Accts,ou=People,dc=mycompany,dc=com"

basically with and without "" and with and without cn=, but every
combination I've tried it only returns the help menu back to me.

I looked up the ldapsearch commands that it is using, this seems to be the
accountstatus command:
$ldapsearch -p $port -h $host -D \"$rootdn\" -w \"$rootpw\" -s base -b
\"$entry\" \"(objectclass=*)\" nsaccountlock

It looks pretty basic, but I can't figure out why it won't work for me.
Are others able to get this working?

thanks -

EJ


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

--
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