Displaying 20 results from an estimated 20000 matches similar to: "Permissions problem with 1 user"
2016 Jul 21
0
Samba-4.3 FreeBSD-10.3 Roaming Profiles and User Home Drive Shares
We have set up a Samba-4.3 AD-DC on a FreeBSD-10.3 BHyve guest
configured with UFS stoarge. The samba_server is provisioned and we
can join the Domain and configure the server remotely using MMC
snap-ins running on a MS Win-v7Pro workstation.
We are at the point where we are implementing roaming profiles. We
have followed the instructions found at:
2017 Apr 03
1
Unable to load roaming profiles samba-4.3 FreeBSD
I am seeing these in smb.log and each time I do it appears that the
user in question is unable to retrieve their roaming profile. Does
anyone know what is going on and more importantly, how to cure it?
. . .
[2017/03/28 16:24:37.426162, 0]
../source3/smbd/oplock.c:713(oplock_timeout_handler)
Oplock break failed for file
Administrator/AppData/Roaming/Microsoft/Internet Explorer/Quick
2020 Aug 13
1
Samba user profiles file ownership
FreeBSD-12.1p7
Samba-4.10.15
The user profiles were transferred from the existing Samba AD-DC to a new
domain running on Samba-4.10. An ls on the original Samba (4.3.13) domain DC
shows this:
[root at SAMBA-01 ~]# ls -ld /var/samba4/BROCKLEY-2016/PROFILES/lyneak_hll.V2
drwxrwx---+ 16 BROCKLEY-2016\lyneak_hll BROCKLEY-2016\domain admins 512 Aug
12 17:07
2016 Jul 29
0
Samba-4.3.11 Roaming profiles on FreeBSD10.3
On Fri, July 29, 2016 02:58, L.P.H. van Belle wrote:
> I sniped the best parts, and added comment.
>
>
>
>>
>
>> The situation is that assigning a new user the profile:
>
>> //DC/PROFILES/%USERNAME% does not produce anything on the DC's
>
>> filesystem.
>
> Correct that only dan when you first login with the user and then
> logoff.
>
2020 Jul 09
1
DC replications of FreeBSD samba-4.10.15
Following the wiki replication guide precisely I got to this step.
[root at smb4-2 ~ (master)]# rsync -XAavz --delete-after
smb4-1.brockley.harte-lyne.ca:/var/db/samba4/sysvol/ /var/db/samba4/sysvol/
receiving file list ... done
./
brockley.harte-lyne.ca/
. . .
brockley.harte-lyne.ca/scripts/
sent 142 bytes received 1,683 bytes 3,650.00 bytes/sec
total size is 182 speedup is 0.10
[root at
2020 Jul 13
5
DC replications of FreeBSD samba-4.10.15
On Sat, July 11, 2020 04:32, Andrea Venturoli wrote:
> On 2020-07-10 14:47, James B. Byrne wrote:
>> FreeBSD-12.1p6 IOCage thick jails on ZFS, samba-4.10.15:
>
> Can you post the smb.conf of both DCs?
>
> Just out of curiosity, are you also using vfs_zfsacl?
Yes.
smb.confs DC1 and DC2:
/zroot/iocage/jails/smb4-1a/root/usr/local/etc/smb4.conf
[root at vhost04 ~ (master)]#
2020 May 09
1
rsync replication acl error
I am trying to replicate a samba-4.3 DC [192.168.8.65] to a newly joined
samba-4.10 DC. I am using rsync as described in the samba wiki, excepting that
I am using a remote shell (ssh) with the root user and password-less logins.
When I run the command below from the 4.10 DC I get acl errors as shown below.
rsync -XAavz --delete-after --rsh='ssh' [192.168.8.65]:/var/db/samba4/sysvol
2016 Aug 01
0
Samba-4.3.11 Roaming profiles on FreeBSD10.3
Hai James,
>I deliberately switched the PROFILES share with the USERS share in order to >test whether or not there was something obviously wrong with either the >share definition or the permissions. I understand that one must first >press on the ok button to trigger the event.
For a USER Home dir yes, but profiles no.
You can do that but that wont help much.
Pressing OK
2020 May 13
0
rsync replication acl error
On Tue, May 12, 2020 09:46, Rowland penny wrote:
> One problem is that ZFS uses NFSv4ACLS and a Samba AD doesn't, it
> expects POSIX ACLS, there also is a possibility that xattr may be
> another problem.
>
> Try reading this:
>
> https://bugzilla.samba.org/show_bug.cgi?id=12912
>
I have worked with Timur on this very problem in the past. And he has produced
in
2020 Jul 02
1
samab-4.10 nsupdate
Thank you for your patience.
On Tue, June 30, 2020 16:48, Rowland penny wrote:
>
> From 'man smb.conf':
>
> nsupdate command (G)
>
> This option sets the path to the nsupdate command which is used for
> GSS-TSIG dynamic DNS updates.
>
> Default: nsupdate command = /usr/bin/nsupdate -g
>
> dns update command (G)
>
> This
2020 Jul 07
3
Can someone explain why host reports no SOA record for domain on DC?
[root at smb4-1 ~ (master)]# samba-tool dns query localhost brockley.harte-lyne.ca
brockley.harte-lyne.ca ALL -U administrator
Password for [BROCKLEY\administrator]:
Name=, Records=4, Children=0
SOA: serial=3, refresh=900, retry=600, expire=86400, minttl=3600,
ns=SMB4-1.brockley.harte-lyne.ca., email=hostmaster.brockley.harte-lyne.ca.
(flags=600000f0, serial=110, ttl=3600)
NS:
2020 Jun 30
3
samab-4.10 nsupdate
I have a dc configured to use the samba internal dns service. The version of
samba I am using is 4.10.15 packaged for FreeBSD. Its build options state
this:
BIND911 : off
BIND916 : off
, , ,
GSSAPI_BUILTIN : on
GSSAPI_MIT : off
LDAP : on
. . .
NSUPDATE : off
My smb4.conf file contains this:
[global]
bind interfaces only = Yes
dns forwarder =
2020 Jul 13
3
DC replications of FreeBSD samba-4.10.15
On Mon, July 13, 2020 10:23, Andrea Venturoli wrote:
> On 2020-07-13 15:06, James B. Byrne wrote:
>
>>> Just out of curiosity, are you also using vfs_zfsacl?
>>
>> Yes.
>
> But only on DC1, AFAICT!
> I see no mention of it on DC2's smb.conf.
> That could be the reason why you have two different behaviour.
>
> bye
> av.
>
That appears to
2020 Jul 22
1
samba-tool domain backup offline fails
On FreeBSD-12.1p7 running Samba-4.10.15 I have a working test AD domain. While
samba_server is confirmed stopped the 'samba-tool domain backup offline'
command gives the following error:
[root at smb4-1c-testfmso ~ (master)]# hostname
smb4-1.brockley.harte-lyne.ca
[root at smb4-1c-testfmso ~ (master)]# samba-tool domain backup offline
--targetdir=/tmp
ERROR(<class
2020 Jun 08
2
Samba AD-DC on FreeBSD-12.1 Jail
I decided to scrap everything and restart from the very beginning.
I created a new jail.
I installed samba410 samba-nsupdate py37-dnspython as these are current.
I provisioned a domain:
samba-tool domain provision --adminpass=INstall166 --dns-backend=SAMBA_INTERNAL
--dnspass=INstall166 --domain=BROCKLEY --host-name=SMB4-1
--host-ip=192.168.8.166 --option="bind interfaces only=yes"
2020 Jul 03
0
samab-4.10 nsupdate
I changed the entries in smb4.conf (smb.conf) to this:
[global]
. . .
dns update command = /usr/local/sbin/samba_dnsupdate
nsupdate command = /usr/local/bin/samba-nsupdate -d -g
And this is what results when I run: samba_dnsupdate --verbose -d8 --all-names
. . .
update(nsupdate): SRV
_ldap._tcp.Default-First-Site-Name._sites.ForestDnsZones.brockley.harte-lyne.ca
2020 Jul 09
1
sysvol permissions
At this point I have a DC2 joined to a DC1 that has all the FMSO roles. I have
confirmed that 'samba-tool drs showrepl' on both DCs produces the expected
results without error.
I am now looking at sysvol replication. On FreeBSD the sysvol is located at
/var/db/samba4/sysvol. Here is the problem. On DC1 I see this:
[root at smb4-1 ~ (master)]# ll /var/db/samba4/sysvol
total 1
2020 Jul 02
0
samab-4.10 nsupdate
This is all the diagnostic information I can think of at the moment:
[root at smb4-1 ~ (master)]# klist
Credentials cache: FILE:/tmp/krb5cc_0
Principal: administrator at BROCKLEY.HARTE-LYNE.CA
Issued Expires Principal
Jul 2 10:35:11 2020 Jul 2 20:35:11 2020
krbtgt/BROCKLEY.HARTE-LYNE.CA at BROCKLEY.HARTE-LYNE.CA
[root at smb4-1 ~ (master)]# grep nsup
2020 Jun 30
0
samab-4.10 nsupdate
> Could be because you added the wrong line to your smb4.conf (why does
> freebsd call it smb4.conf ?),
Why does freebsd put these things in /usr/local/etc/? Some questions have
answers that are not worth the effort to know.
> try:
> nsupdate command = /usr/local/sbin/nsupdate -g
I did catch that error earlier. But it makes no difference. samba_dnsupdate
does not give any
2020 Jun 25
0
samba-4.10.15 - Unable to demote secodary DC
I am testing DC administration using samba-4.10.15 on FreeBSD-12.1p6 and have
run across this:
[root at smb4-2 ~ (master)]# samba-tool domain join BROCKLEY.HARTE-LYNE.CA DC
-U"BROCKLEY\administrator"
INFO 2020-06-25 14:26:10,692 pid:47306
/usr/local/lib/python3.7/site-packages/samba/join.py #104: Finding a writeable
DC for domain 'BROCKLEY.HARTE-LYNE.CA'
INFO 2020-06-25