git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3822719
)
fix typo
author
Herb Lewis
<herb@samba.org>
Tue, 24 Apr 2001 18:53:15 +0000
(18:53 +0000)
committer
Herb Lewis
<herb@samba.org>
Tue, 24 Apr 2001 18:53:15 +0000
(18:53 +0000)
(This used to be commit
ed2dfae0e503367671c54ad8f1f49ac3af0b1c6a
)
source3/utils/smbpasswd.c
patch
|
blob
|
history
diff --git
a/source3/utils/smbpasswd.c
b/source3/utils/smbpasswd.c
index 411d89f3f14feb84b1b7f4432ff8b370d8a554dd..8ddd07a4c575cdec2e6a170258656757d3d25313 100644
(file)
--- a/
source3/utils/smbpasswd.c
+++ b/
source3/utils/smbpasswd.c
@@
-323,7
+323,7
@@
static int process_root(int argc, char *argv[])
* Ensure add/delete user and either remote machine or join domain are
* not both set.
*/
- if(((local_
_
flags & (LOCAL_ADD_USER|LOCAL_DELETE_USER)) == (LOCAL_ADD_USER|LOCAL_DELETE_USER)) ||
+ if(((local_flags & (LOCAL_ADD_USER|LOCAL_DELETE_USER)) == (LOCAL_ADD_USER|LOCAL_DELETE_USER)) ||
((local_flags & (LOCAL_ADD_USER|LOCAL_DELETE_USER)) &&
((remote_machine != NULL) || joining_domain))) {
usage();