[Samba] Failed to find sambaDomain object to get sambaAlgorithmicRidBase
Rowland Penny
rpenny at samba.org
Thu Sep 29 20:02:45 UTC 2016
On Thu, 29 Sep 2016 15:30:30 -0400
Bernard Fay <bernard.fay at gmail.com> wrote:
> CentOS 7
>
> smbd -V
> Version 4.2.10
>
>
> [root at CTSFILE01 ~]# testparm -sn
> Load smb config files from /etc/samba/smb.conf
> rlimit_max: increasing rlimit_max (1024) to minimum Windows limit
> (16384) Processing section "[homes]"
> Processing section "[software]"
> Processing section "[tftp]"
> Loaded services file OK.
> Server role: ROLE_STANDALONE
>
> # Global parameters
> [global]
> workgroup = CTS
> server string = CTS File Server 01 - Samba version %v
> interfaces = lo eth0
> security = USER
> passdb backend = ldapsam:ldap://ctsldap01/
> log file = /var/log/samba/log.%m
> max log size = 50
> load printers = No
> printcap name = /dev/null
> disable spoolss = Yes
> add user script = /sbin/smbldap-useradd -m "%u"
> add group script = /sbin/smbldap-groupadd -p "%g"
> add user to group script = /sbin/smbldap-groupmod -m "%u" "%g"
> delete user from group script = /sbin/smbldap-groupmod -x "%u"
> "%g" set primary group script = /sbin/smbldap-usermod -g "%g" "%u"
> add machine script = /sbin/smbldap-useradd -w "%u"
> ldap admin dn = cn=Manager,dc=cts,dc=com
> ldap delete dn = Yes
> ldap group suffix = ou=Groups
> ldap machine suffix = ou=Computers
> ldap passwd sync = yes
> ldap suffix = "dc=cts,dc=com"
> ldap ssl = no
> ldap user suffix = ou=Users
> idmap config * : backend = tdb
> printing = bsd
>
> ... snipped the shares definition
>
>
> I do not know what else can be relevant as I am far to be a pro in
> Samba. :-(
>
> If something else could be useful let me know.
>
> Thanks,
> Bernard
>
Didn't this:
Server role: ROLE_STANDALONE
Give you a hint ??
Try adding these lines:
server role = classic primary domain controller
domain master = yes
Rowland
More information about the samba
mailing list