[Samba] login without domain\username

ERIC PEYREMORTE eric.peyremorte at univ-grenoble-alpes.fr
Tue Feb 2 15:25:39 UTC 2021


I didn't miss, just thought it wasn't useful as the option didn't seem to be what i was searching for ;-) 

Here is my smb.conf (it's minimalistic for now because just in test right now) 

workgroup = IUTV 
security = ADS 
idmap config IUTV:backend = ad 
idmap config IUTV:schema_mode = rfc2307 
idmap config IUTV:range = 200-40000 
idmap config IUTV:unix_nss_info = yes 
idmap config * :backend = tdb 
idmap config * :range = 90000-99999 
winbind use default domain = yes 
winbind enum users = yes 
winbind enum groups = yes 
winbind refresh tickets = yes 
dedicated keytab file = /etc/krb5.keytab 
kerberos method = system keytab 
log file = /var/log/samba/log.%m 
max log size = 1000 
logging = file 
panic action = /usr/share/samba/panic-action %d 
comment = Home Directories 
browseable = Yes 
read only = no 
create mask = 0700 
directory mask = 0700 
valid users = %S 
path = /tmp 
read only = no 
guest ok = no 


De: "sambalist" <samba at lists.samba.org> 
À: "sambalist" <samba at lists.samba.org> 
Envoyé: Mardi 2 Février 2021 15:57:28 
Objet: Re: [Samba] login without domain\username 

On 02/02/2021 14:33, ERIC PEYREMORTE wrote: 
> Hi thanks for your answer ! 
> I already have the parameter, but from a windows client or even 
> smbclient, the username gets always prefixed by the machine name. 
> Wireshark capture : 
> And the winbind seems to work only when the "domain component" is 
> missing from the username : 
> from man smb.conf : 
> winbind use default domain : 
> "This parameter specifies whether the winbindd(8) daemon should 
> operate on users without domain component in their username." 
> Maybe what i want to do isn't possible ? 

I posted this: 

If that doesn't work, please post your smb.conf 

Just in case you missed it: 



To unsubscribe from this list go to the following URL and read the 
instructions: https://lists.samba.org/mailman/options/samba 

More information about the samba mailing list