[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: samba + openldap ->connexion to PDC impossible !



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Buchan Milne wrote:
> On Wednesday 12 March 2008 17:31:45 franck dufau wrote:
>> Hye Gurus !
>>
>> i'am newbie on this maillist - and my english is not very good -> sorry!
>>
>> i'am verry interrested in samba using ldap authentifiaction
>> i have see many howto on internet about this subject.
>>
>> However my win XP sp2 do not want connect to my Samba pdc server
>> perhaps something wrong...
>>
>> OS debian etch
>>
>> i add user like this :
>>
>> # smbldap-useradd -a -P -c "toto DUPONT" toto
>> # smbldap-useradd -a -P toto
>>
> 
> This user did not appear in your ldif. Does 'smbldap-usershow toto'  show the 
> user?
> 
> Regards,
> Buchan
> 
> 

Yes no problem for the creation of user ! toto was an example !
but i create it now.

this user work fine for authentification !

but XP machine (name-> serve) can not join the domaine ! :(

how add my XP computer to join the domaine ?

i add an entry like this in ldap server, but it seems not working.

thanks for help.

dn: uid=serve$,ou=Machines,dc=mondomaine,dc=net
uid: serve$
sambaSID: S-1-5-21-1244034782-2093432471-748532972-3010
sambaPwdCanChange: 1205279569
sambaPwdMustChange: 2147483647
sambaLMPassword: 587574A5B695D85AAAD3B435B51404EE
sambaNTPassword: 072321F3EEF2DDA2DB88A5C7BB3628FD
sambaPwdLastSet: 1205279569
sambaAcctFlags: [W          ]
objectClass: sambaSamAccount
objectClass: account

best regard

Franck Dufau

debian:/home/franck# smbldap-useradd -a -P -c "toto DUPONT" toto
Changing UNIX and samba passwords for toto
New password:
Retype new password:
debian:/home/franck# smbldap-usershow toto
dn: uid=toto,ou=People,dc=mondomaine,dc=net
objectClass:
top,person,organizationalPerson,inetOrgPerson,posixAccount,shadowAccount,sambaSamAccount
cn: toto
sn: toto
givenName: toto
uid: toto
uidNumber: 1007
gidNumber: 513
homeDirectory: /home/toto
loginShell: /bin/bash
gecos: toto DUPONT
sambaLogonTime: 0
sambaLogoffTime: 2147483647
sambaKickoffTime: 2147483647
sambaPwdCanChange: 0
displayName: toto DUPONT
sambaSID: S-1-5-21-862544283-2880828001-3584954034-3014
sambaPrimaryGroupSID: S-1-5-21-862544283-2880828001-3584954034-513
sambaLogonScript: logon.bat
sambaProfilePath: \\debian\profiles\toto
sambaHomePath: \\debian\homes\toto
sambaHomeDrive: U:
sambaLMPassword: 5ABB8B7D728DAD9FAAD3B435B51404EE
sambaAcctFlags: [U]
sambaNTPassword: 30FE997E5B1952EADD217C9F8D01375F
sambaPwdLastSet: 1205339285
sambaPwdMustChange: 1213115285
userPassword: {SSHA}qv00eV2Kf6cyjwRPsD8p53ITFI1nZ0d4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIVAwUBR9gGWhrEXSEgvy0YAQK9LxAAkueNs0OX1jy8sJNGsNphumww2+qIq8ZQ
BA4lrAvF20VHvfGTZkpKSN4oLxhmGN/irApPRKgTdKVwmpGpdDUo5Kh8Lv+vcV6y
3cOx6DQNkD72ThQtqKdLT3/6KVV+pcjLr3VdqsBJcJUe/6LBWeG55FS6p9Qru2Rj
nc9f+tfLR0qLV3Rzf0SBWaT8OYrqHl761STqrQKb9/UkTCyJkFNL+xp8kV/LvrAc
IWHB3jgc3sPwmN8NTg4/8iCYlKXJlw6Ump8rTF7LoMN8R1zFvz7yLlM9PObMPMjm
Yk5tWHzfaG9epYXpMikIANBTcfZkZP14f+xic5i1G8K2oB9hUef8gIOKLILqAL8q
DX8ifVcvV9RxuJqXbhwXszf96mPdeOrZA7TGWXEcUaYzE52PZ+lgcB2/FDL0boRO
V/4t7t30S0hlGmDcH51mbLzk6ivODGwCn4zrEB8Y6pcp9zkUFSPMYWobgP21cS8b
yLTOQpgcVWSDZghUCKrkVgBKw9cx3I8yPuM8EBabBeSe2u3T3Nl73DftQX6j3itC
qu9wdG2oyMykpug/4DZSeeORo8uxdmm/E520uGieAiCDJp9B6HSXC2jCFbMiYp8H
ATbqISFKTuChBZ9tsNNbeW8Mme3Ohga3RjuVz5b8Bp+twh8Swyj3+TnR2In9YAwA
0gKUFXCMKT0=
=Svbc
-----END PGP SIGNATURE-----