You are not logged in.
Hi!
I have just reinstalled my headless arch server and now I can't to connect to samba shares. Samba server installed and running. smb.conf I had before reinstallation was saved and copied to /etc/samba directory. Now on connect attemption I getting an error about permission denied, no matter from root or regular user I tried to connect.
Here my smb.conf:
[global]
workgroup = WORKGROUP
hosts allow = 192.168.
interfaces = all
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
guest account = root
security = share
unix charset = UTF-8
# refresh = 1
[share]
path = /mnt/share/
comment = share
printable = no
writable = yes
guest ok = yes
create mask = 0777
directory mask = 0777
[torr]
path=/mnt/torrent/
comment = torr
printable = no
writable = yes
guest ok = yes
create mask = 0777
directory mask = 0777
I did not found nothing helpful in log files, but anyway here both of them:
log.smbd
[2013/06/03 11:28:09, 0] ../source3/smbd/server.c:1200(main)
smbd version 4.0.6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2012
[2013/06/03 11:28:09.562879, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:28:10.178687, 0] ../source3/printing/print_cups.c:151(cups_connect)
Unable to connect to CUPS server /var/run/cups/cups.sock:631 - No such file or directory
[2013/06/03 11:28:10.179190, 0] ../source3/printing/print_cups.c:528(cups_async_callback)
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
and log.nmbd:
[2013/06/03 11:28:09, 0] ../source3/nmbd/nmbd.c:883(main)
nmbd version 4.0.6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2012
[2013/06/03 11:28:09, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:28:09, 0] ../source3/nmbd/nmbd_subnetdb.c:250(create_subnets)
create_subnets: No local IPv4 non-loopback interfaces !
[2013/06/03 11:28:09, 0] ../source3/nmbd/nmbd_subnetdb.c:251(create_subnets)
create_subnets: Waiting for an interface to appear ...
[2013/06/03 11:28:14, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:28:19, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:28:24, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:28:29, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:28:34, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:28:39, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:28:44, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:28:49, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:28:54, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:28:59, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:29:04, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:29:09, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:29:14, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:29:19, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:29:25, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:29:30, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:29:35, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:29:40, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:29:45, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:29:50, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:29:55, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:30:00, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:30:05, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:30:10, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:30:15, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:30:20, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:30:25, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:30:30, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:30:35, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:30:41, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:30:46, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:30:51, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:30:56, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:31:01, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:31:06, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2013/06/03 11:31:11, 0] ../source3/lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
mounting:
mount -t cifs //192.168.1.5/share /mnt/share -o nosuid,nodev,sec=ntlm,workgroup=WORKGROUP,ip=192.168.1.5
I tried to remove sec=ntlm option, but this doesn't helped
Any idea on what is going on with the new samba?
Last edited by chord (2013-06-03 12:38:11)
Offline
Solved by adding root account to sam database (pdbedit).
Is it a new samba feature? I did not users management never before for samba and all was fine.
Last edited by chord (2013-06-03 12:37:56)
Offline