[Bug 515991] New: add_machine.ycp script fails (samba, ldap, yast)
http://bugzilla.novell.com/show_bug.cgi?id=515991 Summary: add_machine.ycp script fails (samba, ldap, yast) Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: P.rehme@physik.uni-stuttgart.de QAContact: jsrain@novell.com Found By: Community User Scenario: samba configured as PDC, ldap backend, add_machine.ycp %m$ used as add machine script. Behaviour: Joining the domain fails (Linux(same machine) and Windows XP). It fails to create the machine account on the fly in ldap. The reason seams to be the lower case letters of the attributes "loginShell", "userPassword" and "homeDirectory" passed via the data_map structure to the YaPI::USERS:UserAdd fuction. Further on, by using upper case letters, the machine account is created, but the samba information (especially the SID) is missing. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=515991 Paul Rehme
http://bugzilla.novell.com/show_bug.cgi?id=515991
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=515991
User locilka@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=515991#c1
Lukas Ocilka
http://bugzilla.novell.com/show_bug.cgi?id=515991
User jsuchome@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=515991#c2
--- Comment #2 from Jiří Suchomel
The reason seams to be the lower case letters of the attributes "loginShell", "userPassword" and "homeDirectory" passed via the data_map structure to the YaPI::USERS:UserAdd fuction.
Oops, that's true.
Further on, by using upper case letters, the machine account is created, but the samba information (especially the SID) is missing.
Looking into add_machine.ycp, I can see that the Samba plugin is not used while creating new user, and this plugin should care of samba info. I'll attach a patch tat you can test. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=515991
User jsuchome@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=515991#c3
--- Comment #3 from Jiří Suchomel
http://bugzilla.novell.com/show_bug.cgi?id=515991
User jsuchome@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=515991#c4
Jiří Suchomel
http://bugzilla.novell.com/show_bug.cgi?id=515991 User P.rehme@physik.uni-stuttgart.de added comment http://bugzilla.novell.com/show_bug.cgi?id=515991#c5 Paul Rehme
http://bugzilla.novell.com/show_bug.cgi?id=515991
User jsuchome@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=515991#c6
Jiří Suchomel
http://bugzilla.novell.com/show_bug.cgi?id=515991
User jsuchome@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=515991#c7
--- Comment #7 from Jiří Suchomel
http://bugzilla.novell.com/show_bug.cgi?id=515991
User jsuchome@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=515991#c8
--- Comment #8 from Jiří Suchomel
http://bugzilla.novell.com/show_bug.cgi?id=515991 User P.rehme@physik.uni-stuttgart.de added comment http://bugzilla.novell.com/show_bug.cgi?id=515991#c9 --- Comment #9 from Paul Rehme
http://bugzilla.novell.com/show_bug.cgi?id=515991
User jsuchome@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=515991#c10
--- Comment #10 from Jiří Suchomel
http://bugzilla.novell.com/show_bug.cgi?id=515991 User P.rehme@physik.uni-stuttgart.de added comment http://bugzilla.novell.com/show_bug.cgi?id=515991#c11 --- Comment #11 from Paul Rehme
http://bugzilla.novell.com/show_bug.cgi?id=515991
User boyang@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=515991#c13
--- Comment #13 from Yang Bo
http://bugzilla.novell.com/show_bug.cgi?id=515991
User boyang@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=515991#c14
Yang Bo
http://bugzilla.novell.com/show_bug.cgi?id=515991
User jsuchome@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=515991#c15
Jiří Suchomel
http://bugzilla.novell.com/show_bug.cgi?id=515991
User danielstefanmader@web.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=515991#c16
--- Comment #16 from Daniel Mader
http://bugzilla.novell.com/show_bug.cgi?id=515991
User danielstefanmader@web.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=515991#c17
--- Comment #17 from Daniel Mader
http://bugzilla.novell.com/show_bug.cgi?id=515991
User danielstefanmader@web.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=515991#c18
--- Comment #18 from Daniel Mader
http://bugzilla.novell.com/show_bug.cgi?id=515991
Daniel Mader
http://bugzilla.novell.com/show_bug.cgi?id=515991
User jmcdonough@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=515991#c20
James McDonough
http://bugzilla.novell.com/show_bug.cgi?id=515991
James McDonough
http://bugzilla.novell.com/show_bug.cgi?id=515991
User danielstefanmader@web.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=515991#c21
Daniel Mader
https://bugzilla.novell.com/show_bug.cgi?id=515991
https://bugzilla.novell.com/show_bug.cgi?id=515991#c22
Michael Ellis
Created an attachment (id=300063) --> (http://bugzilla.novell.com/attachment.cgi?id=300063) [details] patch for add_machine.ycp
Thank you so much. I have just updated my Suse Linux Enterprise Server x86_64 from version 10 SP3 to version 11 SP1. The add_machine script had the wrong case and was missing the samba plugin as indicated in your patch. I applied the changes and it fixed my problem. Again, thank you. Note that before the patch, the add_machine script fails silently. It did not create the LDAP entry at all. btw, for amateurs like myself, is there any chance you could provide the patch command. I made the changes manually this time. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=515991
https://bugzilla.novell.com/show_bug.cgi?id=515991#c23
Joschi Brauchle
https://bugzilla.novell.com/show_bug.cgi?id=515991
https://bugzilla.novell.com/show_bug.cgi?id=515991#c24
Joschi Brauchle
participants (1)
-
bugzilla_noreply@novell.com