Contained WithinFind More DocumentationFeatured Support Resources | Download this book in PDF (9905 KB)
smbadm(1M)Name | Synopsis | Description | Operands | Sub-commands | Exit Status | Attributes | See Also Name
Synopsissmbadm add-member -m member [[-m member] …] group smbadm create [-d description] group smbadm delete group smbadm disable-user username smbadm enable-user username smbadm get [[-p property] …] group smbadm join -u username domain smbadm join -w workgroup smbadm list smbadm remove-member -m member [[-m member] …] group smbadm rename group new-group smbadm set -p property=value [[-p property=value] …] group smbadm show [-m] [-p] [group] Description
The smbadm command is used to configure CIFS local groups and to manage domain membership. You can also use the smbadm command to enable or disable SMB password generation for individual local users. CIFS local groups can be used when Windows accounts must be members of some local groups and when Windows style privileges must be granted. Solaris local groups cannot provide these functions. There are two types of local groups: user defined and built-in. Built-in local groups are predefined local groups to support common administration tasks. In order to provide proper identity mapping between CIFS local groups and Solaris groups, a CIFS local group must have a corresponding Solaris group. This requirement has two consequences: first, the group name must conform to the intersection of the Windows and Solaris group name rules. Thus, a CIFS local group name can be up to eight (8) characters long and contain only lowercase characters and numbers. Second, a Solaris local group has to be created before a CIFS local group can be created. Built-in groups are standard Windows groups and are predefined by the CIFS service. The built-in groups cannot be added, removed, or renamed, and these groups do not follow the CIFS local group naming conventions. When the CIFS server is started, the following built-in groups are available: Solaris local users must have an SMB password for authentication and to gain access to CIFS resources. This password is created by using the passwd(1) command when the pam_smb_password module is added to the system's PAM configuration. See the pam_smb_passwd(5) man page. The disable-user and enable-user subcommands control SMB password-generation for a specified local user. When disabled, the user is prevented from connecting to the Solaris CIFS service. By default, SMB password-generation is enabled for all local users. To reenable a disabled user, you must use the enable-user subcommand and then reset the user's password by using the passwd command. The pam_smb_passwd.so.1 module must be added to the system's PAM configuration to generate an SMB password. Escaping Backslash CharacterFor the add-member, remove-member, and join (with -u) subcommands, the backslash character (\) is a valid separator between member or user names and domain names. The backslash character is a shell special character and must be quoted. For example, you might escape the backslash character with another backslash character: domain\\username. For more information about handling shell special characters, see the man page for your shell. Operands
The smbadm command uses the following operands: Sub-commands
The smbadm command includes these subcommands: Exit StatusAttributesSee the attributes(5) man page for descriptions of the following attributes:
See Alsopasswd(1), groupadd(1M), idmap(1M), idmapd(1M), kclient(1M), share(1M), sharectl(1M), sharemgr(1M), smbd(1M), smbstat(1M), smb(4), smbautohome(4), attributes(5), pam_smb_passwd(5), smf(5) Name | Synopsis | Description | Operands | Sub-commands | Exit Status | Attributes | See Also |
|||||||||||||