Hi

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.


Thanks
Ashutosh

smb.conf is
# Global parameters
[global]
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/users.map

[homes]
read only = No
browseable = No
guest ok = Yes