Todd Ruffing
2021-May-06 14:45 UTC
[Samba] Hoping someone can shed some light on this issue
I've been working with Oracle support on setting up samba shares to my windows 2016 server for a while now. They finally told me to use an sftp client to manually copy down the shares to the pc. Now the pc is running out of memory during the copy. I'm running off of a windows 2016 server. My samba shares are linux based. The message returned when I try to map to the samba shares is: Error Code: 0x80070043 - The network name cannot be found. The samba log file is showing the following: [2021/05/06 14:05:15.906296, 2] ../../source3/param/loadparm.c:2807(lp_do_section) Processing section "[pi_home]" [2021/05/06 14:05:15.906459, 2] ../../source3/param/loadparm.c:2807(lp_do_section) Processing section "[tools_client]" [2021/05/06 14:05:15.906798, 2] ../../source3/lib/interface.c:345(add_interface) added interface enp0s3 ip=10.0.2.15 bcast=10.0.2.255 netmask=255.255.255.0 [2021/05/06 14:05:15.907013, 2] ../../source3/smbd/reply.c:705(reply_special) netbios connect: name1=*SMBSERV0x0 name2=PSHCM92-1P01 0x0 [2021/05/06 14:05:15.907059, 2] ../../source3/smbd/reply.c:746(reply_special) netbios connect: local=_smbserv remote=pshcm92-1p01, name type = 0 The samba config file shows the following: [global] workgroup = WORKGROUP netbios name = CDA security = user map to guest = Bad User username map = /etc/samba/smbusers guest account = nobody guest ok = yes log file = /var/log/samba.log.%m log level = 2 max log size = 1000 socket options = TCP_NODELAY printing = bsd min protocol = SMB2 [pi_home] path = /opt/oracle/psft/pt/hcm_pi_home writable = no available = yes comment = Samba share for PI Home directory [tools_client] path = /opt/oracle/psft/pt/tools_client writable = no available = yes comment = Samba share for Tools Client directory I thought it was due to smb 2 being required. However, my thinking is not right as it didn't work for me either. Any help would be greatly appreciated. Thanks
Rowland penny
2021-May-06 15:05 UTC
[Samba] Hoping someone can shed some light on this issue
On 06/05/2021 15:45, Todd Ruffing via samba wrote:> I've been working with Oracle support on setting up samba shares to my > windows 2016 server for a while now. They finally told me to use an sftp > client to manually copy down the shares to the pc. Now the pc is running > out of memory during the copy. > > I'm running off of a windows 2016 server. My samba shares are linux > based. The message returned when I try to map to the samba shares is: > Error Code: 0x80070043 - The network name cannot be found. > > The samba log file is showing the following: > [2021/05/06 14:05:15.906296, 2] > ../../source3/param/loadparm.c:2807(lp_do_section) > Processing section "[pi_home]" > [2021/05/06 14:05:15.906459, 2] > ../../source3/param/loadparm.c:2807(lp_do_section) > Processing section "[tools_client]" > [2021/05/06 14:05:15.906798, 2] > ../../source3/lib/interface.c:345(add_interface) > added interface enp0s3 ip=10.0.2.15 bcast=10.0.2.255 netmask=255.255.255.0 > [2021/05/06 14:05:15.907013, 2] > ../../source3/smbd/reply.c:705(reply_special) > netbios connect: name1=*SMBSERV0x0 name2=PSHCM92-1P01 0x0 > [2021/05/06 14:05:15.907059, 2] > ../../source3/smbd/reply.c:746(reply_special) > netbios connect: local=_smbserv remote=pshcm92-1p01, name type = 0 > > The samba config file shows the following: > > [global] > workgroup = WORKGROUP > netbios name = CDAIt looks like you are running Samba as a standalone server, so is the rpi's hostname 'cda' ?> security = user > map to guest = Bad User > username map = /etc/samba/smbuserswhy have you got a 'username map' ?> guest account = nobody > guest ok = yes > log file = /var/log/samba.log.%m > log level = 2 > max log size = 1000 > socket options = TCP_NODELAY > printing = bsd > min protocol = SMB2Rowland