| | 31 | |
| | 32 | ''Note: This works on Samba builds newer than 04/02/2008 with [http://svn.netlabs.org/samba/ticket/44 Ticket #44] fixed. |
| | 33 | |
| | 34 | = Syntax of group = |
| | 35 | |
| | 36 | The {{{group}}} is a text file with every line holding exactly one group and its assoiciated users. It is located in {{{%UNIXROOT\etc}}}. |
| | 37 | |
| | 38 | One line consists of several fields delimited by a ":". |
| | 39 | |
| | 40 | Sample line of the {{{group}}} file: |
| | 41 | |
| | 42 | {{{group name:group password:GID:list of users in this group}}} |
| | 43 | |
| | 44 | ||'''Field'''||'''Description'''||'''Recommended value when using Samba'''||'''Example |
| | 45 | ||group name||The name of the group ||A simple text describing the group||admins |
| | 46 | ||group password||Common password for all members||Not used currently (Or better: Not tested yet)||* |
| | 47 | ||GID||Group-ID||Give each group a unique number||3000 |
| | 48 | ||List of users||separated by commas||All users, that are members of this group||root,toor |
| | 49 | |
| | 50 | With the examples similar to the above table, a valid group file would look like the following: |
| | 51 | |
| | 52 | {{{# This is a comment in the group file}}}[[BR]] |
| | 53 | {{{admin:*:3000:root,psmedley,ydario}}}[[BR]] |
| | 54 | {{{users:*:3001:herwig,gabriele}}}[[BR]] |
| | 55 | {{{guests:*:3002:guest,pcguest}}}[[BR]] |
| | 56 | |
| | 57 | ''Note: One user can be a member of multiple groups. |
| | 58 | |
| | 59 | ''Note: Having at least these 3 groups is recommended. |