Ok now I have installed and configured samba and ldap, all works without any problems.
OK now to another thing; I have installed smbldap-tools from idelax and it all works ok but one thing troubles me; how to and winXP to this samba PDC domain. I have smb.conf ready to add machines to the ldap directory:
add user script = /usr/local/sbin/smbldap-useradd.pl -w %u
and when i check ldap i get an entry with a $ at the end of the pc name.
OK i created root account (to add machines to smbpdc).
I have also done all in Winxp (WinXP_SignOrSeal.reg and local security policy).
So now i try to add pc to smbpdc and i get and error, so i go and check my samba log file and there is an entry:
ldap_connect_system: succesful connection to the LDAP server
[2003/02/18 18:46:56, 2] passdb/pdb_ldap.c:ldap_search_one_user(262)
ldap_search_one_user: searching for:[(&(uid=zupancic$)(objectclass=sambaAccount))]
[2003/02/18 18:46:56, 0] passdb/pdb_ldap.c
db_getsampwnam(858)
LDAP search "(&(uid=zupancic_)(objectclass=sambaAccount))" returned 0 entries.
[2003/02/18 18:46:56, 0] rpc_server/srv_netlog_nt.c:get_md4pw(176)
get_md4pw: Workstation zupancic$: no account in domain
[2003/02/18 18:46:56, 2] smbd/server.c:exit_server(461)
Closing connections
If anyone has any ideas about this pls help.
regards, PcHammer