username mapping

Ralf Waldhofer rwald at wst.edvz.sbg.ac.at
Thu Sep 16 11:31:15 GMT 1999


Hi,

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 user.map which contains "www=*" (the user www is also in the passwd
file).

my smb.conf file:
[global]
        workgroup = MYWORKGROUP
        security = SERVER
        encrypt passwords = Yes
        password server = some.server.in.my.domain
        username map = /usr/samba/lib/users.map
        load printers = No

[gera]
        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