[Samba] Error

Rowland Penny rowlandpenny241155 at gmail.com
Wed Aug 12 15:13:09 UTC 2015


On 12/08/15 15:49, Steve Ankeny wrote:
> On 08/12/2015 10:16 AM, Rowland Penny wrote:
>> On 12/08/15 14:51, sandy.napoles at eccmg.cupet.cu wrote:
>>> My smb.conf
>>>
>>> # Global parameters
>>> [global]
>>>          workgroup = domain
>>>          realm = domain.cu
>>>          netbios name = SAMBA
>>>          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
>>>
>>>          printcap name = /dev/null
>>>          load printers = no
>>>          printing = bsd
>>>          template shell = /bin/bash
>>>
>>> #--Debug Logging Information
>>>          log file = /usr/local/samba/var/LOGS/%U.%m.log
>>>          log level = 3
>>>          debug timestamp = yes
>>>          syslog = 3
>>>          debug uid = Yes
>>>          debug pid = Yes
>>>
>>> [netlogon]
>>>          path = 
>>> /usr/local/samba/var/locks/sysvol/eccmg.cupet.cu/scripts
>>>          read only = No
>>>
>>> [sysvol]
>>>          path = /usr/local/samba/var/locks/sysvol
>>>          read only = No
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>> for sysvol ??
>>>> im use-ing for sysvol for example.
>>>> [sysvol]
>>>> path = /home/samba/sysvol
>>>> read only = No
>>>> acl_xattr:ignore system acls = yes
>>>> acl_xattr:ignore, because of only windows pc's are connecting to 
>>>> sysvol..
>>>>
>>>> so im saying your smb.conf is setup wrong.
>>>>
>>>> Greetz,
>>>>
>>>> Louis
>>>>
>>>>> -----Oorspronkelijk bericht-----
>>>>> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
>>>>> sandy.napoles at eccmg.cupet.cu
>>>>> Verzonden: dinsdag 11 augustus 2015 20:04
>>>>> Aan: samba at lists.samba.org
>>>>> Onderwerp: Re: [Samba] Error
>>>>>
>>>>> Sorry
>>>>>
>>>>> 1 * what operating system = Debian 7
>>>>> 2 * what was the previous version = 4.2.1
>>>>> 3 * self compiled or packages = Download the last
>>>>> version from www.samba.org and ./configure & make & make-install
>>>>>
>>>>> -- 
>>>>> To unsubscribe from this list go to the following URL and read the
>>>>> instructions: https://lists.samba.org/mailman/options/samba
>>>> -- 
>>>> To unsubscribe from this list go to the following URL and read the
>>>> instructions: https://lists.samba.org/mailman/options/samba
>>
>> OK, there could be several things going wrong here:
>>
>> Do you have /usr/local/samba/bin and /usr/local/samba/sbin at the 
>> start of your PATH ?
>>
>> You have (in smb.conf)
>>
>> workgroup = domain
>> realm = domain.cu
>>
>> path = /usr/local/samba/var/locks/sysvol/eccmg.cupet.cu/scripts
>>
>> So, is your AD realm 'eccmg.cupet.cu' ? (it shouldn't be as this 
>> would make it resolvable from the internet)
>> If it is, then (by substitution) 'domain' is 'eccmg.cupet' which 
>> would mean your workgroup name has a dot in it, not really recommended.
>>
>> Is there any earlier version of samba4 installed (i.e. distro package 
>> etc)
>>
>> Rowland
>>
>>
>
> And, what about the services he's invoking in 'smb.conf'?
>
> Wouldn't 'samba-tool testparm -v | grep services' eliminate some of 
> those calls?
>
> (maybe I'm wrong -- I'm not paying attention right now)
>
>
>

It would appear he is using bind instead of the builtin dns

Rowland




More information about the samba mailing list