samedit not creating valid smbpasswd entry (2.5.3 TNG)

Matt Ross m.g.ross at herts.ac.uk
Thu May 4 11:43:50 GMT 2000


After starting all the daemons (debug level = 3), I run:

# samedit -S . -U root%
pm_process() returned Yes
added interface ip=147.xxx.xxx.xxx bcast=147.xxx.xxx.xxx
nmask=255.xxx.xxx.xxx
2000/05/04 12:22:53 client started (version TNG-alpha)
[root at .]$ createuser root
createuser root

root is in 11 groups: 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 12
uid 0 registered to name root
Clearing default real name
uid 0 vuid 100 registered to unix name root
policy(pnum=1 ): Setting policy state
setting policy con
policy(pnum=1 SAM_CONNECT): Getting policy state
Getting policy con state
policy(pnum=1 SAM_CONNECT): Getting policy state
Getting policy con state
policy(pnum=1 SAM_CONNECT): Getting policy state
Getting policy con state
policy(pnum=1 SAM_CONNECT): Closing
SAM Create Domain User
Domain: FEISPCLABS Name: root ACB: [U          ]
root is in 11 groups: 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 12
uid 0 registered to name root
Clearing default real name
uid 0 vuid 101 registered to unix name root
policy(pnum=2 ): Setting policy state
setting policy con
policy(pnum=2 SAM_CONNECT): Getting policy state
Getting policy con state
policy(pnum=2 SAM_CONNECT): Getting policy state
Getting policy con state
Duplicating policy state pnum=2
policy(pnum=3 ): Setting policy state
setting policy con
policy(pnum=3 SAM_DOMAIN): Getting policy state
Getting policy con state
policy(pnum=3 SAM_DOMAIN): Getting policy state
Getting policy con state
Duplicating policy state pnum=3
policy(pnum=4 ): Setting policy state
setting policy con
policy(pnum=4 ): Getting policy state
Getting policy con state
policy(pnum=4 ): Closing
policy(pnum=3 SAM_DOMAIN): Getting policy state
Getting policy con state
policy(pnum=3 SAM_DOMAIN): Closing
policy(pnum=2 SAM_CONNECT): Getting policy state
Getting policy con state
policy(pnum=2 SAM_CONNECT): Closing
Create Domain User: OK
[root at .]$q

free_connections: closing all MSRPC connections
# more /usr/local/samba/private/smbpasswd
root:0:NO PASSWORDXXXXXXXXXXXXXXXXXXXXX:NO
PASSWORDXXXXXXXXXXXXXXXXXXXXX:[NDU
     ]:LCT-FFFFFFFF:
#

This is an invalid entry, right? My [globals] section is:
[global]
        workgroup = FEISPCLABS
        netbios name = LAWN
        server string = FEIS Samba Server
        encrypt passwords = Yes
        null passwords = Yes
        smb passwd file = /usr/local/samba/private/smbpasswd
        passwd program = /usr/bin/yppasswd
        log file = /usr/local/samba/var/_%m.log
        max log size = 200
        name resolve order = host wins bcast
        time server = Yes
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        local group map = /usr/local/samba/lib/localgroups.map
        domain group map = /usr/local/samba/lib/domaingroups.map
        domain user map = /usr/local/samba/lib/usermap.map
        logon path = \\bantam\user1\profiles\admin
        logon drive = q:
        logon home = e:\auser
        domain logons = Yes
        lm announce = False
        preferred master = Yes
        domain master = Yes
        dns proxy = No
        wins server = 147.xxx.xxx.xxx
        admin users = comtmgr comtpm
        hosts allow = 147.xxx. 127.
        client code page = 850
        debug level = 3

My OS is:
SunOS lawn 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-250

If I try and do:
# smbpasswd
pm_process() returned Yes
added interface ip=147.197.206.144 bcast=147.197.207.255 nmask=255.255.248.0
New SMB password:
Retype new SMB password:
Segmentation Fault (core dumped)

The same thing has happened the last few times I have tried this (each day
using CVS in the morning to update, except for this time when I downloaded
http://ie.samba.org/samba/ftp/alpha/samba-tng-alpha.2.5.3.tar.gz).

Matt Ross

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                              Principal Technical Officer
          Faculty of Engineering and Information Sciences
                              University of Hertfordshire
  Phone:  +44 (0)1707 286297 (3297 Internal)
  E-Mail: m.g.ross at herts.ac.uk
  WWW:    http://fly.to/mgr
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



More information about the samba-ntdom mailing list