LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-31-2006, 10:56 PM   #1
chuckiecs
LQ Newbie
 
Registered: Aug 2006
Posts: 5

Rep: Reputation: 0
Question winbindd


Have finished setting up Centos server with Samba (Version 3.0.10-1.4E.9). Its all working fine and getting authentication from the. But I can not get winbindd to start as a service. Have followed the recomendation from the samba doc and added it to the smbd startup script. Starting the service will start smbd and nmbd but not winbindd. I can run it manually by executing it from command line. Script as below:

start() {
KIND="SMB"
echo -n $"Starting $KIND services: "
daemon /usr/sbin/smbd $SMBDOPTIONS
RETVAL=$?
echo
KIND="NMB"
echo -n $"Starting $KIND services: "
daemon /usr/sbin/nmbd $NMBDOPTIONS
RETVAL2=$?
echo
KIND="Winbind"
echo -n $"Starting $KIND services: "
daemon /usr/sbin/winbindd -B
RETVAL3=$?
echo
[ $RETVAL -eq 0 -a $RETVAL2 -eq 0 -a $RETVAL3 -eq 0 ] && touch /var/lock/subsys/smb || \
RETVAL=1
return $RETVAL
}

Can't see why it will not execute as a service. Has anyone come across something like this who's able to tell me something that I have done wrong.

Thanks

CS
 
Old 09-01-2006, 05:45 PM   #2
dvishloff
Member
 
Registered: Jun 2003
Location: Saskatchewan
Distribution: Gentoo, Smoothwall, CentOS, FreeBSD
Posts: 35

Rep: Reputation: 15
If you have CentOS installed you don't need to start it from the smb script. Depending on the version of CentOS (4.x has it for sure) you can click on Main Menu -> system settings -> server settings -> services then scroll down to winbind, click the check box, then save your changes. Winbind should start automatically now. Also, you would have to remove all the changes you made to /etc/init.d/smb.
 
Old 09-03-2006, 04:40 PM   #3
chuckiecs
LQ Newbie
 
Registered: Aug 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for the info dvlshlof. Unfortunately I can't do that as I don't seem to find it in the service configuration. I haev tried adding it as a service but get error as "No such file or directory". I still can launch winbindd ferom command prompt.
Cheers
CS
 
Old 09-03-2006, 04:52 PM   #4
chuckiecs
LQ Newbie
 
Registered: Aug 2006
Posts: 5

Original Poster
Rep: Reputation: 0
ok. I have added the winbind service in the init.d and starting it still does not start winbindd. It says the service has started but I can't see the process when I do a "pgrep winbindd"

CS
 
Old 09-05-2006, 12:00 AM   #5
dvishloff
Member
 
Registered: Jun 2003
Location: Saskatchewan
Distribution: Gentoo, Smoothwall, CentOS, FreeBSD
Posts: 35

Rep: Reputation: 15
try doing a pgrep winbind don't include the second d. Also, if it is running you should be able to do a
wbinfo -u or wbinfo -g. Also, wbinfo --get-domain-info=YOURDOMAIN should also work, if you have joined the computer to the domain with net rpc join -S DOMAINCONTROLLER -U userauthorizedtojoincomputerstodomain
 
Old 09-07-2006, 03:57 PM   #6
chuckiecs
LQ Newbie
 
Registered: Aug 2006
Posts: 5

Original Poster
Rep: Reputation: 0
hi dvishloff
I can only do those commands once I have executed "winbindd" from command line. Executing as a service does not seem to work and also the service doesn't start even after joining the server to the domain.
Thanks
CS
 
Old 09-11-2006, 11:03 AM   #7
dvishloff
Member
 
Registered: Jun 2003
Location: Saskatchewan
Distribution: Gentoo, Smoothwall, CentOS, FreeBSD
Posts: 35

Rep: Reputation: 15
What version of CentOS are you using?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba winbindd problem dman65 Linux - Software 1 05-05-2005 01:09 PM
Winbindd on Slack 9.1 and samba 3 slackindaback Linux - Software 0 12-30-2003 12:24 PM
Winbindd: rescan_trusted_domains: Can't find phil1076 Linux - General 0 12-16-2003 03:03 PM
Samba and winbindd Joshsawyer77 Linux - Networking 3 12-30-2002 06:38 PM
SunOS 5.8, Samba 2.2.4 and winbindd?? BrianBr General 1 07-19-2002 06:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration