[Samba] Can add with net rpc command but NOT with dsa.msc
Rowland Penny
rowlandpenny at googlemail.com
Wed Mar 18 07:32:49 MDT 2015
On 18/03/15 13:25, Hervé Hénoch wrote:
> I say that I'm logged on a Windows 2012R2 server with domain
> administrator account (the server is naturally in the domain).
>
> When I add a user i've the message : an error has occurend contact
> your system adminsitrator.
>
> # Global parameters
> [global]
> workgroup = <domain>
> realm = <domain>.local
> netbios name = <PDC NAME>
> server role = active directory domain controller
> server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc,
> drepl, winbind, ntp_signd, kcc, dnsupdate
> idmap_ldb:use rfc2307 = yes
> #idmap uid = 15000-30000
> #idmap gid = 50000-60000
> log level = 4
> printcap name = /dev/null
> load printers = no
> dsdb:schema update allowed = yes
>
>
> [netlogon]
> path = /var/lib/samba/sysvol/<domain>.local/scripts
> read only = No
>
> [sysvol]
> path = /var/lib/samba/sysvol
> read only = No
>
>
>
>
> Le 18/03/2015 12:36, L.P.H. van Belle a écrit :
>> net rpc ?
>> and you dont mean : samba-tool user create username
>>
>>> "An error occured. Contact your administrator" ...
>> This if from a pc which joined the AD and your login was
>> "DOMAIN\Adminsitrator"
>> and not "PCNAME\Administrator"
>>
>>
>> Greetz,
>>
>> Loius
>>
>>
>>> -----Oorspronkelijk bericht-----
>>> Van: h.henoch at isc84.org [mailto:samba-bounces at lists.samba.org]
>>> Namens Hervé Hénoch
>>> Verzonden: woensdag 18 maart 2015 12:08
>>> Aan: samba at lists.samba.org
>>> Onderwerp: [Samba] Can add with net rpc command but NOT with dsa.msc
>>>
>>> Hello
>>>
>>> I've a little problem : I can add samba4 user with net rpc command but
>>> with dsa.msc I've the error : "An error occured. Contact your
>>> administrator" ...
>>>
>>> However, I can add group by dsa.msc and modify an existing user ...
>>>
>>> I'm on jessie with Samba 4.1.17-Debian (Linux vspdc 3.16.0-4-amd64 #1
>>> SMP Debian 3.16.7-ckt7-1 (2015-03-01) x86_64 GNU/Linux)
>>>
>>> An idea ?
>>>
>>> Regard
>>>
>>> --
>>>
>>> Hervé Hénoch
>>> Responsable informatique
>>> Institut Sainte Catherine
>>> 250 chemin de Baigne-Pieds
>>> CS 80005 ? 84918 AVIGNON cedex 9
>>> Téléphone : 04.90.27.57.44
>>> --
>>> To unsubscribe from this list go to the following URL and read the
>>> instructions: https://lists.samba.org/mailman/options/samba
>>>
>
You are supposed to use samba-tool to add users to a Samba4 AD, but I
thought that it wasn't possible to add a Samba4 DC to a 2012 domain, so
how did you join it ?
Rowland
More information about the samba
mailing list