# samba-auth-http **Repository Path**: 11261126/samba-auth-http ## Basic Information - **Project Name**: samba-auth-http - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-12-04 - **Last Updated**: 2023-12-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### 为samba增加http接口验证功能 ##### 编译&安装 1. configure 2. make 3. make install ##### 配置 1. 修改或新增配置文件smb.conf 2. 加入插件 ``` [global] ... security = user ... [share_name] path = /path/to/share valid users = user1,user2 force user = nobody auth methods = smbauth ``` ##### 说明 1. 接口验证地址`http://localhost:7713/auth?userName=<用户名>&password=<密码>` 2. 响应参数说明 状态码200:验证通过 其它:未通过