Add Comment

You are not currently logged in. If you do not have a user account then please consider creating one and logging in before you post your comment. This will allow you to track replies to your comment, and take part in the site much more freely.

To add your comment, fill in all the boxes below and then preview it to make sure you're happy with the way that it looks.

This is the comment you were replying to, attached to the article Question: Winbind on samba PDC?:


Re: Question: Winbind on samba PDC?
Posted by Anonymous (81.44.xx.xx) on Tue 21 Feb 2006 at 12:51
It is correct. It almost works for me...

You must also have a look at PAM configuration.

But, I think that your real problem is that your winbind/samba database has become corrupt. To rebuild it:

1) Stop the daemons
/etc/init.d/winbind stop
/etc/init.d/samba stop
2) Backup the samba databases
mkdir -p /var/lib/samba/backup
mv /var/lib/samba/* /var/lib/samba/backup
3) Join the machine to active directory again (if you use "net join ads" make sure samba is properly configured and you have obtained a valid Kerberos ticket with kinit)

> kinit Administrator@YOURDOMAIN.COM
> net ads join YOURDOMAIN.COM -UAdministrator%'YourPassword'

4) Restart samba and windbind
/etc/init.d/samba start
/etc/init.d/winbind start

5) Set winbind authentication:

wbinfo --set-auth-user=Administrator%'YourPassword'

6) Test it

wbinfo -g
wbinfo -u

Repeat this steps until you get it working, and read the Samba Official Book for troubleshooting.



Username:Anonymous
Title:
Your Comment:

Posting Format:

 

Inappropriate comments will be removed.

Some help on entry formatting is available

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search