TNG: Another problem with smbpasswd
Ian Jamison
IJamison at iss-dsp.com
Fri Mar 17 15:38:59 GMT 2000
Hi again,
smbpasswd is bombing out with a segfault in map_domain_name_to_sid. It
seems that my simple "root=Administrator" domain user map doesn't
include a specifically named domain. Map domain name attempts to
override this blank name with global_sam_name. This is unitialised. I
don't see any of the debug messages for get_sam_domain_name in the
output of smbpasswd at high debug level. I guess pwdb_initialise isn't
called for smbpasswd.
I can't get past the first command in Lars' setting up TNG page. My
guess is that I'm doing something different to most other people using
TNG. Are you all LDAP'd now? Is noone using smbpasswd files? I'll
include the .conf files in case someone can shed some light. This is
running on Solaris 2.7 in case that make a difference.
I've also include a snippet from samba.smb log file which shows working
calls to get_sam_domain_name and SID mapping.
Thanks,
IanJ.
------------- [smb.conf] --------------------
[global]
allow hosts = 127.0.0.1 192.168.100.0/255.255.255.0 except
192.168.100.1
encrypt passwords = yes
guest ok = no
smb passwd file = /usr/local/samba/private/smbpasswd
printing = bsd
printcap name = /etc/printcap
load printers = no
lock directory = /tmp/samba
share modes = yes
getwd cache = yes
socket options = TCP_NODELAY
dead time = 5
map archive = no
debug level = 20
max log size = 200
log file = /var/log/samba/samba.%m
client code page = 850
character set = ISO8859-1
preserve case = yes
short preserve case = yes
case sensitive = no
time server = yes
unix realname = yes
include = /usr/local/samba/lib/smb.conf.plato
------------- [smb.conf.plato] --------------------
[global]
netbios name = SAMBAPDC
workgroup = BELFAST
server string = ISS Belfast PDC
security = user
domain logons = yes
logon script = %U.bat
logon drive = z:
logon home = \\%L\profiles
logon path = \\%L\profiles\%U\Profile
# domain admin group = @ntadmin
domain group map = /usr/local/samba/private/domaingroup.map
domain alias map = /usr/local/samba/private/domainalias.map
domain user map = /usr/local/samba/private/domainuser.map
username map = /usr/local/samba/private/user.map
os level = 65
preferred master = yes
domain master = yes
wins support = yes
[profiles]
comment = User Roaming Profiles
path = /export/disk/samba/profiles
read only = No
create mask = 0700
directory mask = 0700
[netlogon]
path = /usr/local/samba/netlogon
writable = no
comment = PDC Netlogon
------------- [samba.smb] --------------------
get_sam_domain_name: PDC/BDC BELFAST
read_sid: Domain: BELFAST
sid_to_string returning S-1-5-21-1492692257-2481733280-2952610505
read_sid_from_file /usr/local/samba/private/BELFAST.SID: sid
S-1-5-21-1492692257-24817332>
get_member_domain_sid: sid_to_string returning
S-1-5-21-1492692257-2481733280-2952610505
S-1-5-21-1492692257-2481733280-2952610505
sid_to_string returning S-1-5-32
Map: Domain: BUILTIN SID: S-1-5-32
sid_to_string returning S-1-1
Map: Domain: Global Domain SID: S-1-1
sid_to_string returning S-1-1-0
Map: Domain: Everyone SID: S-1-1-0
sid_to_string returning S-1-3
Map: Domain: Creator Owner SID: S-1-3
sid_to_string returning S-1-5
Map: Domain: NT Authority SID: S-1-5
sid_to_string returning S-1-5-17
Map: Domain: SYSTEM SID: S-1-5-17
sid_to_string returning S-1-5-21-1492692257-2481733280-2952610505
Map: Domain: BELFAST SID:
S-1-5-21-1492692257-2481733280-2952610505
sid_to_string returning S-1-5-21-1492692257-2481733280-2952610505
Map: Domain: BELFAST SID:
S-1-5-21-1492692257-2481733280-2952610505
loaded services
Becoming a daemon.
------------------------------------------------------------
Integrated Silicon Systems Ltd. Tel: +44 28 90 50 4000
50 Malone Road Fax: +44 28 90 50 4002
Belfast BT9 5BS Web: www.iss-dsp.com
More information about the samba-ntdom
mailing list