Migrate an account from the nt4win2000 domain controller to samba3.0

Source: Internet
Author: User

The following operations are only performed on win2000 Advanced Server. Er, I have not tried it on Win 2003 yet. If any of you have tried it, please leave a message to us whether it is successful or not. I am very grateful for this.
Samba version: 3.0.33
OS: centos 5.3

1. Set Samba PDC to BDC first

Modify/etc/samba/smb. conf and the following configurations:
[Global]
Workgroup = wlf // Domain Name
NetBIOS name = smb1 // NetBIOS Name
Domain logons = Yes // you do not need to change it to keep it accessible.
Domain Master = No // change Domain Master to no
Preferred master = No // set this to no
......
.......


After completing the preceding modifications, restart the domain controller.
Then, you can see the log similar to the following in the log file:
[2009/09/29 15:40:00, 0] nmbd/nmbd_logonnames.c: become_logon_server_success (124)
Become_logon_server_success: Samba is now a logon server for workgroup sh on subnet 192.168.253.51
This indicates that the service has been started successfully.

2. Import Win2000 Domain Controller data

1. Add Samba to the Win2000 domain before importing.
First, modify the/etc/resolv. Con file.
Modify:

Search Domain Name

IP address of nameserver win2002 PDC

Run the following command:
Net RPC join-s nt4pdc-W domname-u administrator % passwd
If yes, a message is displayed.
Joined domain Sh.
This indicates that the domain is successfully added.
2. The next step is to export the domain account information to our Samba.
Run the following command:
Net RPC vampire-s nt4pdc-u administrator % passwd
Commands available after import
Pdbedit-l
To view the imported account
Use commands
Net groupmap list allows you to view the relationship between groups.

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.