Гость
Целевая тема:
Создать новую тему:
Автор:
Форумы / Unix-системы [игнор отключен] [закрыт для гостей] / Помогите с САМБА(новечок) / 19 сообщений из 19, страница 1 из 1
13.12.2007, 11:02:46
    #35006590
Бомж
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Помогите с САМБА(новечок)
Добрый день.
Нужно срочно дать возможность Юникс серверу возможность видеть расшаренную папку на Виндовс.
Сказали что САМБА поможет.
Устоновил САМБА (samba_3.0.21c_B.11.23_ia64_03_03_06.depot) на HP-UX hpsrv01 B.11.23 U ia64 . Тепер вопрос, как настроить( какие параметры в конфиге ) для вышеуказанного ?
Желательно через SWAT .
П.С. на форусе искал но не смог разобратся с найдинными.
...
Рейтинг: 0 / 0
13.12.2007, 11:04:48
    #35006595
Dimitry Sibiryakov
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Помогите с САМБА(новечок)
БомжСказали что САМБА поможет.

Не САМБА, а САМБАКЛИЕНТ. Две разные вещи, знаешь ли...
Posted via ActualForum NNTP Server 1.4
...
Рейтинг: 0 / 0
13.12.2007, 11:06:17
    #35006601
Журавлев Денис
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Помогите с САМБА(новечок)
вообще-то вам cifs client нужен типа
B8724AA_A.02.02.02_HP-UX_B.11.11_32+64.depot
...
Рейтинг: 0 / 0
13.12.2007, 11:07:09
    #35006606
Журавлев Денис
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Помогите с САМБА(новечок)
...
Рейтинг: 0 / 0
13.12.2007, 11:11:32
    #35006623
Бомж
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Помогите с САМБА(новечок)
Журавлев Денис http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8724AA

Спасибо всем ... А на Виндовс машине нужно что то делать ?
...
Рейтинг: 0 / 0
13.12.2007, 11:13:06
    #35006632
Журавлев Денис
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Помогите с САМБА(новечок)
Бомж Журавлев Денис http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8724AA

Спасибо всем ... А на Виндовс машине нужно что то делать ?Это в другой конфе обсуждают, но подозреваю что нужно сделать шару и нарезать права пользователям винды.
...
Рейтинг: 0 / 0
13.12.2007, 11:36:31
    #35006761
Журавлев Денис
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Помогите с САМБА(новечок)
от рута:
ставим автозапуск
# vi /etc/rc.config.d/cifsclient
RUN_CIFSCLIENT=1

запускаем
# cifsclient start
CIFS Client started; process id: 5926

создаем точку монтирования
# mkdir /mnt/test

проверяем доступность винсервера:
# ping gc
PING gc: 64 byte packets
64 bytes from 192.168.5.3: icmp_seq=0. time=0. ms

монтируем и сохраняем
# cifsmount -s //gc/install /mnt/test

от пользователя:
# su - oracle

логинимся к серверу gc пользователем den из домена dit
$ cifslogin -s -D dit -U den -P secretparol gc

проверяем результат:
Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
$ cifslist                               
Mounted Object                      Mountpoint                          State 
-------------------------------------------------------------------------------
\\GC\INSTALL                        /mnt/test                           MS    
===============================================================================
Server            Local User        Remote User       Domain            State 
-------------------------------------------------------------------------------
GC                oracle            den               dit               LS   

$ ll /mnt/test                           
total 2482736
drwxrwxrwx   2 oracle     oinstall    131072 Oct 19 10:58 FAR
-rwxrwxrwx   1 oracle     oinstall   1228303299 Jul 24 14:36 IgoEuroAsia.rar
drwxrwxrwx   2 oracle     oinstall    131072 Oct 26 14:10 Oracle


http://www.sql.ru/forum/actualtopics.aspx?search=cifslogin&submit=%CD%E0%E9%F2%E8&bid=28
...
Рейтинг: 0 / 0
13.12.2007, 11:43:47
    #35006809
Dimitry Sibiryakov
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Помогите с САМБА(новечок)
Журавлев Денис
логинимся к серверу gc пользователем den из домена dit
$ cifslogin -s -D dit -U den -P secretparol gc

А есть возможность заставить его автоматически использовать имя и пароль
текущего пользователя?
Posted via ActualForum NNTP Server 1.4
...
Рейтинг: 0 / 0
13.12.2007, 11:50:37
    #35006847
Журавлев Денис
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Помогите с САМБА(новечок)
Dimitry Sibiryakov
А есть возможность заставить его автоматически использовать имя и пароль
текущего пользователя?
ключик -s сохраняет пароль навсегда, далее будет молча автологинится при обращении к шаре например при cd /mnt/test
во вторых как узнать пароль текущего пользователя?

с другой стороны может вам надо это http://docs.hp.com/en/B8724-90067/ch08.html
...
Рейтинг: 0 / 0
13.12.2007, 11:59:52
    #35006909
Dimitry Sibiryakov
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Помогите с САМБА(новечок)
Журавлев Денис
с другой стороны может вам надо это
http://docs.hp.com/en/B8724-90067/ch08.html

Выглядит многообещающе, особенно "Successful user/password
authentications are cached for use by the CIFS client". Спасибо.
Posted via ActualForum NNTP Server 1.4
...
Рейтинг: 0 / 0
13.12.2007, 12:09:56
    #35006963
Журавлев Денис
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Помогите с САМБА(новечок)
Dimitry Sibiryakov
Выглядит многообещающе, особенно "Successful user/password
authentications are cached for use by the CIFS client". Спасибо.
непонятно где керберос, и будет ли это работать вообще.
...
Рейтинг: 0 / 0
13.12.2007, 12:14:14
    #35006978
Dimitry Sibiryakov
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Помогите с САМБА(новечок)
Журавлев Денис
непонятно где керберос, и будет ли это работать вообще.

Керберос, судя по всему отдыхает и аутенификация идет по NTLM (судя по
названию). Работать... может и будет, если на сервере NTLM разрешено.
AFAIK, оно считается устаревшим.
Posted via ActualForum NNTP Server 1.4
...
Рейтинг: 0 / 0
13.12.2007, 12:38:15
    #35007088
Бомж
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Помогите с САМБА(новечок)
Ребята, такая проблема :
Скачал B8724AA_A.02.02.02_HP-UX_B.11.23_IA+PA.depot

Смотрю "Хау то инсталл".
Делаю :

Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
# ls -a | grep depot
B8724AA_A. 02 . 02 .02_HP-UX_B. 11 .23_IA+PA.depot
# swlist -s /tmp/B8724AA_A. 02 . 02 .02_HP-UX_B. 11 .23_IA+PA.depot
# Initializing...
# Contacting target "hpuxsrv"...
#
# Target:  hpuxsrv:/tmp/B8724AA_A. 02 . 02 .02_HP-UX_B. 11 .23_IA+PA.depot
#

#
# Bundle(s):
#

  B8724AA       A. 02 . 02 . 02      HP CIFS Client 

Вроде ОК.

При инсталации
Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
# swinstall -x autoreboot=true -x mount_all_filesystems=false \ -s /tmp/B8724AA_A. 02 . 02 .02_HP-UX_B. 11 .23_IA+PA.depot B8724AA
=======   12 / 13 / 07   13 : 35 : 24  bak  BEGIN swinstall SESSION
         (non-interactive) (jobid=hpuxsrv- 0031 )

       * Session started for user "root@hpuxsrv".
         
       * Beginning Selection
       * Target connection succeeded for "hpuxsrv:/".
ERROR:   There is currently no depot software on host "hpuxsrv" at
         location "/var/spool/sw". Make sure that an absolute pathname
         is specified for location (beginning with "/").
       * Source connection failed for "hpuxsrv:/var/spool/sw".
WARNING: More information may be found in the daemon logfile on this
         target (default location is hpuxsrv:/var/adm/sw/swagentd.log).
       * Selection had errors.
         
         

=======   12 / 13 / 07   13 : 35 : 25  bak  END swinstall SESSION (non-interactive)
         (jobid=hpuxsrv- 0031 )
...
Рейтинг: 0 / 0
13.12.2007, 12:38:57
    #35007090
Журавлев Денис
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Помогите с САМБА(новечок)
Dimitry SibiryakovКерберос, судя по всему отдыхает и аутенификация идет по NTLM (судя по
названию). Работать... может и будет, если на сервере NTLM разрешено.
вот и я говорю на кой использовать закрытый протокол вместо открытого.
...
Рейтинг: 0 / 0
13.12.2007, 12:42:35
    #35007108
Журавлев Денис
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Помогите с САМБА(новечок)
Бомж
При инсталации
Код: plaintext
1.
# swinstall -x autoreboot=true -x mount_all_filesystems=false \ -s 
книжку купи по юниксу а?

Код: plaintext
1.
2.
3.
4.
5.
6.
либо так
swinstall -x autoreboot=true -x mount_all_filesystems=false -s /tmp/B8724AA_A.02.02.02_HP-UX_B.11.23_IA+PA.depot B8724AA

либо так
swinstall -x autoreboot=true -x mount_all_filesystems=false \
-s /tmp/B8724AA_A.02.02.02_HP-UX_B.11.23_IA+PA.depot B8724AA
\ это символ не завершенности строки
...
Рейтинг: 0 / 0
13.12.2007, 12:51:10
    #35007137
Бомж
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Помогите с САМБА(новечок)
Код: 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.
# swinstall -x autoreboot=true -x mount_all_filesystems=false -s /tmp/B8724AA_A. 02 . 02 .02_HP-UX_B. 11 .23_IA+PA.depot B8724AA

=======   12 / 13 / 07   13 : 46 : 35  bak  BEGIN swinstall SESSION
         (non-interactive) (jobid=hpuxsrv- 0033 )

       * Session started for user "root@hpuxsrv".
         
       * Beginning Selection
       * Target connection succeeded for "hpuxsrv:/".
NOTE:    The software specified contains a kernel fileset or a
         dynamic_module fileset.  The kernel will be modified, and if
         necessary the system will be rebooted.
       * Source:
         /tmp/B8724AA_A. 02 . 02 .02_HP-UX_B. 11 .23_IA+PA.depot
       * Targets:                hpuxsrv:/
       * Software selections:
             B8724AA,r=A. 02 . 02 . 02 ,a=HP-UX_B. 11 .23_IA/PA,v=HP
             CIFS-Client.CIFSCLIENT-KRN,l=/opt/cifsclient,r=A. 02 . 02 . 02 ,a=HP-UX_B. 11 .23_IA/PA,v=HP,fr=A. 02 . 02 . 02 ,fa=HP-UX_B. 11 .23_IA
             CIFS-Client.CIFSCLIENT-MAN,l=/opt/cifsclient,r=A. 02 . 02 . 02 ,a=HP-UX_B. 11 .23_IA/PA,v=HP,fr=A. 02 . 02 . 02 ,fa=HP-UX_B. 11 .23_IA/PA
             CIFS-Client.CIFSCLIENT-MIS,l=/opt/cifsclient,r=A. 02 . 02 . 02 ,a=HP-UX_B. 11 .23_IA/PA,v=HP,fr=A. 02 . 02 . 02 ,fa=HP-UX_B. 11 .23_IA/PA
             CIFS-Client.CIFSCLIENT-RUN,l=/opt/cifsclient,r=A. 02 . 02 . 02 ,a=HP-UX_B. 11 .23_IA/PA,v=HP,fr=A. 02 . 02 . 02 ,fa=HP-UX_B. 11 .23_IA
             PAM-NTLM.PAM-NTLM-RUN,l=/opt/cifsclient/pam,r=A. 02 . 02 . 02 ,a=HP-UX_B. 11 .23_IA/PA,v=HP,fr=A. 02 . 02 . 02 ,fa=HP-UX_B. 11 .23_IA
             PAM-NTLM.SMB-LIB-RUN,l=/opt/cifsclient/pam,r=A. 02 . 02 . 02 ,a=HP-UX_B. 11 .23_IA/PA,v=HP,fr=A. 02 . 02 . 02 ,fa=HP-UX_B. 11 .23_IA
       * Selection succeeded.
         
         
       * Beginning Analysis and Execution
       * Session selections have been saved in the file
         "/.sw/sessions/swinstall.last".
       * "hpuxsrv:/":  There will be no attempt to mount filesystems
         that appear in the filesystem table.
ERROR:   "hpuxsrv:/":   4  files had errors during this operation.
ERROR:   "hpuxsrv:/":   1  filesets had errors.
       * The execution phase failed for "hpuxsrv:/".
       * Analysis and Execution had errors.
         
         
ERROR:   More information may be found in the agent logfile using the
         command "swjob -a log hpuxsrv-0033 @ hpuxsrv:/".

=======   12 / 13 / 07   13 : 47 : 04  bak  END swinstall SESSION (non-interactive)
         (jobid=hpuxsrv- 0033 )

# swjob -a log hpuxsrv- 0033  @ hpuxsrv:/
=======   12 / 13 / 07   13 : 46 : 36  bak  BEGIN install AGENT SESSION (pid= 4778 )
         (jobid=hpuxsrv- 0033 )

       * Agent session started for user "root@host.domain.com".
         (pid= 4778 )

       * Beginning Analysis Phase.
       * Source:
         host.domain.com:/tmp/B8724AA_A. 02 . 02 .02_HP-UX_B. 11 .23_IA+PA.depot
         
       * Target:           hpuxsrv:/
       * Target logfile:   hpuxsrv:/var/adm/sw/swagent.log
       * Reading source for product information.
NOTE:    The filesystems in the filesystem table will not be checked
         against those currently mounted because the
         "mount_all_filesystems" option is set to "false".
       * Reading source for file information.
       * Executing preDSA command.
NOTE:    The used disk space on filesystem "/" is estimated to increase
         by  2336  Kbytes.
         This will leave  711912  Kbytes of available user disk space
         after the installation.
NOTE:    The used disk space on filesystem "/stand" is estimated to
         increase by  12675  Kbytes.
         This will leave  1732541  Kbytes of available user disk space
         after the installation.
NOTE:    The used disk space on filesystem "/opt" is estimated to
         increase by  8560  Kbytes.
         This will leave  3875280  Kbytes of available user disk space
         after the installation.
NOTE:    The used disk space on filesystem "/var" is estimated to
         increase by  264  Kbytes.
         This will leave  7052752  Kbytes of available user disk space
         after the installation.

       * Summary of Analysis Phase:
       *  6  of  6  filesets had no Errors or Warnings.
       * The Analysis Phase succeeded.


       * Beginning the Install Execution Phase.
       * Filesets:          6 
       * Files:             79 
       * Kbytes:            10487 
       * Installing bundle "B8724AA,r=A.02.02.02" .
NOTE:    Saving the current system file at "/stand/system" to
         "/stand/system.prev"
       * The current configuration (including any changes being held for
         next boot) has been exported to /tmp/get_sysfile. 4806 .
NOTE:    The template file has been extracted from "/stand/vmunix"
         It has been placed in "/stand/system" where it will be used
         to build a new kernel.
       * Installing fileset "CIFS-Client.CIFSCLIENT-KRN,r=A.02.02.02"
         ( 1  of  6 ).
       * The automatic 'backup' configuration has been updated.
       * /stand/system has been imported.  The changes have been applied
         to the currently running system.
       * Installing fileset "CIFS-Client.CIFSCLIENT-MAN,r=A.02.02.02"
         ( 2  of  6 ).
       * Installing fileset "CIFS-Client.CIFSCLIENT-MIS,r=A.02.02.02"
         ( 3  of  6 ).
       * Installing fileset "CIFS-Client.CIFSCLIENT-RUN,r=A.02.02.02"
         ( 4  of  6 ).
       * Installing fileset "PAM-NTLM.PAM-NTLM-RUN,r=A.02.02.02" ( 5  of
          6 ).
       * Installing fileset "PAM-NTLM.SMB-LIB-RUN,r=A.02.02.02" ( 6  of
          6 ).
ERROR:   Read from serial depot file failed.  No such file or directory
         ( 2 ).
ERROR:   Read from serial depot file failed.  No such file or directory
         ( 2 ).
ERROR:   The file "/opt/cifsclient/pam/lib/pa20_64/libsmb64.sl" was not
         loaded because it is missing from the source media.
ERROR:   Failed installing fileset "PAM-NTLM.SMB-LIB-RUN,r=A.02.02.02".
         Check the above output for details.
       * Retry number  1  of  1  for loading files for fileset
         "PAM-NTLM.SMB-LIB-RUN,r=A.02.02.02".
       * Installing fileset "PAM-NTLM.SMB-LIB-RUN,r=A.02.02.02" ( 6  of
          6 ).
ERROR:   Read from serial depot file failed.  Error  0  ( 0 ).
ERROR:   Read from serial depot file failed.  Error  0  ( 0 ).
ERROR:   The file "/opt/cifsclient/pam/lib/pa20_64/libsmb64.sl" was not
         loaded because it is missing from the source media.
ERROR:   Failed installing fileset "PAM-NTLM.SMB-LIB-RUN,r=A.02.02.02".
         Check the above output for details.
NOTE:    The Install Phase has suspended.  Check the above output for
         reasons.


       * Aborting the Install Phase.

=======   12 / 13 / 07   13 : 47 : 04  bak  END install AGENT SESSION (Aborted)
         (pid= 4778 ) (jobid=hpuxsrv- 0033 )
...
Рейтинг: 0 / 0
13.12.2007, 12:55:41
    #35007165
Журавлев Денис
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Помогите с САМБА(новечок)
Бомж
ERROR: Read from serial depot file failed. No such file or directory
(2).
файл битый, по фтп когда бинарники заливаешь binary надо включить.
...
Рейтинг: 0 / 0
13.12.2007, 13:03:15
    #35007208
Журавлев Денис
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Помогите с САМБА(новечок)
# file /tmp/B8724AA_A.02.02.02_HP-UX_B.11.11_32+64.depot
/tmp/B8724AA_A.02.02.02_HP-UX_B.11.11_32+64.depot: tar file

.depot это tar проверить можно так:
# tar -tf B8724AA_A.02.02.02_HP-UX_B.11.11_32+64.depot
...
Рейтинг: 0 / 0
13.12.2007, 13:05:23
    #35007222
Бомж
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Помогите с САМБА(новечок)
Журавлев Денисфайл битый, по фтп когда бинарники заливаешь binary надо включить.
Качаю через ХТТП. Сейчас попробую ише раз. Огромное вам спасибо !
...
Рейтинг: 0 / 0
Форумы / Unix-системы [игнор отключен] [закрыт для гостей] / Помогите с САМБА(новечок) / 19 сообщений из 19, страница 1 из 1
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


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