TNG / inet_aton

Iain MacDonnell Dseven at Dseven.ORG
Fri Jan 14 00:33:46 GMT 2000


Luke Kenneth Casson Leighton writes:
: can someone evaluate this, i have no idea if it's correct [the fork()
: bit].

Forget it - I read the manpage again, and was talking garbage before.

I've currently got a nameless printer inside the "Printers" share, but
no printer at the level above that (where it usually appears).

: also, iain, give me more info.  what is the workstation name.  which is
: the samba server.  which log file has the trust account error message?

This has gone away since I joined the domain (with the server).

Perhaps I ought to have looked at log.spoolss earlier .. I just found the
errors below. Background info:

	domain		DSEVEN.ORG
	server		reddwarf
	client		skutter
	printer		kryten
	user		im50766

Let me know if you need anything else...

    ~Iain




[2000/01/14 00:21:13, 1] msrpc/msrpcd.c:msrpc_main(458)
  spoolssd version 2.1.0-prealpha started.
  Copyright Andrew Tridgell 1992-1999
  doing parameter workgroup = DSEVEN.ORG
  doing parameter security = user
  doing parameter browse list = yes
  doing parameter encrypt passwords = yes
  doing parameter nis homedir = yes
  doing parameter domain master = yes
  doing parameter preferred master = yes
  doing parameter wins support = yes
  doing parameter domain logons = yes
  doing parameter domain group map = /opt/samba-tng/lib/domaingroup.map
  doing parameter local group map = /opt/samba-tng/lib/localgroup.map
  doing parameter logon drive = h:
  doing parameter logon home = \\%N\%U
  doing parameter logon script = %U.bat
  doing parameter logon path = \\%N\%U\profile
  doing parameter preserve case = yes
  doing parameter case sensitive = no
  doing parameter guest account = nobody
  doing parameter printcap name = lpstat
  doing parameter printing = SYSV
[2000/01/14 00:21:13, 2] param/loadparm.c:do_section(2373)
  Processing section "[homes]"
  doing parameter writable = yes
  doing parameter guest ok = no
  doing parameter read only = no
[2000/01/14 00:21:13, 2] param/loadparm.c:do_section(2373)
  Processing section "[printers]"
  doing parameter comment = All Printers
  doing parameter path = /usr/spool/public
  doing parameter writable = no
  doing parameter browseable = no
  doing parameter guest ok = no
  doing parameter public = yes
  doing parameter printable = yes
[2000/01/14 00:21:13, 2] param/loadparm.c:do_section(2373)
  Processing section "[netlogon]"
  doing parameter path = /opt/samba-tng/netlogon
  doing parameter writeable = no
  doing parameter guest ok = no
  doing parameter locking = no
  doing parameter browseable = yes
  doing parameter public = no
[2000/01/14 00:21:13, 2] param/loadparm.c:do_section(2373)
  Processing section "[profiles]"
  doing parameter path = /opt/samba-tng/profiles
  doing parameter writable = true
  doing parameter comment = "User Profiles"
  doing parameter public = yes
  doing parameter printable = no
  doing parameter browseable = yes
[2000/01/14 00:21:13, 2] param/loadparm.c:do_section(2373)
  Processing section "[scratch]"
  doing parameter path = /export/home/scratch
  doing parameter writable = true
  doing parameter comment = "Scratch Space"
  doing parameter public = yes
  doing parameter printable = no
  doing parameter browseable = yes
[2000/01/14 00:21:13, 2] param/loadparm.c:do_section(2373)
  Processing section "[misc]"
  doing parameter path = /export/misc
  doing parameter writable = true
  doing parameter comment = "Misc"
  doing parameter public = yes
  doing parameter printable = no
  doing parameter browseable = yes
[2000/01/14 00:21:13, 3] param/loadparm.c:lp_load(2695)
  pm_process() returned Yes
[2000/01/14 00:21:13, 3] param/loadparm.c:lp_add_ipc(1592)
  adding IPC service
adding printer service kryten
Added interface ip=10.1.1.2 bcast=10.1.1.255 nmask=255.255.255.0
Added interface ip=10.1.2.2 bcast=10.1.2.255 nmask=255.255.255.0
Added interface ip=10.1.3.2 bcast=10.1.3.255 nmask=255.255.255.0
Added interface ip=10.1.4.2 bcast=10.1.4.255 nmask=255.255.255.0
loaded services
standard input is not a socket, assuming -D option
Becoming a daemon.
create_pipe_socket: /opt/samba-tng/var/locks/.msrpc perms=448 /opt/samba-tng/var/locks/.msrpc/spoolss perms=448
*** Please someone examine create_pipe_socket and fix it ***
*** if used other than for exclusive root access ***
*** (see perms, which should be 0700 and 0600) ***
*** there is a race condition to be exploited. ***
remove on /opt/samba-tng/var/locks/.msrpc/spoolss failed
waiting for a connection
Changed root to /
uid 51766 vuid 100 registered to name im50766
Building passwd hash table
Building passwd hash table for the first time
adding home directory im50766 at /home/im50766
msrpc_process: client_name: spoolss my_name: reddwarf
api_pipe_bind_req: \PIPE\spoolss -> \PIPE\spoolssd
Doing \PIPE\spoolss
api_rpc_command: SPOOLSS_OPENPRINTEREX
checking name: \\Reddwarf
Setting printer type=\\Reddwarf (pnum=0)
Doing \PIPE\spoolss
api_rpc_command: SPOOLSS_GETPRINTERDATA
freeing memory
freeing memory:ok
end of file from client
Closing connections
Server exit (normal exit)
Changed root to /
uid 51766 vuid 100 registered to name im50766
Building passwd hash table
Building passwd hash table for the first time
adding home directory im50766 at /home/im50766
msrpc_process: client_name: spoolss my_name: reddwarf
api_pipe_bind_req: \PIPE\spoolss -> \PIPE\spoolssd
Doing \PIPE\spoolss
api_rpc_command: SPOOLSS_RFFPCNEX
Whoops, Printer handle not found: Copying 1 notify option info
end of file from client
Closing connections
Server exit (normal exit)
Changed root to /
uid 51766 vuid 100 registered to name im50766
Building passwd hash table
Building passwd hash table for the first time
adding home directory im50766 at /home/im50766
msrpc_process: client_name: spoolss my_name: reddwarf
api_pipe_bind_req: \PIPE\spoolss -> \PIPE\spoolssd
Doing \PIPE\spoolss
api_rpc_command: SPOOLSS_RFNPCNEX
Whoops, Printer handle not found: Doing \PIPE\spoolss
api_rpc_command: SPOOLSS_FCPN
Doing \PIPE\spoolss
api_rpc_command: SPOOLSS_OPENPRINTEREX
checking name: \\Reddwarf
Setting printer type=\\Reddwarf (pnum=0)
end of file from client
Closing connections
Server exit (normal exit)
Changed root to /
uid 51766 vuid 100 registered to name im50766
Building passwd hash table
Building passwd hash table for the first time
adding home directory im50766 at /home/im50766
msrpc_process: client_name: spoolss my_name: reddwarf
api_pipe_bind_req: \PIPE\spoolss -> \PIPE\spoolssd
Doing \PIPE\spoolss
api_rpc_command: SPOOLSS_RFFPCNEX
Whoops, Printer handle not found: Copying 0 notify option info
end of file from client
Closing connections
Server exit (normal exit)
Changed root to /
uid 51766 vuid 100 registered to name im50766
Building passwd hash table
Building passwd hash table for the first time
adding home directory im50766 at /home/im50766
msrpc_process: client_name: spoolss my_name: reddwarf
api_pipe_bind_req: \PIPE\spoolss -> \PIPE\spoolssd
Doing \PIPE\spoolss
api_rpc_command: SPOOLSS_ENUMPRINTERS
waitpid(11212) : No child processes
Running the command `lpstat -okryten' gave -1
Doing \PIPE\spoolss
api_rpc_command: SPOOLSS_OPENPRINTEREX
checking name: \\Reddwarf\
Setting printer type=\\Reddwarf\ (pnum=0)
Doing \PIPE\spoolss
api_rpc_command: SPOOLSS_GETPRINTER
Using cached lpq output
Doing \PIPE\spoolss
api_rpc_command: SPOOLSS_OPENPRINTEREX
checking name: \\Reddwarf\
Setting printer type=\\Reddwarf\ (pnum=1)
Doing \PIPE\spoolss
api_rpc_command: SPOOLSS_GETPRINTER
Using cached lpq output
Doing \PIPE\spoolss
api_rpc_command: SPOOLSS_GETPRINTERDRIVER2
spoolss_reply_get6_]
NULL pointer, memory not alloced ?
===============================================================
INTERNAL ERROR: Signal 11 in pid 11211 (2.1.0-prealpha)
Please read the file BUGS.txt in the distribution
===============================================================
PANIC: internal error
Changed root to /
uid 51766 vuid 100 registered to name im50766
Building passwd hash table
Building passwd hash table for the first time
adding home directory im50766 at /home/im50766
msrpc_process: client_name: spoolss my_name: reddwarf
api_pipe_bind_req: \PIPE\spoolss -> \PIPE\spoolssd
Doing \PIPE\spoolss
api_rpc_command: SPOOLSS_GETPRINTER
Whoops, Printer handle not found: Error getting printer - take a nap quickly !
waitpid(11216) : No child processes
Running the command `lpstat -o' gave -1
cannot open printer file [/opt/samba-tng/lib/NTprinter_]
NULL pointer, memory not alloced ?
===============================================================
INTERNAL ERROR: Signal 11 in pid 11215 (2.1.0-prealpha)
Please read the file BUGS.txt in the distribution
===============================================================
PANIC: internal error
Changed root to /
uid 51766 vuid 100 registered to name im50766
Building passwd hash table
Building passwd hash table for the first time
adding home directory im50766 at /home/im50766
msrpc_process: client_name: spoolss my_name: reddwarf
api_pipe_bind_req: \PIPE\spoolss -> \PIPE\spoolssd
Doing \PIPE\spoolss
api_rpc_command: SPOOLSS_CLOSEPRINTER
Whoops, Printer handle not found: Error closing printer handle (pnum=ffffffff)
Doing \PIPE\spoolss
api_rpc_command: SPOOLSS_ENUMPRINTERDRIVERS
Doing \PIPE\spoolss
api_rpc_command: SPOOLSS_CLOSEPRINTER
Whoops, Printer handle not found: Error closing printer handle (pnum=ffffffff)
Doing \PIPE\spoolss
api_rpc_command: SPOOLSS_FCPN
Doing \PIPE\spoolss
api_rpc_command: SPOOLSS_CLOSEPRINTER
Whoops, Printer handle not found: Error closing printer handle (pnum=ffffffff)
Doing \PIPE\spoolss
api_rpc_command: SPOOLSS_CLOSEPRINTER
Whoops, Printer handle not found: Error closing printer handle (pnum=ffffffff)
Closing idle connection
Closing connections
Server exit (normal exit)



More information about the samba-ntdom mailing list