Sie sind auf Seite 1von 3

Step1: Check for the package SUNWsmbac, SUNWsmbar and SUNWsmbau.

Install them if the package are not install. Step2: erif! the samba packages are installed or not.

"root#california.nse.labs.att.com$ % pkginfo &'(grep &i samba SUNWsmbac samba & ) Windo*s S+,-CI.S fileser/er for UNI0 1client2 SUNWsmbar samba & ) Windo*s S+,-CI.S fileser/er for UNI0 13oot2 SUNWsmbau samba & ) Windo*s S+,-CI.S fileser/er for UNI0 1Usr2 Step 2: Checking the samba version "root#california.nse.labs.att.com$ % -usr-sbin-smbd & ersion 4.5.6 Step 3: Locating the smb.conf-examp e fi e "root#california.nse.labs.att.com$ % pkgchk &l SUNWsmbar(grep conf& e'ample 7athname: -etc-samba-smb.conf&e'ample Setp !: Check the current status of samba "root#california.nse.labs.att.com$ % s/cs &a (grep samba disabled 8:94:91 s/c:-net*ork-samba:default Step ": #f it is $isab e$% tr& enab e it. "root#california.nse.labs.att.com$ % s/cadm enable samba "root#california.nse.labs.att.com$ % s/cs &a (grep samba online 8:99:1: s/c:-net*ork-samba:default Step ': Check if samba is running or not "root#california.nse.labs.att.com$ % ps &ef(grep smb root 628; 1 < <8:56:54 = <:<< -usr-sbin-smbd &> root 6:1: 628; < 1<:<::5< = <:<< -usr-sbin-smbd &> root 668: ;45; < 1<:14:94 pts-1 <:<< grep smb root 6286 628; < <8:56:54 = <:<< -usr-sbin-smbd &> Step (: )$it *etc*samba*smb.conf "root#california.nse.labs.att.com$ % /i -etc-samba-smb.conf ------------------------------------------------------------------------Change the line workgroup = WORKGROUP to match whatever workgroup or domain use for Windows s stems! eg! workgroup = att"tri"s#c"com $ %ou can check the work group or domain # --& Click on 'tart #utton -& right click on Computer and select Properties( &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& "global$ *orkgroup ? +,.-.#.S/C.C01 ser/er string ? Samba Ser/er passdb backend ? smbpass*d

log file ? -/ar-samba-log-log.@m ma' log siAe ? 5< dns pro'! ? No 2ca ifornia-m&share3 comment 4 Ca ifornia stuff path 4 *$ata va i$ users 4 s 52!a% mm6337% r8!329 rea$ on & 4 No )*ote+ ,t allow valid users to access California-m

share folder-

Step 9: :rant access to *$ata $irector&. )root#california.nse.labs.att.com$ % chmod ;;; -data )root#california.nse.labs.att.com$ % ls &ld -data dr*'r*'r*' 21 root root 1<29 Bul 16 <8:15 -data Step 6: Set pass8or$ for users to use Ca ifornia-m& share "root#california.nse.labs.att.com$ % smbpass*d &a sl<29a Ne* S+, pass*ord: 3et!pe ne* S+, pass*ord: Step 75: check a smb.conf configuration fi e for interna "root#california.nse.labs.att.com$ % testparm OU.PU. - ,. W,// 01 'O21.3,*G /,K1 .3,' correctness

Coad smb config files from -etc-samba-smb.conf rlimitDma': increasing rlimitDma' 125:2 to minimum Windo*s limit 11:4692 7rocessing section E"california&m!share$E Coaded ser/ices file FG. W)3NINH: Iou ha/e some share names that are longer than 12 characters. Jhese ma! not be accessible to some older clients. 1Kg. Windo*s8', Windo*s+e, and smbclient prior to Samba 4.<.2 Ser/er role: 3FCKDSJ)N>)CFNK 7ress enter to see a dump of !our ser/ice definitions "global$ *orkgroup ? )>.J3I.S,C.CF+ ser/er string ? Samba Ser/er passdb backend ? smbpass*d log file ? -/ar-samba-log-log.@m ma' log siAe ? 5< dns pro'! ? No "california&m!share$ comment ? California stuff path ? -data /alid users ? sl<29a, mm8441, r*9426 read onl! ? No Step 77: .estart Samba one more time "root#california.nse.labs.att.com$ % s/cadm restart samba

Step 72: No8 on Win$o8s tr& to map $rive

Step 73: Check the current samba connections "root#california.nse.labs.att.com$ % -usr-sf*-bin-smbstatus Samba version 3.".9 ;#, Username :roup 1achine ------------------------------------------------------------------77!55 s 52!a other hpmgmt57 <('.25'.77(.75= 69"' r8!329 other cac$t$52r8!329 <726.2!".779.9(= Service pi$ machine Connecte$ at ---------------------------------------------------------------------ca ifornia-m&share 77!55 hpmgmt57 -hu Nov 27 72:39:"3 2573 ca ifornia-m&share 69"' cac$t$52r8!329 -hu Nov 27 77:"9:"' 2573 Locke$ fi es: ;i$ Ui$ ,en&1o$e +ccess .*W 0p ock Share;ath Name -ime ------------------------------------------------------------------------77!55 757 ,)N>?N0N) 5x755597 .,0NL> N0N) *$ata 0 $?$rive?/ackup*W#N-Share -hu Nov 27 72:36:!' 2573

Das könnte Ihnen auch gefallen