[OpenIndiana-discuss] ldapclient being disabled after reboot
Jonathan Adams
t12nslookup at gmail.com
Fri Jul 20 08:32:47 UTC 2012
I configured this from my graphical interface ... but my guess is you
should be able to configure this with nwamcfg (/etc/nsswitch.jon is
/etc/nsswitch.ldap with tweaks):
root at jadlaptop:~# nwamcfg
nwamcfg> ?
commands:
cancel
clear <prop-name>
commit
create [-t <template>] <object-type> [<class>] <object-name>
destroy {-a | <object-type> [<class>] <object-name>}
end
exit
export [-d] [-f <output-file>] [<object-type> [<class>] <object-name>]
get [-V] <prop-name>
help [command-name]
list [-a] [<object-type> [<class>] <object-name>]
revert
select <object-type> [<class>] <object-name>
set <prop-name>=<value1>[,<value2>...]
verify
walkprop [-a]
nwamcfg> list
NCPs:
Automatic
User
Locations:
Automatic
NoNet
nwamcfg> select Loc Automatic
nwamcfg:loc:Automatic> list
loc:Automatic
activation-mode system
enabled true
nameservices dns,ldap
nameservices-config-file "/etc/nsswitch.jon"
dns-nameservice-configsrc dhcp
ldap-nameservice-configsrc manual
ldap-nameservice-servers "127.0.0.1"
default-domain "domain.co.uk"
nwamcfg:loc:Automatic>
I, also, used ldapclient to set up the ldap config initially.
On 19 July 2012 19:37, CJ Keist <cj.keist at colostate.edu> wrote:
> I sent this question in before that my ldapclient gets disabled and nsswitch.conf file reverted back to files only after a reboot. Someone on the list said I need to get nwam setup correctly. I do not have graphic interface installed on the server, could someone tell me how to do this via command line?
>
> thanks...
>
> PS: I used ldapclient when setting up this server, is this no longer the method on OI?
>
More information about the OpenIndiana-discuss
mailing list