Gentoo Forums
Gentoo Forums
Quick Search: in
winbind not showing up in init.d
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
stevodestructo
n00b
n00b


Joined: 15 Mar 2005
Posts: 8
Location: the armpit of California

PostPosted: Tue Jul 26, 2005 7:51 pm    Post subject: winbind not showing up in init.d Reply with quote

Hi Everybody,

I emerged samba with the following use flags.

Quote:
[ebuild R ] net-fs/samba-3.0.10 -acl +cups -debug -doc -kerberos -ldap -libclamav -mysql -oav +pam -postgres +python -quotas +readline (-selinux) +winbind -xml +xml2 0 kB


Code:
equery f samba

shows
Quote:
/etc
/etc/conf.d
/etc/conf.d/samba
/etc/init.d
/etc/init.d/samba
/etc/pam.d
/etc/pam.d/samba
/etc/samba
/etc/samba/lmhosts
/etc/samba/smb.conf
/etc/samba/smb.conf.example.gz
/etc/samba/smbusers
/etc/samba/system-auth-winbind
/etc/xinetd.d
/etc/xinetd.d/swat
/lib
/lib/libnss_winbind.so
/lib/libnss_winbind.so.2 -> libnss_winbind.so
/lib/libnss_wins.so
...~bunch of other files not important...


Is this a problem with the ebuild? When I run winbindd in the shell it fires up fine. Any help would be appreciated, I'm not sure if this is a bug or not.

Cheers,

Stevo
_________________
"It is as hard to see oneself as to look backwards without turning around"
~ Henry David Thoreau
Back to top
View user's profile Send private message
ausmusj1
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2004
Posts: 121

PostPosted: Thu Jul 28, 2005 7:44 pm    Post subject: Reply with quote

It's no longer a separate init script. Take a look at /etc/conf.d/samba, there is a line in there as such:
Code:

daemon_list="smbd nmbd"


Change it to:
Code:

daemon_list="smbd nmbd winbind"


In order to get the /etc/init.d/samba init script to also start the winbind daemon.

HTH-

James
Back to top
View user's profile Send private message
stevodestructo
n00b
n00b


Joined: 15 Mar 2005
Posts: 8
Location: the armpit of California

PostPosted: Thu Jul 28, 2005 7:48 pm    Post subject: Reply with quote

ausmusj1 wrote:
It's no longer a separate init script. Take a look at /etc/conf.d/samba, there is a line in there as such:
Code:

daemon_list="smbd nmbd"


Change it to:
Code:

daemon_list="smbd nmbd winbind"


In order to get the /etc/init.d/samba init script to also start the winbind daemon.

HTH-

James


Doh!

hey, thanks a lot brother. I didn't realize that changed.
_________________
"It is as hard to see oneself as to look backwards without turning around"
~ Henry David Thoreau
Back to top
View user's profile Send private message
humbletech99
Veteran
Veteran


Joined: 26 May 2005
Posts: 1229
Location: London

PostPosted: Wed Dec 21, 2005 2:40 pm    Post subject: Reply with quote

at least you've got winbind! I've got the folowing
Code:
/lib/libnss_nisplus.so.2
/lib/libnss_compat-2.3.4.so
/lib/libnss_nisplus-2.3.4.so
/lib/libnss_hesiod.so.2
/lib/libnss_nis-2.3.4.so
/lib/libnss_hesiod-2.3.4.so
/lib/libnss_compat.so.2
/lib/libnss_nis.so.2
/lib/libnss_dns.so.2
/lib/libnss_files-2.3.4.so
/lib/libnss_dns-2.3.4.so
/lib/libnss_files.so.2

but no libnss_winbind.so! Talk about falling down at the first hurdle. Does anybody have any idea why this is or did you have to do something special, some use flag or option somewhere to get that library?

OK, all is well again, got it. Having trouble trying to get the pam wheels thingy to work and allow ssh login with domain account...

I've set everything up as it should be and the I get this weird problem. If I do
Code:
getent passwd
it shows the long list of user accounts both local and domain but if I do
Code:
getent passwd username
with username exactly as it appear in the previous command, I get nothing....!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum