ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Peter V. Saveliev" <peet@eltel.net>
To: sisyphus@altlinux.ru
Subject: [sisyphus] findsmb
Date: Mon, 6 Jan 2003 23:17:10 +0300
Message-ID: <20030106231710.2cb63504.peet@eltel.net> (raw)

...

Один и тот же скрипт findsmb. Но как по-разному работает!

Сервер:

[root@kehlisaari root]# findsmb 

IP ADDR         NETBIOS NAME   WORKGROUP/OS/VERSION 
---------------------------------------------------------------------
192.168.0.1     kehlisaari.home

Это специально от рута, дело не в правах на nmblookup:

[root@kehlisaari root]# nmblookup -A 192.168.0.1
Looking up status of 192.168.0.1
	KEHLISAARI      <00> -         M <ACTIVE> 
	KEHLISAARI      <03> -         M <ACTIVE> 
	KEHLISAARI      <20> -         M <ACTIVE> 
	..__MSBROWSE__. <01> - <GROUP> M <ACTIVE> 
	HOME            <00> - <GROUP> M <ACTIVE> 
	HOME            <1b> -         M <ACTIVE> 
	HOME            <1c> - <GROUP> M <ACTIVE> 
	HOME            <1d> -         M <ACTIVE> 
	HOME            <1e> - <GROUP> M <ACTIVE> 

Теперь на клиенте:

[root@ankeriasniemi root]# findsmb

IP ADDR         NETBIOS NAME   WORKGROUP/OS/VERSION
---------------------------------------------------------------------
192.168.0.1             KEHLISAARI    *[HOME] [Unix] [Samba ALT/2.2.7]
192.168.0.252           ANKERIASNIEMI  [HOME] [Unix] [Samba ALT/2.2.7]

Вот конфиги:

Сервер:
8<------- /etc/samba/smb.conf -----------------------------------------------------------
# Global parameters
[global]

;;; -----------------------------------------------
;;; Server options:
	security = user
	workgroup = HOME
	netbios name = KEHLISAARI
	server string = just for placeholder
	
;;; -----------------------------------------------
;;; Wins support, network browsing:
	wins support = yes
	os level = 255
	preferred master = yes
	local master = yes
	domain master = yes
	time server = yes
	name resolve order = wins bcast host
	dns proxy = no
		
;;; -----------------------------------------------
;;; Logging control:
	log file = /var/log/samba/log.%m
	log level = 1
	max log size = 50

;;; -----------------------------------------------
;;; "Hard" network options:
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	interfaces = lo eth0
	bind interfaces only = no

;;; -----------------------------------------------
;;; Service:
	client code page = 866
	character set = KOI8-R
	message command = /bin/sh -c '/usr/bin/LinPopUp "%f" "%m" %s; rm -f %s' &
	veto files = /lost+found/

;;; -----------------------------------------------
;;; NT logon settings:
	domain logons = yes
	logon drive  =
	logon path   =
	logon script = default.bat
	logon home   = \\%L\%U

;;; -----------------------------------------------
;;; Encryption etc.:
	obey pam restrictions = no
	pam password change = no
	lanman auth = yes
	password level = 5
	username level = 5
	unix password sync = no
	encrypt passwords = yes
;;;	restrict anonymous = 1

;;; -----------------------------------------------
;;; LDAP support:
	ldap admin dn = "cn=proxyuser,dc=kehlisaari,dc=home"
	ldap server = 127.0.0.1
	ldap suffix = "ou=users,dc=kehlisaari,dc=home"
	ldap ssl = on
	
;;; дальше поскипано.
8<------- /etc/samba/smb.conf -----------------------------------------------------------
						
Клиент:
8<------- /etc/samba/smb.conf -----------------------------------------------------------
[global]

   workgroup = HOME
   netbios name = ANKERIASNIEMI
   server string =  Samba server on %h (v. %v)

   log file = /var/log/samba/log.%m
   max log size = 50
   log level = 1

   security = domain
   password server = *
   encrypt passwords = yes

   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   interfaces = lo eth0

   local master = yes
   os level = 33
   domain master = no
   preferred master = yes
   domain logons = no

   name resolve order = wins bcast host
   wins server = 192.168.0.1
   wins proxy = no
   dns proxy = no 

   client code page = 866
   character set = KOI8-R

;;; дальше поскипано.
8<------- /etc/samba/smb.conf -----------------------------------------------------------

Как всегда, самба 2.2.7 alt1 из Сизифа, пересобрана с --with-ldapsam,
больше никаких отличий. 

Пожалуйста, хелп: куда копать. И еще. Клиент в домен не добавлен, только
имя домена _совпадает_, но на сервере он не внесен. Но это не мешает
клиенту заходить на сервер. Как так?

--
Sincerely, Peter V. Saveliev

E-mail: peet@eltel.net
Jabber: peet@jabber.ru


                 reply	other threads:[~2003-01-06 20:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20030106231710.2cb63504.peet@eltel.net \
    --to=peet@eltel.net \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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