[Samba-it] Problema con Logon server nella rete separata

Pignedoli Luca lucap78 at interfree.it
Thu Nov 2 08:32:01 MST 2006


-------- Original Message  --------
From: simo <simo.sorce at xsec.it>
To: samba-it at xsec.it
Subject: Re:[Samba-it] Problema con Logon server nella rete separata
Date: 01/11/2006 01:24
> Intendi come PDC?
> Una configurazione con PDC multipli non e' realmente supportata.
> Potrebbe funzionare e anche no.

Ok, allo provo a rimetterlo come BDC.

> 
> Ok, se questo funziona, la mia sfera di cristallo non mi da altre idee,
> verifica che in rete locale tu veda correttamente il domain controller
> usando nmblookup e cercando i nomi: nomedominio#1c e nomedominio#1b,
> dovrebbero entrambi risolvere l'IP del PDC.
> 
> Simo.

Se lancio il comando nmblookup mi ritorna i seguenti errori:

#nmblookup DOMA#1b
added interface ip=a.c.d.1 bcast=a.c.d.255 nmask=255.255.255.0
added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
querying DOMA on a.c.d.255
querying DOMA on 127.255.255.255
name_query failed to find name DOMA#1b

Che e' abbastanza corretto visto che il PDC si trova nella rete e.f.g.0

#nmblookup DOMA#1c
added interface ip=a.c.d.1 bcast=a.b.c.d.255 nmask=255.255.255.0
added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
querying IPG on a.c.d.255
Got a positive name query response from a.c.d.1 ( a.c.d.1 )
a.c.d.1 IPG<1c>


Questo e' il smb.conf:

[global]

         unix charset = ISO8859-1
         workgroup = DOMA
         server string = Domain Ein
         netbios name = domainein
         interfaces = eth0, lo
         bind interfaces only = Yes
         dns proxy = no
         name resolve order = wins bcast hosts
         time server = Yes
         os level = 30
         domain master = no
         domain logons = yes
         preferred master = no
         guest ok = no
         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
         smb ports = 139
         username map = /etc/samba/smbusers
         log level = 2
         syslog = 0
         log file = /var/log/samba/%m.log
         max log size = 1000
         panic action = /usr/share/samba/panic-action %d
         security = user
         encrypt passwords = true
         passdb backend = ldapsam:ldap://127.0.0.1 ldap://e.f.g.11 
ldap://e.f.g.12
         obey pam restrictions = no
         passwd program = /usr/sbin/smbldap-passwd %u
         passwd chat = *New*password* %n\n *Retype*new*password* %n\n 
*all*authentication*tokens*updated*
         printcap name = CUPS
         load printers = yes
         printing = cups
         cups options = raw
         show add printer wizard = no
         wins support = yes
	wins server = e.f.g.11
         template shell = /bin/false
         winbind use default domain = no

Il PDC e' il e.f.g.11 mentre il e.f.g.12 e' il DBC nella rete 
principale. Questo server e' installato su una seconda rete (a.c.d.0/24) 
collegata in vpn.




More information about the samba-it mailing list