[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
telnet not reading nsswitch.conf
Hi All
I added this ldif as per Philip Browns bolthole.com page for Secure LDAP for
Solaris
dn: cn=ldaphost, ou=Hosts, dc=qwestip, dc=net
cn: ldaphost
ou: ldaphost
ipHostNumber: 10.3.4.5
objectclass: top
objectclass: ipHost
objectclass: organizationalUnit
But to test it when I try to telnet to the ldaphost I noticed it is not reading
/etc/nsswitch.conf file
Here is the relevant output from truss
open("/etc/netconfig", O_RDONLY) = 3
fstat64(3, 0xFFBFEED0) = 0
brk(0x000399A0) = 0
brk(0x0003B9A0) = 0
fstat64(3, 0xFFBFED78) = 0
ioctl(3, TCGETA, 0xFFBFEE5C) Err#25 ENOTTY
read(3, " # p r a g m a i d e n".., 8192) = 1239
read(3, 0x00039794, 8192) = 0
llseek(3, 0, SEEK_CUR) = 1239
llseek(3, 0, SEEK_SET) = 0
read(3, " # p r a g m a i d e n".., 8192) = 1239
brk(0x0003B9A0) = 0
brk(0x0003D9A0) = 0
read(3, 0x00039794, 8192) = 0
llseek(3, 0, SEEK_CUR) = 1239
close(3) = 0
open("/dev/udp", O_RDONLY) = 3
ioctl(3, 0xC00C6982, 0xFFBFF424) = 0
close(3) = 0
open("/dev/udp", O_RDONLY) = 3
ioctl(3, 0xC00C6982, 0xFFBFF4EC) = 0
ioctl(3, 0xC00C6982, 0xFFBFF4EC) = 0
open64("/var/run/name_service_door", O_RDONLY) = 4
[....]
write(2, " U n k n o w n h o s t", 12) = 12
Any idea how I force telnet to read nsswitch.conf file ?
I am using Solaris 9 on SPARC
Thanks
--
Asif Iqbal
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x8B686E08
There's no place like 127.0.0.1