Displaying 20 results from an estimated 10000 matches similar to: "'samba-tool testparm --section' bugs?"
2019 Sep 24
3
'samba-tool testparm --section' bugs?
On Tue, 2019-09-24 at 17:47 +0100, Rowland penny via samba wrote:
> On 24/09/2019 17:36, Marco Gaiarin via samba wrote:
> > I've coded some scripts that extract some info from a smb.conf
> > section.
> >
> > In DC works:
> >
> > root at vdcsv1:~# samba-tool -V
> > 4.5.16-Debian
> > root at vdcsv1:~# samba-tool testparm --section sysvol
2017 Nov 29
2
LDAP query and result: better field for username?
Currently for my user:
root at vdmsv1:/etc/exim4# ldbsearch -H ldap://vdcsv1 -P -b DC=ad,DC=fvg,DC=lnf,DC=it "(cn=gaio)" | grep ": gaio$"
cn: gaio
name: gaio
sAMAccountName: gaio
uid: gaio
msSFU30Name: gaio
what field is betetr to use for querying for user 'gaio'?
'uid' no (because RFC2307 data can be missing), so?
'sAMAccountName'? or
2017 Nov 10
1
[Curiosity] Default domain, DC and DM...
In my DC, without setting explicitly a 'winbind default domain', i can
check logins domainless:
root at vdcsv1:~# id gaio
uid=10000(LNFFVG\gaio) gid=10513(LNFFVG\domain users) gruppi=10513(LNFFVG\domain users),11001(LNFFVG\sir),10999(LNFFVG\unixadm),3000008(LNFFVG\domain admins),3000005(LNFFVG\denied rodc password replication group),3000005(LNFFVG\denied rodc password replication
2017 Dec 14
5
[Curiosity] 'netbios aliases' works in AD mode?
Ahem no one reply me.
A little fast-rewind: i need to have some 'aliases' to my servers (DM);
seems i need to add in smb.conf:
netbios aliases = FILESV
but also add a 'SPN'; trying to look around for an examples, lead me to
''nothing'', or to examples that seems to me unrelated.
Supposing the domain is 'ad.fvg.lnf.it' and the FQDN of the real host
is
2017 Nov 30
4
Troubles on Roaming Profiles...
Mandi! Rowland Penny via samba
In chel di` si favelave...
> Is this on a DC ?
No, is a DM.
> If it isn't, Try setting it up exactly like it is shown on the
> wikipage, note that you only need the 'vfs objects' line if it isn't
> set in [global]
Wikipage say only:
Create a new share. For details, see Setting up a Share Using Windows ACLs.
and
2017 Dec 18
0
[Curiosity] 'netbios aliases' works in AD mode?
> Ahem no one reply me.
Still no feedback. I've done some test by myself.
a) i've added in smb.conf:
netbios aliases = CUPSSV FILESV
b) i've registered the alias as SPNs, now i've:
root at vdcsv1:~# samba-tool spn list vdmsv1$
vdmsv1$
User CN=VDMSV1,OU=Computers,OU=SanVito,OU=FVG,DC=ad,DC=fvg,DC=lnf,DC=it has the following servicePrincipalName:
HOST/VDMSV1
2017 Dec 18
0
[Curiosity] 'netbios aliases' works in AD mode?
Hai Marco,
I dont get what your goal is, sorry.. :-/
If you follow this template.
The computername should always have an A + PTR recored.
Now create an CNAME and point to the computer name, and this one can be in any zone.
Does not have to be the primary dns zone, as long as the zones are withing the kerberos domain.
On a member you have, by default : dns proxy = yes , man smb.conf for
2018 Mar 21
2
log error about permissions in truncated share path...
In syslog of my DC (2:4.5.12+dfsg-2+deb9u2~bpo8+1) i found sometime rows like:
Mar 21 09:53:40 vdcsv1 smbd[22686]: [2018/03/21 09:53:40.826081, 0] ../source3/param/loadparm.c:3244(process_usershare_file)
Mar 21 09:53:40 vdcsv1 smbd[22686]: process_usershare_file: stat of /var/lib/samba/usershares/sysvo failed. Permesso negato
Mar 21 09:53:40 vdcsv1 smbd[22686]: [2018/03/21 09:53:40.831949,
2015 Apr 05
2
samba4 gpo update problem
The path for sysvol on my smb.conf file was incorrect. Why, I do not
know.
command1:
#samba-tool ntacl sysvolcheck
ERROR(<type 'exceptions.TypeError'>): uncaught exception - (2, 'No
such file or directory')
File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 175, in _run
return self.run(*args, **kwargs)
File
2019 Sep 23
4
testparm comaprison
On 23/09/2019 13:42, Trenta sis via samba wrote:
> Thanks, ntlm auth is temporary until we have solved some issues
> getent is needed by filesystem acl
>
If you think you need the 'winbind enum' lines so that 'getent' works,
then think again ;-)
If you do not have the 'winbind enum 'lines 'getent passwd username'
will still work.
'getent passwd'
2017 Dec 14
2
samba-tool ntacl sysvolcheck ERROR
[root at srv-cds ~]# samba-tool ntacl sysvolcheck
Attempting to register passdb backend smbpasswd
Successfully added passdb backend 'smbpasswd'
Attempting to register passdb backend tdbsam
Successfully added passdb backend 'tdbsam'
Attempting to register passdb backend samba_dsdb
Successfully added passdb backend 'samba_dsdb'
Attempting to register passdb backend samba4
2017 Oct 24
3
'check password script' and Join...
Make a note: it is better to disable 'check password script' in the
DC(s) before trying to join a new DC. ;(
root at vdcpp1:~# samba-tool domain join ad.my.dom DC -U"MYDOM\administrator" --dns-backend=BIND9_DLZ
Finding a writeable DC for domain 'ad.my.dom'
Found DC vdcsv1.ad.my.dom
Password for [MYDOM\administrator]:
workgroup is MYDOM
realm is ad.my.dom
Adding
2015 Feb 16
6
gpo update problem
I have setup 'profiles' and 'home share' per the instructions on Samba
wiki. That seemed to go fine.
When I moved on to 'folder re-direction' I tried to open GPO management
on my W7 client and received a "User policy could not be updated
successfully . . ." on the windows CP console. Started googling the
error and ran into "samba-tool ntacl
2016 Mar 30
2
Demote a working DC fails with uncaught exception
Hi all,
I am consistently getting the error:
root at dc2:~# samba-tool domain demote -Uadministrator
Using dc1.microlynx.com as partner server for the demotion
Password for [MICROLYNX\administrator]:
Deactivating inbound replication
Asking partner server dc1.microlynx.com to synchronize from us
Changing userControl and container
ERROR(<type 'exceptions.TypeError'>): uncaught
2020 Oct 01
2
Freeradius logon with machine account...
With Samba in NT mode, i was able to enable wireless access using
machine account, and worked decently.
Now i want to try again in AD mode, but i've not found info, and i've
just hit a trouble:
Oct 1 14:31:55 vdmsv1 radiusd[13555]: rlm_ldap (ldap): Opening additional connection (25), 1 of 31 pending slots used
Oct 1 14:31:55 vdmsv1 radiusd[13555]: (187) Login incorrect:
2012 Dec 04
2
Samba4 Classicupgrade Failed
Hi,
I am stuck on upgrading the current Samba3 to Samba4, currently used Samba
3.3.10 and upgraded to Samba 3.4.17 still the same problems below. I also
try to upgrade the Python 2.4.3 to Python 2.7 still same problems, with the
OpenLDAP 2.3.43.
[root at ewanko]# /usr/local/samba/bin/samba-tool domain classicupgrade
--dbdir=/var/lib/samba/ --use-xattrs=yes --realm=ewanko.local
2015 Oct 12
2
Sysvol acl check failed
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
when I check ACLs on my sysvol I got the following errors:
root at DKHHDC1:~# samba-tool gpo aclcheck
ERROR(<type 'exceptions.KeyError'>): uncaught exception - 'No such
element'
File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py",
line 175, in _run
return self.run(*args, **kwargs)
File
2015 Feb 20
1
sysvolcheck results in 'No such file or directory'
Hello,
I added some files to my central store and now when I run
'samba-tool sysvolcheck'. I get
ERROR(<type 'exceptions.TypeError'>): uncaught exception - (2, 'No such
file or directory')
File
"/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py",
line 175, in _run
return self.run(*args, **kwargs)
File
2015 Oct 13
2
Sysvol acl check failed
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am 12.10.2015 um 18:47 schrieb James:
> On 10/12/2015 12:20 PM, Stefan Kania wrote:
>> Hello,
>>
>> when I check ACLs on my sysvol I got the following errors:
>>
>> root at DKHHDC1:~# samba-tool gpo aclcheck ERROR(<type
>> 'exceptions.KeyError'>): uncaught exception - 'No such element'
2019 Aug 30
4
Upgrade Samba 4
Hai,
?
You can safely ignore?that mesage.
?
If both servers are done and running 4.8.? procede to 4.9
?
>> ERROR(<type 'exceptions.KeyError'>): uncaught exception - 'No such element'
is fixed in later samba versions
?
Greetz,
?
Louis
?
?
?
Van: Marcio Demetrio Bacci [mailto:marciobacci at gmail.com]
Verzonden: vrijdag 30 augustus 2019 11:39
Aan: L.P.H. van Belle