[Samba-it] inserire linux sotto dominio samba

doppiacoppia doppiacoppia at gmail.com
Thu Mar 1 07:47:39 MST 2007


ciao a tutti, sono nuovo della mailing list e vorrei avere un aiuto, visto
che ci sto sbattendo la testa da un po'.
Ho un server linux che mi fa da controller di dominio (slackware 11) e
riesco a gestire ottimamente tutte le macchine che hanno sistemi operativi
ms windows.
Il problema invece ce l'ho col portatile su cui gira linux (zenwalk)...ho
tentato di inserire la macchina nel dominio ma non ci riesco. Vi posto il
file smb.conf del server:

[global]
netbios name = Mercy
workgroup = AVALON
passdb backend = tdbsam
os level = 33
preferred master = auto
domain master = yes
local master = yes
security = user
guest ok = no
valid users = root @avalon
admin users = root
domain logons = yes
encrypt passwords = yes
#i roaming profiles sono disabilitati
#logon path = \\%L\profiles\%U
#logon home = \\%L\%U\.profile
logon path =
logon home =
hosts allow = 127.0.0.1 192.168.0.0/255.255.255.0
add machine script = /usr/sbin/useradd -d /dev/null -g avalon -s /bin/false
-M %u
log file = /var/log/samba/log.%m
log level = 2
max log size = 50
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
logon drive = L:
logon script = netlogon.cmd
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n
*Enter* new*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *passwd:
*all* authentication*tokens*updated*successfully*
printcap name = /etc/printcap
load printers = no
printing =

[homes]
comment = Home Directory per ogni User
browseable = no
writeable = yes

[netlogon]
path = /home/netlogon
read only = yes
write list = root
browseable = no

[profiles]
path = /home/profiles
browseable = no
read only = no
create mask = 0600
directory mask = 0700

MENTRE IL SEGUENTE E' IL FILE DI CONFIGURAZIONE DEL CLIENT LINUX:

[global]
   workgroup = AVALON
   netbios name = zenwalk
   security = DOMAIN
   encrypt passwords = yes
   password server = Mercy
   preferred master = False
   domain master = False
   local master = no
   hosts allow = 192.168.0.1 192.168.0.0/255.255.255.0
   log file = /var/log/samba.%m
   max log size = 50
   socket options = TCP_NODELAY
   dns proxy = no


a questo punto leggendo le guide qua e la su internet, dovrei lanciare il
comando "net rpc join -S Mercy -U root --debuglevel=1"
e dando la password di root del controller di dominio dovrei far entrare il
portatile nel dominio...ma non ci riesco...

il comando suddetto fallisce, e mi restituisce questo output:

[2007/03/01 15:45:45, 2] lib/interface.c:add_interface(81)
  added interface ip=192.168.0.4 bcast=192.168.0.255 nmask=255.255.255.0
[2007/03/01 15:45:45, 1] libsmb/cliconnect.c:cli_full_connection(1488)
  failed tcon_X with NT_STATUS_LOGON_FAILURE
[2007/03/01 15:45:45, 1] utils/net.c:connect_to_ipc_anonymous(208)
  Cannot connect to server (anonymously).  Error was NT_STATUS_LOGON_FAILURE

Password:               (<------INSERISCO LA PASSWORD DI ROOT DEL SERVER DI
DOMINIO)

[2007/03/01 15:45:49, 1] libsmb/cliconnect.c:cli_full_connection(1488)
  failed tcon_X with NT_STATUS_LOGON_FAILURE
[2007/03/01 15:45:49, 1] utils/net.c:connect_to_ipc_anonymous(208)
  Cannot connect to server (anonymously).  Error was NT_STATUS_LOGON_FAILURE
Unable to join domain AVALON.


VI PREGO AIUTATEMI PERCHE' NON SO PIU' DOVE SBATTERE LA TESTA.....:(
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/samba-it/attachments/20070301/9ca5440f/attachment.html>


More information about the samba-it mailing list