search for: setprimarygroup

Displaying 2 results from an estimated 2 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...
2024 Aug 26
1
winbind gives wrong primary id group
...>> I added the user john4 to the group IT4: >> root at dc-ads2:/tmp# samba-tool group addmembers IT4 john4 Added members >> to group IT4 >> >> I changed the user's primary group to the previously created group >> IT4. root at dc-ads2:/tmp# samba-tool user setprimarygroup john4 IT4 >> Changed primary group to 'IT4' >> >> The attributes of the user john4 are now: >> dn: CN=John4 Wick,CN=Users,DC=ads2,DC=ses,DC=sk >> objectClass: top >> objectClass: person >> objectClass: organizationalPerson >> objectClass: us...