Thursday, December 9, 2010

Samba - Basic

Many people ask me about samba. This my note about samba:
Install:
yum install -y samba-*
Note: don`t disable cups service
Lesson 1: SMB Client

Connect to Win
smbclinet -L winxp -U administrator

smbclient //winxp/install -U admnistrator
smb: \>; (smb mod) ls
? to help

mkdir /media/smb
smbmount //winxp/install /media/smb -o username=administrator
or:
# mount -t cifs //IP/share_name -o username=

mount (to list)
leave /media/smb directory
umount /media/smb

Lesson 2:

workgroup = SMBDOMAIN

server string = PC1 domain controller

hosts allow = 192.168.1. 192.168.2. 127.

security = user

wins support = yes

[demoproject]
commnet = share
path = /data/demoproject
valid users = @webproject kamran
public = no
write list = @webproject kamran root
create mask = 0660
directort mask = 0770

Video: 

Part1: http://www.mediafire.com/?wn82jiz2qi8j95c
Part2: http://www.mediafire.com/?4oke4vgb3j57sf4


------------------------------------------------------------
Thanks for reading
--------------------------------------------------------------------------
All my Lab:
Linux Lab -- window and Cisco Lab
to be continued - I will update more.

No comments:

Install Xposed Inspector and Frida on Genymotion

Today i had some work with android. So i need trace application. I found 2 nice tool can help me: Xposed Inspector and Frida. To setup ther...