[Samba] Winbind strip domain from username?

Gémes Géza geza at kzsdabas.hu
Mon Apr 15 22:09:30 MDT 2013


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
> GIGL\Administrator:*:0:100::/usagers/%U:/bin/bash
> GIGL\Guest:*:3000002:3000003::/usagers/%U:/bin/bash
> GIGL\krbtgt:*:3000007:100::/usagers/%U:/bin/bash
> GIGL\dns-stilton:*:3000008:100::/usagers/%U:/bin/bash
> GIGL\testuser:*:3000009:100::/usagers/%U:/bin/bash
> GIGL\llalonde:*:3000010:100::/usagers/%U:/bin/bash
>
> 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.

Regards

Geza Gemes


More information about the samba mailing list