Arief Yudhawarman wrote:
On Mon, Feb 27, 2006 at 12:11:05PM +0700, Arief Yudhawarman wrote:
Hai milisers,
Barusan saya compile samba dari source code (samba-3.0.21b) di RedHat 9.
Samba bawaan redhat sudah diuninstall semuanya. Service samba sudah
jalan dan client windows bisa baca dan tulis di partisi samba.
Masalahnya adalah dr server, saya tdk bisa mount partisi smbfs :
# mount -t smbfs -o username=guest //192.168.0.114/temp /mnt/smbfs/
mount: wrong fs type, bad option, bad superblock on //192.168.0.114/temp,
or too many mounted file systems
Pst, sewaktu masih pakai samba bawaan redhat, tidak ada masalah
untuk mount partisi samba.
# dmesg
..
smbfs: mount_data version 1919251317 is not supported
Informasi tambahan
# find /lib/modules/2.4.28-ow1-megaplasma/ -type f -iname "smbfs*"
/lib/modules/2.4.28-ow1-megaplasma/kernel/fs/smbfs/smbfs.o
Kernelnya blm support smbfs, recompile dgn smbfs support
Coba
ls /lib/modules/`uname -r`/kernel/fs/smbfs
# lsmod
Module Size Used by Not tainted
smbfs 49680 0 (autoclean)
Blm reboot atau versi kernel beda?
...
# smbclient -L RHEL9
Password:
Domain=[MEGAPLASMA] OS=[Unix] Server=[Samba 3.0.21b]
Sharename Type Comment
--------- ---- -------
temp Disk Temporary file space
public Disk Public Stuff
cdrom Disk
ebook Disk Electronic Books
doc Disk Documentations
programs Disk Programs for win32
src Disk linux source
IPC$ IPC IPC Service (File Server + ClamAV)
ADMIN$ IPC IPC Service (File Server + ClamAV)
Sedangkan kalo pakai smbclient bisa, namun manggilnya pakai ip
bukan pakai netbios name:
smbclient tdk menggunakan (smbfs) kernel module
# smbclient //192.168.0.114/temp /mnt/winxp/
Domain=[COMPAQ] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
smb: \> dir
. D 0 Tue Feb 14 11:10:24 2006
.. D 0 Tue Feb 14 11:10:24 2006
atheros_installer.log A 4174 Tue Feb 14 12:13:14 2006
40909 blocks of size 131072. 3322 blocks available
# smbclient //COMPAQ/temp /mnt/winxp/
Connection to COMPAQ failed
Anehnya setelah saya jalankan perintah nmblookup
Wajar krn belum ada cache untuk mapping ip<->netbios name
setup wins server dan point ke situ atau buat static mapping (lmhost)
--
--beast
sum.ldap.or.id/blog
--
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke [EMAIL PROTECTED]
Arsip dan info milis selengkapnya di http://linux.or.id/milis