Displaying 1 result from an estimated 1 matches for "setprimarygroup".
2016 Jun 10
1
Mixed Samba 3 & 4 Versions - Issue joining Samba 3 domain with a Samba 4 client
...a group used for the machines
("puestos", in Spanish, for the unix group, and "Puestos", for the Samba
group), the commands used to add that machine were:
useradd -g puestos -d /home/PCSCD850$ -m -c “PCSCD850” -s /bin/false
PCSCD850$
smbpasswd -a -m PCSCD850$
net rpc user setprimarygroup PCSCD850$ "Puestos"
Debian 8.5.0 installs Samba 4, installed with:
apt-get install winbind samba libpam-winbind
After installation, my /etc/samba/smb.conf was modified to have this:
[global]
workgroup = SCDOM
server string = %h server
wins server = 10.200.0.5
dns...