[Samba] Winbind strip domain from username?
Luc.Lalonde at polymtl.ca
Tue Apr 16 04:33:54 MDT 2013
Here's my 'smb.conf':
workgroup = FOO
realm = foo.example.com
netbios name = ROQUEFORT
server role = active directory domain controller
server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbind, ntp_signd, kcc, dnsupdate
idmap config * : range = 16777216-33554431
template shell = /bin/bash
winbind offline logon = false
winbind enum users = yes
winbind enum groups = yes
obey pam restrictions = yes
template homedir = /usagers/%U
winbind use default domain = yes
map untrusted to domain = no
path = /usr/local/samba/var/locks/sysvol/foo.example.com/scripts
read only = No
path = /usr/local/samba/var/locks/sysvol
read only = No
Thanks for your help!
On 2013-04-16, at 12:09 AM, Gémes Géza <geza at kzsdabas.hu> wrote:
> 2013-04-15 23:12 keltezéssel, Luc Lalonde írta:
>> Hello Folks,
>> This directive works with Samba3 but does not seem to work with Samba-4.0.5:
>> winbind use default domain = Yes
>> I want to get a username that does not contain the domain (GIGL). Instead here's what I get:
>> [root at roquefort ~]# getent passwd | grep GIGL
>> How do I remove the 'GIGL\' from the username? This is causing me problems mounting the user's home directory at logon with 'PAM_MOUNT'
>> What am I missing?
>> Thank You!
> Please attach your smb.conf.
> Geza Gemes
> 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