[Samba] UID/GID mapping consistency across at least two Linux machines

Robert Freeman-Day presgas at gmail.com
Mon Apr 9 19:10:11 MDT 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/09/2012 04:09 PM, bakytn wrote:
> Here ist he global section of my smb.conf:
> 
> I am not sure if I am using Winbind (I guess yes).
> 
> [global]
>    workgroup = DOMAIN
>    realm = DOMAIN.LOCAL
>    preferred master = no
> 
>    server string = SAMBA
>    security = ADS
>    encrypt passwords = yes
>    log level = 1
>    log file = /var/log/samba/log.%m
>    max log size = 1000
> 
>    idmap uid = 3000-20000
>    idmap gid = 3000-20000
>    template shell = /bin/bash
> 
>    winbind enum groups = yes
>    winbind enum users = yes
>    winbind separator = +
>    winbind use default domain = Yes
>    winbind nested groups = Yes
> 
>    template homedir = "/data/files/%U"
> 
>    syslog = 0
> 
>    panic action = /usr/share/samba/panic-action %d
>    passdb backend = tdbsam
> 
>    obey pam restrictions = yes
> 
>    unix password sync = yes
> 
>    passwd program = /usr/bin/passwd %u
>    passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:*
> %n\n *password\supdated\ssuccessfully* .
> 
>    pam password change = yes
> 
>    map to guest = bad user
> 
>    usershare allow guests = yes
> 
> 
> --
> View this message in context: http://samba.2283325.n4.nabble.com/UID-GID-mapping-consistency-across-at-least-two-Linux-machines-tp4543255p4543701.html
> Sent from the Samba - General mailing list archive at Nabble.com.

I have some notes on what I have done with my machines.  I hope it may
help you out.  Just read it all over and the template files closely
before just jumping on into it.

https://uisapp2.iu.edu/confluence-prd/display/~rmday/Linux+Integration+with+Active+Directory

- -- 
________

Robert Freeman-Day

https://launchpad.net/~presgas
GPG Public Key:
http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0xBA9DF9ED3E4C7D36
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+DiG4ACgkQup357T5MfTaMKQCg0HMM00tuKtxZUMWwzWC1lOSM
fxkAoLd8HO0otegVuye7dIf2c/UO1dc/
=lgc5
-----END PGP SIGNATURE-----


More information about the samba mailing list