Ключевые слова:samba, win, (найти похожие документы)
Date: Fri, 21 Feb 2003 13:18:33 +0500
From: Yuriy Kryvosheya <[email protected]>
Newsgroups: ftn.ru.unix
Subject: Сервер профилей Windows через Samba
> Возможно ли организовать сабж? Кто-то говорил что возможно Samba
> поддерживает такую фичу, но практически в доке информации нет.
Вот конфиг с SAMBA PDC:
(профиля желательно на квотированных разделах размещать. вынь98 до 100-150
метров хавает, а вот 2к до 500 у некоторых и больше....)
# smb.conf
# Global parameters
[global]
domain master = Yes
dns proxy = Yes
encrypt passwords = Yes
logon path = \\%N\profiles\%U
time server = Yes
character set = KOI8-R
socket options = SO_KEEPALIVE SO_REUSEADDR SO_BROADCAST TCP_NODELAY
IPTOS_LOWDELAY IPTOS_THROUGHPUT SO_SNDBUF=50000 SO_RCVBUF=50000
bind interfaces only = Yes
keepalive = 30
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password*
%n\n *passwd:*all*authentication*tokens*updated*successfully*
username map = /etc/samba/smbusers
wins support = True
max log size = 1000
hosts allow = 10.100.1.128/255.255.255.128
logon script = %U.bat
interfaces = 10.100.1.221/255.255.255.128 127.0.0.1/255.0.0.0
domain logons = Yes
workgroup = MYGROUP
server string = Samba-%v in FreeBSD
client code page = 866
log file = /var/log/samba/%m.log
netbios name = MYSERVER
wins proxy = Yes
load printers = No
os level = 65
logon home = \\%N\profiles\%U
socket address = 10.100.1.221
[homes]
comment = Home Directories
read only = No
create mask = 0600
browseable = NO
[netlogon]
comment = Network Logon Service
path = /sdb/samba/netlogon
browseable = NO
locking = No
read only = No
[profiles]
comment = Users Profiles
path = /sdb/samba/profiles
read only = No
browseable = NO
create mask = 0600
[public]
comment = For Public access
path = /sdd/pub/
read only = No
create mask = 0777
directory mask = 0777
guest ok = Yes
hide dot files = no
guest account = nobody
#[pchome]
# comment = PC Directories
# path = /sdd/pc/%m
# public = no
# writable = yes
# browseable = No
Да, еще, netlogon-скрипты должны быть созданы в каком-нить дос(WIN)овском
редакторе. Вот скрипт для пользователя maick:
# maick.bat
@echo off
net time \\myserver /set /yes
net use n: \\myserver\public
net use m: \\myserver\homes