SAMBA (Domaincontroller) Server For Small Workgroups With Ubuntu 5.10 "Breezy Badger" - Page 4
|
Install And Configure The SAMBA Server In order to install SAMBA, run apt-get install samba samba-common samba-doc libcupsys2-gnutls10 libkrb53 winbind smbclient Edit /etc/samba/smb.conf so that it looks like this
Remark: The "netbios name" in the smb.conf must be the same then the hostname of your server. workgroup = MYWORKGROUP specifies the Windows domain that the Windows workstations use. logon drive = H: is the drive letter under which the SAMBA share will appear in the Windows Explorer. With logon script = scripts/logon.bat you can specify a Windows batch script that is executed as soon as a Windows workstation logs in. If the script does not exist, you can comment out that line. Create the directories for domain logons and profiles: mkdir /home/samba Now we restart Samba: /etc/init.d/samba restart Edit /etc/nsswitch.conf. Change the line: hosts: files dns to: hosts: files wins dns Add all computers of your workgroup in the /etc/hosts file on the server.
Add the root user to the SAMBA password database. The root user (alias: Administrator) will be our domain administrator. This account is needed to add new computers to the SAMBA domain. smbpasswd -a root Create the file /etc/samba/smbusers and add the line by executing: echo "root = Administrator" > /etc/samba/smbusers This will allow us to use the common windows username "Administrator" as alias for the Linux root user. Now I will test if the setup is correct: smbclient -L localhost -U% The output should look similar to this:
Setup the default domain groups for windows: net groupmap modify ntgroup="Domain Admins" unixgroup=root
|
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning




print: 

Recent comments
1 day 1 hour ago
1 day 8 hours ago
1 day 11 hours ago
1 day 13 hours ago
1 day 16 hours ago
1 day 16 hours ago
2 days 2 hours ago
2 days 7 hours ago
2 days 7 hours ago
2 days 9 hours ago