Код: Выделить всё
WITH_UTMP=true
WITH_POPT=true
Код: Выделить всё
#======================= Global Settings =====================================
[global]
display charset = KOI8-R
idmap gid = 5000-9999
time server = yes
hosts allow = 10.22.59. 127.
passwd program = /usr/bin/passwd %u
max xmit = 65535
netbios name = pdc
oplocks = yes
delete readonly = yes
idmap uid = 5000-9999
invalid users = guest admin nobody
logon script = %U.bat
dos charset = CP866
local master = yes
workgroup = ROCK
os level = 200
security = user
getwd cache = yes
max log size = 50
dos filetimes = yes
log file = /var/log/samba/log.%m
syslog = 0
log level = 0 vfs:2
read raw = yes
smb passwd file = /usr/local/etc/samba/smbpasswd
write raw = yes
socket options = TCP_NODELAY IPTOS_LOWDELAY
logon drive = H:
deadtime = 15
create mask = 644
domain master = yes
hide dot files = yes
null passwords = no
interfaces = 10.22.59.150 127.0.0.1
encrypt passwords = yes
logon home = \\%L\%U
wins support = yes
name resolve order = wins host lmhosts bcast
dos filetime resolution = yes
server string = Сервер
logon path = \\%L\%U\profile
preferred master = yes
unix charset = KOI8-R
bind interfaces only = yes
domain logons = yes
pam password change = yes
#============================ Share Definitions ==============================
[homes]
path = /home/%U
comment = Домашний каталог
browseable = no
writable = yes
valid users = %S
hide dot files = yes
[netlogon]
root preexec = /usr/script/makels '%m' '%U' '%a' '%g' '%L'
comment = Network Logon Service
path = /usr/local/etc/samba/netlogon
browseable = no
writable = no
read only = yes
[public]
comment = Общие каталоги
path = /usr/local/samba/public
create mask = 766
public = yes
hide dot files = yes
writable = yes
vfs objects = full_audit
full_audit:prefix = %m|%u|%I
full_audit:failure = connect, disconnect, open, mkdir, rmdir, unlink, write, rename
full_audit:success = connect, disconnect, open, mkdir, rmdir, unlink, write, rename
full_audit:facility = local5
full_audit:priority = notice
Код: Выделить всё
Load smb config files from /usr/local/etc/smb.conf
Processing section "[homes]"
Processing section "[netlogon]"
Processing section "[public]"
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions
Запускаю самбу. Завожу комп в домен, получаю приглашение, перегружаюсь. Вхожу в винду под локальным админом, пробую зайти на расшару под test, захожу без проблем. А вот в домен войти уже под самим пользователем test не могу. Пишет что-то типа "Не удалось подключится к домену...".
В логах nmbd и smbd ничего странного. А вот в логе log.testcomp вот что:
Код: Выделить всё
[2009/07/08 10:24:14, 0] smbd/service.c:make_connection_snum(1000)
Can't become connected user!
[2009/07/08 10:25:16, 0] smbd/service.c:make_connection_snum(1000)
Can't become connected user!
[2009/07/08 10:25:51, 0] smbd/service.c:make_connection_snum(1000)
Can't become connected user!
[2009/07/08 10:25:52, 0] smbd/service.c:make_connection_snum(1000)
Can't become connected user!
[2009/07/08 10:26:21, 0] smbd/service.c:make_connection_snum(1000)
Can't become connected user!
[2009/07/08 10:28:06, 0] smbd/service.c:make_connection_snum(1000)
Can't become connected user!