Использую самбу версии Samba version 3.0.21b-2
Настройка Samba
/etc/smb.conf
[global]
workgroup = MAN
netbios name = TERMSERVER
server string = Samba Server %v
printcap name = cups
load printers = no
printing = cups
# printer admin = @adm
log file = /var/log/samba3/log.%m
max log size = 50
log level = 3
map to guest = bad user
security = domain
password server = 193.233.98.113 192.168.5.95
encrypt passwords = yes
# smb passwd file = /etc/samba/private/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = no
domain master = no
preferred master = no
wins server = 193.233.98.113
dns proxy = no
client signing = yes
# server signing = auto
# winbind separator = +
winbind use default domain = yes
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
[homes]
comment = Home Directories
browseable = no
writable = yes
[log]
comment = Programms log files
path = /var/log/
valid users = drive
public = no
writable = yes
printable = no
create mask = 0765
[PUB]
comment = Free space
path = /var/free
write list = xrive xouse axnton caximus datboy
public = yes
writable = yes
printable = no
create mask = 0765
[ACC]
comment = private Account
path = /var/free
browseable = no
valid users = accountant
После запускаю Самбу
[root@termserver /]# /etc/init.d/smb start
Запускаются службы SMB: [ OK ]
Запускаются службы NMB: [ OK ]
Проверяю разрешены ли имена NetBIOS Сервером nmbd
[root@termserver /]# nmblookup TERMSERVER
added interface ip=192.168.4.33 bcast=192.168.4.255 nmask=255.255.255.0
Socket opened.
querying TERMSERVER on 192.168.4.255
Got a positive name query response from 192.168.4.33 (192.168.4.33 )
192.168.4.33 TERMSERVER<00>
Получаю список разделяемых ресурсов на сервере
[root@termserver ~]# smbclient -L //TERMSERVER
Password:
Anonymous login successful
Domain=[WAN] OS=[Unix] Server=[Samba 3.0.21b-2]
Sharename Type Comment
--------- ---- -------
log Disk Programms log files
PUB Disk Free space
IPC$ IPC IPC Service(Samba-Server 3.0.21b-2)
ADMIN$ IPC IPC Service(Samba Server 3.0.21b-2)
Anonymous login successful
Domain=[WAN] OS=[Unix] Server=[Samba 3.0.21b-2]
Server Comment
--------- -------
DMT-MS1
TERMSERVER Samba Server 3.0.21b-2
Workgroup Master
--------- -------
WAN DMT-MS1
Для получения доступа к ACC
[root@termserver ~]#useradd -M -d /home/samba/accountant/ accountant
[root@termserver ~]# smbpasswd -a accountant
New SMB password:
Retype new SMB password:
Added user accountant.
Вот собственно в чем проблема!
[root@termserver private]# net join -U admin
admin's password:
[2006/11/16 15:05:26, 0] libads/kerberos.c:ads_kinit_password(164)
kerberos_kinit_password TERMSERVER$@WAN.XOR.RU failed: Cannot contact any KDC for requested realm
[2006/11/16 15:05:26, 0] utils/net_ads.c:ads_startup(191)
ads_connect: Cannot contact any KDC for requested realm
Unable to find a suitable server
Unable to find a suitable server
помогите люди добрые и Злые ))))
Настройка Samba
/etc/smb.conf
[global]
workgroup = MAN
netbios name = TERMSERVER
server string = Samba Server %v
printcap name = cups
load printers = no
printing = cups
# printer admin = @adm
log file = /var/log/samba3/log.%m
max log size = 50
log level = 3
map to guest = bad user
security = domain
password server = 193.233.98.113 192.168.5.95
encrypt passwords = yes
# smb passwd file = /etc/samba/private/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = no
domain master = no
preferred master = no
wins server = 193.233.98.113
dns proxy = no
client signing = yes
# server signing = auto
# winbind separator = +
winbind use default domain = yes
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
[homes]
comment = Home Directories
browseable = no
writable = yes
[log]
comment = Programms log files
path = /var/log/
valid users = drive
public = no
writable = yes
printable = no
create mask = 0765
[PUB]
comment = Free space
path = /var/free
write list = xrive xouse axnton caximus datboy
public = yes
writable = yes
printable = no
create mask = 0765
[ACC]
comment = private Account
path = /var/free
browseable = no
valid users = accountant
После запускаю Самбу
[root@termserver /]# /etc/init.d/smb start
Запускаются службы SMB: [ OK ]
Запускаются службы NMB: [ OK ]
Проверяю разрешены ли имена NetBIOS Сервером nmbd
[root@termserver /]# nmblookup TERMSERVER
added interface ip=192.168.4.33 bcast=192.168.4.255 nmask=255.255.255.0
Socket opened.
querying TERMSERVER on 192.168.4.255
Got a positive name query response from 192.168.4.33 (192.168.4.33 )
192.168.4.33 TERMSERVER<00>
Получаю список разделяемых ресурсов на сервере
[root@termserver ~]# smbclient -L //TERMSERVER
Password:
Anonymous login successful
Domain=[WAN] OS=[Unix] Server=[Samba 3.0.21b-2]
Sharename Type Comment
--------- ---- -------
log Disk Programms log files
PUB Disk Free space
IPC$ IPC IPC Service(Samba-Server 3.0.21b-2)
ADMIN$ IPC IPC Service(Samba Server 3.0.21b-2)
Anonymous login successful
Domain=[WAN] OS=[Unix] Server=[Samba 3.0.21b-2]
Server Comment
--------- -------
DMT-MS1
TERMSERVER Samba Server 3.0.21b-2
Workgroup Master
--------- -------
WAN DMT-MS1
Для получения доступа к ACC
[root@termserver ~]#useradd -M -d /home/samba/accountant/ accountant
[root@termserver ~]# smbpasswd -a accountant
New SMB password:
Retype new SMB password:
Added user accountant.
Вот собственно в чем проблема!
[root@termserver private]# net join -U admin
admin's password:
[2006/11/16 15:05:26, 0] libads/kerberos.c:ads_kinit_password(164)
kerberos_kinit_password TERMSERVER$@WAN.XOR.RU failed: Cannot contact any KDC for requested realm
[2006/11/16 15:05:26, 0] utils/net_ads.c:ads_startup(191)
ads_connect: Cannot contact any KDC for requested realm
Unable to find a suitable server
Unable to find a suitable server
помогите люди добрые и Злые ))))