{"id":3368,"date":"2022-12-20T17:02:28","date_gmt":"2022-12-20T20:02:28","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/sambaregedit-man8\/"},"modified":"2022-12-20T17:02:28","modified_gmt":"2022-12-20T20:02:28","slug":"sambaregedit-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/sambaregedit-man8\/","title":{"rendered":"SAMBA&minus;REGEDIT (man8)"},"content":{"rendered":"<h1 align=\"center\">SAMBA\u2212REGEDIT<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#VERSION\">VERSION<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">samba-regedit \u2212 ncurses based tool to manage the Samba registry<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\">samba\u2212regedit [\u2212\u2212help] [\u2212\u2212usage] [\u2212d\u00a0<debug\u00a0level>] [\u2212s\u00a0<configuration\u00a0file>] [\u2212l\u00a0<log\u00a0directory>] [\u2212V] [\u2212\u2212option=<parameter>=<value>] [\u2212\u2212socket\u2212options=<SOCKETOPTIONS>] [\u2212\u2212netbiosname=<NETBIOSNAME>] [\u2212\u2212workgroup=<WORKGROUP>] [\u2212\u2212scope=<SCOPE>] [\u2212\u2212user=<USERNAME>] [\u2212N] [\u2212k] [\u2212\u2212authentication\u2212file=<FILE>] [\u2212\u2212signing=[on|off|required]] [\u2212P] [\u2212e] [\u2212C] [\u2212\u2212pw\u2212nt\u2212hash]<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This tool is part of the <b>samba<\/b>(7) suite.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">samba\u2212regedit is a ncurses based tool to manage the Samba registry. It can be used to show\/edit registry keys\/subkeys and their values.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">\u2212?|\u2212\u2212help<\/p>\n<p style=\"margin-left:17%;\">Print a summary of command line options.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\u2212d|\u2212\u2212debuglevel=level<\/p>\n<p style=\"margin-left:17%;\"><i>level<\/i> is an integer from 0 to 10. The default value if this parameter is not specified is 1.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">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\u2212to\u2212day running \u2212 it generates a small amount of information about operations carried out.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">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.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Note that specifying this parameter here will override the <b><font color=\"#0000FF\">log level<\/font><\/b> <font color=\"#000000\">parameter in the smb.conf file.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212\u2212usage<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Display brief usage message.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212V|\u2212\u2212version<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Prints the program version number.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212s|\u2212\u2212configfile=<configuration file><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">The file specified contains the configuration details required by the server. The information in this file includes server\u2212specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide. See smb.conf for more information. The default configuration file name is determined at compile time.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212l|\u2212\u2212log\u2212basename=logdirectory<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Base directory name for log\/debug files. The extension <b>&#8220;.progname&#8221;<\/b> will be appended (e.g. log.smbclient, log.smbd, etc&#8230;). The log file is never removed by the client.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212\u2212option=<name>=<value><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Set the <b>smb.conf<\/b>(5) option &#8220;<name>&#8221; to value &#8220;<value>&#8221; from the command line. This overrides compiled\u2212in defaults and options read from the configuration file.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212n|\u2212\u2212netbiosname <primary NetBIOS name><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">This option allows you to override the NetBIOS name that Samba uses for itself. This is identical to setting the<\/font> <b><font color=\"#0000FF\">netbios name<\/font><\/b> <font color=\"#000000\">parameter in the smb.conf file. However, a command line setting will take precedence over settings in smb.conf.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212i|\u2212\u2212scope <scope><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">This specifies a NetBIOS scope that nmblookup will use to communicate with when generating NetBIOS names. For details on the use of NetBIOS scopes, see rfc1001.txt and rfc1002.txt. NetBIOS scopes are <i>very<\/i> rarely used, only set this parameter if you are the system administrator in charge of all the NetBIOS systems you communicate with.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212W|\u2212\u2212workgroup=domain<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Set the SMB domain of the username. This overrides the default domain which is the domain defined in smb.conf. If the domain specified is the same as the servers NetBIOS name, it causes the client to log on using the servers local SAM (as opposed to the Domain SAM).<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212O|\u2212\u2212socket\u2212options socket options<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">TCP socket options to set on the client socket. See the socket options parameter in the smb.conf manual page for the list of valid options.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212N|\u2212\u2212no\u2212pass<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">If specified, this parameter suppresses the normal password prompt from the client to the user. This is useful when accessing a service that does not require a password.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">Unless a password is specified on the command line or this parameter is specified, the client will request a password.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">If a password is specified on the command line and this option is also defined the password on the command line will be silently ignored and no password will be used.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212k|\u2212\u2212kerberos<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Try to authenticate with kerberos. Only useful in an Active Directory environment.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212C|\u2212\u2212use\u2212ccache<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Try to use the credentials cached by winbind.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212A|\u2212\u2212authentication\u2212file=filename<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">This option allows you to specify a file from which to read the username and password used in the connection. The format of the file is<\/font><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><font color=\"#000000\">username = <value> <br \/> password = <value> <br \/> domain = <value><\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">Make certain that the permissions on the file restrict access from unwanted users.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212U|\u2212\u2212user=username[%password]<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Sets the SMB username or username and password.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">If %password is not specified, the user will be prompted. The client will first check the <b>USER<\/b> environment variable, then the <b>LOGNAME<\/b> variable and if either exists, the string is uppercased. If these environmental variables are not found, the username <b>GUEST<\/b> is used.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">A third option is to use a credentials file which contains the plaintext of the username and password. This option is mainly provided for scripts where the admin does not wish to pass the credentials on the command line or via environment variables. If this method is used, make certain that the permissions on the file restrict access from unwanted users. See the <i>\u2212A<\/i> for more details.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">Be cautious about including passwords in scripts. Also, on many systems the command line of a running process may be seen via the ps command. To be safe always allow rpcclient to prompt for a password and type it in directly.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212S|\u2212\u2212signing on|off|required<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Set the client signing state.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212P|\u2212\u2212machine\u2212pass<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Use stored machine account password.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212e|\u2212\u2212encrypt<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">This command line parameter requires the remote server support the UNIX extensions or that the SMB3 protocol has been selected. Requests that the connection be encrypted. Negotiates SMB encryption using either SMB3 or POSIX extensions via GSSAPI. Uses the given credentials for the encryption negotiation (either kerberos or NTLMv1\/v2 if given domain\/username\/password triple. Fails the connection if encryption cannot be negotiated.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212\u2212pw\u2212nt\u2212hash<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">The supplied password is the NT hash.<\/font><\/p>\n<h2>VERSION <a name=\"VERSION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">This man page is part of version 4.14.14 of the Samba suite.<\/font><\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><b>smbd<\/b>(8), <b>samba<\/b>(7) and <b>net<\/b>(8).<\/font><\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">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.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">The samba\u2212regedit man page was written by Karolin Seeger.<\/font><\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  samba-regedit \u2212 ncurses based tool to manage the Samba registry <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,4,496],"class_list":["post-3368","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-samba-regedit"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3368"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3368\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}