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:53] – 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 59: | Line 59: | ||
| # 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.1228992802.txt.gz · Last modified: (external edit)
