username mapping

Ralf Waldhofer rwald at
Thu Sep 16 11:31:15 GMT 1999


i have a NT-server as PDC (i am using Samba 2.0.5a) and want to map
all users in the NT-Domain to one specified unix-user. i have created a
file which contains "www=*" (the user www is also in the passwd

my smb.conf file:
        workgroup = MYWORKGROUP
        security = SERVER
        encrypt passwords = Yes
        password server =
        username map = /usr/samba/lib/
        load printers = No

        path = /home/gera
        valid users = webmaster

if i want to mount the share gera it seems that samba replaces the
username webmaster with the user www & passes it then with the password
to the PDC.

in the logfile:
  Mapped user webmaster to www
  Clearing default real name
  Invalid username/password for gera
  error packet at line 163 cmd=117 (SMBtconX) eclass=2 ecode=2
  error string = No such file or directory

if i add the user webmaster in the passwd-file with no passwd, everything
goes ok.

any help is apriciated.

thanks in advance,

R. Waldhofer

More information about the samba-ntdom mailing list