[Samba] hoe to get group names.?

Ben George bentech4you at gmail.com
Tue Oct 5 23:46:47 MDT 2010


hi

this is my smb.conf

[global]
        workgroup = SRE
        server string = Samba Server
        security = ads
        log file = /var/samba/log/log.%m
        max log size = 50
        dns proxy = No
        realm = SRE.COM
        winbind separator = +
        winbind enum users = yes
       * template homedir = /export/home/%U*

        idmap domains = SRE
        idmap config SRE:default = yes
        idmap config SRE:backend = tdb
        idmap config SRE:range = 10000-20000
        idmap alloc backend = tdb
        idmap alloc config:range = 10000-20000

        log level = 10
        max log size = 1024
        use kerberos keytab = true

[homes]
        comment = Home Directories
        browseable = no
        writable = yes
        create mode = 0666
        directory mode = 0777
        vfs objects = zfsacl
        nt acl support = true
        *force user = %U*
        read only = No


like %U is there any option for getting groups from AD..that means if the ad
user loged in to domain,,* template homedir = /export/home/%U *displayes a
temp folder with that pirticular group na..like that i want to create temp
folder's with group name*

*any chance..?*

*thanks
Ben.T.George*
*


More information about the samba mailing list