[Samba] winbind from samba 2.2.5, solaris 8

Thomas Hänig haenig at cosifan.de
Thu Jul 25 06:29:02 GMT 2002


Hi,
today I have experienced some odd behavior of samba 2.2.5 on Solaris 8, SPARC.
the machine is an FSC Primepower 400, running solaris 8 with system locale to 
english (us)

1.
My first problem is with german special charachters within nt user names
Let's assume I have an account named 'hänig' (haenig)

 # wbinfo -u
shows domain and account names of all configured domain users (inc. mine).

 # getent passwd 
looks good to:

...
COSIFAN+Hänig:x:10007:10000:Thomas Hänig:/nt_ressourcen/users/hänig:/bin/bash
...

I was able to create a (home) directoy with this name.
But if I tried to modify the directories owner ('chown') it does not work.
(the current locale settings are all for German).

excerpt from /usr/local/samba/var/log.winbindd:
[2002/07/25 12:54:51, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(104)
  [  557]: getpwnam COSIFAN+Hänig/
[2002/07/25 12:55:01, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(120)
  user 'COSIFAN+Hänig' does not exist

If logged on to a nt machine I am unable to mount my homedir:

log.nmbd:
[2002/07/25 13:10:58, 3] 
nmbd/nmbd_incomingrequests.c:process_name_registration_request(237)

  process_name_registration_request: Name registration for name H™NIG<03> IP 
194.173.236.63 on subnet 194.173.236.33

whereas I see a weird character between 'H' and 'NIG' instead of my (the 
german) special character for 'ae'

log.winbindd
[2002/07/25 13:11:52, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(104)
  [  557]: getpwnam COSIFAN+h
[2002/07/25 13:11:52, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(120)
  user 'h' does not exist
[2002/07/25 13:11:52, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(104)
  [  557]: getpwnam h
[2002/07/25 13:11:52, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(104)
  [  557]: getpwnam H

... inclusive the character everything is cut off from my name, so it won't 
work.

excerpt from smb.conf:
...
template homedir = /nt_ressourcen/users/%U

[homes]
   comment = Heimatverzeichnis
   path=/nt_ressourcen/users/%U
...

2.
the second one has directly to do with 'winbind'
if I add winbind to the passwd entry in nsswitch.conf, I am no longer able to 
modify a local users password via 'passwd'.

I haven't touched PAM (need only NT-shares).

bash-2.03# passwd thomas 
Supported configurations for passwd management are as follows:
    passwd: files
    passwd: files ldap
    passwd: files nis
    passwd: files nisplus
    passwd: compat
    passwd: compat AND
    passwd_compat: ldap OR
    passwd_compat: nisplus
Please check your /etc/nsswitch.conf file
Permission denied

Is there any idea (besides 'files [!NOTFOUND=return] winbind'), 

Thanks a lot
Thomas




More information about the samba mailing list