lpd+samba question

2012-07-19 Thread Wojciech Puchar
is there any simple way to get data about workstation that prints using lpd from samba? what i need is to get IP/name of workstation that queued a print job to lpd subsystem through samba. or is the only way to change everything to print to lpd directly using lpd protocol? quite a bit of

Re: lpd+samba question

2012-07-19 Thread Konrad Heuer
I didn't try by myself, but what about something like print command = /usr/bin/lpr -P%p -J%J -U%I -r %f in smb.conf? I'm sorry to say that you additionally probably have to change /usr/src/usr.sbin/lpr/common_source/ctlinfo.c near line 87 to #define OTHER_USERID_CHARS -_. /* special

Re: lpd+samba question

2012-07-19 Thread Wojciech Puchar
I didn't try by myself, but what about something like print command = /usr/bin/lpr -P%p -J%J -U%I -r %f in smb.conf? I'm sorry to say that you additionally probably have to change /usr/src/usr.sbin/lpr/common_source/ctlinfo.c near line 87 to #define OTHER_USERID_CHARS -_. /* special

Samba question

2011-09-10 Thread Graeme Dargie
Hi All I am sure there is a simple answer to this but I google has not overly helped. I am trying to mount a samba share that is on a FreeBSD 8.2 server to another FreeBSD 8.2 server, Mount_smbfs -I IP //user@host/share /mountpoint It then asks for a password, I enter the users password and

Re: Samba question

2011-09-10 Thread Polytropon
On Sat, 10 Sep 2011 11:53:48 +0100, Graeme Dargie wrote: I am trying to mount a samba share that is on a FreeBSD 8.2 server to another FreeBSD 8.2 server, Mount_smbfs -I IP //user@host/share /mountpoint It then asks for a password, I enter the users password and then get mount_smbfs:

Re: Samba question

2011-09-10 Thread Michael Powell
Polytropon wrote: On Sat, 10 Sep 2011 11:53:48 +0100, Graeme Dargie wrote: I am trying to mount a samba share that is on a FreeBSD 8.2 server to another FreeBSD 8.2 server, Mount_smbfs -I IP //user@host/share /mountpoint It then asks for a password, I enter the users password and then

Re: samba question

2005-10-24 Thread Igor Robul
spen wrote: smbd Abort trap nmbd The story is that the first time I installed samba I enabled it in my /etc/rc.conf writting echo smbd /usr/local/sbin/smbd -D echo nmbd /usr/local/sbin/nmbd -D This is incorrect way to start daemons.

Re: samba question

2005-10-24 Thread spen
I have already changed the way to enable samba on the machine. I do not use this in rc.conf echo smbd /usr/local/sbin/smbd -D echo nmbd /usr/local/sbin/nmbd -D but simply: #enable samba samba_enable=YES the last message was the one I posted. Fortunatelly I haven't got any mail since

Re: samba question

2005-10-24 Thread Owen Jeremiah
If I remember correctly, you have to start inetd to run smbd and nmbd. Check FreeBSD handbook for further details about configuring samba. Regards, OJ ___ freebsd-questions@freebsd.org mailing list

Re: samba question

2005-10-24 Thread Glenn Dawson
At 02:36 AM 10/24/2005, Owen Jeremiah wrote: If I remember correctly, you have to start inetd to run smbd and nmbd. Check FreeBSD handbook for further details about configuring samba. Samba doesn't care about inetd. Adding samba_enable=YES to rc.conf is sufficient. (assuming you built samba

Re: samba question

2005-10-24 Thread Igor Robul
Owen Jeremiah wrote: If I remember correctly, you have to start inetd to run smbd and nmbd. Check FreeBSD handbook for further details about configuring samba. You _dont need_ inetd for Samba, moreover, inetd will degrade Samba performance, and AFAIK is not recommeded by Samba team .

Re: samba question

2005-10-24 Thread Owen Jeremiah
My mistake. I was referring to SWAT instead of smbd and nmbd. Regards, OJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

samba question

2005-10-22 Thread spen
Hello to all. I have a FreeBSD 5.4 Stable machine on my network. I have recently installed smb,for the 2nd time from /usr/ports/net/samba3. I have setted up a basic configuration which will follow. My config is located in /usr/local/etc/smb.conf --

Re: Samba Question

2004-04-04 Thread Simon Barner
Darryl Hoar wrote: I have Samba installed on a Freebsd 5.1 server. I am trying to map a share from a windows machine so that I can copy the data. I can not change the windows share name. It has a space in it. How do I specify the share name in fstab. share name: PSR COMPLETE

Samba Question

2004-04-02 Thread Darryl Hoar
Greetings, I have Samba installed on a Freebsd 5.1 server. I am trying to map a share from a windows machine so that I can copy the data. I can not change the windows share name. It has a space in it. How do I specify the share name in fstab. share name: PSR COMPLETE //[EMAIL PROTECTED]/PSR

Re: Samba question

2003-11-22 Thread Ilya Varlashkin
On Sun, Nov 16, 2003 at 09:08:12PM -0500, Marty Landman wrote: No. Now I did rebooted. Same symptom, i.e. windoz explorer tells me \\Swamisalami is not accessible. ... The account is not authorized to log in from this station. Martin, following line in your smb.conf should solve this

Re: Samba question

2003-11-22 Thread Marty Landman
At 08:47 AM 11/22/2003, Ilya Varlashkin wrote: Martin, following line in your smb.conf should solve this problem: encrypt passwords = yes Ilya, I almost forgot to reply... sorry. I may not have mentioned on earlier postings that smbd was not running as I eventually discovered - only nmbd. I

Re: Samba question

2003-11-17 Thread Shantanoo Mahajan
+++ Marty Landman [15-11-03 23:12 -0500]: | At 09:46 PM 11/15/2003, Robin Schoonover wrote: | | Hmm. Ignoring everything else you gave us, I'd say it sounds like there is | a firewall in the way. I've had the exact same problem before. | | I believe I have ipfw disabled.. | | # ps -ax|grep

Re: Samba question

2003-11-17 Thread Marty Landman
At 02:00 PM 11/16/2003, Shantanoo Mahajan wrote: what's the o/p of # ipfw s ipfw: getsockopt(IP_FW_GET): Protocol not available Like I said though, I think this config is a total mess now. At some point I'll work out how to undo what I've (wrongly) done and then start over. Marty Landman

Re: Samba question

2003-11-16 Thread Warren Block
On Sat, 15 Nov 2003, Marty Landman wrote: Ok, I think this is a mess now. First I tried the toot in the FBSD Diary, and now the chapter 2 toot from O'Reilly. My Samba install is likely way out of rhythm! Still it's so close - I can see the share on windoz explorer but can't access it that

RE: Samba question

2003-11-16 Thread Derrick Ryalls
Ok, I think this is a mess now. First I tried the toot in the FBSD Diary, and now the chapter 2 toot from O'Reilly. My Samba install is likely way out of rhythm! Still it's so close - I can see the share on windoz explorer but can't access it that maybe others here can help. Here's

RE: Samba question

2003-11-16 Thread Marty Landman
At 02:23 PM 11/16/2003, Derrick Ryalls wrote: CUPS is mentioned in the logs, and you don't seem to know what it is, so do you have a line similar to: printing = cups No, good point. I have ;printing = bsd so that was commented out. Also, did you define guest in smb.conf and did you create the

Re: Samba question

2003-11-16 Thread Luke Kearney
On Sun, 16 Nov 2003 21:08:12 -0500 Marty Landman [EMAIL PROTECTED] granted us these pearls of wisdom: At 02:23 PM 11/16/2003, Derrick Ryalls wrote: CUPS is mentioned in the logs, and you don't seem to know what it is, so do you have a line similar to: printing = cups No, good point. I

Re: Samba question

2003-11-15 Thread Robin Schoonover
On Sat, 15 Nov 2003 21:37:32 -0500, Marty Landman [EMAIL PROTECTED] wrote: Ok, I think this is a mess now. First I tried the toot in the FBSD Diary, and now the chapter 2 toot from O'Reilly. My Samba install is likely way out of rhythm! Still it's so close - I can see the share on windoz

Re: Samba question

2003-11-15 Thread Marty Landman
At 09:46 PM 11/15/2003, Robin Schoonover wrote: Hmm. Ignoring everything else you gave us, I'd say it sounds like there is a firewall in the way. I've had the exact same problem before. I believe I have ipfw disabled.. # ps -ax|grep ipfw # I start it up by doing # /usr/local/sbin/smbd -D ;

Simple Samba Question(?)

2002-09-25 Thread Scott R.
[I am not currently subscribed to this mailing list, so please 'cc:' me in any replies. Thank you.] I have a simple home network with one Windows XP machine and one FreeBSD 4.6.2-RELEASE machine. I am trying to set up a Samba share on the FreeBSD machine that the WinXP box can read/write

Re: Simple Samba Question(?)

2002-09-25 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-09-25 00:04:08 -0700: I have a simple home network with one Windows XP machine and one FreeBSD 4.6.2-RELEASE machine. I am trying to set up a Samba share on the FreeBSD machine that the WinXP box can read/write to. I can get it to read the share, but I cannot seem

Re: Simple Samba Question(?)

2002-09-25 Thread Peter Ulrich Kruppa
Sorry for intervening into this thread, but I have some problems with permissions to subdirectories myself. A windows machine should be able to read and write its profiles to a directory called /usr/local/samba/profiles . This works ok for a user with root access to my samba server, but it ends

Re: Simple Samba Question(?)

2002-09-25 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-09-25 21:32:31 +: A windows machine should be able to read and write its profiles to a directory called /usr/local/samba/profiles . This works ok for a user with root access to my samba server, but it ends up in access denied for any other user (they belong to

Re: Simple Samba Question(?)

2002-09-25 Thread Scott R.
Roman Neuhauser wrote: i have samba serving files and a printer to several XP, one NT4 (or is it 5?), and one w98 box. samba is configured to require encrypted passwords, all the boxes work fine in this respect (you have to patch the registry for various reasons in various

Re: Simple Samba Question(?)

2002-09-25 Thread Dave Young
from years ago when I was setting this up and before samba supported encrypted auth, the registry change on the windows machines was to let the windows redirector send passwords *in* clear text as anything after win95b would only send encrypted auth info. If you setup the samba server to deal

Re: Simple Samba Question(?)

2002-09-25 Thread Thanatos
Scott R. wrote: [I am not currently subscribed to this mailing list, so please 'cc:' me in any replies. Thank you.] I have a simple home network with one Windows XP machine and one FreeBSD 4.6.2-RELEASE machine. I am trying to set up a Samba share on the FreeBSD machine that the WinXP

Re: Simple Samba Question(?)

2002-09-25 Thread Scott R.
Thanatos wrote: I have XP connecting to a samba server on FreeBSD 4.6.2, I can both read and write from my home directory. I do have it working now. As per someone's suggestion earlier, I applied the reg patch from /usr/local/share/doc/samba/Registry and ran the 'smbpasswd' command to

Re: Simple Samba Question(?)

2002-09-25 Thread Fred Zhang
user. Regards, Fred Zhang - Original Message - From: Thanatos [EMAIL PROTECTED] To: Scott R. [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 8:34 PM Subject: Re: Simple Samba Question(?) Scott R. wrote: [I am not currently subscribed to this mailing list