ouch again!!!!
John Reid
john_reid at uow.edu.au
Wed Dec 9 11:52:50 GMT 1998
Dear all,
try again - is there a limit on the number of attachments in a message
to this list as previous message bounced?
Firstly, thanks all for such a wonderful idea as samba - i've been
developing a hatred of NT server for some time. No disk quotas, no su -
either run as administrator all the time or forever logon, logout, etc
or spend a fortune on 3rd party b&p
I probably should also apologise for trying to run before i can crawl.
2beta2 worked fine without PDC but didn't try anything fancy. However,
need PDC support - no spare industrial strength servers to run both s
and nt.
have been trying all week to compile and run smbd -D... falls over.
make uninstall'd, deleted complete source dir (../pkgs/samba) and cvs'ed
new code in case i had something silly (overkill?), recompiled and guess
what - smbd -D falls over!
details:
OS - Solaris x86 2.6 patched last week, using shadow passwd file
samba - latest cvs downloaded ~8pm AEDT 9/12/98 using "... co samba"
- is this correct?
procedure - config, make, m inst etc
- edit, testparm smb.conf
- smbd -D
- watched it fall over
- ran it again now EGG.SID generated to see if made any diff
- watched it fall over
- tried adding MNEMNOS$ to smbpasswd in case
machine.SID needed to resolve PDC
- watched smbpasswd fall over - no smb, no port 139?
anything i can do to help, please let me know - although my c is a tad
rusty - may be time for the wd40.
complete configuration and log files attached - here are what i think
may be the important bits:
log.smb from 1st run:
[1998/12/09 20:07:17, 1] smbd/server.c:main(627)
smbd version 2.1.0-prealpha started.
.......
[1998/12/09 20:07:18, 0] libsmb/clientgen.c:cli_connect_serverlist(2796)
cli_connect_serverlist: Domain password server not available.
[1998/12/09 20:07:18, 10] libsmb/clientgen.c:cli_shutdown(2411)
cli_shutdown
[1998/12/09 20:07:18, 0] lib/sids.c:get_domain_sids(199)
get_member_domain_sid: unable to initialise client connection.
[1998/12/09 20:07:18, 0] smbd/server.c:main(687)
ERROR: Samba cannot obtain PDC SID from PDC(s) .
log.smb from second run:
[1998/12/09 20:11:54, 1] smbd/server.c:main(627)
smbd version 2.1.0-prealpha started.
.....
[1998/12/09 20:11:54, 7] lib/util_sid.c:sid_to_string(50)
sid_to_string returning S-1-5-21-1718833867-3239286558-3910785627
[1998/12/09 20:11:54, 5] lib/sids.c:read_sid_from_file(117)
read_sid_from_file: sid S-1-5-21-1718833867-3239286558-3910785627
[1998/12/09 20:11:54, 0] libsmb/clientgen.c:cli_connect_serverlist(2796)
cli_connect_serverlist: Domain password server not available.
[1998/12/09 20:11:54, 10] libsmb/clientgen.c:cli_shutdown(2411)
cli_shutdown
[1998/12/09 20:11:54, 0] lib/sids.c:get_domain_sids(199)
get_member_domain_sid: unable to initialise client connection.
[1998/12/09 20:11:54, 0] smbd/server.c:main(687)
ERROR: Samba cannot obtain PDC SID from PDC(s) .
i haven't added the server (MNEMNOS$) to smbpasswd - do i need to?
however smbpassd -m MNEMNOS$ also falls over:
.............
pm_process() returned Yes
lp_servicenumber: couldn't find homes
codepage_initialise: client code page = 850
load_client_codepage: loading codepage 850.
Adding chars 0x85 0xb7 (l->u = True) (u->l = True)
..............
Adding chars 0x9c 0x0 (l->u = False) (u->l = False)
resolve_name: Attempting lmhosts lookup for name MNEMNOS
getlmhostsent: too many columns in lmhosts file (obsolete syntax)
resolve_name: Attempting host lookup for name MNEMNOS
cli_establish_connection: MNEMNOS<00> connecting to MNEMNOS<20>
(130.130.120.15) - []
Connecting to 130.130.120.15 at port 139
error connecting to 130.130.120.15:139 (Connection refused)
cli_establish_connection: failed to connect to MNEMNOS<00>
(130.130.120.15)
cli_shutdown
cli_connect_serverlist: Domain password server not available.
cli_shutdown
get_member_domain_sid: unable to initialise client connection.
cheers,
John
--------------------------------------------------------------------
john reid e-mail john_reid at uow.edu.au
technical officer room G02, building 41
school of geosciences phone +61 02 4221 3963
university of wollongong fax +61 02 4221 4250
computers can figure out all kinds of problems, except the things in
the world that just don't add up
apply standard disclaimers as desired...
---------------------------------------------------------------------
-------------- next part --------------
#======================= Global Settings =====================================
[global]
debug level = 20
# ===server settings===
workgroup = EGG
server string = Geosciences Test Primary Domain Controller
hosts allow = 130.130.120. 130.130.123. 127.
# Domain support
; domain controller = yes
domain logons = yes
; password server = MNEMNOS
logon script = user.bat
security = domain
encrypt passwords = yes
domain user map = /usr/local/samba/lib/user.map
guest account = guest
# Printer support
; load printers = yes
; printcap name = /etc/printcap
; printcap name = lpstat
; printing = lprng
# networking
socket options = TCP_NODELAY
; interfaces = 192.168.12.2/24 192.168.13.2/24
# Browser Control Options:
; local master = yes
os level = 65
domain master = yes
; preferred master = yes
wins support = yes
# machine configuration files
log file = /usr/local/samba/var/log.%m
max log size = 50
; include = /usr/local/samba/lib/smb.conf.%m
# ===User settings===
# logon scripts
; logon script = %m.bat
; logon script = %U.bat
logon script = user.bat
# Where to store roving profiles (only for Win95 and WinNT)
# %L substitutes for this servers netbios name, %U is username
# You must uncomment the [Profiles] share below
; logon path = \\%L\Profiles\%U
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
writable = yes
# Un-comment the following and create the netlogon directory for Domain Logons
[netlogon]
comment = Network Logon Service
path = /usr/local/samba/lib/netlogon
guest ok = yes
writable = no
share modes = no
[homesdir]
comment = Home directory root
path = /export/home
browseable = yes
writable = no
valid users = root
# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;[Profiles]
; path = /usr/local/samba/profiles
; browseable = no
; guest ok = yes
# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
;[printers]
; comment = All Printers
; path = /usr/spool/samba
; browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
writable = no
printable = yes
# This one is useful for people to share files
;[tmp]
; comment = Temporary file space
; path = /tmp
; read only = no
; public = yes
# A publicly accessible directory, but read only, except for people in
# the "staff" group
;[public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; writable = yes
; printable = no
; write list = @staff
# Other examples.
#
# A private printer, usable only by fred. Spool data will be placed in fred's
# home directory. Note that fred must have write access to the spool directory,
# wherever it is.
;[fredsprn]
; comment = Fred's Printer
; valid users = fred
; path = /homes/fred
; printer = freds_printer
; public = no
; writable = no
; printable = yes
# A private directory, usable only by fred. Note that fred requires write
# access to the directory.
;[fredsdir]
; comment = Fred's Service
; path = /usr/somewhere/private
; valid users = fred
; public = no
; writable = yes
; printable = no
# a service which has a different directory for each machine that connects
# this allows you to tailor configurations to incoming machines. You could
# also use the %U option to tailor it by user name.
# The %m gets replaced with the machine name that is connecting.
;[pchome]
; comment = PC Directories
; path = /usr/pc/%m
; public = no
; writable = yes
# A publicly accessible directory, read/write to all users. Note that all files
# created in the directory by users will be owned by the default user, so
# any user with access can delete any other user's files. Obviously this
# directory must be writable by the default user. Another user could of course
# be specified, in which case all files would be owned by that user instead.
;[public]
; path = /usr/somewhere/else/public
; public = yes
; only guest = yes
; writable = yes
; printable = no
# The following two entries demonstrate how to share a directory so that two
# users can place files there that will be owned by the specific users. In this
# setup, the directory should be writable by both users and should have the
# sticky bit set on it to prevent abuse. Obviously this could be extended to
# as many users as required.
;[myshare]
; comment = Mary's and Fred's stuff
; path = /usr/somewhere/shared
; valid users = mary fred
; public = no
; writable = yes
; printable = no
; create mask = 0765
More information about the samba-ntdom
mailing list