samba: %u in smb.conf not case preserving
Hans Dampf
dub at lazy.shacknet.nu
Tue Mar 18 22:11:35 UTC 2008
Package: samba
Version: 3.0.26a-1ubuntu2.3
Severity: normal
I configured the samba server as a PDC. Both user and machine accounts
created from the workstations always will be all lowser case; the
corresponding scripts using the '%u' substitution. This is not a problem
with humans here, for they all have all lower case login names. But
machines always are all upper case. Of course they do not really login,
but the server complains in its logs nevertheless, eg:
[2008/03/18 17:09:05, 1] auth/auth_util.c:make_server_info_sam(566)
User BUFFALO$ in passdb, but getpwnam() fails!
[2008/03/18 17:09:05, 0] auth/auth_sam.c:check_sam_security(352)
check_sam_security: make_server_info_sam() failed with 'NT_STATUS_NO_SUCH_USER'
pdbedit -L shows the name in upper case letters. Editing /etc/passwd
manually to swap case for the offending accounts fixes the annoying log
entries. Should '%u' in smb.conf preserve case?
Thank you!
Peter
-- System Information:
Debian Release: lenny/sid
APT prefers gutsy-updates
APT policy: (500, 'gutsy-updates'), (500, 'gutsy-security'), (500, 'gutsy')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.22-14-server (SMP w/2 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages samba depends on:
ii debconf [debconf 1.5.14ubuntu1 Debian configuration management sy
ii libacl1 2.2.42-1ubuntu1 Access control list shared library
ii libattr1 1:2.4.32-1.1ubuntu1 Extended attribute shared library
ii libc6 2.6.1-1ubuntu10 GNU C Library: Shared libraries
ii libcomerr2 1.40.2-1ubuntu1.1 common error description library
ii libcupsys2 1.3.2-1ubuntu7.5 Common UNIX Printing System(tm) -
ii libgnutls13 1.6.3-1build1 the GNU TLS library - runtime libr
ii libkrb53 1.6.dfsg.1-7build1 MIT Kerberos runtime libraries
ii libldap2 2.1.30-13.4 OpenLDAP libraries
ii libpam-modules 0.99.7.1-5ubuntu1 Pluggable Authentication Modules f
ii libpam-runtime 0.99.7.1-5ubuntu1 Runtime support for the PAM librar
ii libpam0g 0.99.7.1-5ubuntu1 Pluggable Authentication Modules l
ii libpopt0 1.10-3build1 lib for parsing cmdline parameters
ii logrotate 3.7.1-3 Log rotation utility
ii lsb-base 3.1-23.1ubuntu3 Linux Standard Base 3.1 init scrip
ii procps 1:3.2.7-3ubuntu5 /proc file system utilities
ii samba-common 3.0.26a-1ubuntu2.3 Samba common files used by both th
ii update-inetd 4.27-0.5 inetd.conf updater
ii zlib1g 1:1.2.3.3.dfsg-5ubuntu2 compression library - runtime
Versions of packages samba recommends:
pn smbldap-tools <none> (no description available)
-- debconf information:
samba/run_mode: daemons
samba/generate_smbpasswd: true
More information about the ubuntu-users
mailing list