Winbind with users map

Ashutosh VARSHNEY ashutosh.varshney at
Wed Oct 13 10:13:17 GMT 2004


I want to know how we can use both winbind and user maps together.
For example : Let we have a user active dir user "ashutosh varshney" whose 
unix account ashu.
If I mentioned this entry in users map, then it should connect to ashu 
home dir otherwise it should connect by using winbind homedir.


smb.conf is  
# Global parameters
        workgroup = ST
        netbios name = SAMBA
        security = DOMAIN
        encrypt passwords = Yes
        password server = dlhdc01
	  log file = /usr/local/samba/log/%m
        winbind uid = 20000-40000
        winbind gid = 20000-40000
	  winbind cache time =15
	  winbind enum users = yes
	  winbind enum groups = yes
        template homedir = /tmp
        winbind separator = -
        username map = /usr/local/samba/lib/

        read only = No
        browseable = No
        guest ok = Yes

More information about the samba-technical mailing list