[Samba-it] ADS e Samba 3.0.11
Diego Turel
diego at turel.it
Mon Feb 7 20:18:01 MST 2005
Ciao a tutti,
Sto installando una rete da zero, ho un server Windows 2003 che mi fa da
Domain Controller, e due server Fedora Core 3 con Samba 3.0.11 installato
che ho inserito nell'ADS come member-server.
Ho configurato Kerberos secondo le direttive che ho trovato sui vari How-to,
ho fatto il join sul dominio con net ads join -U Administrator -S
tarabochia.local (è il nome del dominio) ed infatti li vedo nella lista dei
PC di Active Directory.
Il problema che non riesco a risolvere è creare delle cartelle condivise
agli utenti di ADS: ho creato delle cartelle, ho aggiunto le condivisioni a
livello di utente, quando il logon-script alla partenza cerca di mappare la
directory, si ferma e chiede di specificare un utente e una password (che
suppongo vada a cercare da qualche parte.
Vi allego smb.conf e altro...
Grazie comunque per l'aiuto.
Diego
[root at server2 ~]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[archivio_contab]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_DOMAIN_MEMBER
Press enter to see a dump of your service definitions
# Global parameters
[global]
workgroup = TARABOCHIA
realm = TARABOCHIA.LOCAL
server string = Samba Server %v
security = ADS[root at server2 ~]
password server = server1.tarabochia.local
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
printcap name = /etc/printcap
dns proxy = No
wins server = server1
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
cups options = raw
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[archivio_contab]
path = /home/shares/archivio_contab
valid users = @users
read only = No
create mask = 0777
directory mask = 0777
[root at server2 ~]#
[root at server2 ~]# net ads info
LDAP server: 192.168.1.10
LDAP server name: server1
Realm: TARABOCHIA.LOCAL
Bind Path: dc=TARABOCHIA,dc=LOCAL
LDAP port: 389
Server time: Mon, 07 Feb 2005 20:07:53 GMT
KDC server: 192.168.1.10
Server time offset: 5
[root at server2 ~]#
SMB.CONF
[global]
log file = /var/log/samba/%m.log
load printers = yes
idmap gid = 16777216-33554431
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
wins server = server1
winbind use default domain = no
template shell = /bin/false
dns proxy = no
cups options = raw
netbios name = server2
server string = Samba Server %v
idmap uid = 16777216-33554431
workgroup = tarabochia
os level = 20
printcap name = /etc/printcap
max log size = 50
realm = TARABOCHIA.LOCAL
security = ads
encrypt passwords = yes
password server = server1.tarabochia.local
[homes]
comment = Home Directories
browseable = no
writable = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
writable = no
printable = yes
[archivio_contab]
writeable = yes
valid users = @users
create mode = 777
path = /home/shares/archivio_contab
directory mode = 777
More information about the samba-it
mailing list