ubuntuserver810:smbldaptools
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ubuntuserver810:smbldaptools [2008/12/11 10:52] – svschwartz | ubuntuserver810:smbldaptools [2008/12/11 14:42] (current) – svschwartz | ||
|---|---|---|---|
| Line 17: | Line 17: | ||
| </ | </ | ||
| - | Получим идентификатор для нашего PDC | + | Получим идентификатор |
| < | < | ||
| net getlocalsid | net getlocalsid | ||
| Line 23: | Line 23: | ||
| Редактируем файл **smbldap.conf** | Редактируем файл **smbldap.conf** | ||
| - | < | + | < |
| # Put your own SID. To obtain this number do: "net getlocalsid" | # Put your own SID. To obtain this number do: "net getlocalsid" | ||
| # If not defined, parameter is taking from "net getlocalsid" | # If not defined, parameter is taking from "net getlocalsid" | ||
| Line 31: | Line 31: | ||
| # If not defined, parameter is taking from smb.conf configuration file | # If not defined, parameter is taking from smb.conf configuration file | ||
| # Ex: sambaDomain=" | # Ex: sambaDomain=" | ||
| - | sambaDomain=" | + | sambaDomain=" |
| # LDAP Suffix | # LDAP Suffix | ||
| # Ex: suffix=dc=IDEALX, | # Ex: suffix=dc=IDEALX, | ||
| - | suffix=" | + | suffix=" |
| ############################################################################## | ############################################################################## | ||
| Line 47: | Line 47: | ||
| # directive and/or disable roaming profiles | # directive and/or disable roaming profiles | ||
| # Ex: userSmbHome=" | # Ex: userSmbHome=" | ||
| - | userSmbHome=" | + | userSmbHome=" |
| # The UNC path to profiles locations (%U username substitution) | # The UNC path to profiles locations (%U username substitution) | ||
| Line 53: | Line 53: | ||
| # directive and/or disable roaming profiles | # directive and/or disable roaming profiles | ||
| # Ex: userProfile=" | # Ex: userProfile=" | ||
| - | userProfile=" | + | userProfile=" |
| - | + | ||
| - | # The default Home Drive Letter mapping | + | |
| - | # (will be automatically mapped at logon time if home directory exist) | + | |
| - | # Ex: userHomeDrive=" | + | |
| - | userHomeDrive=" | + | |
| - | + | ||
| - | # The default user netlogon script name (%U username substitution) | + | |
| - | # if not used, will be automatically username.cmd | + | |
| - | # make sure script file is edited under dos | + | |
| - | # Ex: userScript=" | + | |
| - | userScript=" | + | |
| # Domain appended to the users " | # Domain appended to the users " | ||
| # when smbldap-useradd -M is used | # when smbldap-useradd -M is used | ||
| # Ex: mailDomain=" | # Ex: mailDomain=" | ||
| - | mailDomain=" | + | mailDomain=" |
| + | </ | ||
| + | Инициализируем наш сервер директорий | ||
| + | < | ||
| + | smbldap-populate | ||
| </ | </ | ||
| + | |||
| + | Вывод будет примерно следующим | ||
| + | < | ||
| + | Populating LDAP directory for domain DRIVESOURCE (S-1-5-21-4205727931-4131263253-1851132061) | ||
| + | (using builtin directory structure) | ||
| + | |||
| + | entry dc=drivesource, | ||
| + | adding new entry: ou=Users, | ||
| + | adding new entry: ou=Groups, | ||
| + | adding new entry: ou=Computers, | ||
| + | adding new entry: ou=Idmap, | ||
| + | adding new entry: uid=root, | ||
| + | adding new entry: uid=nobody, | ||
| + | adding new entry: cn=Domain Admins, | ||
| + | adding new entry: cn=Domain Users, | ||
| + | adding new entry: cn=Domain Guests, | ||
| + | adding new entry: cn=Domain Computers, | ||
| + | adding new entry: cn=Administrators, | ||
| + | adding new entry: cn=Account Operators, | ||
| + | adding new entry: cn=Print Operators, | ||
| + | adding new entry: cn=Backup Operators, | ||
| + | adding new entry: cn=Replicators, | ||
| + | adding new entry: sambaDomainName=DRIVESOURCE, | ||
| + | |||
| + | Please provide a password for the domain root: | ||
| + | Changing UNIX and samba passwords for root | ||
| + | New password: | ||
| + | Retype new password: | ||
| + | </ | ||
| + | |||
| + | В процессе инициализации создается учетная запись администратора домена с логином **root** для которого собственно и запрашивается пароль! | ||
ubuntuserver810/smbldaptools.1228992723.txt.gz · Last modified: (external edit)
