PROBLEMA Aiuto Progetto linux server

Pubblicità
Stato
Discussione chiusa ad ulteriori risposte.
Per verificare se la configurazione di samba é scritta nella giusta sintassi usa il comando testparm dal server

Poi da ubuntu dai il comando e posta l'output
Codice:
 smbclient -L //ip/condivisione -U utente
 
Se passa l'esame ci fa un bonifico a testa solo per le incazzature :asd:
venerdi lo faccio. scusa non ho capito cosa devo fare. conosco test parm ma il problema è che non riesco ad accedere alla cartella in nessun modo

[root@pdc ~]# testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[Labboratorio]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

simo7@simo7-desktop:~$ smbclient -L //192.168.0.13/Labboratorio -U simone
WARNING: The "syslog" option is deprecated
Enter simone's password:
Domain=[PDC.SIMONE.LOCAL] OS=[Unix] Server=[Samba 3.6.23-43.el6_9]

Sharename Type Comment
--------- ---- -------
Labboratorio Disk
IPC$ IPC IPC Service (Samba 3.6.23-43.el6_9)
Domain=[PDC.SIMONE.LOCAL] OS=[Unix] Server=[Samba 3.6.23-43.el6_9]

Server Comment
--------- -------

Workgroup Master
--------- -------
PDC.SIMONE.LOCA
 
Ultima modifica:
Quindi da terminale ubuntu lancia
Codice:
# mkdir /mnt/cartella
# mount -t cifs //ip/Labboratorio\ Disk -o username=simone,password=mettiquilapassword /mnt/cartella
 
ragazzi aiutatemi mi continua a dire che cè errore ma non capisco dove sia
il server è 192.168.0.15
ubuntu 192.168.0.2
i file di configurazione non gli ho copiati li ho fatti io quelli delle zone
e tutta notte che provo ma niente

[root@simone ~]# service named restart
Stopping named: [ OK ]
Starting named:
Error in named configuration:
zone simone.local/IN: NS 'simone.local.simone.local' has no address records (A or AAAA)
zone simone.local/IN: not loaded due to errors.
_default/simone.local/IN: bad zone
zone 0.168.192.in-addr.arpa/IN: NS 'simone.local.0.168.192.in-addr.arpa' has no address records (A or AAAA)
zone 0.168.192.in-addr.arpa/IN: not loaded due to errors.
_default/0.168.192.in-addr.arpa/IN: bad zone
zone localhost.localdomain/IN: loaded serial 0
zone localhost/IN: loaded serial 0
zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0
zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
zone 0.in-addr.arpa/IN: loaded serial 0
[FAILED]
[root@simone ~]#





[root@simone ~]# named-checkzone simone.loclal /var/named/forward.simone.local
zone simone.loclal/IN: NS 'simone.local.simone.loclal' has no address records (A or AAAA)
zone simone.loclal/IN: not loaded due to errors.
[root@simone ~]# named-checkzone simone.loclal /var/named/reverse.simone.local
zone simone.loclal/IN: NS 'simone.local.simone.loclal' has no address records (A or AAAA)
zone simone.loclal/IN: not loaded due to errors.
[root@simone ~]#




//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//

options {
listen-on port 53 { 127.0.0.1;192.168.0.15;};
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query {localhost;192.168.0.1/24;};
recursion yes;

dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;

/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";

managed-keys-directory "/var/named/dynamic";
};

logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};


zone "." IN {
type hint;
file "named.ca";
};

zone "simone.local" IN {
type master;
file "forward.simone.local";
allow-update {none;};
};
zone "0.168.192.in-addr.arpa" IN {
type master;
file "reverse.simone.local";
allow-update {none;};
};
include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";



zona forward

$TTL 86400
@ IN SOA simone.local. root.simone.local.(
2011071001 ;Serial
3600 ;Refresh
1800 ;Retry
604800 ;Expire
86400 ;Minimum TTL
)

@ IN NS simone.local
@ IN A 192.168.0.15
@ IN A 192.168.0.2
simone IN A 192.168.0.15
@ IN A 192.168.0.2



reverse

GNU nano 2.0.9 File: /var/named/reverse.simone.local


@ IN SOA simone.local. root.simone.local. (
2014070501 ;Serial
3600 ;Refresh
1800 ;Retry
604800 ;Expire
86400 ;Minimum TTL
)

@ IN NS simone.local
@ IN PTR 192.168.0.15
@ IN A 192.168.0.2
15 IN PTR simone.local
2 IN PTR 192.168.0.2
 
Ultima modifica:
Nulla, ma visto che son mesi che leggiamo di 'sto corso e dato che siam entrati in discorso... illuminaci. Mica vogliam conoscere i particolari sensibili... ma un ragguaglio. :P
 
Stato
Discussione chiusa ad ulteriori risposte.
Pubblicità
Pubblicità
Indietro
Top