Should samba-tng work?

Lars Kneschke lk at netuse.de
Tue Jan 4 15:47:09 GMT 2000


Hello!

Today(04.01.2000) morning i compiled samba-tng. I started all daemons
from the bin directory. 
This is my smb.conf:

[global] 
#debug level=10 
domain group map = /opt/samba-tng/lib/domaingroup.map 
domain user map = /opt/samba-tng/lib/domainuser.map 
security = user 
workgroup=lars 
encrypt passwords = yes 
logon script = login.bat 
logon drive = u: 
domain logons = yes 
os level = 33 
preferred master = yes 
domain master = yes 
wins support = yes 
socket options = TPC_NODELAY 
[test] 
path = /opt/samba-tng 
browseable=yes 
[homes] 
browseable=no    

I created a root account with "smbpasswd -a root.". 
After that i want to create the workstation trust account. 

./rpcclient -S knecke -Uroot%<pw from smbpasswd> -l log
lsaquery
 
LSA Query Info Policy
Domain Member     - Domain: LARS SID:
S-1-5-21-1128320178-1863805954-1881749347
Domain Controller - Domain: LARS SID:
S-1-5-21-1128320178-1863805954-1881749347
[root at KNECKE]$ createuser knecke$ -j
createuser knecke$ -j
 
SAM Create Domain User
Domain: LARS Name: knecke$ ACB: [W          ]
Create Domain User: FAILED

In the smbpasswd there after is a "knecke$"-entry.

I the logfile log.smb file i found following errormessage:
After "lsaquery"

[2000/01/04 16:45:16, 0] lib/util_sock.c:set_socket_options(133)
  Unknown socket option TPC_NODELAY
[2000/01/04 16:45:16, 1] smbd/reply.c:map_nt_and_unix_username(97)
  map_nt_and_unix_username: NT->Unix map DISABLED
[2000/01/04 16:45:16, 0] passdb/smbpassfile.c:trust_password_lock(78)
  trust_password_lock: cannot open file
/opt/samba-tng/private/LARS.KNECKE.mac - Error was Datei oder
Verzeichnis nicht gefunden.
[2000/01/04 16:45:16, 0] passdb/smbpassfile.c:trust_get_passwd(239)
  trust_get_passwd: unable to open the trust account password file for
trust KNECKE in domain LARS.
[2000/01/04 16:45:16, 1] smbd/reply.c:map_nt_and_unix_username(97)
  map_nt_and_unix_username: NT->Unix map DISABLED      

How can i create /opt/samba-tng/private/LARS.KNECKE.mac?

-- 
Lars Kneschke
NetUSE Kommunikationstechnologie GmbH
Siemenswall, D-24107 Kiel, Germany
Fon: +49 431 386435 00   --   Fax: +49 431 386435 99


More information about the samba-ntdom mailing list