Samba как Домен
Модератор: Bizdelnick
-
scayzi
- Сообщения: 37
- ОС: OpenSuSE 11.1 и др
Samba как Домен
Доброго времени суток всем!! есть комп на нём стоит Mandriva 2007 PP+ и ещё компы с WindowsXP хотелось бы сделать чтобы учётные записи хранились на Linux и пользователи Винды заходили в XP через пользователей Linux что надо настроить в Sambe и в Винде чтобы всё это работало заранее спсибо!
-
FoxTerier
- Сообщения: 182
Re: Samba как Домен
хочеш чтоб Samba был Primary Domain Controller?
http://www.google.com/search?q=samba+as+do...lient=firefox-a
http://www.google.com/search?q=samba+as+do...lient=firefox-a
Show Me The Source . . .
-
scayzi
- Сообщения: 37
- ОС: OpenSuSE 11.1 и др
Re: Samba как Домен
Подскажите пожалуйста в чём проблема вот конфиг при попытке из Винды зайти на сервер говорит не удаётся найти Учётные записи ,пользователей добавил в Систему в Samby их прописал и опишите процесс создания пользовательских учёток чтобы просто зашёл а там я сам заранее спасибо!!
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors.
#
#======================= Global Settings =====================================
[global]
workgroup = domain
netbios name = server
interfaces = eth0 192.168.0.1 192.168.0.2 127.0.0.1
hosts deny = ALL
hosts allow = 192.168.0.1 192.168.0.2 127.0.0.1
printcap name = /etc/printcap
cups options = raw
server string = mandriva
log file = /var/log/samba/log.smbd
max log size = 10000
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
utmp = yes
wins support = yes
os level = 34
preferred master = yes
domain logons = yes
admin users = root
logon script = %g.bat
logon path = \\%L\netlogon
logon home = \\%L\%U\winprofile
dns proxy = no
passwd program = /usr/bin/passwd%u
passwd chat = *Enter\snew\sUNIX\spassword:*\%n\n *Retyre\snew\sUNIX\spassword:*%n\n.
time server = yes
logon drive = P
dos charset = cp866
display charset = UTF-8
winbind enum groups = yes
restrict anonymous = no
winbind enum users = yes
domain master = yes
winbind uid = 10000-20000
winbind gid = 10000-20000
max protocol = NT
acl compatibility = win2k
ldap ssl = No
server signing = Auto
[tmp]
comment = временные файлы
path = /tmp
readonly = no
guest ok = yes
read only = no
force create mode = 0777
create mask = 0777
force directory mode = 0777
directory mask = 0777
[Netlogon]
comment = Network Logon Service
path = /home/netlogon/%g
browseable = no
[homes]
comment = Home Directories
path = /home/%user
browseable = no
read only = no
create mask = 0664
directory mask = 0775
[ftp]
path = /home/ftp/pub
guest ok = yes
[Public]
comment = Общий Ресурс
path = /pub/Samba/Public
read only = no
guest ok = yes
create mask = 0666
directory mask = 0777
[bigtemp]
path = home\bigtemp
guest ok = yes
valid users = joni
read only = no
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors.
#
#======================= Global Settings =====================================
[global]
workgroup = domain
netbios name = server
interfaces = eth0 192.168.0.1 192.168.0.2 127.0.0.1
hosts deny = ALL
hosts allow = 192.168.0.1 192.168.0.2 127.0.0.1
printcap name = /etc/printcap
cups options = raw
server string = mandriva
log file = /var/log/samba/log.smbd
max log size = 10000
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
utmp = yes
wins support = yes
os level = 34
preferred master = yes
domain logons = yes
admin users = root
logon script = %g.bat
logon path = \\%L\netlogon
logon home = \\%L\%U\winprofile
dns proxy = no
passwd program = /usr/bin/passwd%u
passwd chat = *Enter\snew\sUNIX\spassword:*\%n\n *Retyre\snew\sUNIX\spassword:*%n\n.
time server = yes
logon drive = P
dos charset = cp866
display charset = UTF-8
winbind enum groups = yes
restrict anonymous = no
winbind enum users = yes
domain master = yes
winbind uid = 10000-20000
winbind gid = 10000-20000
max protocol = NT
acl compatibility = win2k
ldap ssl = No
server signing = Auto
[tmp]
comment = временные файлы
path = /tmp
readonly = no
guest ok = yes
read only = no
force create mode = 0777
create mask = 0777
force directory mode = 0777
directory mask = 0777
[Netlogon]
comment = Network Logon Service
path = /home/netlogon/%g
browseable = no
[homes]
comment = Home Directories
path = /home/%user
browseable = no
read only = no
create mask = 0664
directory mask = 0775
[ftp]
path = /home/ftp/pub
guest ok = yes
[Public]
comment = Общий Ресурс
path = /pub/Samba/Public
read only = no
guest ok = yes
create mask = 0666
directory mask = 0777
[bigtemp]
path = home\bigtemp
guest ok = yes
valid users = joni
read only = no
-
UnNamedI44I
- Сообщения: 6
- ОС: WindowsXP
Re: Samba как Домен
«Создание PDC для Windows на базе Samba 2.2.5»
(автор: Андрей Гуселетов, рубрика: Администрирование)
Samba – ПО, построенное по идеологии открытых исходников, которое позволяет на базе компьютера, работающего под управлением операционной системы UNIX, создать ресурсы, доступные для Windows-машин. Фактически, SAMBA – это UNIX-реализация протоколов SMB или CIFS фирмы Microsoft, предназначенных для доступа по сети к файлам и принтерам компьютеров, работающих под управлением MS Windows. Кроме того, Samba также может действовать как основной контроллер домена на уровне Microsoft Windows NT 4.0 Server. Когда я стал это настраивать, то столкнулся с массой мелких нюансов, нигде ранее не описанных; вот я и хочу помочь всем тем, кто будет делать то же самое – использовать Samba в качестве PDC
_http://www.samag.ru/art/01.2003/01.2003_11.zip
Вообще журнал "Системный администратор" - рульный журнал
-
Samba
- Сообщения: 155
- Статус: RED DEVILS
- ОС: Kubuntu 8.10