ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Eugene Bespalov <bem_admin@biysk.net>
To: community@altlinux.ru
Subject: [Comm] Samba3 + PDC
Date: Wed, 24 Dec 2003 10:10:49 +0600
Message-ID: <200312241010.49524.bem_admin@biysk.net> (raw)

smb.conf:
[root@server samba]# cat smb.conf
# Samba config file created using SWAT
# from 192.168.0.1 (192.168.0.1)
# Date: 2003/11/14 16:49:25

# Global parameters
[global]
	nt acl support = yes
        browseable = yes
        enhanced browsing = yes
        dos charset = CP866
        unix charset = KOI8-R
        display charset = KOI8-R
	workgroup = BEM
	netbios name = server
        server string = Samba server on %h (v. %v)
        interfaces = eth1
        guest account = nobody
        passwd program = /usr/bin/passwd %u
        passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n 
*passwd:*all*authentication*tokens*updated*successfully*
        username map = /etc/samba/smbusers
        log level = 3
        log file = /var/log/samba/log.%m
        max log size = 250
        name resolve order = wins lmhosts bcast hosts
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        printcap name = lpstat
        add user script = /usr/sbin/useradd -s /bin/false %u
        add machine script = /usr/sbin/useradd -d /dev/null -g 100 -s 
/bin/false -M %u
	domain logons = Yes
	os level = 65
	preferred master = Yes
	domain master = Yes
	local master = Yes
	logon path = \\%N\profiles\%u
	logon drive = H:
	logon home = \\server\%u
	logon script = logon.cmd
        wins support = Yes
        hosts allow = 192.168.0. 127.0.0.
        use sendfile = Yes
        printing = cups
	security = users
        password server = *
	encrypt passwords = yes
        smb passwd file = /etc/samba/smbpasswd
        winbind uid = 10000-20000
        winbind gid = 10000-20000
        template homedir = /home/%D/%U
        template shell = /bin/false
        bind interfaces only = yes
        admin users = root

[netlogon]
        comment = Network Logon Service
        path = /usr/local/samba/lib/netlogon
        writable = no
        write list = ntadmin

[profiles]
        path=/export/smb/ntprofile
        writable = yes
        create mask = 0600
        directory mask = 0700

[zara$]
        comment = zara's write zone
        path = /home/zara/cd-rec
        valid users = zara
        write list = zara
        writable = yes

[Общая]
        comment = Разные файлы
        path = /home/shares
        read list = star
        guest ok = yes
-----------------------------------------------------
Так уж прижилось что star - это типа nobody :)
-----------------------------------------------------
smbusers:
[root@server samba]# cat smbusers
# Unix_name = SMB_name1 SMB_name2 ...
root = administrator admin
nobody = guest pcguest smbguest
star = *
-----------------------------------------------------
smbpasswd:
zara:500:C84CA8F31E00C407822E6EF3844F64F7:AC20034A10E9CA42E8818E0C58A90F47:[U          
]:LCT-3FCEA72B:
star:501:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[UX         
]:LCT-3F90CFB8:
root:0:AEBD4DE384C7EC43AAD3B435B51404EE:7A21990FCD3D759941E45C490F143D5F:[U          
]:LCT-3FE90E29:
-----------------------------------------------------
пытаюсь подключить к домену Win2000Prof используя root, вываливает "Вход в 
систему не произведен: имя пользователя или пароль не опознаны". В smbpasswd 
появляется запись для машины ИМЯ_МАШИНЫ$

Сижу как у разбитого карыта. Что сделать чтобы было все хорошо.

PS: smb.conf менял по-разному, эффекта ноль. пробовал на основе Интернет инфы 
менять, пробовал значения по умолчанию, пробовал HOWTO. Да и как я и писал 
ранее, у меня проблема с отображением машин в сетевом окружении, на текущем 
smb.conf работает почти всегда, но у 10% машин регулярно не удается 
использовать сетевое окружение, только прямой ввод \\имя_машины. Рестартинг 
Самбы на 5-7 минут вырубает у всех браузинг.

             reply	other threads:[~2003-12-24  4:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-24  4:10 Eugene Bespalov [this message]
2003-12-24  9:37 ` Grigory Milev
2003-12-24 10:08   ` Eugene Bespalov
2003-12-24 10:12     ` Максим Ткаченко
2003-12-24 10:27     ` Grigory Milev
2003-12-25  3:24       ` Eugene Bespalov
2003-12-25  9:08         ` Eugene Bespalov
2003-12-25 12:34         ` Alexander Bokovoy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200312241010.49524.bem_admin@biysk.net \
    --to=bem_admin@biysk.net \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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