[Samba] Problem with Winbind and Windows Clients

Oliver Werner oliver.werner at kontrast.de
Fri Mar 11 08:03:29 UTC 2016


Here is smb.conf

[global]
       netbios name = VL0173
       security = ADS
       workgroup = HQKONTRAST
       realm = hq.kontrast

       log file = /var/log/samba/%m.log
       log level = 3

       dedicated keytab file = /etc/krb5.keytab
       kerberos method = secrets and keytab
       winbind refresh tickets = yes

       winbind trusted domains only = no
       winbind use default domain = yes
       winbind enum users  = yes
       winbind enum groups = yes
       winbind cache time = 300
       winbind refresh tickets = yes


       # Default idmap config used for BUILTIN and local accounts/groups
       idmap config *:backend = tdb
       idmap config *:range = 500-1023

       # idmap config for domain HQKONTRAST
       idmap config HQKONTRAST:backend = ad
       idmap config HQKONTRAST:schema_mode = rfc2307
       idmap config HQKONTRAST:range = 1024-99999

       # Use settings from AD for login shell and home directory
       winbind nss info = rfc2307


OLIVER WERNER
System-Administrator





Kontrast Communication Services GmbH
Grafenberger Allee 100, 40237 Düsseldorf, Germany

Fon  +49-211-91505-500
Fax  +49-211-91505-530
www.kontrast.de <http://www.kontrast.de/>

Amtsgericht Düsseldorf: HRB 26934
Geschäftsführer: Joachim Fischer, Anja Grote-Lutter, Leontine van der Vlist

 <https://www.facebook.com/kontrast.communication>     <https://twitter.com/KONTRAST_de>     <http://www.xing.com/companies/kontrastcommunicationservicesgmbh>     <http://www.linkedin.com/company/kontrast-communication-services-gmbh>     <https://vimeo.com/kontrastcs>     <http://instagram.com/kontrast_de>

Note: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer.

Please consider the environment and only print this if required.


> Am 11.03.2016 um 09:01 schrieb L.P.H. van Belle <belle at bazuin.nl>:
> 
> Please  Post your member smb.conf.
> 
> But probely your missing.
>   winbind refresh tickets = yes
> and/or
>   dedicated keytab file = /etc/krb5.keytab
>   kerberos method = secrets and keytab
> 
> 
> greetz,
> 
> Louis
> 
> 
> 
>> -----Oorspronkelijk bericht-----
>> Van: samba [mailto:samba-bounces at lists.samba.org] Namens Oliver Werner
>> Verzonden: vrijdag 11 maart 2016 8:55
>> Aan: samba at lists.samba.org
>> Onderwerp: [Samba] Problem with Winbind and Windows Clients
>> 
>> Hi,
>> 
>> i have a permanent problem with my samba members. there lost after some
>> times his connections to DCs and i need to restart winbind.
>> 
>> Also same problem with winds client that running 24x7. After few days i
>> can not logged in.
>> 
>> i think thats a problem with kerberos tickets.
>> 
>> i have checks samba logs and found that samba member and windows client
>> ask for new tickets and get new expiration.
>> 
>> in my DCs i have set
>> 
>> 	kdc:service ticket lifetime = 1
>> 	kdc:user ticket lifetime = 24
>> 	kdc:renewal lifetime = 120
>> 
>> and Master krb5.conf looks
>> 
>> [libdefaults]
>> 	default_realm = HQ.KONTRAST
>> 	dns_lookup_realm = false
>> 	dns_lookup_kdc = true
>> 	ticket_lifetime = 1d
>> 	renew_lifetime = 5d
>> 
>> [realms]
>>   HQ.KONTRAST = {
>>      kdc = vl0227.hq.kontrast
>>      kdc = vl0230.hq.kontrast
>>      kdc = pl0231.hq.kontrast
>>      master_kdc = vl0227.hq.kontrast
>>      admin_server = vl0227.hq.kontrast
>>   }
>> 
>> [domain_realm]
>> 	.hq.kontrast = HQ.KONTRAST
>> 	hq.kontrast = HQ.KONTRAST
>> 
>> [logging]
>> 	kdc = SYSLOG:INFO:DAEMON
>> 	admin_server            = FILE:/var/log/kadmind.log
>> 
>> 
>> So what i saw was GPOs are default empty. i need for winbind configure
>> Kerberos Policy?
>> 
>> kind regards
>> OLIVER WERNER
>> System-Administrator
>> 
>> 
>> 
>> 
>> 
>> Kontrast Communication Services GmbH
>> Grafenberger Allee 100, 40237 Düsseldorf, Germany
>> 
>> Fon  +49-211-91505-500
>> Fax  +49-211-91505-530
>> www.kontrast.de <http://www.kontrast.de/>
>> 
>> Amtsgericht Düsseldorf: HRB 26934
>> Geschäftsführer: Joachim Fischer, Anja Grote-Lutter, Leontine van der
>> Vlist
>> 
>> <https://www.facebook.com/kontrast.communication>
>> <https://twitter.com/KONTRAST_de>
>> <http://www.xing.com/companies/kontrastcommunicationservicesgmbh>
>> <http://www.linkedin.com/company/kontrast-communication-services-gmbh>
>> <https://vimeo.com/kontrastcs>     <http://instagram.com/kontrast_de>
>> 
>> Note: The information contained in this message may be privileged and
>> confidential and protected from disclosure. If the reader of this message
>> is not the intended recipient, or an employee or agent responsible for
>> delivering this message to the intended recipient, you are hereby notified
>> that any dissemination, distribution or copying of this communication is
>> strictly prohibited. If you have received this communication in error,
>> please notify us immediately by replying to the message and deleting it
>> from your computer.
>> 
>> Please consider the environment and only print this if required.
>> 
>> 
>> --
>> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.samba.org/pipermail/samba/attachments/20160311/d91ca802/signature.sig>


More information about the samba mailing list