Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
5d78a102
Commit
5d78a102
authored
Jun 22, 2001
by
Andrew Tridgell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
allow shell wildcards in auth users lines
parent
4d66e00a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
authenticate.c
authenticate.c
+2
-2
rsyncd.conf.yo
rsyncd.conf.yo
+8
-7
No files found.
authenticate.c
View file @
5d78a102
...
@@ -239,7 +239,7 @@ char *auth_server(int fd, int module, char *addr, char *leader)
...
@@ -239,7 +239,7 @@ char *auth_server(int fd, int module, char *addr, char *leader)
if
(
!
users
)
return
NULL
;
if
(
!
users
)
return
NULL
;
for
(
tok
=
strtok
(
users
,
" ,
\t
"
);
tok
;
tok
=
strtok
(
NULL
,
" ,
\t
"
))
{
for
(
tok
=
strtok
(
users
,
" ,
\t
"
);
tok
;
tok
=
strtok
(
NULL
,
" ,
\t
"
))
{
if
(
strcmp
(
tok
,
user
)
==
0
)
break
;
if
(
fnmatch
(
tok
,
user
,
0
)
==
0
)
break
;
}
}
free
(
users
);
free
(
users
);
...
...
rsyncd.conf.yo
View file @
5d78a102
...
@@ -208,13 +208,14 @@ on the server that contains include patterns, one per line. This is
...
@@ -208,13 +208,14 @@ on the server that contains include patterns, one per line. This is
equivalent to the client specifying the --include-from option with a
equivalent to the client specifying the --include-from option with a
equivalent file.
equivalent file.
dit(bf(auth users)) The "auth users" option specifies a comma
dit(bf(auth users)) The "auth users" option specifies a comma and
and space separated list of usernames that will be allowed to connect
space separated list of usernames that will be allowed to connect to
to this module. The usernames do not need to exist on the local
this module. The usernames do not need to exist on the local
system. If "auth users" is set then the client will be challenged to
system. The usernames may also contain shell wildcard characters. If
supply a username and password to connect to the module. A challenge
"auth users" is set then the client will be challenged to supply a
response authentication protocol is used for this exchange. The plain
username and password to connect to the module. A challenge response
text usernames are passwords are stored in the file specified by the
authentication protocol is used for this exchange. The plain text
usernames are passwords are stored in the file specified by the
"secrets file" option. The default is for all users to be able to
"secrets file" option. The default is for all users to be able to
connect without a password (this is called "anonymous rsync").
connect without a password (this is called "anonymous rsync").
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment