https://bugzilla.novell.com/show_bug.cgi?id=476990
Summary: Domain users home is allways in uppercase Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Samba AssignedTo: samba-maintainers@SuSE.de ReportedBy: Joachim.Reichelt@helmholtz-hzi.de QAContact: samba-maintainers@SuSE.de Found By: ---
User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.9.1b3pre) Gecko/20090216 Shiretoko/3.1b3pre
All former samba servers in ADS mode used for user jo in ADS domain ads ads\jo as login now I have ADS\JO and as this was /is the LINUX user jo, the home is not found any longer. I only can translate JO -> jo by a small script mapuser.sh
#!/bin/bash
# IMPORTANT: Do not use /bin/sh - its 'echo' will interpret backslash # escapes, and it cannot be used for this script. Bash's echo with '-E' # or GNU's /bin/echo, also with -E, will work.
# Uncomment this line for debugging. #logger $0 received $@ echo $0 received "$@" >> /tmp/`basename $0`
if [ "x$1" != "x" ]; then # The goal is to remove domain identifiers and leave only the username. # Examples: # # jswink => jswink # UCMERCED\jswink => jswink # UCMERCED\jswink@ucmerced.edu => jswink (Note: Macintosh sends this) # jswink@ucmerced.edu => jswink USERNAME=`/bin/echo -E $1 | sed -e 's/^.*+//' | sed -e 's/@.*$//'| tr '[A-Z]' '[a-z]'` case ${USERNAME} in administrator) echo root ;; *) echo ${USERNAME}
esac fi
But that does not affect the dir
Reproducible: Always
Steps to Reproduce: see datails Actual Results:
'/nero/JO' does not exist or permission denied when connecting to [JO] Error was Datei oder Verzeichnis nicht gefunden
https://bugzilla.novell.com/show_bug.cgi?id=476990
User jmcdonough@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=476990#c1
James McDonough jmcdonough@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |Joachim.Reichelt@helmholtz- | |hzi.de
--- Comment #1 from James McDonough jmcdonough@novell.com 2009-02-19 07:48:40 MST --- Please attach smb.conf. If you have both before and after versions, that would be helpful.
https://bugzilla.novell.com/show_bug.cgi?id=476990
User Joachim.Reichelt@helmholtz-hzi.de added comment https://bugzilla.novell.com/show_bug.cgi?id=476990#c2
--- Comment #2 from Joachim Reichelt Joachim.Reichelt@helmholtz-hzi.de 2009-02-19 07:57:31 MST --- Created an attachment (id=273957) --> (https://bugzilla.novell.com/attachment.cgi?id=273957) smb.conf as it is now
https://bugzilla.novell.com/show_bug.cgi?id=476990
User Joachim.Reichelt@helmholtz-hzi.de added comment https://bugzilla.novell.com/show_bug.cgi?id=476990#c3
--- Comment #3 from Joachim Reichelt Joachim.Reichelt@helmholtz-hzi.de 2009-02-19 07:58:30 MST --- Created an attachment (id=273959) --> (https://bugzilla.novell.com/attachment.cgi?id=273959) smb.conf as it was on 10.3
I tried to clean up the file
https://bugzilla.novell.com/show_bug.cgi?id=476990
User Joachim.Reichelt@helmholtz-hzi.de added comment https://bugzilla.novell.com/show_bug.cgi?id=476990#c4
Joachim Reichelt Joachim.Reichelt@helmholtz-hzi.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|Joachim.Reichelt@helmholtz- | |hzi.de |
--- Comment #4 from Joachim Reichelt Joachim.Reichelt@helmholtz-hzi.de 2009-02-19 07:59:45 MST --- I started over setting up samba from scratch and filled in form smb.con.old as much as needed. At least I think so.
https://bugzilla.novell.com/show_bug.cgi?id=476990
James McDonough jmcdonough@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium CC| |jmcdonough@novell.com
https://bugzilla.novell.com/show_bug.cgi?id=476990
User jmcdonough@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=476990#c5
James McDonough jmcdonough@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|samba-maintainers@SuSE.de |lmuelle@novell.com
--- Comment #5 from James McDonough jmcdonough@novell.com 2009-02-20 14:26:06 MST --- Lars, please take a look. The old one is not from opensuse, but from a debian system. However, the real issue is with the uppercase usernames.
https://bugzilla.novell.com/show_bug.cgi?id=476990
User Joachim.Reichelt@helmholtz-hzi.de added comment https://bugzilla.novell.com/show_bug.cgi?id=476990#c6
--- Comment #6 from Joachim Reichelt Joachim.Reichelt@helmholtz-hzi.de 2009-03-02 01:01:44 MST --- I checked what our computer center did in the active directory: Sometimes they use lower case names, somtimes upper case names. So samba is getting, what the server is sending. But MS-Win ignore case so: abc01 ABC01 both are the same user for MS-Win, but not for Linux or Unix.