Форум русскоязычного сообщества Ubuntu


Считаете, что Ubuntu недостаточно дружелюбна к новичкам?
Помогите создать новое Руководство для новичков!

Автор Тема: Перемещаемы профили PDC SAMBA  (Прочитано 1059 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн Strategist

  • Автор темы
  • Новичок
  • *
  • Сообщений: 28
    • Просмотр профиля
Перемещаемы профили PDC SAMBA
« : 26 Марта 2009, 11:36:24 »
Здраствуйте, начал настраивать SAMBy как PDC по статьям: http://linuxportal.vrn.ru/?q=node/11 и http://linux.cpms.ru/page.php?id=189&pg=6. Клиенты Windows XP  Пользователи в домен входят, но профиль создается локальный. Копировал сам профиль на сервер, но Windows все равно его не использует. Как можно их настроить?

Конфил самбы:
[global]
netbios name = SERVER
server string = test domain
workgroup = GROUP
log level = 2
security = user
encrypt passwords = yes
time server = yes
preferred master = yes
domain master = yes
local master = yes
domain logons = yes
logon script = startup.bat
logon path = \\SERVER\profiles\%U
logon home = \\SERVER\%U
logon drive = H:
os level = 255

add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u

add group script = /usr/sbin/groupadd %g
delete user script = /usr/sbin/groupdel %g

add user to group script = /usr/bin/gpasswd -a %u %g
delete user from group script = /usr/bin/gpasswd -d %u %g

add machine script = /usr/sbin/useradd -g nt_workstations -s /bin/false -d /dev/null %u
set primary group script = /usr/sbin/usermod -g %g %u

passwd program = /usr/bin/passwd %u
passwd chat = *Enter\nnew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spasswdord:* %n\n *password\supdated\ssuccessfully* .
passwd chat debug = yes
unix password sync = no

unix charset = utf8
dos charset = cp1251
display charset = cp1251
profile acls = yes

[netlogon]
path = /home/netlogon
read only = yes
browseable = no

[docs]
path = /home/samba/docs
available = yes
browseable = yes
public = yes
writable = yes

[buh]
path = /home/samba/buh
available = yes
browseable = yes
public = yes
writable = yes

[homes]
comment = "Home Directory"
browseable = no
create mask = 700
directory mask = 700

[profiles]
path = /home/samba/profiles/%U
create mask = 777
directory mask = 777
browseable = yes
writable = yes

Оффлайн Strategist

  • Автор темы
  • Новичок
  • *
  • Сообщений: 28
    • Просмотр профиля
Re: Перемещаемы профили PDC SAMBA
« Ответ #1 : 02 Апреля 2009, 08:07:42 »
Настроил самбу как ПДК с перемещаемыми профилями конфиг если интересно
[global]
netbios name = SERVER
server string = %L domain
workgroup = GROUP

interfaces = eth0

log level = 2
log file = /var/log/samba/%m.log
max log size = 1000
level2 oplocks = True

preferred master = yes
domain master = yes
local master = yes
domain logons = yes

os level = 255
#socket options = IPTOS_LOWDELAY TCP_NODELAY \ SO_SNDBUF=4096 SO_RCVBUF=4096

dns proxy = no
wins support = yes
time server = yes
logon script = %U.bat
logon path = \\%L\profiles\%U
#logon home = \\%L\%U
logon drive = H:

security = user
encrypt passwords = yes

add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u

add group script = /usr/sbin/groupadd %g
delete user script = /usr/sbin/groupdel %g

add user to group script = /usr/bin/gpasswd -a %u %g
delete user from group script = /usr/bin/gpasswd -d %u %g

add machine script = /usr/sbin/useradd -g nt_workstations -s /bin/false -d /dev/null %u
set primary group script = /usr/sbin/usermod -g %g %u

unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *new*password:* %n\n *new*password:* %n\n *success*
passwd chat debug = yes

unix charset = utf8
dos charset = cp1251
display charset = cp1251
profile acls = yes

#printing = cups
#printcap name = cups

[profiles]
 path = /home/samba/profiles
 create mask = 777
 directory mask = 777
 browseable = yes
 writeable = yes

[netlogon]
      path = /home/samba/netlogon
      read only = no
      browseable = no

[incoming]
       path = /home/samba/incoming
       public = yes
       only guest = yes
       writable = yes
       printable = no
       create mask = 0777
       directory mode = 0777

 

Страница сгенерирована за 0.014 секунд. Запросов: 20.