MDLUG 6/9/2007 Mat – Will create a Samba server. Need distribution that does a text only – doesn't need graphics. Pat use FreeNAS. IP Address questions: can we hook it up to the wireless router? The server will not be on the same network segment. Plug it into the same network segment. Otherwise the PCs will not be able to see it. We are going to make it the primary domain controller so the users will log into them. It will serve up their files (home directory). That way the users can bounce around between PCs and not have to worry about where their files are. It has two hard drives it will eventually have four. Mat took a few minutes to boot the system and identify the drives. Using Free BSD. Will the switches be the same? One thing may be different. When creating comupter account with a dollar sign at the end. BSD doesn't like the dollar sign. Mary is donating Open Solarus. Mat will make copies for anyone who wants it. $5. Pat is connected to the Samba server. The server was booted using a boot CD. FreeNAS. Next month Pat will do a discussion on FreeNAS. Basically you can use it a a NAS server. Mat will use the entire disk for the Samba server. Will limit each users space. Pat: use the 30 Gig for backup of the other 3 10 gig drives. Use tar or a simple copy. This is for a school. Students and staff and support will be on separate directories. Mary is using a split browser software that allows her to show two copies of a web page in different tabs. Carl: Make manual decisions to change the partitions. Create swap area 1 gig (GB). Pat: make a separate var area so log files won't fill the drive – 2 gig – ext 2. May set up home . . . Don't need a /boot. Only need /boot if BIOS doesn't support the size of the hard drive. People will have to have a home directory in the /home directory. Carl: make home directory the default. This will save you a step every time you create a user ID. Carl: may use /home/staff for staff members. Best not to nest directories. So, use /staff instead. Staff should be able to see the students directories, students should not be able to see staff directories. User ID based on name: First initial of first name, first five characters of last name and two digits. Whenever a students graduates the ID is deleted. Last two digits could be the year of graduation. Jeff: Ubuntu Gutsy problem: stuck in command prompt. “Friendly recover” – curses window. Try looking up “Friendlyrecovery”. Yast broke in 10.1. Yast was good since it allowed you to see you config in a graphic. ATT – Canton fiber to neighborhood then copper to home for TV. State will be responsible instead of local community for regulation. Debian determines the CPU type. Add in packages: samba, swat, smb-client, samba-common, samba-doc-pdf. We can add more later. Krusader is a good ftp client. Assign a perminate set up samba server with IP that stays the same. The netbios name must be the same as the name Samba presents the name as. Configuration items: login path and login home. In this example we hard coded IP addresses. Would be best to use a domain server. Restart samba: samba restart Next thing we need to do is create user Ids. How do we get the windows systems connected to the samba system? Log on as a admin. But we don't have an admin user. Carl had a document but he can't find it now. The next.html page on the mdlug.org web site has been updated. Carl said we are using a new config file that we got from the Samba.org how-to. Chapter 2 domain controller section describes the script. List what is available from the samba server: smbclient -L localhost Next we need to set up users. Extensive discussion about how to set up the users. Should create groups. Format of the command is: groupadd groupname groupadd ntgroup Setup mappings of group. Allow you to set up permissions based on group memberships. net groupmap add groupname=”Office” unixgroup=Office type=d About $212 dollars in the MDLUG kitty. We owe 3 months for our web hosting. We pay $30 per month. Ray said he likes to pay 3 months in advance. So, that would make a payment of (3+3) * 30 = $180. Create adminsitrator user ID: adduser administrator Prompts for password. Add the user to a group: gpassword -a administrator ntadmins Create user for testing. adduser test1 Each Windows PC must be set up to join the domain. Must sign into the PC as an Administrator. Right-click on MyComputer. Then click on properties and click on “To rename the computer or join a domain, click Change”. Use the domain name from the samba domain server.