Samba configuration management method and system for network device

A network equipment and configuration management technology, applied in the computer field, can solve the problem of invalid configuration of Samba configuration files

Active Publication Date: 2016-03-09
台州市吉吉知识产权运营有限公司
View PDF3 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of the above-mentioned shortcoming of prior art, the object of the present invention is to provide a kind of Samba configuration management method and system of network equipment, be used for solving the Samba configuration file in prior art because of the plugging and unplugging of network equipment external storage device. Problem with invalid configuration

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Samba configuration management method and system for network device
  • Samba configuration management method and system for network device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Embodiments of the present invention are described below through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific implementation modes, and various modifications or changes can be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present invention.

[0026] It should be noted that the diagrams provided in this embodiment are only schematically illustrating the basic idea of ​​the present invention, and only the components related to the present invention are shown in the diagrams rather than the number, shape and shape of the components in actual implementation. Dimensional drawing, the type, quantity and proportion of each component can be changed arbitrarily during actual impleme...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a Samba configuration management method and system for a network device. The Samba configuration management method for the network device includes the following steps that: when a shared directory is set, shared directory information is added into a Samba configuration file and is stored to a shared backup file of a storage device; when it is detected that the storage device is pulled out from the network device, and related shared directory information of the storage device is deleted from the Samba configuration file; and when it is detected that the storage device is plugged into the network device, the shared directory information in the shared backup file of the storage device is read one piece by one piece, and the sheared path of the shared directory information is obtained, and the identifier of the sheared path is modified to the current identifier of the storage device, and whether a modified sheared path exists or not is judged, if the modified sheared path exists, the shared directory information is added into the Samba configuration file. With the Samba configuration management method and system for the network device of the invention adopted, the problem of sharing failure caused by the change of the path of an external connection device can be solved.

Description

technical field [0001] The invention relates to a computer technology, in particular to a Samba configuration management method and system for network equipment. Background technique [0002] Routers generally provide samba services, which can share storage files in the router. Users can set up sharing by modifying the configuration file of the samba server. These configuration information include accessible users, shared directories, read and write permissions, etc. The general method is to set up a shared directory and add a line in the samba configuration file. To delete a shared directory, delete the corresponding information in the samba configuration file. In practice, because most routers are external storage devices (such as U disk, TF card, etc.) that will be frequently inserted and removed, this will cause a mismatch between the shared directory path recorded in the samba configuration file and the actual path, resulting in users being unable to access . For exa...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/24H04L29/06
CPCH04L41/0816H04L41/0823H04L41/0813H04L67/06G06F16/183G06F16/176G06F16/13G06F16/16
Inventor 吕家剑
Owner 台州市吉吉知识产权运营有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products