Greetings ... Just got bitten in the ass by not been able to join the domain with 2.2.7a Correct me if I am wrong, Jerry did give me a quick explaination. It has to do with usernames and what allowable characters in it for security. Now, I need to fix this, does anybody have a patch/fix or tell me where to look in the source to try and fix this. Thanks. Mailed Lee
Just got bitten in the ass by not been able to join the domain with 2.2.7a Correct me if I am wrong, Jerry did give me a quick explaination. It has to do with usernames and what allowable characters in it for security. Now, I need to fix this, does anybody have a patch/fix or tell me where to look in the source to try and fix this. Finally was able to find the freaking message ... but I think that this might be something else ... Message from Jerry ... >>(&(uid=machine_)(objectclass=sambaAccount)) >> >>where it should have been like this: >>(&(uid=machine$)(objectclass=sambaAccount)) > > > This is the alpha_strcpy() stuff again trying to remove "unsafe" shell > characters. If I understand what you where saying is, this is to do with shell? ... But the query here is not shell based. I also tested today with the stuff in LDAP already ... and still seemed to running into problems ( kick oneself for not recording all the stuff I tried, which I will try in my LAB again ) I have diff the samba-2.2.6 to samba-2.2.7a source to try and see what has changed, but I was not able to find anything ... ( the reason I used 2.2.6, is because Buchan Milne "bgmilne@cae.co.za" said that this worked in that version ) Also, I have seen a few days old messages, which also seem to be discussing this problem ... but I was not able to follow that to and good end ... I really need domain joining, or at least a work around for it ... Please help me!!! Thanks Mailed Lee
> Message: 9 > Date: Tue, 21 Jan 2003 18:07:03 +0200 > From: "C.Lee Taylor" <leet@leenx.co.za> > Organization: LeeNX > To: samba@lists.samba.org > Subject: [Samba] Can't add Machine account ( LDAP ) ... > > Greetings ... > > Just got bitten in the ass by not been able to join the domain with 2.2.7a > > Correct me if I am wrong, Jerry did give me a quick explaination. It > has to do with usernames and what allowable characters in it for security.I think Jerry was meaning it's only the log message that get's mangled by a secure variant of printf that prevents shell variable getting into the wrong places, and this variant is used by the DEBUG macro.> > Now, I need to fix this, does anybody have a patch/fix or tell me where > to look in the source to try and fix this.Since our domain is stable again after migration, I will see if I can take a quick look at it now ... Buchan -- |--------------Another happy Mandrake Club member--------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7