[Samba] The problem with setting up AD domain to Samba 4
steve at steve-ss.com
Mon Jun 17 02:12:04 MDT 2013
On 17/06/13 08:57, Vladimir A Fomkin wrote:
> Good day!
> What is "DN"?
> Make sure that you have the rfc2307 line in both the DC's. Add:
> uidNumber: 3000022
> to the the DN of the user on one of the DC's. Wait a few minutes. Now
> create a file. It will have uid 3000022 no matter which DC is consulted.
DN is ldap for Distingished Name
e.g. a user could have an entry in the directory:
dn: CN=vladimir, CN=Users,DC=samba,DC=com
somewhere for that user. The easiest way to do that so that you can
understand what's happening, is to add it like this:
ldbedit --url=/usr/local/samba/private/sam.ldb CN=vladimir
That will use vi. If you don't know vi, use your favourite editor (e.g.
let's say it's called 'yfe') instead:
ldbedit -e yfe --url=/usr/local/samba/private/sam.ldb CN=vladimir
More information about the samba