[Samba] smbldap-tools unresovled problem.

ryan ryan.braun at ec.gc.ca
Fri Aug 12 16:16:31 GMT 2005


On August 11, 2005 10:21 am, Chris Ong wrote:

Sounds like the same issue I was having before.  I posted to the list with my 
solution.  But here is the link to marc

http://marc.theaimsgroup.com/?l=samba&m=111886542309160&w=2

hope that helps!

Ryan

> Hi All,
>
> 	I am current working on Samba + LDAP PDC in RHEL-4.
>
> 	I some problem when doing the smbldap-useradd -w command.
>
> 	When I have a WinXP box try to join the PDC,
>
> 	smbldap-useradd -w "%u" will add a workstation account to the LDAP tree
> with all POSIX attribute but without all the SambaSAMAccount attribute.
> So, the WinXP box can find it's workstation account and wouldn't join
> the account.
>
> 	After searcing the Samba archive I found a patch that added an extra
> if (defined($Options{'w'})) section and will force to add an workstation
> account with all SambaSAMAccount attribute.
>
> 	But, magic happend here. When the first time a machine joining the PDC,
> it will eventually failed as the machine still not be able to find it's
> workstation account. But immidiately at the second time, it works. And
> it has been proven that it behave this way after joing 7 workstation to
> the PDC.
>
> 	Attached files is the patch file. Please advise.
>
> 	Thaks for all the good comment and help.


More information about the samba mailing list