Any share set as guest ok will be accessed as the guest user, to gain access
as you, you must say guest ok = no. Why do you use security = DOMAIN ?
Every where I've read advises to use security = USER , unless you have a
specific reason to use something else.
========================Stussy said:"Knowledge is King!
========================----- Original Message -----
From: "Michael Carmody" <mjcar@unimelb.edu.au>
To: <samba@lists.samba.org>
Sent: Wednesday, August 21, 2002 5:33 AM
Subject: [Samba] (no subject)
> Following the "security = domain in Samba 2.x" document in the
SWAT
> documentation page I do this:
>
> root@pc194-79:/usr/local/samba/bin# smbpasswd -j MDU -r pv-mdu-server1
> -Ujohnm%xxxxxxxx
> Joined domain MDU.
> root@pc194-79:/usr/local/samba/bin#
>
>
> This is in [globals]:
>
> security = DOMAIN
> encrypt passwords = Yes
> password server = pv-mdu-server1 pv-mdu-server2
>
> And now I start Samba via smbd -D and nmbd -D
>
> I browse to Samba Server, double click, and then double click on test
> share. From windows I get
> {generic windows error message}
> The specified network password is not correct.
>
> From machine specific log I get:
> [2002/08/21 13:30:27, 0] smbd/password.c:authorise_login(863)
> authorise_login: rejected invalid user nobody
> [2002/08/21 13:30:27, 0] smbd/password.c:authorise_login(863)
> authorise_login: rejected invalid user nobody
>
> Why am I connecting as nobody ?
>
> smb.conf again:
> [global]
> workgroup = MDU
> server string = Test
> security = DOMAIN
> encrypt passwords = Yes
> password server = pv-mdu-server1 pv-mdu-server2
> log file = /usr/local/samba/var/log.%m
> max log size = 50
> preferred master = False
> local master = No
> domain master = False
> dns proxy = No
> wins support = Yes
> printer admin = root, +ntadmin, johnm, michaelc
> printing = lprng
>
> [printers]
> comment = All Printers
> path = /home/mdu-print/
> printable = Yes
> browseable = No
>
> [HP5siEpi]
> path = /home/mdu-print/printers/lp1
> printable = Yes
> print command = /usr/bin/lpr -U%U@%M -P %p -r %s
> lpq command = /usr/bin/lpq -U%U@%M -P %p
> lprm command = /usr/bin/lprm -Uroot -P %p %j
> lppause command = /usr/sbin/lpc -Uroot hold %p %j
> lpresume command = /usr/sbin/lpc -Uroot release %p %j
> queuepause command = /usr/sbin/lpc -U%U@%M -P %p stop
> queueresume command = /usr/sbin/lpc -U%U@%M -P %p start
> printer name = lp1
>
> [Test]
> comment = Temp Files
> path = /tmp
> valid users = michaelc
> guest ok = Yes
>
>
>
> Michael Carmody
> MDU, Public Health Lab
> Dept. of Microbiology and Immunology
> The University of Melbourne, Parkville
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba