It's simply the uid (user id) that are given by samba.
You should have a command to find who ius which number, but I don't know it yet (I'm new to samba too !!)
Thierry Gonon
Archéologue - Administrateur Systèmes et Réseaux
Responsable Informatique
Chronoterre Archéologie
----- Mail original -----
De: "Ulrich Schneider" <m...@ulrichschneider.de>
À: sa...@lists.samba.org
Envoyé: Lundi 20 Mai 2013 10:03:25
Objet: Re: [Samba] configuring Shares, Users with Samba 4.0.5 as an AD DC
what do I have to do/install to make this ...
valid users = @Domain\Group (windows domain / group)
.. work
that command is called "wbinfo". For details, run "wbinfo --help". Some
examples below:
To find the Windows sid of an uid, run:
"wbinfo -U 3000000" (or any other uid).
That sid can in turn be used to find the username:
"wbinfo -s S-1-5-32-544"
So if you want to combine the whole thing into one, just run:
"wbinfo -s `wbinfo -U 3000000`"
Which should output something like:
"BUILTIN\Administrators 4"
The number following the username just tells how many Windows users or
groups are represented by that uid, if I'm understanding it correctly.
For reversed direction (to get the uid from username), try:
"wbinfo -S `wbinfo -n Administrator`"
Although in most cases you should be able to just run "getent passwd
username" to find the uid, whether the account is a windows account or not.
Pekka L.J. Jalkanen
Thierry Gonon
Archéologue - Administrateur Systèmes et Réseaux
Responsable Informatique
Chronoterre Archéologie
----- Mail original -----
De: "Pekka L.J. Jalkanen" <pekka.j...@vihreat.fi>
À: sa...@lists.samba.org
Envoyé: Lundi 20 Mai 2013 10:50:29
uli@uli-sd30v10:/data$ sudo /usr/local/samba/sbin/samba -i -M single
samba version 4.0.5 started.
Copyright Andrew Tridgell and the Samba Team 1992-2012
At this time the 'samba' binary should only be used for either:
'server role = active directory domain controller' or to access the
ntvfs file server with 'server services = +smb' or the rpc proxy with
'dcerpc endpoint servers = remote'
You should start smbd/nmbd/winbindd instead for domain member and
standalone file server tasks
uli@uli-sd30v10:/data$