Гость
Целевая тема:
Создать новую тему:
Автор:
Форумы / Unix-системы [игнор отключен] [закрыт для гостей] / домен на разных подсетках / 8 сообщений из 8, страница 1 из 1
17.10.2006, 08:17:59
    #34058911
Riskk
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
домен на разных подсетках
у домена(сабма) ip 192.168.2.30 и все кто на 192.168.2.xx видят домен, а те кто на 192.168.2.5.xx не видят. как это решить?
...
Рейтинг: 0 / 0
17.10.2006, 09:20:13
    #34058980
Михаил0
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
домен на разных подсетках
>192.168.2.5.xx
У IPv4 адресное пространство 32 бита, у IPv6 -- 128...
У кого же 40??? IPv5? IPv4.5?
:)
PS Заодно адрес подсети/маску закинь.
...
Рейтинг: 0 / 0
17.10.2006, 14:57:05
    #34060356
Riskk
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
домен на разных подсетках
не понял
...
Рейтинг: 0 / 0
18.10.2006, 11:52:31
    #34062879
On-Lite
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
домен на разных подсетках
Кинь конфиг самбы по братски... хочу глянуть как настроено... себе тоже такое замутить
...
Рейтинг: 0 / 0
18.10.2006, 14:25:10
    #34063580
Журавлев Денис
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
домен на разных подсетках
Очепятка? 192.168.2.5.xx ->192.168.5.xx ?
...
Рейтинг: 0 / 0
18.10.2006, 14:44:32
    #34063681
Riskk
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
домен на разных подсетках
>Опечатка? 192.168.2.5.xx ->192.168.5.xx ?
да опечатка

>Кинь конфиг самбы по братски... хочу глянуть как настроено... себе тоже такое замутить

держи
Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
58.
59.
60.
61.
62.
63.
64.
65.
66.
67.
68.
69.
70.
71.
72.
73.
74.
75.
76.
77.
78.
79.
80.
81.
82.
83.
84.
85.
86.
87.
88.
89.
90.
91.
92.
93.
94.
95.
96.
97.
98.
99.
100.
101.
102.
103.
104.
105.
106.
107.
108.
109.
110.
111.
112.
113.
114.
115.
116.
117.
118.
119.
120.
121.
122.
123.
124.
125.
126.
127.
128.
129.
130.
131.
132.
133.
134.
135.
136.
137.
138.
[global]

   workgroup = labor
   admin users = @"Domain Admins"
   server string = %h server (Samba, Ubuntu)
   wins support = yes

;   wins server = w.x.y.z

   dns proxy = no

;   name resolve order = lmhosts host wins bcast

# This can be either the interface name or an IP address/netmask;
# interface names are normally preferred
#   interfaces =  192 . 168 . 2 . 0 / 24   192 . 168 . 5 . 0 / 24 

;   bind interfaces only = true

   log file = /var/log/samba/log.%m
   max log size =  1000 
;   syslog only = no

   syslog =  0 

# Do something sensible when Samba crashes: mail the admin a backtrace
   panic action = /usr/share/samba/panic-action %d

   security = user
   encrypt passwords = true
   passdb backend = tdbsam
   obey pam restrictions = yes

;   guest account = nobody
;   invalid users = root

;   unix password sync = no

   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .

;   pam password change = no

########## Domains ###########

   domain logons = yes
   logon path = \\%N\profiles\%U
# Another common choice is storing the profile in the user's home directory
  ; logon path = \\%N\%U\profile

# The following setting only takes effect if 'domain logons' is set
# It specifies the location of a user's home directory (from the client
# point of view)
   logon drive = H:
   logon home = \\%N\%U
   logon script = logon.bat

 add user script = /usr/sbin/useradd -d /dev/null -g  100  -s /bin/false -M %u
 add machine script = adduser --ingroup wheel --disabled-password --system --force-badname "%u"

 socket options = TCP_NODELAY

 domain master = yes
 local master = yes

# Some defaults for winbind (make sure you're not using the ranges
# for something else.)
;   idmap uid = 10000-20000
;   idmap gid = 10000-20000
;   template shell = /bin/bash

#======================= Share Definitions =======================

[homes]
   comment = Home Directories
   browseable = no
   writable = yes

# By default, \\server\username shares can be connected to by anyone
# with access to the samba server.  Un-comment the following parameter
# to make sure that only "username" can connect to \\server\username
;   valid users = %S

# By default, the home directories are exported read-only. Change next
# parameter to 'yes' if you want to be able to write to them.
;   writable = no

# File creation mask is set to  0600  for security reasons. If you want to
# create files with group=rw permissions, set next parameter to  0664 .
;   create mask =  0600 

# Directory creation mask is set to  0700  for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to  0775 .
;   directory mask =  0700 

# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
[netlogon]
   comment = Network Logon Service
   path = /home/samba/netlogon
   guest ok = yes
   writable = yes
   share modes = no

[profiles]
   comment = Users profiles
   path = /home/samba/profiles
   read only = no
   guest ok = yes
   browseable = no
   create mask =  0600 
   directory mask =  0700 
   profile acls = yes
   csc policy = disable
   writable = yes
   force user = %U

[homedirs]
   path = /home
   browseable = yes

[printers]
   comment = All Printers
   browseable = no
   path = /tmp
   printable = yes
   public = no
   writable = no
   create mode =  0700 

# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = no  
...
Рейтинг: 0 / 0
19.10.2006, 11:19:15
    #34065857
ALex_hha
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
домен на разных подсетках
Кто выступает в качестве маршрутизатора между сетями?
...
Рейтинг: 0 / 0
19.10.2006, 13:35:32
    #34066493
Riskk
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
домен на разных подсетках
уже разобрался, все из-за одной строки wins server = 192.168.2.1, это у нас главный домен. до этого сидел другой админ, сейчас изучаю все это.
...
Рейтинг: 0 / 0
Форумы / Unix-системы [игнор отключен] [закрыт для гостей] / домен на разных подсетках / 8 сообщений из 8, страница 1 из 1
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]