oshiri 0 Report post Posted February 4, 2005 (edited) Sorry ada hal sikit.SAMBA BOLEH NAMPAK semua pc server dan semua client tapi taakkan aku selalu kena add (search), dia bukan auto detect ke?. DALAM pc win ok jer nampak server samba sbb dia macam auto detect paling2 refresh aja.Sepatutnya tak macamni. Aku rasa ada kena mengena dgn username/password.Ko try set username dan password dalam windows 98...sebijik macam ko ser username/password samba.Lepas tu ko edit registry : Win98: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VNETSETUPKo tambah 1 dalam DWORD value bagi entry EnablePlainTextPassword.reboot pc.root@server:/home/faizul# smbclient -L "ip_client"Connection to ip_client failedSepatutnya ada output.............ni mesti kes samba tak tau mana nak cari. Buat cam kat atas. Edited February 4, 2005 by oshiri Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted February 4, 2005 tapi kat pc client win semua ok. cuma samba saja kena selalu add client. tapi share folder ok, semua boleh bukak.bila aku scan.....mmg tadak apa2 , aku rasa sepatutnya dia ada mapping kan utk pc3/canon tuh. Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted February 4, 2005 (edited) Lepas tu ko edit registry :Win98: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VNETSETUPKo tambah 1 dalam DWORD value bagi entry EnablePlainTextPassword.-->ok dah reboot Edited February 4, 2005 by ciku Quote Share this post Link to post Share on other sites
oshiri 0 Report post Posted February 4, 2005 (edited) Lepas tu ko edit registry :Win98: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VNETSETUPKo tambah 1 dalam DWORD value bagi entry EnablePlainTextPassword.-->edit kat mana?Edit dalam registry windows 98 la.Cari KEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VNETSETUP.Kalo ko tak reti nak edit registry.......ko patch cam ni:Guna apa-apa text editor dan buat satu file dgn nama : password.regDalam file tu ko paste benda ni:REGEDIT4[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VNETSUP]"EnablePlainTextPassword"=dword:00000001dan save.Lepas tu ko pergi Run--->type regedit--->registry editor akan bukak----->Registry---->import registry---->ko import file tadi (password.reg).Jangan lupa buat user name dan password windows 98. Dalam control panel tak silap aku.Aku pun dah lama sangat tak guna 98.Jangan guna Microsoft Family Logon. Tapi guna Microsoft Network logon. Edited February 4, 2005 by oshiri Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted February 4, 2005 \VNETSETUPKo tambah 1 dalam DWORD value bagi entry EnablePlainTextPasswordTAK JUMPA PON. Quote Share this post Link to post Share on other sites
oshiri 0 Report post Posted February 4, 2005 Kalo tak jumpa..............ko patch aje. Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted February 4, 2005 (edited) ok aku dah buat semua tuh. pastuh aku kena buat apa pulak...install printer??restart komputer server nih??? Edited February 4, 2005 by ciku Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted February 4, 2005 (edited) PELIK LAH. Aku find server kat find computer kat win98...tadak pulak.ish...atau aku kena restart komputer linux nih??hanya ada pc2 dan pc3 saja. OK dah ada dah.....aku restart komputer server nih. baru OK...dia pening kot. Edited February 4, 2005 by ciku Quote Share this post Link to post Share on other sites
oshiri 0 Report post Posted February 4, 2005 Try : ./etc/init.d/samba restart Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted February 4, 2005 (edited) Try : ./etc/init.d/samba restart←aku dah restart pon komputer tadi. PASTUH SETUP PRINTER??? Edited February 4, 2005 by ciku Quote Share this post Link to post Share on other sites
oshiri 0 Report post Posted February 4, 2005 Ya lor..............lepas setup : /etc/init.d/cupsys startSetup samba ..............printer.restart samab : /etc/init.d/samba restart Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted February 4, 2005 argh!!! tak jalanpon printer tuh........ish. aku rasa biarlah dulu. baik aku cuba tutorial buat mail server dulu lagipon printer tuh bukannya ptg sgt sbb client lain semua boleh run printer sharing tuh.atau dia beri kesan jugak pada setup lain macam ftp dan mail server???? Quote Share this post Link to post Share on other sites
oshiri 0 Report post Posted February 4, 2005 Aku rasa aku tau kat mana problem dia.....Ko set balik printer tu.............tapi jangan guna ip.Guna nama pc dimana printer tu berada Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted February 4, 2005 (edited) Aku rasa aku tau kat mana problem dia.....Ko set balik printer tu.............tapi jangan guna ip.Guna nama pc dimana printer tu berada ←memang aku guna nama pc aja. aku set yg ada password laanih.workgroup : xxxserver : pc3printer : canonkat user access setting : ?????? apa?------->aku tinggalkan aja...nextgeneral information :- name : canonlocation : pc3description : CANON BJC255SP-------->sebenanya akunya bjc1000sp Edited February 4, 2005 by ciku Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted February 4, 2005 argh!!! tak jalanpon printer tuh........ish. aku rasa biarlah dulu. baik aku cuba tutorial buat mail server dulu lagipon printer tuh bukannya ptg sgt sbb client lain semua boleh run printer sharing tuh.atau dia beri kesan jugak pada setup lain macam ftp dan mail server????← Quote Share this post Link to post Share on other sites
oshiri 0 Report post Posted February 4, 2005 (edited) kat user access setting : ?????? apa?------->aku tinggalkan aja...nextBiar aje.description : CANON BJC255SP-------->sebenanya akunya bjc1000spDriver mesti sama dgn windows.Selalu-selalu lah run : /usr/bin/tail /var/log/cups/error_log untuk nengok apa masalahnya.Kalo takde masalah dia akan keluar camni:I [05/Feb/2005:00:44:40 -0500] Saving printers.conf...I [05/Feb/2005:00:44:52 -0500] Setting canon device-uri to "smb://nama_user:password_user@mshome/pc3/canon" (was "file:/dev/null".)I [05/Feb/2005:00:44:52 -0500] Saving printers.conf...I [05/Feb/2005:00:44:52 -0500] New printer 'canon' added by ''.I [05/Feb/2005:00:44:52 -0500] Saving printers.conf...I [05/Feb/2005:00:44:52 -0500] Printer 'canon' modified by ''.I [05/Feb/2005:00:44:52 -0500] Saving printers.conf...I [05/Feb/2005:00:44:52 -0500] Printer 'canon' now accepting jobs ('').I [05/Feb/2005:00:44:52 -0500] Saving printers.conf...I [05/Feb/2005:00:44:52 -0500] Printer 'canon' started by ''Good night Edited February 4, 2005 by oshiri Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted February 4, 2005 Jadi boleh ke aku buat ftp dan mail server nih...nanati karang ada sangkut paut pulak///???? Quote Share this post Link to post Share on other sites
blank 1 Report post Posted February 4, 2005 Benda tu takde sangkut paut la...ko boleh buat je.. Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted February 4, 2005 Benda tu takde sangkut paut la...ko boleh buat je..←Memang aku agak macam tuh. Cuma aku takut linux nihi lain dari windows jer. Quote Share this post Link to post Share on other sites
blank 1 Report post Posted February 4, 2005 Ko nak buat ftp 15 mint je bleh siap.....tapi localhost je la.. Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted February 4, 2005 (edited) TUTORIAL HARI KE 15DEBIAN-SHARING PRINTER ←ada lagi 15 tutorial. ftp...15 minit. masalah nya aku kena study discussion ko dgn oshiri dulu. kau ajar la aku. CFU dah tidur. Edited February 4, 2005 by ciku Quote Share this post Link to post Share on other sites
blank 1 Report post Posted February 4, 2005 Jom pi sana...aku bagi hin...15 minit siap........ Quote Share this post Link to post Share on other sites
oshiri 0 Report post Posted February 5, 2005 (edited) CikuAda satu benda lagi yg aku tak tengok........./etc/samba/samba.conf dan /etc/cups/printers.confTolonglah post /etc/samba/samba.conf dan /etc/cups/printers.conf kat sini.Aku baru buat experiment dgn XP ................guna printer HP.....takde masalah.....dgn syarat supply username dan password. Edited February 5, 2005 by oshiri Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted February 5, 2005 ; /etc/samba/smb.conf;; Sample configuration file for the Samba suite for Debian GNU/Linux;; Please see the manual page for smb.conf for detailed description of; every parameter.;[global]# Do something sensible when Samba crashes: mail the admin a backtracepanic action = /usr/share/samba/panic-action %dinvalid users = root; "security = user" is always a good idea. This will require a Unix account; in this server for every user accessing the server.security = share; Change this for the workgroup your Samba server will part ofworkgroup = majakirserver string = %h server (Samba %v); If you want Samba to log though syslog only then set the following; parameter to 'yes'. Please note that logging through syslog in; Samba is still experimental.syslog only = no; We want Samba to log a minimum amount of information to syslog. Everything; should go to /var/log/{smb,nmb} instead. If you want to log through; syslog you should set the following parameter to something higher.syslog = 0; This socket options really speed up Samba under Linux, according to my; own tests.socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=4096 SO_RCVBUF=4096 ; Passwords are encrypted by default. This way the latest Windows 95 and NT; clients can connect to the Samba server with no problems.encrypt passwords = yespassdb backend = smbpasswd guest; It's always a good idea to use a WINS server. If you want this server; to be the WINS server for your network change the following parameter; to "yes". Otherwise leave it as "no" and specify your WINS server; below (note: only one Samba server can be the WINS server).; Read BROWSING.txt for more details.wins support = no; If this server is not the WINS server then specify who is it and uncomment; next line.; wins server = 172.16.0.10# If we receive WINS server info from DHCP, override the options above.include = /etc/samba/dhcp.conf; Please read BROWSING.txt and set the next four parameters according; to your network setup. There is no valid default so they are commented; out.; os level = 0; domain master = no; local master = no; preferred master = no; What naming service and in what order should we use to resolve host names; to IP addressesname resolve order = lmhosts host wins bcast; This will prevent nmbd to search for NetBIOS names through DNS.dns proxy = no; Name mangling optionspreserve case = yes; This boolean parameter controlls whether Samba attempts to sync. the Unix; password with the SMB password when the encrypted SMB password in the; /etc/samba/smbpasswd file is changed.unix password sync = no; For Unix password sync. to work on a Debian GNU/Linux system, the following; parameters must be set (thanks to Augustin Luton; <[email protected]> for sending the correct chat script for; the passwd program in Debian Potato).passwd program = /usr/bin/passwd %upasswd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .; The following parameter is useful only if you have the linpopup package; installed. The samba maintainer and the linpopup maintainer are; working to ease installation and configuration of linpopup and samba.; message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &; The default maximum log file size is 5 MBytes. That's too big so this; next parameter sets it to 1 MByte. Currently, Samba rotates log; files (/var/log/{smb,nmb} in Debian) when these files reach 1000 KBytes.; A better solution would be to have Samba rotate the log file upon; reception of a signal, but for now on, we have to live with this.max log size = 1000obey pam restrictions = yes; Some defaults for winbind (make sure you're not using the ranges; for something else.); winbind uid = 10000-20000; winbind gid = 10000-20000; template shell = /bin/bash; ISOLATIN1 with euro signunix charset = iso-8859-15display charset = iso-8859-15dos charset = 850restrict anonymous = nodomain master = nopreferred master = nomax protocol = NTldap ssl = Noserver signing = Auto[homes]comment = Home Directoriesbrowseable = no; By default, the home directories are exported read only. Change next; parameter to "no" if you want to be able to write to them.read only = yes; File creation mask is set to 0700 for security reasons. If you want to; create files with group=rw permissions, set next parameter to 0775.create mask = 0700; Directory creation mask is set to 0700 for security reasons. If you want to; create dirs. with group=rw permissions, set next parameter to 0775.directory mask = 0700case sensitive = nomsdfs proxy = nopath = /home/faizul/none/New Folder[print$]comment = Printer Driverspath = /var/lib/samba/printerswrite list = knoppix[canon]printer admin = knoppixcomment = All Printersbrowseable = noprintable = yescreate mask = 0700use client driver = yespath = //pc3/canon /etc/cups/printers.conf# Printer configuration file for CUPS v1.1.23# Written by cupsd on Sat Feb 5 05:57:31 2005<DefaultPrinter canon>Info CANON BJC-255SPLocation pc3DeviceURI smb://pc3:pc3@majakir/pc3/canonState IdleAccepting YesJobSheets none noneQuotaPeriod 0PageLimit 0KLimit 0</Printer>LAANIH AKU ATTACH PRINTER DI W98, KALAU KO DAH BERJAYA KAT PRINTER WINxp , BAGUS AKU TRY ATTACH PRINTER AKU KAT WINXP PULAK.WINXP KAU SET PASSWORD TAK?? AKU LAANIH TAK SET PASSWORD.SATU LAGI BILA AKU BOOT, DIA KEKADANG HANG KAT starting printing system service cupsd---->terpaksa aku reboot balik. Quote Share this post Link to post Share on other sites