Re: Some samba problems.
hi ya my uncertainty was .. are those global options recognized/supported for the printer stanza ... or would it also apply to the linux:/home/ exports and imports to/from windoze machines a test for the original poster i suppose - btw.. the original poster ( sergei ? ) needs to add/enable the [printer] section of smb.conf assuming that the printer is connected to the linux box .. and the kernel turned on for parallel ports ( at least 2 places in the kernel options ) and also have linux:/etc/printcap defined ... if the linux box can print to it... the windoze boxes can also do its network printing subject to the host allow/deny options c ya alvin On Sat, 17 Nov 2001, Nicole Zimmerman wrote: > > You can specify in your smb.conf a "hosts allow = " and "hosts deny = ". > This, with security = user (and only adding the valid users to your > smbpasswd file or using "valid users = ") and removing guest access from > your shares, should give you the level of security you want. > > `man smb.conf` > > -nicole > > At 13:54 on Nov 17, shadow combined all the right letters to say: > > > Hi, > > > > I have some problems with Samba. I have a large network and want to share > > my printer, but allow only access from several hosts or even some users, > > which are registered on my machine. All is ok then I do such thing for > > file shares > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] >
Re: Some samba problems.
You can specify in your smb.conf a "hosts allow = " and "hosts deny = ". This, with security = user (and only adding the valid users to your smbpasswd file or using "valid users = ") and removing guest access from your shares, should give you the level of security you want. `man smb.conf` -nicole At 13:54 on Nov 17, shadow combined all the right letters to say: > Hi, > > I have some problems with Samba. I have a large network and want to share > my printer, but allow only access from several hosts or even some users, > which are registered on my machine. All is ok then I do such thing for > file shares
Re: Some samba problems.
hi ya my uncertainty was .. are those global options recognized/supported for the printer stanza ... or would it also apply to the linux:/home/ exports and imports to/from windoze machines a test for the original poster i suppose - btw.. the original poster ( sergei ? ) needs to add/enable the [printer] section of smb.conf assuming that the printer is connected to the linux box .. and the kernel turned on for parallel ports ( at least 2 places in the kernel options ) and also have linux:/etc/printcap defined ... if the linux box can print to it... the windoze boxes can also do its network printing subject to the host allow/deny options c ya alvin On Sat, 17 Nov 2001, Nicole Zimmerman wrote: > > You can specify in your smb.conf a "hosts allow = " and "hosts deny = ". > This, with security = user (and only adding the valid users to your > smbpasswd file or using "valid users = ") and removing guest access from > your shares, should give you the level of security you want. > > `man smb.conf` > > -nicole > > At 13:54 on Nov 17, shadow combined all the right letters to say: > > > Hi, > > > > I have some problems with Samba. I have a large network and want to share > > my printer, but allow only access from several hosts or even some users, > > which are registered on my machine. All is ok then I do such thing for > > file shares > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Some samba problems.
You can specify in your smb.conf a "hosts allow = " and "hosts deny = ". This, with security = user (and only adding the valid users to your smbpasswd file or using "valid users = ") and removing guest access from your shares, should give you the level of security you want. `man smb.conf` -nicole At 13:54 on Nov 17, shadow combined all the right letters to say: > Hi, > > I have some problems with Samba. I have a large network and want to share > my printer, but allow only access from several hosts or even some users, > which are registered on my machine. All is ok then I do such thing for > file shares -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Some samba problems.
On Sat, Nov 17, 2001 at 01:54:47PM +0300, shadow wrote: > Hi, > > I have some problems with Samba. I have a large network and want to share > my printer, but allow only access from several hosts or even some users, > which are registered on my machine. All is ok then I do such thing for > file shares > > [foo] > path=/usr/foo > guest ok = no 1a) > browseable = yes > public = yes 1b) > username = fred, aaa 2) 1a) and 1b) are synonyms, use one of them and think twice before allowing guests. 2) This does not restrict anything. It just specifies, that the supplied password should be tested against this users as well as the user, specified by the client. Try to use `valid users' instead. > > but something wrong then I do such thing for printer. If all needed > entries are in smb.conf and you are trying to print on shared printer from > win2k you aren't ask about anything. 'Everyone' may print on shared > printer from win2k. It doesn't matter which security level you are using. > Is it feature of win2k or just a bug? What have I do to share printer Also, did you checked the possibility, that the user from w2k logged in once and the w2k recorded his username/password, and supplies it for future logins? > allowing printing only from some hosts and for some users. > > Shadow. > > > > > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Some samba problems.
On Sat, Nov 17, 2001 at 01:54:47PM +0300, shadow wrote: > Hi, > > I have some problems with Samba. I have a large network and want to share > my printer, but allow only access from several hosts or even some users, > which are registered on my machine. All is ok then I do such thing for > file shares > > [foo] > path=/usr/foo > guest ok = no 1a) > browseable = yes > public = yes 1b) > username = fred, aaa 2) 1a) and 1b) are synonyms, use one of them and think twice before allowing guests. 2) This does not restrict anything. It just specifies, that the supplied password should be tested against this users as well as the user, specified by the client. Try to use `valid users' instead. > > but something wrong then I do such thing for printer. If all needed > entries are in smb.conf and you are trying to print on shared printer from > win2k you aren't ask about anything. 'Everyone' may print on shared > printer from win2k. It doesn't matter which security level you are using. > Is it feature of win2k or just a bug? What have I do to share printer Also, did you checked the possibility, that the user from w2k logged in once and the w2k recorded his username/password, and supplies it for future logins? > allowing printing only from some hosts and for some users. > > Shadow. > > > > > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]