$ net join -w WINDOWS-DOMAIN -s ' win-server' -U Administrator%password
♦ You can then list the users in the Windows domain using wbinfo command
$ wbinfo -u
admin Also Commented
♦ Something else I forgot to mention in article, If it happens that some samba pass credential has been lost it is useful to change samba user password with command:
♦ To create a samba entry for an existing system user, use the pdbedit command:
if it is needded to add a complete new unexisting user to the samba users do:
smbserver:~# pdbedit -a NewSmbUserName
By default samba server password database (if not changed to another location in smb.conf is stored on server) under:
How to make Samba smbfs / cifs mount share location with user / pass credentials authenticate via file stored credentials
One small hint in case if you have no password protection for a share and want to avoid the annoying pasword samba prompt the way to do it is like so:
smbclient -U% //192.168.1.2/My_Folder
Once connected you can use Linux commands to list and travel between files.
File transfer with smbclient is also possible by using get, put, mget, and mput commands.
Recent Comments by admin
Some of the most important Symbols for Orthodox Christians in The Eastern Orthodox Church – Symbols in the Eastern Orthodox Christian Faith (Eastern Orthodox Symbolism) and Christian Symbolism in the Roman Catholic Church (Symbolism in Western Catholicism)