Ian Colley
2004-Jan-02 18:50 UTC
[Samba] XP Pro client cannot access stand-alone linux samba server
Hi, I am trying to set up my internet connection sharing linux box as a stand-alone samba server. When i try to access the server from a Windows XP Pro client using \\192.168.0.1 i get a dialog box asking for a username and password. I duly enter this and the dialog box immediately re-appears without connecting me to the share. There exists both a samba and linux account with the same password which is also the same as the XP Pro logon. The XP Pro box is not set up to logon to a domain, both of the boxes are on the same workgroup. I can get samba to work using share-level security but only for a guest account. Would appreciate any suggestions *smb.conf* [global] workgroup = WORKGROUP netbios name = SAMBA server string = Samba server in user level security = users encrypt passwords = yes [Logs] path= /var/log valid user = ian
Arturo Busleiman
2004-Jan-02 18:53 UTC
[Samba] XP Pro client cannot access stand-alone linux samba server
On Fri, 2 Jan 2004, Ian Colley wrote:> Would appreciate any suggestions > > *smb.conf* > [global] > workgroup = WORKGROUP > netbios name = SAMBA > server string = Samba server in user level > security = users > encrypt passwords = yesWouldn't it be "security = user" instead of "security = users" ? -- Arturo Busleiman - [ i n t r a R e d e s s r l ] Piedras 264 - 2 A (C1070AAF) - Buenos Aires - ARGENTINA Te.: (54 11) 4342-0049 - intraredes.com mailto:arturo.busleiman@intraredes.com
Sundaram Ramasamy
2004-Jan-02 18:57 UTC
[Samba] XP Pro client cannot access stand-alone linux samba server
can you change security = shared restart samba and try to access the share. SR> Hi, I am trying to set up my internet connection sharing linux box as a > stand-alone samba server. When i try to access the server from a > Windows XP Pro client using \\192.168.0.1 i get a dialog box asking for > a username and password. I duly enter this and the dialog box > immediately re-appears without connecting me to the share. There exists > both a samba and linux account with the same password which is also the > same as the XP Pro logon. > > The XP Pro box is not set up to logon to a domain, both of the boxes are > on the same workgroup. I can get samba to work using share-level > security but only for a guest account. > > Would appreciate any suggestions > > *smb.conf* > [global] > workgroup = WORKGROUP > netbios name = SAMBA > server string = Samba server in user level > security = users > encrypt passwords = yes > > [Logs] > path= /var/log > valid user = ian > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: lists.samba.org/mailman/listinfo/samba >
Ian Colley
2004-Jan-02 19:18 UTC
[Samba] XP Pro client cannot access stand-alone linux samba server
Okay - I've tried adding machine account as suggested but still no joy - same symptoms as before. Also tried changing security to 'share' - this time I can see the share in windows explorer but it asks for a password under the username of 'Guest' (greyed out) when i try to access it - no passwords work (including null). */etc/passwd* *<snip>* SHUTTLE$:x:10000:100:Machine Account:/dev/null:/bin/false *smb.conf* [global] workgroup = WORKGROUP netbios name = SAMBA server string = Samba server in user level security = user encrypt passwords = yes [Logs] path= /var/log valid user = ian Jason Balicki wrote:>Make sure the XP box has a machine account on the samba server. > >do this by adding a user (however you do it on your host OS) of machine$ >(make sure the dollar sign is there) > >then you can add this account to samba by doing: > >smbpasswd -a -m machine > >(note the _lack_ of a dollar sign. you know this, but replace "machine" >with the actual name of the machine.) > >HTH, > >--J(K) > > > >>-----Original Message----- >>From: >>samba-bounces+kodak=frontierhomemortgage.com@lists.samba.org >>[mailto:samba-bounces+kodak=frontierhomemortgage.com@lists.samb >>a.org] On Behalf Of Ian Colley >>Sent: Friday, January 02, 2004 12:50 PM >>To: samba@lists.samba.org >>Subject: [Samba] XP Pro client cannot access stand-alone linux >>samba server >> >> >>Hi, I am trying to set up my internet connection sharing linux >>box as a >>stand-alone samba server. When i try to access the server from a >>Windows XP Pro client using \\192.168.0.1 i get a dialog box >>asking for >>a username and password. I duly enter this and the dialog box >>immediately re-appears without connecting me to the share. >>There exists >>both a samba and linux account with the same password which is >>also the >>same as the XP Pro logon. >> >>The XP Pro box is not set up to logon to a domain, both of the >>boxes are >>on the same workgroup. I can get samba to work using share-level >>security but only for a guest account. >> >>Would appreciate any suggestions >> >>*smb.conf* >>[global] >>workgroup = WORKGROUP >>netbios name = SAMBA >>server string = Samba server in user level >>security = users >>encrypt passwords = yes >> >>[Logs] >>path= /var/log >>valid user = ian >> >> >> >>-- >>To unsubscribe from this list go to the following URL and read the >>instructions: lists.samba.org/mailman/listinfo/samba >> >> >> > > > >
Ian Colley
2004-Jan-02 19:36 UTC
[Samba] XP Pro client cannot access stand-alone linux samba server
Thanks for your reply I tried both of these to no avail - nothing is recorded in the logs either. William Jojo wrote:> >try: > >smbpasswd -a -m SHUTTLE$ shuttle$ > >to add the machine acount > >also did you add a user to smbpasswd with > >smbpasswd -a userid userpassword > > >after you created their unix acount? > > >Bill > >On Fri, 2 Jan 2004, Ian Colley wrote: > > > >>Okay - I've tried adding machine account as suggested but still no joy - >>same symptoms as before. Also tried changing security to 'share' - this >>time I can see the share in windows explorer but it asks for a password >>under the username of 'Guest' (greyed out) when i try to access it - no >>passwords work (including null). >> >>*/etc/passwd* >>*<snip>* >>SHUTTLE$:x:10000:100:Machine Account:/dev/null:/bin/false >> >>*smb.conf* >>[global] >>workgroup = WORKGROUP >>netbios name = SAMBA >>server string = Samba server in user level >>security = user >>encrypt passwords = yes >> >>[Logs] >>path= /var/log >>valid user = ian >> >>Jason Balicki wrote: >> >> >> >>>Make sure the XP box has a machine account on the samba server. >>> >>>do this by adding a user (however you do it on your host OS) of machine$ >>>(make sure the dollar sign is there) >>> >>>then you can add this account to samba by doing: >>> >>>smbpasswd -a -m machine >>> >>>(note the _lack_ of a dollar sign. you know this, but replace "machine" >>>with the actual name of the machine.) >>> >>>HTH, >>> >>>--J(K) >>> >>> >>> >>> >>> >>>>-----Original Message----- >>>>From: >>>>samba-bounces+kodak=frontierhomemortgage.com@lists.samba.org >>>>[mailto:samba-bounces+kodak=frontierhomemortgage.com@lists.samb >>>>a.org] On Behalf Of Ian Colley >>>>Sent: Friday, January 02, 2004 12:50 PM >>>>To: samba@lists.samba.org >>>>Subject: [Samba] XP Pro client cannot access stand-alone linux >>>>samba server >>>> >>>> >>>>Hi, I am trying to set up my internet connection sharing linux >>>>box as a >>>>stand-alone samba server. When i try to access the server from a >>>>Windows XP Pro client using \\192.168.0.1 i get a dialog box >>>>asking for >>>>a username and password. I duly enter this and the dialog box >>>>immediately re-appears without connecting me to the share. >>>>There exists >>>>both a samba and linux account with the same password which is >>>>also the >>>>same as the XP Pro logon. >>>> >>>>The XP Pro box is not set up to logon to a domain, both of the >>>>boxes are >>>>on the same workgroup. I can get samba to work using share-level >>>>security but only for a guest account. >>>> >>>>Would appreciate any suggestions >>>> >>>>*smb.conf* >>>>[global] >>>>workgroup = WORKGROUP >>>>netbios name = SAMBA >>>>server string = Samba server in user level >>>>security = users >>>>encrypt passwords = yes >>>> >>>>[Logs] >>>>path= /var/log >>>>valid user = ian >>>> >>>> >>>> >>>>-- >>>>To unsubscribe from this list go to the following URL and read the >>>>instructions: lists.samba.org/mailman/listinfo/samba >>>> >>>> >>>> >>>> >>>> >>> >>> >>> >>> >>-- >>To unsubscribe from this list go to the following URL and read the >>instructions: lists.samba.org/mailman/listinfo/samba >> >> >> > > >
Ian Colley
2004-Jan-02 20:00 UTC
[Samba] XP Pro client cannot access stand-alone linux samba server
Hi - You're right in saying that i'm not joined to a domain - nor do I wish to be - I just want to be able to see the share (using user level access). I have just turned of requiresignorseal and it has not made any difference. The relevant parts of my smbpasswd: *smbpasswd* <snip> ian:1000:7811449B365C58F693E28745B8BF4BA6:B2CA3D5E470FC029B60537DF5FFBBE7E:[UN ]:LCT-3FF32833 SHUTTLE$:10000:B3253CB2EB67F48CAAD3B435B51404EE:3FDF2334A1CA68AA9F918F31DD9A0475:[W ]:LCT-3FF5C8ED: William Jojo wrote:> >when you say you tried them both, could you be more specific, I have now >idea what you typed and no idea what your smbpasswd entries look like. > >also did you turn off requiresignorseal in regedit? there's a reg file >with the 2.2.8a distro. > >you're obviously not joined to the domain; is this what you are trying to >achieve? or do you simply want to see a share? the former being >athentication against a DC... > > >On Fri, 2 Jan 2004, Ian Colley wrote: > > > >>Thanks for your reply >> >>I tried both of these to no avail - nothing is recorded in the logs either. >> >>William Jojo wrote: >> >> >> >>>try: >>> >>>smbpasswd -a -m SHUTTLE$ shuttle$ >>> >>>to add the machine acount >>> >>>also did you add a user to smbpasswd with >>> >>>smbpasswd -a userid userpassword >>> >>> >>>after you created their unix acount? >>> >>> >>>Bill >>> >>>On Fri, 2 Jan 2004, Ian Colley wrote: >>> >>> >>> >>> >>> >>>>Okay - I've tried adding machine account as suggested but still no joy - >>>>same symptoms as before. Also tried changing security to 'share' - this >>>>time I can see the share in windows explorer but it asks for a password >>>>under the username of 'Guest' (greyed out) when i try to access it - no >>>>passwords work (including null). >>>> >>>>*/etc/passwd* >>>>*<snip>* >>>>SHUTTLE$:x:10000:100:Machine Account:/dev/null:/bin/false >>>> >>>>*smb.conf* >>>>[global] >>>>workgroup = WORKGROUP >>>>netbios name = SAMBA >>>>server string = Samba server in user level >>>>security = user >>>>encrypt passwords = yes >>>> >>>>[Logs] >>>>path= /var/log >>>>valid user = ian >>>> >>>>Jason Balicki wrote: >>>> >>>> >>>> >>>> >>>> >>>>>Make sure the XP box has a machine account on the samba server. >>>>> >>>>>do this by adding a user (however you do it on your host OS) of machine$ >>>>>(make sure the dollar sign is there) >>>>> >>>>>then you can add this account to samba by doing: >>>>> >>>>>smbpasswd -a -m machine >>>>> >>>>>(note the _lack_ of a dollar sign. you know this, but replace "machine" >>>>>with the actual name of the machine.) >>>>> >>>>>HTH, >>>>> >>>>>--J(K) >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>>-----Original Message----- >>>>>>From: >>>>>>samba-bounces+kodak=frontierhomemortgage.com@lists.samba.org >>>>>>[mailto:samba-bounces+kodak=frontierhomemortgage.com@lists.samb >>>>>>a.org] On Behalf Of Ian Colley >>>>>>Sent: Friday, January 02, 2004 12:50 PM >>>>>>To: samba@lists.samba.org >>>>>>Subject: [Samba] XP Pro client cannot access stand-alone linux >>>>>>samba server >>>>>> >>>>>> >>>>>>Hi, I am trying to set up my internet connection sharing linux >>>>>>box as a >>>>>>stand-alone samba server. When i try to access the server from a >>>>>>Windows XP Pro client using \\192.168.0.1 i get a dialog box >>>>>>asking for >>>>>>a username and password. I duly enter this and the dialog box >>>>>>immediately re-appears without connecting me to the share. >>>>>>There exists >>>>>>both a samba and linux account with the same password which is >>>>>>also the >>>>>>same as the XP Pro logon. >>>>>> >>>>>>The XP Pro box is not set up to logon to a domain, both of the >>>>>>boxes are >>>>>>on the same workgroup. I can get samba to work using share-level >>>>>>security but only for a guest account. >>>>>> >>>>>>Would appreciate any suggestions >>>>>> >>>>>>*smb.conf* >>>>>>[global] >>>>>>workgroup = WORKGROUP >>>>>>netbios name = SAMBA >>>>>>server string = Samba server in user level >>>>>>security = users >>>>>>encrypt passwords = yes >>>>>> >>>>>>[Logs] >>>>>>path= /var/log >>>>>>valid user = ian >>>>>> >>>>>> >>>>>> >>>>>>-- >>>>>>To unsubscribe from this list go to the following URL and read the >>>>>>instructions: lists.samba.org/mailman/listinfo/samba >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> >>>>-- >>>>To unsubscribe from this list go to the following URL and read the >>>>instructions: lists.samba.org/mailman/listinfo/samba >>>> >>>> >>>> >>>> >>>> >>> >>> >>> >>-- >>To unsubscribe from this list go to the following URL and read the >>instructions: lists.samba.org/mailman/listinfo/samba >> >> >> > > >
Ian Colley
2004-Jan-02 20:19 UTC
[Samba] XP Pro client cannot access stand-alone linux samba server
Hello again Your comment about the smbpasswd file got me thinking so I deleted the user 'ian' and re-created him using 'smbpasswd -x ian' and 'smbpasswd -a ian <password>' and next time i tried to view the share it worked a treat - didn't even prompt for a password - just used the default windows one. I had originally created the user 'ian' using a samba-webmin module before moving over to cmd-line tools and neglected to delete and re-create the user. I can only assume that I had set some option wrong when using webmin hence your observation of the unusual character. Many thanks for your help - I certainly couldn't have got round this problem without it. Ian P.S. I deciced to reset requiresignorseal to '1' and reboot - I was still able to successfully access the share. William Jojo wrote:>ok so you matched the uid entries to your /etc/passwd entries. was there >really an 'N' in your snip of smbpasswd? i've not seen that before. > >the share you're trying to view....what does it's stanza look like? and >what is the error message you receive? > > > >On Fri, 2 Jan 2004, Ian Colley wrote: > > > >>Hi - You're right in saying that i'm not joined to a domain - nor do I >>wish to be - I just want to be able to see the share (using user level >>access). I have just turned of requiresignorseal and it has not made >>any difference. The relevant parts of my smbpasswd: >> >>*smbpasswd* >><snip> >> >> >> >ian:1000:7811449B365C58F693E28745B8BF4BA6:B2CA3D5E470FC029B60537DF5FFBBE7E:[UN 0 > > >>]:LCT-3FF32833 >>SHUTTLE$:10000:B3253CB2EB67F48CAAD3B435B51404EE:3FDF2334A1CA68AA9F918F31DD9A0475:[W >>]:LCT-3FF5C8ED: >> >> >>William Jojo wrote: >> >> >> >>>when you say you tried them both, could you be more specific, I have now >>>idea what you typed and no idea what your smbpasswd entries look like. >>> >>>also did you turn off requiresignorseal in regedit? there's a reg file >>>with the 2.2.8a distro. >>> >>>you're obviously not joined to the domain; is this what you are trying to >>>achieve? or do you simply want to see a share? the former being >>>athentication against a DC... >>> >>> >>>On Fri, 2 Jan 2004, Ian Colley wrote: >>> >>> >>> >>> >>> >>>>Thanks for your reply >>>> >>>>I tried both of these to no avail - nothing is recorded in the logs either. >>>> >>>>William Jojo wrote: >>>> >>>> >>>> >>>> >>>> >>>>>try: >>>>> >>>>>smbpasswd -a -m SHUTTLE$ shuttle$ >>>>> >>>>>to add the machine acount >>>>> >>>>>also did you add a user to smbpasswd with >>>>> >>>>>smbpasswd -a userid userpassword >>>>> >>>>> >>>>>after you created their unix acount? >>>>> >>>>> >>>>>Bill >>>>> >>>>>On Fri, 2 Jan 2004, Ian Colley wrote: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>>Okay - I've tried adding machine account as suggested but still no joy - >>>>>>same symptoms as before. Also tried changing security to 'share' - this >>>>>>time I can see the share in windows explorer but it asks for a password >>>>>>under the username of 'Guest' (greyed out) when i try to access it - no >>>>>>passwords work (including null). >>>>>> >>>>>>*/etc/passwd* >>>>>>*<snip>* >>>>>>SHUTTLE$:x:10000:100:Machine Account:/dev/null:/bin/false >>>>>> >>>>>>*smb.conf* >>>>>>[global] >>>>>>workgroup = WORKGROUP >>>>>>netbios name = SAMBA >>>>>>server string = Samba server in user level >>>>>>security = user >>>>>>encrypt passwords = yes >>>>>> >>>>>>[Logs] >>>>>>path= /var/log >>>>>>valid user = ian >>>>>> >>>>>>Jason Balicki wrote: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>>Make sure the XP box has a machine account on the samba server. >>>>>>> >>>>>>>do this by adding a user (however you do it on your host OS) of machine$ >>>>>>>(make sure the dollar sign is there) >>>>>>> >>>>>>>then you can add this account to samba by doing: >>>>>>> >>>>>>>smbpasswd -a -m machine >>>>>>> >>>>>>>(note the _lack_ of a dollar sign. you know this, but replace "machine" >>>>>>>with the actual name of the machine.) >>>>>>> >>>>>>>HTH, >>>>>>> >>>>>>>--J(K) >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>>-----Original Message----- >>>>>>>>From: >>>>>>>>samba-bounces+kodak=frontierhomemortgage.com@lists.samba.org >>>>>>>>[mailto:samba-bounces+kodak=frontierhomemortgage.com@lists.samb >>>>>>>>a.org] On Behalf Of Ian Colley >>>>>>>>Sent: Friday, January 02, 2004 12:50 PM >>>>>>>>To: samba@lists.samba.org >>>>>>>>Subject: [Samba] XP Pro client cannot access stand-alone linux >>>>>>>>samba server >>>>>>>> >>>>>>>> >>>>>>>>Hi, I am trying to set up my internet connection sharing linux >>>>>>>>box as a >>>>>>>>stand-alone samba server. When i try to access the server from a >>>>>>>>Windows XP Pro client using \\192.168.0.1 i get a dialog box >>>>>>>>asking for >>>>>>>>a username and password. I duly enter this and the dialog box >>>>>>>>immediately re-appears without connecting me to the share. >>>>>>>>There exists >>>>>>>>both a samba and linux account with the same password which is >>>>>>>>also the >>>>>>>>same as the XP Pro logon. >>>>>>>> >>>>>>>>The XP Pro box is not set up to logon to a domain, both of the >>>>>>>>boxes are >>>>>>>>on the same workgroup. I can get samba to work using share-level >>>>>>>>security but only for a guest account. >>>>>>>> >>>>>>>>Would appreciate any suggestions >>>>>>>> >>>>>>>>*smb.conf* >>>>>>>>[global] >>>>>>>>workgroup = WORKGROUP >>>>>>>>netbios name = SAMBA >>>>>>>>server string = Samba server in user level >>>>>>>>security = users >>>>>>>>encrypt passwords = yes >>>>>>>> >>>>>>>>[Logs] >>>>>>>>path= /var/log >>>>>>>>valid user = ian >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>-- >>>>>>>>To unsubscribe from this list go to the following URL and read the >>>>>>>>instructions: lists.samba.org/mailman/listinfo/samba >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>-- >>>>>>To unsubscribe from this list go to the following URL and read the >>>>>>instructions: lists.samba.org/mailman/listinfo/samba >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>-- >>>>To unsubscribe from this list go to the following URL and read the >>>>instructions: lists.samba.org/mailman/listinfo/samba >>>> >>>> >>>> >>>> >>>> >>> >>> >>> >>-- >>To unsubscribe from this list go to the following URL and read the >>instructions: lists.samba.org/mailman/listinfo/samba >> >> >> > > >