Well, if ldaplist list all entries but the access log shows nothing, perhaps are you looking at the wrong directory server ...
Another explanation would be everything is cached but I'm skeptical about the cache storing all the user's database. To rule that out, you might want to disable temporarily the name service cache (nscd) and see if that improves the replies:
I have a very simple c++ program like:
> cat easy_gcc.cc
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <ctype.h>
int debugging = 1;
int main()
{
printf ("This is a... (2 Replies)
Hi
I compiled an executable on Solaris 10 which creates semaphore ( semget)
but it didn't work on solaris 9 , while it is executing sucessfully on solaris 10. It is throwing the system error that Invalid arguments ( system error 22) on solaris 9.
the ldd for the executable on two servers is as... (4 Replies)
Hi
Got 2 solaris boxes - one uses set -o vi happily (put it in .profile)
The other reports: -o: bad option(s)
Both are solaris 9 and both users have $SHELL set to /bin/ksh
Any ideas??
Thanks (4 Replies)
HI,
When I tried to use the nc or netcat command in SOLARIS 10 server, it says
bash: nc: command not found
Any package needs to be installed for this command to work in SOL 10?:
Please someone let me know how to resolve this issue. (1 Reply)
Hi All, I have a problem with FTP service on Solaris 10.
Whenever I try to FTP to one machine locally (ftp localhost) or from other machine I don't get any response, I see the ftp service on the machine is online and listening to port 21 but ftp is not responding.
Also it seems i can't... (16 Replies)
Hello
I've installed Solaris 11 on Sparc T4-1,
I tried to launch IPS GUI:
# packagemanager
/usr/lib/python2.6/vendor-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
Unable to initialize gtk
could not open... (12 Replies)
korn shell script on Solaris
getent hosts <hostname> returns
IP FQDN
But I just want the output to be like this
<hostname> IP
things I have tried so far
getent hosts <hostname> |awk '{print $2,$1}'
using awk and substr
getent hosts <hostname> |nawk '{print substr($2,1,5)}'
... (1 Reply)
I'm typing "id <user's id>" and its returning a different UID that what is defined in our administration system. Where does id / getent query and where is it configured to query? I'm guessing it queries the local /etc/passwd file first, and then if it doesn't find anything it would query LDAP... (2 Replies)
Hi All, im a bit new to Solaris 10 iv been working on Redhat and cant seem to get the sudo working on Solaris 10:D
Iv installed the below packages via pkgadd command:
gcc-4.7.2-sol10-x86-local
libiconv-1.14-sol10-x86-local
libintl-3.4.0-sol10-x86-local
sudo-1.8.13-sol10-x86-local
... (1 Reply)
hi,
I enabled bsm modules (/etc/security/bsmconv) and rebooted Solaris 10. But service is going into maintenance state. I rebooted server and I see one error saying "sys/c2audit:audit_kssl() not defined properly". I am not sure, what it is indicating and how it should be fixed. Please suggest, how... (5 Replies)
Discussion started by: solaris_1977
5 Replies
LEARN ABOUT PHP
nscd
nscd(1M) System Administration Commands nscd(1M)NAME
nscd - name service cache daemon
SYNOPSIS
/usr/sbin/nscd [-f configuration-file] [-g] [-e cachename, yes | no] [-i cachename]
DESCRIPTION
nscd is a process that provides a cache for the most common name service requests. The default configuration-file /etc/nscd.conf determines
the behavior of the cache daemon. See nscd.conf(4).
nscd provides caching for the passwd(4), group(4), hosts(4), ipnodes(4), exec_attr(4), prof_attr(4), and user_attr(4) databases through
standard libc interfaces, such as gethostbyname(3NSL), getipnodebyname(3SOCKET), gethostbyaddr(3NSL), and others. Each cache has a separate
time-to-live for its data; modifying the local database (/etc/hosts, /etc/resolv.conf, and so forth) causes that cache to become invali-
dated upon the next call to nscd. The shadow file is specifically not cached. getspnam(3C) calls remain uncached as a result.
nscd also acts as its own administration tool. If an instance of nscd is already running, commands are passed to the running version trans-
parently.
In order to preserve NIS+ security, the nscd service checks the permissions on the passwd table if NIS+ is being used. If this table cannot
be read by unauthenticated users, then nscd will make sure that any encrypted password information returned from the NIS+ server is sup-
plied only to the owner of that password.
OPTIONS
Several of the options described below require a cachename specification. Supported values are passwd, group, hosts, ipnodes, exec_attr,
prof_attr, and user_attr.
-f configuration-file Causes nscd to read its configuration data from the specified file.
-g Prints current configuration and statistics to standard output. This is the only option executable by non-root
users.
-e cachename, yes|no Enables or disables the specified cache.
-i cachename Invalidate the specified cache.
EXAMPLES
Example 1: Stopping and restarting the nscd daemon.
example# svcadm disable system/name-service-cache
example# svcadm enable system/name-service-cache
FILES
/etc/nscd.conf Determines athe behavior of the cache daemon
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO svcs(1), svcadm(1M), getspnam(3C), gethostbyname(3NSL), getipnodebyname(3SOCKET), exec_attr(4), group(4), hosts(4), ipnodes(4),
nscd.conf(4), nsswitch.conf(4), passwd(4), prof_attr(4), user_attr(4), attributes(5),
NOTES
The output from the -g option to nscd is subject to change. Do not rely upon it as a programming interface.
The nscd service is managed by the service management facility, smf(5), under the service identifier:
svc:/system/name-service-cache
Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser-
vice's status can be queried using the svcs(1) command.
SunOS 5.10 30 Oct 2003 nscd(1M)