ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] samba3
@ 2004-03-31 14:37 Oleg Frolkov
  2004-03-31 14:37 ` Sergey Vlasov
  2004-03-31 15:53 ` Eugene Ostapets
  0 siblings, 2 replies; 6+ messages in thread
From: Oleg Frolkov @ 2004-03-31 14:37 UTC (permalink / raw)
  To: community

Здравствуйте,

Хочется чтобы пользователь не зарегистрированный на samba сервере мог
иметь доступ к ресурсу. Имеем:

samba3-client-3.0-alt7
samba3-vfs-3.0-alt7
samba3-common-3.0-alt7
samba3-doc-3.0-alt7
samba3-3.0-alt7

/etc/samba/smb.conf

[global]
   workgroup = samba
   netbios name = srv
   guest account = nobody
   security = user
   encrypt passwords = yes
   smb passwd file = /etc/samba/smbpasswd
   preserve case = yes
   short preserve case = yes
   dos charset = CP866
   unix charset = KOI8-R
   display charset = KOI8-R

[pub]
   path = /opt/pub
   public = yes
   guest ok = yes
   writable = yes
   browseable = yes
   printable = no
   inherit permissions = yes
   inherit acls = yes

Соответственно те кто есть в /etc/passwd и в /etc/samba/smbpasswd
получают список ресурсов, а те кого там нет - получают облом см. ниже.
   
на машине с W2K или WIN/XP
----------------------
C:\>net view \\srv
Системная ошибка 5.

Отказано в доступе.
----------------------

Есть какие-нибудь мысли? как это обойти?

-- 
С уважением,
 Oleg                          mailto:rcc-of@penza.com.ru



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] samba3
  2004-03-31 14:37 [Comm] samba3 Oleg Frolkov
@ 2004-03-31 14:37 ` Sergey Vlasov
  2004-03-31 19:24   ` Re[2]: " Oleg Frolkov
  2004-03-31 15:53 ` Eugene Ostapets
  1 sibling, 1 reply; 6+ messages in thread
From: Sergey Vlasov @ 2004-03-31 14:37 UTC (permalink / raw)
  To: community

[-- Attachment #1: Type: text/plain, Size: 658 bytes --]

On Wed, Mar 31, 2004 at 06:37:36PM +0400, Oleg Frolkov wrote:
> Хочется чтобы пользователь не зарегистрированный на samba сервере мог
> иметь доступ к ресурсу. Имеем:
> 
> samba3-client-3.0-alt7
> samba3-vfs-3.0-alt7
> samba3-common-3.0-alt7
> samba3-doc-3.0-alt7
> samba3-3.0-alt7
> 
> /etc/samba/smb.conf
> 
> [global]
>    workgroup = samba
>    netbios name = srv
>    guest account = nobody
>    security = user
>    encrypt passwords = yes
>    smb passwd file = /etc/samba/smbpasswd
>    preserve case = yes
>    short preserve case = yes
>    dos charset = CP866
>    unix charset = KOI8-R
>    display charset = KOI8-R

     map to guest = bad user

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] samba3
  2004-03-31 14:37 [Comm] samba3 Oleg Frolkov
  2004-03-31 14:37 ` Sergey Vlasov
@ 2004-03-31 15:53 ` Eugene Ostapets
  2004-03-31 19:19   ` Re[2]: " Oleg Frolkov
  1 sibling, 1 reply; 6+ messages in thread
From: Eugene Ostapets @ 2004-03-31 15:53 UTC (permalink / raw)
  To: community

В сообщении от Среда 31 Март 2004 17:37 Oleg Frolkov написал(a):
> Здравствуйте,
>
> Хочется чтобы пользователь не зарегистрированный на samba сервере мог
> иметь доступ к ресурсу. Имеем:
>
> samba3-client-3.0-alt7
> samba3-vfs-3.0-alt7
> samba3-common-3.0-alt7
> samba3-doc-3.0-alt7
> samba3-3.0-alt7
>
> /etc/samba/smb.conf
>
> [global]
>    workgroup = samba
>    netbios name = srv
>    guest account = nobody
>    security = user
>    encrypt passwords = yes
>    smb passwd file = /etc/samba/smbpasswd
>    preserve case = yes
>    short preserve case = yes
>    dos charset = CP866
>    unix charset = KOI8-R
>    display charset = KOI8-R
>
guest ok = yes

-- 
С уважением,
Евгений Остапец
www.unisoft.com.ua

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re[2]: [Comm] samba3
  2004-03-31 15:53 ` Eugene Ostapets
@ 2004-03-31 19:19   ` Oleg Frolkov
  2004-03-31 20:40     ` Eugene Ostapets
  0 siblings, 1 reply; 6+ messages in thread
From: Oleg Frolkov @ 2004-03-31 19:19 UTC (permalink / raw)
  To: Eugene Ostapets

Здравствуйте, Eugene.

Вы писали 31 марта 2004 г., 19:53:43:

>> [global]
>>    workgroup = samba
>>    netbios name = srv
>>    guest account = nobody
>>    security = user
>>    encrypt passwords = yes
>>    smb passwd file = /etc/samba/smbpasswd
>>    preserve case = yes
>>    short preserve case = yes
>>    dos charset = CP866
>>    unix charset = KOI8-R
>>    display charset = KOI8-R
>>
EO> guest ok = yes
    Зачем оно здес? Да и не помогает все равно.

-- 
С уважением,
 Oleg                          mailto:rcc-of@penza.com.ru



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re[2]: [Comm] samba3
  2004-03-31 14:37 ` Sergey Vlasov
@ 2004-03-31 19:24   ` Oleg Frolkov
  0 siblings, 0 replies; 6+ messages in thread
From: Oleg Frolkov @ 2004-03-31 19:24 UTC (permalink / raw)
  To: Sergey Vlasov

Здравствуйте, Sergey.

Вы писали 31 марта 2004 г., 18:37:50:

>> [global]
>>    workgroup = samba
>>    netbios name = srv
>>    guest account = nobody
>>    security = user
>>    encrypt passwords = yes
>>    smb passwd file = /etc/samba/smbpasswd
>>    preserve case = yes
>>    short preserve case = yes
>>    dos charset = CP866
>>    unix charset = KOI8-R
>>    display charset = KOI8-R

SV>      map to guest = bad user
      Хороший и правильный совет, спасибо за наводку. Только вот
      беда в том, что та самба что есть в мастере 2.2 с апдейтами
      (samba-3.0) при добавлении этого параметра говорит следующее:

Mar 31 23:11:25 penzanet smbd[1603]:   =========================================
======================
Mar 31 23:11:25 penzanet smbd[1603]: [2004/03/31 23:11:25, 0] lib/util.c:smb_pan
ic(1420)
Mar 31 23:11:25 penzanet smbd[1603]:   PANIC: internal error
Mar 31 23:11:25 penzanet smbd[1603]:
Mar 31 23:11:25 penzanet smbd[1605]: [2004/03/31 23:11:25, 0] lib/fault.c:fault_
report(36)
Mar 31 23:11:25 penzanet smbd[1605]:   =========================================
======================
      

-- 
С уважением,
 Oleg                          mailto:rcc-of@penza.com.ru



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] samba3
  2004-03-31 19:19   ` Re[2]: " Oleg Frolkov
@ 2004-03-31 20:40     ` Eugene Ostapets
  0 siblings, 0 replies; 6+ messages in thread
From: Eugene Ostapets @ 2004-03-31 20:40 UTC (permalink / raw)
  To: community

В сообщении от Среда 31 Март 2004 22:19 Oleg Frolkov написал(a):
> Здравствуйте, Eugene.
>
> Вы писали 31 марта 2004 г., 19:53:43:
> >> [global]
> >>    workgroup = samba
> >>    netbios name = srv
> >>    guest account = nobody
> >>    security = user
> >>    encrypt passwords = yes
> >>    smb passwd file = /etc/samba/smbpasswd
> >>    preserve case = yes
> >>    short preserve case = yes
> >>    dos charset = CP866
> >>    unix charset = KOI8-R
> >>    display charset = KOI8-R
>
> EO> guest ok = yes
>     Зачем оно здес? Да и не помогает все равно.
Для того чтобы guest мог получить список шар с сервера. На 2.2 помогало...
-- 
С уважением,
Евгений Остапец
www.unisoft.com.ua

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-03-31 20:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-31 14:37 [Comm] samba3 Oleg Frolkov
2004-03-31 14:37 ` Sergey Vlasov
2004-03-31 19:24   ` Re[2]: " Oleg Frolkov
2004-03-31 15:53 ` Eugene Ostapets
2004-03-31 19:19   ` Re[2]: " Oleg Frolkov
2004-03-31 20:40     ` Eugene Ostapets

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git