TS-5.4 smbmount doesn't work

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

TS-5.4 smbmount doesn't work

Дмитрий Швеев
NET_SMB_SERVER="//10.10.10.10/SHARE"
NET_SMB_USER=USER
NET_SMB_WORKGROUP=WORK

The network samba folder isn't mounted.

I looked in thinstation, there in a script smbmount is applied, and the program didn't find.
Decision:
In the packages/netfiles/etc/init.d/filesystem_network file we change:

if ! pkg_initialized $PACKAGE; then
	  if [ -n "$NET_SMB_SERVER" ] \
		&& [ -e /bin/smbmount ] \
		&& [ -e /bin/smbmnt ]; then
		   mkdir /mnt/smb
		   smbmount $NET_SMB_SERVER /mnt/smb -n -o \
		   username=$NET_SMB_USER,\
		   password=`cat /etc/.storage`,\
		   workgroup=$NET_SMB_WORKGROUP

if ! pkg_initialized $PACKAGE; then
	  if [ -n "$NET_SMB_SERVER" ]; then
		   mkdir /mnt/smb
		   mount -t cifs -o user=$NET_SMB_USER,password=$NET_SMB_PASSWORD $NET_SMB_SERVER /mnt/smb
also we include in assembly of module cifs and package samba-client.
In thinstation.conf. * we add 
NET_SMB_PASSWORD=PASSWORD
Works.

------------------------------------------------------------------------------

_______________________________________________
Thinstation-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/thinstation-general