[Samba-it] Join client Linux a Samba PDC
Roberto
thessj at gmail.com
Tue Nov 14 15:41:01 MST 2006
Salve a tutti,
sto cercando di configurare un PDC Samba per una LAN composta da macchine
Windows e Linux.
Il mio scopo è tenere sul server Samba le home degli utenti e condividerle
in rete in modo da poter
accedere al proprio profilo personale da qualunque PC. Finora sono riuscito
a connettere al dominio
che ho creato solo le macchine Windows mentre non riesco ad effettuare il
join dei client Linux.
Per la configurazione ho seguito la guida reperibile a questo link
http://openskills.info/infobox.php?ID=552
Premetto che la LAN è composta da 3 soli PC e quindi non necessito di una
soluzione con LDAP.
Il server in questione si chiama, il dominio universe e il SO installato è
XUbuntu. Sul client invece è
installato Ubuntu.
Come dice la guida, per effettuare il join del client Linux al dominio ho
lanciato il comando
smbpasswd -j universe -r sun -U root
ma in risposta ottengo: 'See net join for this functionality'
Di conseguenza ho provato a lanciare net join ma il risultato è questo:
root at saturn:/etc/samba# net join universe
root's password:
[2006/11/12 02:07:25, 0] utils/net_ads.c:ads_startup(191)
ads_connect: Transport endpoint is not connected
Could not connect to server SUN
Sotto ho riportato il file smb.conf del server e del client Linux, spero che
qualcuno mi possa dare una mano.
Ho già provato ad impostare security = domain ma il risultato non cambia...
Grazie
Roberto
*** SERVER *****
[global]
workgroup = universe
netbios name = sun
server string = Server Sun - Versione %v
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192
SO_RCVBUF=8192
; Settaggi per un PDC e un master browser
os level = 64
preferred master = yes
local master = yes
domain master = yes
; Gestione utenti e sicurezza
security = user
encrypt passwords = yes
domain logons = yes
hosts allow = 127.0.0.1 192.168.0.0/255.255.255.0
add machine script = /usr/sbin/useradd -d /dev/null -g machines -s
/bin/false -M %u
; Gestione logging
log file = /var/log/samba/log.%m
log level = 2
max log size = 50
; User profiles
logon home = \\%L\%U\.profile
logon path = \\%L\profiles\%U
logon drive = H:
logon script = netlogon.bat
[homes]
comment = Home
browseable = no
writeable = yes
[profiles]
path = /home/profiles
writeable = yes
browseable = no
create mask = 0600
directory mask = 0700
[netlogon]
path = /home/netlogon
read only = yes
write list = @admin
browseable = no
**** CLIENT *****
[global]
workgroup = universe
netbios name = saturn
security = DOMAIN
password server = sun
local master = No
invalid users = root bin daemon adm sync shutdown halt mail news
uucp operator gopher
interfaces = 192.168.0.0/255.255.255.0
hosts allow = 192.168.0.2 192.168.0.0/255.255.255.0 localhost
encrypt passwords = Yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/samba-it/attachments/20061114/d5df1038/attachment.html>
More information about the samba-it
mailing list