[Samba] RE: Winbind on HPUX11, Totally Stuck, Please Help

Dan Nuffer dnuffer at center7.com
Wed Aug 6 15:07:29 GMT 2003


I think I've figured it out.

It doesn't work if nsswitch.conf has got

passwd: files nis winbind
or
passwd: files winbind nis

But if it only has two modules listed:

passwd: files winbind

then passwd -r files works fine.

-- 
Dan Nuffer

MCCALL,DON (HP-USA,ex1) wrote:

>Hello Dan,
>Can you post the passwd line of your nsswitch.conf file?
>I am on 11.11, and passwd -r files username
>Works just fine for me, with winbind added to my passwd line in the
>/etc/nsswitch.conf file...
>Don
>
>  
>
>>-----Original Message-----
>>From: Dan Nuffer [mailto:dnuffer at center7.com] 
>>Sent: Tuesday, August 05, 2003 3:13 PM
>>To: samba at lists.samba.org
>>Cc: don_mccall at hp.com
>>Subject: [Samba] RE: Winbind on HPUX11, Totally Stuck, Please Help
>>
>>
>>I've been trying to find a solution to passwd not working on 
>>HPUX 11 with a modified nsswitch.conf.  (Interestingly, using 
>>the -r files switch works on Solaris, but not HPUX.)
>>
>>The two proposed workarounds I have seen (naming the module 
>>ldap and replacing the system one, or creating a wrapper for 
>>passwd that fiddles with the nsswitch.conf) aren't acceptable.
>>
>>I'm really hoping that HP has fixed this, but I wasn't able 
>>to locate an applicable patch on their site.  If anyone knows 
>>of one, please point me to it!
>>
>>Thanks,
>>Dan Nuffer
>>
>>
>>MCCALL, DON (HP-USA,ex1) wrote:
>>    
>>
>>>Hi Everyone,
>>>This whole problem with the password command not working 
>>>      
>>>
>>when winbind 
>>    
>>
>>>is included as a method in the nsswitch.conf can probably be worked 
>>>around by simply using the -r files (or -r nis or -r 
>>>      
>>>
>>nisplus) switch.  
>>    
>>
>>>Take a look at the man page for passwd on HP-UX 11.x  and 
>>>      
>>>
>>see if this 
>>    
>>
>>>won't help you out. Hope this helps,
>>>Don
>>>
>>>      
>>>
>>
>>    
>>





More information about the samba mailing list