Hi I use winbind with ADS security for authentication. If I write "ls -la ~username" in bash or ksh and press TAB or escape to resolve the HOMEDIR the shell hangs until I cancel with Ctrl+C. After that I have to restart winbind! If I press enter after "ls -la ~username" it works. I use samba3-winbind-3.0.28-35 on RHEL4U6 (32bit). Any idea? regards urs
On Tue, 1 Jul 2008, Urs Golla wrote:> Hi > > I use winbind with ADS security for authentication. If I write "ls -la > ~username" in bash or ksh and press TAB or escape to resolve the > HOMEDIR the shell hangs until I cancel with Ctrl+C. After that I have > to restart winbind! > If I press enter after "ls -la ~username" it works. I use > samba3-winbind-3.0.28-35 on RHEL4U6 (32bit). Any idea?Speaking from experience with a large AD. What did you expect? If you're tab completing a username, then because of limitation in the POSIX interface, you've just asked AD to return you information on all users. That's not a quick operation. If I were you, I'd disable this enumeration as you *really* don't need it. winbind enum users = yes winbind enum groups = yes jh -- "A little knowledge that /acts/ is worth infinitely more than much knowledge that is idle." -- Kahil Gibran
Hi the problem is, if one of the developers does a "cd ~username<TAB>" winbind hangs for ALL users and needs to be restartet. I think I will disable the user/group enumeration in smb.conf. cheers On Tue, Jul 1, 2008 at 5:10 PM, Rob Shinn <rob.shinn@gmail.com> wrote:> > On Tue, July 1, 2008 9:49 am, Urs Golla wrote: >> Hi >> >> I use winbind with ADS security for authentication. If I write "ls -la >> ~username" in bash or ksh and press TAB or escape to resolve the >> HOMEDIR the shell hangs until I cancel with Ctrl+C. After that I have >> to restart winbind! >> If I press enter after "ls -la ~username" it works. I use >> samba3-winbind-3.0.28-35 on RHEL4U6 (32bit). Any idea? > > Yep. You just asked AD to return all the users, because ithe shell is > trying to complete the username first. Try "cd ~username/<TAB>" instead, if > you want only homedir completion.