Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I've been using autofs for a number of years and was wondering if there is an alternative to autofs that would handle cifs/smb shares in a more interactive way?

When I say more interactive I'm mostly referring to allowing interactivity for password authentication (and not keeping your password in a file)?

share|improve this question
    
Curious, how would you expect this to work? Where would you see the password prompt - gui? command line? Autofs intercepts at kernel-level, something would have to be listening in userland to show you a password dialog, right? –  ckhan Dec 1 '12 at 9:36
    
I'm a command line geek, so my thought was command line - but I guess you've got a point. Not having done much developing besides scripting, how difficult would it be to modify Autofs to send out an event to userland? then I assume it would be easy to create a user app to listen for that event... –  Johnnie Dec 1 '12 at 18:51
1  
These days, one would probably use the dbus (to make it platform neutral) or a unix socket (much less bloat, more work) - you could have clients for command line as well as for various DEs. automount daemon (which is already running in userspace) would then send a password request to listening clients and wait for reply. –  peterph Dec 1 '12 at 21:07
    
Thanks @peterph I was thinking dbus but sockets might be good as well. Any good references for dbus and automount? –  Johnnie Dec 2 '12 at 0:48

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.