| 1 |
'\" t |
| 2 |
.\" Title: profiles |
| 3 |
.\" Author: [see the "AUTHOR" section] |
| 4 |
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> |
| 5 |
.\" Date: 05/28/2026 |
| 6 |
.\" Manual: User Commands |
| 7 |
.\" Source: Samba 4.23.8 |
| 8 |
.\" Language: English |
| 9 |
.\" |
| 10 |
.TH "PROFILES" "1" "05/28/2026" "Samba 4\&.23\&.8" "User Commands" |
| 11 |
.\" ----------------------------------------------------------------- |
| 12 |
.\" * Define some portability stuff |
| 13 |
.\" ----------------------------------------------------------------- |
| 14 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 15 |
.\" http://bugs.debian.org/507673 |
| 16 |
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html |
| 17 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 18 |
.ie \n(.g .ds Aq \(aq |
| 19 |
.el .ds Aq ' |
| 20 |
.\" ----------------------------------------------------------------- |
| 21 |
.\" * set default formatting |
| 22 |
.\" ----------------------------------------------------------------- |
| 23 |
.\" disable hyphenation |
| 24 |
.nh |
| 25 |
.\" disable justification (adjust text to left margin only) |
| 26 |
.ad l |
| 27 |
.\" ----------------------------------------------------------------- |
| 28 |
.\" * MAIN CONTENT STARTS HERE * |
| 29 |
.\" ----------------------------------------------------------------- |
| 30 |
.SH "NAME" |
| 31 |
profiles \- A utility to report and change SIDs in registry files |
| 32 |
.SH "SYNOPSIS" |
| 33 |
.HP \w'\ 'u |
| 34 |
profiles [\-c|\-\-change\-sid=STRING] [\-n|\-\-new\-sid=STRING] [\-v|\-\-verbose] [\-?|\-\-help] [\-\-usage] [\-d|\-\-debuglevel=DEBUGLEVEL] [\-\-debug\-stdout] [\-\-configfile=CONFIGFILE] [\-\-option=name=value] [\-l|\-\-log\-basename=LOGFILEBASE] [\-\-leak\-report] [\-\-leak\-report\-full] {FILE} |
| 35 |
.SH "DESCRIPTION" |
| 36 |
.PP |
| 37 |
This tool is part of the |
| 38 |
\fBsamba\fR(7) |
| 39 |
suite\&. |
| 40 |
.PP |
| 41 |
profiles |
| 42 |
is a utility that reports and changes SIDs in windows registry files\&. It currently only supports NT\&. |
| 43 |
.SH "OPTIONS" |
| 44 |
.PP |
| 45 |
file |
| 46 |
.RS 4 |
| 47 |
Registry file to view or edit\&. |
| 48 |
.RE |
| 49 |
.PP |
| 50 |
\-v,\-\-verbose |
| 51 |
.RS 4 |
| 52 |
Increases verbosity of messages\&. |
| 53 |
.RE |
| 54 |
.PP |
| 55 |
\-c SID1 \-n SID2, \-\-change\-sid SID1 \-\-new\-sid SID2 |
| 56 |
.RS 4 |
| 57 |
Change all occurrences of SID1 in |
| 58 |
file |
| 59 |
by SID2\&. |
| 60 |
.RE |
| 61 |
.PP |
| 62 |
\-d|\-\-debuglevel=level |
| 63 |
.RS 4 |
| 64 |
\fIlevel\fR |
| 65 |
is an integer from 0 to 10\&. The default value if this parameter is not specified is 1 for client applications\&. |
| 66 |
.sp |
| 67 |
The higher this value, the more detail will be logged to the log files about the activities of the server\&. At level 0, only critical errors and serious warnings will be logged\&. Level 1 is a reasonable level for day\-to\-day running \- it generates a small amount of information about operations carried out\&. |
| 68 |
.sp |
| 69 |
Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem\&. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic\&. |
| 70 |
.sp |
| 71 |
Note that specifying this parameter here will override the |
| 72 |
\m[blue]\fBlog level\fR\m[] |
| 73 |
parameter in the |
| 74 |
/etc/samba/smb\&.conf |
| 75 |
file\&. |
| 76 |
.RE |
| 77 |
.PP |
| 78 |
\-\-debug\-stdout |
| 79 |
.RS 4 |
| 80 |
This will redirect debug output to STDOUT\&. By default all clients are logging to STDERR\&. |
| 81 |
.RE |
| 82 |
.PP |
| 83 |
\-\-configfile=<configuration file> |
| 84 |
.RS 4 |
| 85 |
The file specified contains the configuration details required by the client\&. The information in this file can be general for client and server or only provide client specific like options such as |
| 86 |
\m[blue]\fBclient smb encrypt\fR\m[]\&. See |
| 87 |
/etc/samba/smb\&.conf |
| 88 |
for more information\&. The default configuration file name is determined at compile time\&. |
| 89 |
.RE |
| 90 |
.PP |
| 91 |
\-\-option=<name>=<value> |
| 92 |
.RS 4 |
| 93 |
Set the |
| 94 |
\fBsmb.conf\fR(5) |
| 95 |
option "<name>" to value "<value>" from the command line\&. This overrides compiled\-in defaults and options read from the configuration file\&. If a name or a value includes a space, wrap whole \-\-option=name=value into quotes\&. |
| 96 |
.RE |
| 97 |
.PP |
| 98 |
\-l|\-\-log\-basename=logdirectory |
| 99 |
.RS 4 |
| 100 |
Base directory name for log/debug files\&. The extension |
| 101 |
\fB"\&.progname"\fR |
| 102 |
will be appended (e\&.g\&. log\&.smbclient, log\&.smbd, etc\&.\&.\&.)\&. The log file is never removed by the client\&. |
| 103 |
.RE |
| 104 |
.PP |
| 105 |
\-\-leak\-report |
| 106 |
.RS 4 |
| 107 |
Enable talloc leak reporting on exit\&. |
| 108 |
.RE |
| 109 |
.PP |
| 110 |
\-\-leak\-report\-full |
| 111 |
.RS 4 |
| 112 |
Enable full talloc leak reporting on exit\&. |
| 113 |
.RE |
| 114 |
.PP |
| 115 |
\-V|\-\-version |
| 116 |
.RS 4 |
| 117 |
Prints the program version number\&. |
| 118 |
.RE |
| 119 |
.PP |
| 120 |
\-?|\-\-help |
| 121 |
.RS 4 |
| 122 |
Print a summary of command line options\&. |
| 123 |
.RE |
| 124 |
.PP |
| 125 |
\-\-usage |
| 126 |
.RS 4 |
| 127 |
Display brief usage message\&. |
| 128 |
.RE |
| 129 |
.SH "VERSION" |
| 130 |
.PP |
| 131 |
This man page is part of version 4\&.23\&.8 of the Samba suite\&. |
| 132 |
.SH "AUTHOR" |
| 133 |
.PP |
| 134 |
The original Samba software and related utilities were created by Andrew Tridgell\&. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed\&. |
| 135 |
.PP |
| 136 |
The profiles man page was written by Jelmer Vernooij\&. |