lagi ngoprek LDAP nyoba di openSuse11.2
semua sudah jalan, samba ok, ldap ok, tapi kok gak bisa di getent mengunakan nss.ketika di nmap localhost gak dapet, kalau di Slackware saya ngoprek lancar-lancar ajah.
error nya gini:
sedang kan kalau nmap 127.0.0.1, bisa..
linux-gvrx:~ # nmap 127.0.0.1
Starting Nmap 5.00 ( http://nmap.org ) at 2010-11-27 07:46 WIT
mass_dns: warning: Unable to determine any DNS servers. Reverse DNS is disabled. Try using --system-dns or specify valid servers with --dns-servers
Interesting ports on localhost (127.0.0.1):
Not shown: 993 closed ports
PORT STATE SERVICE
25/tcp open smtp
80/tcp open http
111/tcp open rpcbind
139/tcp open netbios-ssn
389/tcp open ldap
445/tcp open microsoft-ds
631/tcp open ipp
Nmap done: 1 IP address (1 host up) scanned in 0.11 seconds
setelah dioprek sana sini dikantor di bantu sama suhu lim juga, hmmmm
ternyata saya melakukan kesalahan pada /etc/nsswitch.conf. saya telah me remark bagian ini
setelah di unmark menjadi seperti semula,
passwd: files ldap
shadow: files ldap
group: files ldap
#passwd: compat
#group: compat
hosts: files mdns4_minimal [NOTFOUND=return] dns
networks: files dns
services: files
protocols: files
rpc: files
ethers: files
netmasks: files
netgroup: files nis
publickey: files
bootparams: files
automount: files nis
aliases: files
lalu reboot....
dan di nmap localhost lagi, alhamdulillah bisa.
linux-gvrx:~ # nmap localhost
Starting Nmap 5.00 ( http://nmap.org ) at 2010-11-27 07:46 WIT
mass_dns: warning: Unable to determine any DNS servers. Reverse DNS is disabled. Try using --system-dns or specify valid servers with --dns-servers
Interesting ports on localhost (127.0.0.1):
Not shown: 993 closed ports
PORT STATE SERVICE
25/tcp open smtp
80/tcp open http
111/tcp open rpcbind
139/tcp open netbios-ssn
389/tcp open ldap
445/tcp open microsoft-ds
631/tcp open ipp
Nmap done: 1 IP address (1 host up) scanned in 0.11 seconds
dan bisa di getent passwd.
(kata kata mutiara hari ini)
note:
Jangan merubah konfigurasi apa pun, bila tidak tahu untuk apa fungsi nya !!!!!, leave it as default.
semua sudah jalan, samba ok, ldap ok, tapi kok gak bisa di getent mengunakan nss.ketika di nmap localhost gak dapet, kalau di Slackware saya ngoprek lancar-lancar ajah.
error nya gini:
linux-gvrx:~ # nmap localhost
Starting Nmap 5.00 ( http://nmap.org ) at 2010-11-27 07:44 WIT
Failed to resolve given hostname/IP: localhost. Note that you can't use '/mask' AND '1-4,7,100-' style IP ranges
WARNING: No targets were specified, so 0 hosts scanned.
Nmap done: 0 IP addresses (0 hosts up) scanned in 0.89 seconds
Starting Nmap 5.00 ( http://nmap.org ) at 2010-11-27 07:44 WIT
Failed to resolve given hostname/IP: localhost. Note that you can't use '/mask' AND '1-4,7,100-' style IP ranges
WARNING: No targets were specified, so 0 hosts scanned.
Nmap done: 0 IP addresses (0 hosts up) scanned in 0.89 seconds
sedang kan kalau nmap 127.0.0.1, bisa..
linux-gvrx:~ # nmap 127.0.0.1
Starting Nmap 5.00 ( http://nmap.org ) at 2010-11-27 07:46 WIT
mass_dns: warning: Unable to determine any DNS servers. Reverse DNS is disabled. Try using --system-dns or specify valid servers with --dns-servers
Interesting ports on localhost (127.0.0.1):
Not shown: 993 closed ports
PORT STATE SERVICE
25/tcp open smtp
80/tcp open http
111/tcp open rpcbind
139/tcp open netbios-ssn
389/tcp open ldap
445/tcp open microsoft-ds
631/tcp open ipp
Nmap done: 1 IP address (1 host up) scanned in 0.11 seconds
setelah dioprek sana sini dikantor di bantu sama suhu lim juga, hmmmm
ternyata saya melakukan kesalahan pada /etc/nsswitch.conf. saya telah me remark bagian ini
#hosts: files mdns4_minimal [NOTFOUND=return] dns
setelah di unmark menjadi seperti semula,
passwd: files ldap
shadow: files ldap
group: files ldap
#passwd: compat
#group: compat
hosts: files mdns4_minimal [NOTFOUND=return] dns
networks: files dns
services: files
protocols: files
rpc: files
ethers: files
netmasks: files
netgroup: files nis
publickey: files
bootparams: files
automount: files nis
aliases: files
lalu reboot....
dan di nmap localhost lagi, alhamdulillah bisa.
linux-gvrx:~ # nmap localhost
Starting Nmap 5.00 ( http://nmap.org ) at 2010-11-27 07:46 WIT
mass_dns: warning: Unable to determine any DNS servers. Reverse DNS is disabled. Try using --system-dns or specify valid servers with --dns-servers
Interesting ports on localhost (127.0.0.1):
Not shown: 993 closed ports
PORT STATE SERVICE
25/tcp open smtp
80/tcp open http
111/tcp open rpcbind
139/tcp open netbios-ssn
389/tcp open ldap
445/tcp open microsoft-ds
631/tcp open ipp
Nmap done: 1 IP address (1 host up) scanned in 0.11 seconds
dan bisa di getent passwd.
(kata kata mutiara hari ini)
note:
Jangan merubah konfigurasi apa pun, bila tidak tahu untuk apa fungsi nya !!!!!, leave it as default.
Comments
Post a Comment