Ubuntu13.04 log on to the windows domain

Source: Internet
Author: User
Tags in domain
Ubuntu13.04 although I have a tutorial on logging on to the windows domain on youtube, I still have a problem if I try it myself. First install Likewise [plain] apt-getinstalllikewise-open5 and then log on to test the [plain] domainjoin-clichn.company.com with command line... Ubuntu 13.04 login windows domain
Although there are tutorials on youtube, you may still encounter problems if you try it yourself. First install Likewise [plain] apt-get install likewise-open5 and then log on to the command line to test [plain] domainjoin-cli chn.company.com account_name note: 1. chn.company.com is a domain name, all lowercase 2. account_name is your account. my account is from an account that has been tested on a windows system, and I am a dual system (Windows + Ubuntu) 3. note the hostname, because I have logged on to the windows system first, and I chose the hostname as sloop. it is strange that I cannot use other computer names here, and I cannot use the same name, it must be sloop2. you can set it using the following command: domainjoin-cli setname sloop2 will modify the/etc/hostname file. Then, the command line logon succeeds. This is far from enough. I also need to: 1. log on with a windows domain account in the Ubuntu logon window. the domain account is also in sudoers. you can execute the root permission. now you also need to install samba [plain] apt-get install samba and then create the configuration file/etc/samba/lwiauthd. the conf file contains only one line: [plain] winbind use default domain = yes and then add a line to the/etc/sudoers file, see the last line below [plain] # Members of the admin group may gain root privileges % admin ALL = (ALL) ALL % chn \ domain ^ users ALL = (ALL) ALL chn is the front part of my domain name, domain ^ users... you do not need to modify it. This means that the user in the chn domain has all the permissions to restart the system. when logging on, click log In, and then enter the user name in domain \ account format. Login successful. The current user directory is/home/likewise-open/CHN/account_name
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.