Dear all, given the following scenario under Samba 2.0.6: [global] security = share password server = nt-server host allow = 172.19. [intranet] broseable = yes writable = yes public = yes guest ok = true is there any reason why a command like net use i: \\sambaserver\intranet still prompts for a passwd ??? Any ideas/suggestions are welcomed! Thanks in advance and regards, Martin
It should be guest ok = yes I believe. Jay - - - - - - - - - - - - - - Original Message - - - - - - - - - - - - - - Dear all, given the following scenario under Samba 2.0.6: [global] security = share password server = nt-server host allow = 172.19. [intranet] broseable = yes writable = yes public = yes guest ok = true is there any reason why a command like net use i: \\sambaserver\intranet still prompts for a passwd ??? Any ideas/suggestions are welcomed! Thanks in advance and regards, Martin - - - - - - - - - - - - End of Original Message - - - - - - - - - - - -
Hello again, I circumvented it by creating a guest account on the Samba server and setting security = share. Otherwise it will not work... Any other suggestions are welcomed! Martin> > Dear all, > > given the following scenario under Samba 2.0.6: > > [global] > security = share > password server = nt-server > host allow = 172.19. > > [intranet] > broseable = yes > writable = yes > public = yes > guest ok = true > > is there any reason why a command like > > net use i: \\sambaserver\intranet > > still prompts for a passwd ??? > > Any ideas/suggestions are welcomed! > > > Thanks in advance and regards, > > Martin > >
>is there any reason why a command like > > net use i: \\sambaserver\intranet > >still prompts for a passwd ???Yes. A few issues stand out: You have:> [intranet] > broseable = yes. . . There is no "broseable" parameter ;-) Try instead "browseable = Yes"> [global] > security = share > password server = nt-serverAnd to quote from the smb.conf man page entry for "password server":>By specifying the name of another SMB server (such as a WinNT box) withthis option,>and using "security = domain" or "security = server" you can get Samba todo all its>username/password validation via a remote server.A whole host of problems (no pun intended) can come out of this, they would be: 1. You may not have defined a guest account which exists on both the UNIX server and the remote NT server, which would cause authentication problems when you try to login as a guest. 2. In the above configuration with "security = share" you may not be connecting to your remote password server at all. 3. Your password server machine may be running Win2K or otherwise incompatible with password encryption in Samba. 4. Your password server may be set to require encrypted passwords (the default for Windows) whereas Samba may be set to use plain-text passwords only (the default in many binary distributions of Samba). 5. Your password server may not be accepting authentication requests from your Samba server. etc. etc. Have fun ;-)
YOu probably need to do one of the following: 1)set "security=domain" and join the machine to the domain with "smbpassd -j ...." (after making a machine account on the PDC) 2)set "security=user" and populate smbpasswd with "smbpasswd -a <user_name" after makin gunix accounts 3)set "guest only = yes" on the share It all depends what you actually want. If you want all user to connect to intranet as guest users, and have no need for any user security, use 3. If you want domain members to access other shares with other permissions, user 1. Buchan Disclaimer:I have never used samba as a member of an NT controlled NT domain! Martin Mielke wrote:> > Hello again, > > I circumvented it by creating a guest account on the Samba server and > setting security = share. Otherwise it will not work... > > Any other suggestions are welcomed! > > Martin > > > > > Dear all, > > > > given the following scenario under Samba 2.0.6: > > > > [global] > > security = share > > password server = nt-server > > host allow = 172.19. > > > > [intranet] > > broseable = yes > > writable = yes > > public = yes > > guest ok = true > > > > is there any reason why a command like > > > > net use i: \\sambaserver\intranet > > > > still prompts for a passwd ??? > > > > Any ideas/suggestions are welcomed! > > > > > > Thanks in advance and regards, > > > > Martin > > > >-- |--------------------------------------------------------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone +27824722231 email mailto:bgmilne@ing.sun.ac.za Centre for Automotive Engineering http://www.sun.ac.za/cae South Africas first satellite: http://sunsat.ee.sun.ac.za Control Models http://www.control.co.za |----------------Registered Linux User #182071-----------------|