https://bugzilla.novell.com/show_bug.cgi?id=728193 https://bugzilla.novell.com/show_bug.cgi?id=728193#c0 Summary: pam_mount does not expand %(DOMAIN_NAME) if winbind uses the default domain Classification: openSUSE Product: openSUSE 12.1 Version: RC 1 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: luizluca@tre-sc.gov.br QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 Hello, I configured my system to auth with winbind. I also added this option in smb.conf in order to avoid the need of domain name in username: winbind use default domain = yes Also, I have pam_mount mounting a cifs server. I use this one: <volume options="nounix" server="server" path="rede" mountpoint="/home/%(DOMAIN_NAME)/%(DOMAIN_USER)/g" fstype="cifs"><uid>10000-20000</uid></volume> Now comes the problem. If I use default domain, the home of the user is still: /home/DOMAIN/user But pam_mount does not expand DOMAIN_NAME anymore. It try to mount into: /home//user/g I have no way to detect the users' home dir. Reproducible: Always Steps to Reproduce: 1. Configure auth in windows domain 2. Configure a mount dir at logon using /%(DOMAIN_NAME)/%(DOMAIN_USER)/ 3. Configure winbind (smb.conf) with the option "winbind use default domain = yes" 4. Restart winbind 5. Logon with a user not using domain name Actual Results: 6. create the dir /home/user 7. nothing is mounted Expected Results: 6. It should mount the remote dir inside the home I guess the easiest solution would be to add %(HOME) to the exapandable variables in pam_mount. Also, DOMAIN_NAME should expand to the user's domain name even if winbind is using implicit domain name. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.