37.7.4 Migrating the Windows Accounts
Procedure 37.2 The Account Migration Process
1 Create a BDC account in the old NT4 domain for the Samba server using NT
Server Manager. Samba must not be running.
net rpc join -S NT4PDC -w DOMNAME -U Administrator%passwd net rpc
vampire
-S NT4PDC -U administrator%passwd pdbedit -L
2 Assign each of the UNIX groups to NT groups:
Example 37.6 Example Script initGroups.sh
#!/bin/bash #### Keep this as a shell script for future re-use #
Known domain global groups net groupmap modify ntgroup="Domain
Admins"
unixgroup=root net groupmap modify ntgroup="Domain Users"
unixgroup=users net groupmap modify ntgroup="Domain Guests"
unixgroup=nobody # Our domain global groups net groupmap add
ntgroup="Operation" unixgroup=operation type=d net groupmap add
ntgroup="Shipping" unixgroup=shipping type=d
3 Check that all groups are recognized:
net groupmap list
37.8 For More Information
Detailed Samba information is available in the digital documentation. Enter apropos
samba at the command line to display some manual pages or just browse the /usr/
share/doc/packages/samba directory if Samba documentation is installed for
more online documentation and examples. Find a commented example configuration
(smb.conf.SuSE) in the examples subdirectory.
Samba
709
Need help?
Do you have a question about the LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 11-05-2007 and is the answer not in the manual?
Questions and answers