SAMBA in the SOHO/SMB Environment Arun Khan email@example.com 424 E. State Parkway Schaumburg, IL 60173 847-490-0404 www.surjait.com
GET CERTIFIED AND RISE ABOVE THE CROWD Mission: To provide our clients with the highest quality training which maximizes their Income earning potential swiftly and economically. EMPOWER your mind. ENRICH your spirit. CONTROL your destiny. SM SURJA IT ACADEMY BEGINNER IT TECHNICIAN (VOCATIONAL) IT PROFESSIONAL (ADMIN) IT PROFESSIONAL (DEVELOPMENT) OTHER MS WORD (4 HRS) MS EXCEL (4 HRS) MS POWERPOINT (4 HRS) MS OUTLOOK (4 HRS) MS ACCESS (4 HRS) CERTIPORT IC 3 (120 HRS) MOUS CERTIFICATION (80 HRS) QUALITY AND ACHIEVEMENT WORSHOPS (8 HRS) JAVA PROGRAMMER CERTIFICATION (40 HRS) INTRO TO JAVA (8 HRS) LINUX LPI LEVEL 2 CERTIFICATION (TBA) LINUX LPI LEVEL 1 CERTIFICATION (48 HRS) SECURITY+ CERTIFICATION (TBA) LINUX+ CERTIFICATION (48 HRS) NETWORK+ CERTIFICATION (40 HRS) A+ CERTIFICATION (40 HRS) INTRODUCTION TO TCP/IP (8 HRS) COURSES OFFERED SUBJECT TO CHANGE
GET CERTIFIED AND RISE ABOVE THE CROWD Mission: To provide our clients with the highest quality training which maximizes their Income earning potential swiftly and economically. COURSES OFFERED SUBJECT TO CHANGE Resume Writing KNOWLEDGE SCULPTING Alan Ortiz E-mail: firstname.lastname@example.org www.ksculpt.com Personal Development DEVELOPMENT SYSTEMS Rob Almada E-mail: email@example.com www.bobalmada.com Employment Services GEI SERVICES Steve Grosskopf E-mail: firstname.lastname@example.org www.geiservices.com Resume Writing/Interview Training BEACON COMMUNICATION Dave Humphrey E-mail: email@example.com Career Workshops ROB SULLIVAN PRODUCTIONS Rob Sullivan E-mail: firstname.lastname@example.org www.careercraftsman.com IT Training SURJA Arun Khan LPI Punam Banerjee IC 3 John Owery IC 3 E-mail: email@example.com www.surjait.com EMPOWER your mind. ENRICH your spirit. CONTROL your destiny. SM
Provide IT training on Open Source Technology - hands on workshops conducted by certified trainers. Provide consulting on Open Source Technology. Illinois Workforce Development - an approved vendor. Co-chair the CCS Linux SIG and host the Linux SIG meetings, held 2 nd Thursday of every month. Located in the metropolitan Chicago area. For more information, please visit us at our web site www.surjait.com or call us at 847-490-0404, or email us at firstname.lastname@example.org. Surja IT Academy A Few Words About Us
Provides interoperability of resources between Linux/Unix hosts and hosts running MS Windows OS. What is SAMBA?
In early 1992, Andrew Tridgell wanted to mount a disk share from his Unix host on to a DOS PC. Reverse engineered the SMB/NetBIOS protocol using packet sniffer. Thus was born the SAMBA package as we know it today! Andrew has a big team, with members across the globe contributing to the SAMBA project. How did SAMBA get started?
NetBIOS Name service netbios-ns 137/tcp, 137/udp NetBIOS Datagram service netbios-dgm 138/tcp, 138/udp NetBIOS Session service netbios-ssn 139/tcp, 139/udp NetBIOS tunneled over TCP/IP protocol makes it routable! The TCP/IP Properties
File and Print services Authentication and Authorization Name resolution Service announcement (browsing). Functionality Provided
File and Print services provided by smbd daemon. Name Resolution and Browsing provided by nmbd daemon. Name Resolution - broadcast and point-to-point. WINS server [NBNS (NetBIOS Name Service)]. Computers in a LAN hold an election to decide the Local Master Browser (LMB). The LMB's job is to keep a list of available services that you see in the Network Neighborhood Components
Share Level - single password is given to everyone who is allowed to use the share. User Level - each user has their own username and password and the System Administrator can grant or deny access on an individual basis. Security Levels
Configuration – Global [global] workgroup = SOHO-SMB server string = Samba Server hosts allow = 192.168. 127. hosts deny = 192.168.127.10 printcap name = /etc/printcap load printers = yes printing = bsd log file = /var/log/samba/%m.log max log size = 0 security = user socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd
Configuration – HOMES [homes] comment = Home Directories browseable = no writable = yes
Configuration – Printers [printers] comment = Printers path = /var/spool/samba browseable = no writeable = no guest ok = no printable = yes
Parameters to be set: domain master = yes preferred master = yes domain logons = yes logon script = %U.bat - per user logon script Configure encrypted passwords encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd Use smbpasswd -a to create encrypted passwords for Samba NT Domain Setup
Examples smbclient – a ftp like client to connect to a Samba server smbclient //milkyway/homes -U jdoe added interface ip=192.168.1.99 bcast=192.168.1.255 nmask=255.255.255.0 Password: Domain=[SOHO-SMB] OS=[Unix] Server=[Samba 2.2.4] smb: \> help smbmount/mount – mount a Samba share mount -t smbfs -o username=jdoe //milkyway/homes /mnt/samba/ Password:
www.samba.org Source Code Mailing lists Docs and Presentations The Linux Documentation Project – HOWTOs USENET linux.samba, linux.samba.announce, mailing-list.samba, comp.protocols.smb Resources