Web lists-archives.com

Re: [Samba] Debian 9.8 and vanbelle-repos




Hai, 

That bond0 interface, you might want to change that the interface name to bond1
Depending on the bonding settings, you might have hit a reserved name. 
I lots my docu on that but i know i configured a bond1 because bond0 didn work right.

And then check these. 

wbinfo -pPt  ( or wbinfo -p && wbinfo -P && wbinfo -t ) 

wbinfo --sids-to-unix-ids S-1-22-2-10513
wbinfo -D ARBEITSGRUPPE
wbinfo --all-domains


My bonding setup..
cat /etc/systemd/network/30-bond1*

# /etc/systemd/network/30-bond1-dev1.network
[Match]
MACAddress=78:2b:xx:xx:xx:xx

[Network]
Bond=bond1

# /etc/systemd/network/30-bond1-dev2.network
[Match]
MACAddress=78:2b:xx:xx:xx:xx

[Network]
Bond=bond1

# /etc/systemd/network/30-bond1.netdev
[NetDev]
Name=bond1
Kind=bond

[Bond]
Mode=802.3ad
MIIMonitorSec=1s
#LACPTransmitRate=fast
#UpDelaySec=2s
#DownDelaySec=8s
#TransmitHashPolicy=layer2
#TransmitHashPolicy=layer3+4

# /etc/systemd/network/30-bond1.network
[Match]
Name=bond1

[Network]
DNS=192.168.1.2
DNS=192.168.1.1
Domains=internal.domain.tld
NTP=ntp1.internal.domain.tld
NTP=ntp2.internal.domain.tld
# ntp1 and 2 are CNAMES to DC1 DC2. 

[Address]
Address=192.168.1.11/24

[Route]
Destination=0.0.0.0/0
Gateway=192.168.1.252


Greetz, 

Louis


> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces@xxxxxxxxxxxxxxx] Namens 
> Stefan G. Weichinger via samba
> Verzonden: vrijdag 22 februari 2019 14:55
> Aan: samba@xxxxxxxxxxxxxxx
> Onderwerp: Re: [Samba] Debian 9.8 and vanbelle-repos
> 
> Am 22.02.19 um 14:51 schrieb Rowland Penny via samba:
> 
> > Not good, can you post the smb.conf ?
> > 
> > Rowland
> > 
> 
> [global]
> 	security = ADS
> 	workgroup = ARBEITSGRUPPE
> 	realm = arbeitsgruppe.MYDOMAIN.at
> 	log file = /var/log/samba/%m.log
> 	#log level = 5
> 
> 	log level = 5 auth:5 winbind:8
> 	
> 	idmap config * : backend = tdb
> 	idmap config * : range = 2000-3999
> 
> 	idmap config ARBEITSGRUPPE:backend = ad
> 	idmap config ARBEITSGRUPPE:range = 10000-9999999
> 
> 	idmap config ARBEITSGRUPPE:unix_nss_info = yes
> 
> 	idmap config arbeitsgruppe : schema_mode = rfc2307
> 
> 	username map = /etc/samba/user.map
> 
> 	winbind use default domain = Yes
> 	winbind refresh tickets = Yes
> 
> 	load printers = No
> 	printcap name = /dev/null
> 	
> 	vfs objects = acl_xattr
> 	map acl inherit = yes
> 	store dos attributes = yes
> 
> 	interfaces = bond0
> 
> 	#hosts allow = 10.0.0.22,10.0.0.50
> 
> [Daten]
> 	comment = Daten
> 	path = /mnt/daten
> 	#valid users = @"ARBEITSGRUPPE\\domain users"
> 	#force group = users
> 	read only = No
> 	#create mask = 0660
> 	#directory mask = 0770
> 	create mask = 3660
> 	directory mask = 3770
> 
> [Scans_Plotter]
> 	comment = Scans vom Plotter
> 	path = /mnt/daten/Allgemeines/_Scans/Plotter
> 	#valid users = @"ARBEITSGRUPPE\\domain users"
> 	read only = No
> 	#create mask = 0660
> 	#directory mask = 0770
> 
> 
> -- 
> 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