Difference between revisions of "Winbindd"

 
Line 1: Line 1:
Test
+
== About Winbind and Samba4 ==
 +
 
 +
Samba4 currently embed its own Winbind implementation. Winbind is responsible for affecting an unix uid to user, gid to groups.
 +
 +
It is also used to list groups of a given user, to translate SID to uid/gid and many other things.
 +
 
 +
As soon as you use file server capabilities of Samba4 (for instance for serving GPO or login scripts), calls to Winbind will be made to get the user's uid (and allocate if none exists).
 +
This can be noticed by the fact that when a file is created from Windows in one of the samba4 server share you will see big numerical uid and gid.
 +
 
 +
For example:
 +
<pre>
 +
ls /home/mat/workspace/samba/homematwsnet/sysvol/home.matws.net/Policies/\{085C0631-6142-4637-9FED-2EC5B4FB6952\}/ -l
 +
total 0
 +
drwxr-sr-x  4 3000008 users  4096 2010-03-05 23:31 .
 +
drwxrwsrwx 10 3000008 3000008 4096 2010-03-05 23:31 ..
 +
-rw-r--r--  1 3000017 users    68 2010-03-06 01:43 GPT.INI
 +
</pre>
 +
 
 +
== Headline text ==
 +
 
 +
== Headline text ==

Revision as of 10:44, 24 March 2010

About Winbind and Samba4

Samba4 currently embed its own Winbind implementation. Winbind is responsible for affecting an unix uid to user, gid to groups.

It is also used to list groups of a given user, to translate SID to uid/gid and many other things.

As soon as you use file server capabilities of Samba4 (for instance for serving GPO or login scripts), calls to Winbind will be made to get the user's uid (and allocate if none exists). This can be noticed by the fact that when a file is created from Windows in one of the samba4 server share you will see big numerical uid and gid.

For example:

ls /home/mat/workspace/samba/homematwsnet/sysvol/home.matws.net/Policies/\{085C0631-6142-4637-9FED-2EC5B4FB6952\}/ -l
total 0
drwxr-sr-x  4 3000008 users   4096 2010-03-05 23:31 .
drwxrwsrwx 10 3000008 3000008 4096 2010-03-05 23:31 ..
-rw-r--r--  1 3000017 users     68 2010-03-06 01:43 GPT.INI

Headline text

Headline text