RE: [Samba] Use Microsoft shared fax printer?

2007-01-29 Thread Van Sickler, Jim
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
 ]On Behalf
 Of Neil Aggarwal
 Sent: Sunday, January 28, 2007 10:56 AM
 To: samba@lists.samba.org
 Subject: [Samba] Use Microsoft shared fax printer?
 
 
 Hello:
 
 Is it possible to use Samba to send documents to
 a Microsoft Shared Fax Printer?
 
 How would I give it the phone number and other recipient
 details that normally comes in the popup window when
 I print to a shared fax printer from Windows?
 
 Thanks,
   Neil
 
 
 --
 Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
 FREE! Eliminate junk email and reclaim your inbox.
 Visit http://www.spammilter.com for details.
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba
 
 
Neil,

  Can you give us a bit more info?

1.  Where are the faxes being created?  Windows PCs, Linux PCs, Linux server?

2.  Where are the faxes being sent from?  Windows PC, Windows server, 
Standalone Fax (e.g. Lainer LD015), Linux server?

3.  Do you want to fax directly, or store  forward?

Thanks,
  Jim
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: printing = bsd broke smbd? [was Re: [Samba] samba 3.0.21a wit hout printing]

2006-01-09 Thread Van Sickler, Jim
Try adding these to your smb.conf
after the 'set printing = bsd'
and restart your daemons

load printers = No
disable spoolss = Yes
show add printer wizard = No

btw, be sure to remove the quotes from
the lines (i.e. set printing=bsd
should read:

set printing = bsd

not

set printing=bsd

(you probably knew that already)


Are your Windows clients trying to print
to a Local Printer, using the Samba
share as the port name?  You'll need to
delete those printers/ports.

Jim


 -Original Message-
 From: Beast [mailto:[EMAIL PROTECTED]
 Sent: Friday, January 06, 2006 3:44 AM
 To: Gerald (Jerry) Carter
 Cc: Samba List
 Subject: printing = bsd broke smbd? [was Re: [Samba] samba 3.0.21a
 without printig
 
 
 Gerald (Jerry) Carter wrote:
 -
 how can i disable it totaly?
  
  
  Set 'printing = bsd'
  
 
 When setting printing=bsd on my samba, client wont able to 
 resolve the 
 server.
 
 In windows client, it says The specified network name is no longer 
 available.
 
 Using smbclient:
 
 [samba]# smbclient -L svr4 -Uuser
 Password:
 Anonymous login successful
 Domain=[DOMAIN] OS=[Unix] Server=[Samba 3.0.20b]
 
  Sharename   Type  Comment
  -     ---
  netlogonDisk  Network Logon Service
  Pub Disk  Public Share
 
 session setup failed: Call returned zero bytes (EOF)
 NetBIOS over TCP disabled -- no workgroup available
 
 [samba]# smbclient -L svr4 -Uuser
 Password:
 session setup failed: Call returned zero bytes (EOF)
 
 I can attach debug3 if you wish, but I found no clue in there ;-p
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Still having samba join domain problems

2005-08-09 Thread Van Sickler, Jim
Anthony,

Look to see if the RestrictAnonymous setting in
the registry on the XP box is set to 2.  If it is,
set it to 0 or 1, and try to add it again.  Set it
back to 2 when you're done.

Jim

 -Original Message-
 From: Anthony Hess [mailto:[EMAIL PROTECTED]
 Sent: Monday, August 08, 2005 5:46 PM
 To: samba@lists.samba.org
 Subject: [Samba] Still having samba join domain problems
 
 
 So I was having problems getting a machine to join to a samba 
 PDC running on
 Solaris 9 using the bundled LDAP server.  Ill skip all my previous
 troubleshooting steps here (Ive tried just about anything and 
 everything).
 
 Anyway - so I deleted all of the attributes for samba in the 
 directory and
 ran the idealx populate script.  It seemed to go just fine (the other
 scripts seem to work fine too).
 
 When I try to join the domain using the root account the 
 Windows XP PC
 comes back with The following error occurred attempting to 
 join the domain
 SUNDEV; The user name could not be found.
 
 In the smbd log (at level 10) this is all I get:
 
 [2005/08/08 17:27:35, 0] 
 rpc_server/srv_samr_nt.c:_samr_create_user(2324)
   _samr_create_user: Running the command
 `/usr/local/samba/acctscrp/smbldap-useradd t 5 -w engrpc$' gave 9
 
 (and that only happens when I try to add an account twice in 
 a row - Ive
 seen gave 1 show up before but its not happening now)
 
 It DOES create a posix account in the right ou, just not the 
 samba piece.
 
 Now Im not sure if Im going off way in the wrong direction 
 here, but when I
 try to add a machine account (with the posix information 
 still there from
 the script) with pdbedit (-a -m) I get:
 
 ldapsam_modify_entry: Failed to modify user dn=
 uid=engrpc$,ou=Machines,dc=engr, dc=arizona, dc=edu with: Object class
 violation
 
 ldapsam_add_sam_account: failed to modify/add user with uid = 
 engrpc$ (dn =
 uid=engrpc$,ou=Machines,dc=engr, dc=arizona, dc=edu)
 Unable to add machine! (does it already exist?)
 
 I get the same error even if the posix information isnt 
 already there.  Here
 is what it gives me in the ldap logs:
 
 [08/Aug/2005:17:41:22 -0700] - Entry uid=engrpc$,ou=Machines,dc=engr,
 dc=arizona, dc=edu missing attribute sambaSID required by 
 object class
 sambaSamAccount
 
 It does NOT give me this if Im using the scripts.
 
 OK, can anyone even point me in the direction I should be 
 looking?  I can
 see a sambaSID in ldap or by using the net getlocalsid command.
 
 Thanks,
 
 Tony
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Serious Slowness Issues with Printing

2005-06-17 Thread Van Sickler, Jim
Tim,

  Look into Push Bit Acknowledgement.

On OpenBSD 3.x, I had to edit /etc/sysctl.conf
and add net.inet.tcp.ackonpush=1 to correct
my slw printing.

See MS KB816627 for slow printing on Win2k.
http://support.microsoft.com/?kbid=816627

WinXP treats the Push Bit differently...

Hope this helps,

Jim

 -Original Message-
 From: Kazsuk, Tim [mailto:[EMAIL PROTECTED]
 Sent: Thursday, June 16, 2005 5:00 PM
 To: samba@lists.samba.org
 Subject: [Samba] Serious Slowness Issues with Printing
 
 
 Samba Guru's:
  
 I need whatever help you all can provide.  I'm at my wits end 
 here with
 this problem, I've checked forums and the Samba docs and can't find
 anything.  Sorry if this email is long and drawn out.
  
 We just put in a new Solaris 9 server running Samba 3.0.11 to 
 replace a
 Solaris 8 server running Samba 2.0.7.  All the client desktops are
 running Windows 2000 joined to a Domain (there are a handful of XP
 machines).  
  
 Within the last 6 months or so associates have been experiencing
 slowness printing from Office applications like Word or Excel (it's
 sporadic too).  It takes an extremely long time to go into 
 the printing
 preferences or switch between printers when wanting to print to a
 different printer then the default (sometimes 2 min).  There have also
 been SSL issues within Oracle Forms while trying to print, 
 but that may
 or may not be related.  This server running Samba is and 
 always will be
 just a Print Server, nothing else.
  
 We're running the following software on the backend for printer
 management: JetDirect Printer Installer for UNIX Version E.10.34.
  
 There are no error messages in /var/adm/messages for the server, all
 signs on the server show it's just humming away.
  
 Has anyone seen this?  Am I missing something simple?  Are there any
 changes you would suggest making to improve printing performance and
 times?  Is there anything I'm leaving out that you might need 
 to see or
 know?
  
 Full copy of current smb.conf file:
  
 # Samba config file created using SWAT
 # from 207.11.81.253 (207.11.81.253)
 # Date: 2005/06/16 16:50:24
 
 # Global parameters
 [global]
 dos charset = ASCII
 unix charset = UTF8
 display charset = LOCALE
 workgroup = IS
 netbios name = PRINTSERVER
 netbios aliases = 
 netbios scope = 
 server string = Sparc Sun Fire V240 ((%v,%h))
 interfaces = 
 bind interfaces only = No
 security = SHARE
 auth methods = 
 encrypt passwords = Yes
 update encrypted = Yes
 client schannel = Auto
 server schannel = Auto
 allow trusted domains = Yes
 hosts equiv = 
 min password length = 5
 map to guest = Never
 null passwords = Yes
 obey pam restrictions = No
 password server = 
 smb passwd file = /opt/samba/private/smbpasswd
 private dir = /opt/samba/private
 passdb backend = smbpasswd
 algorithmic rid base = 1000
 root directory = 
 guest account = nobody
 enable privileges = No
 pam password change = No
 passwd program = 
 passwd chat = *new*password* %n\n *new*password* %n\n *changed*
 passwd chat debug = No
 passwd chat timeout = 2
 check password script = 
 username map = 
 password level = 0
 username level = 0
 unix password sync = Yes
 restrict anonymous = 0
 lanman auth = Yes
 ntlm auth = Yes
 client NTLMv2 auth = No
 client lanman auth = Yes
 client plaintext auth = Yes
 preload modules = 
 use kerberos keytab = No
 log level = 1
 syslog = 1
 syslog only = No
 log file = /opt/samba/var/log.%m
 max log size = 50
 debug timestamp = Yes
 debug hires timestamp = No
 debug pid = No
 debug uid = No
 smb ports = 445 139
 large readwrite = Yes
 max protocol = NT1
 min protocol = CORE
 read bmpx = No
 read raw = Yes
 write raw = Yes
 disable netbios = No
 acl compatibility = 
 defer sharing violations = Yes
 nt pipe support = Yes
 nt status support = Yes
 announce version = 4.9
 announce as = NT
 max mux = 50
 max xmit = 16644
 name resolve order = lmhosts wins host bcast
 max ttl = 259200
 max wins ttl = 518400
 min wins ttl = 21600
 time server = No
 unix extensions = Yes
 use spnego = Yes
 client signing = auto
 server signing = No
 client use spnego = Yes
 change notify timeout = 60
 deadtime = 0
 getwd cache = Yes
 keepalive = 300
 kernel change notify = Yes
 lpq cache time = 30
 max smbd processes = 0
 paranoid server security = Yes
 max disk size = 0
 max open files = 1
 socket options = TCP_NODELAY
 use mmap = Yes
 hostname lookups = Yes
 name cache timeout = 660
 load printers = Yes
 printcap cache time = 90
 printcap name = /opt/samba/etc/printcap
 cups server = 
 disable spoolss = Yes
 enumports command = 
 addprinter command = 
 deleteprinter command = 
 show add printer wizard = Yes
 os2 driver map = 
 mangling method = hash2
 mangle prefix = 1
 stat cache = Yes
 machine password timeout = 604800
 add user script = 
 delete user script = 
 add group script = 
 delete group script = 
 add user to group script = 
 delete user from group script = 
 set primary group script = 
 add machine script = 
 shutdown script = 
 abort 

RE: [Samba] Re: Horrendously slow transfer speeds in FC3 is drivi ng mecrazy!!! Please help... - SOLVED!

2005-06-06 Thread Van Sickler, Jim
Does SMB need Push bits acknowledged?  I had a similar problem
with slw printing on OpenBSD, and had to set the AckOnPush parameter
to enabled.  That cured the printing issue for me.

Just a thought...

Jim

 -Original Message-
 From: Al [mailto:[EMAIL PROTECTED]
 Sent: Monday, June 06, 2005 4:44 PM
 To: samba@lists.samba.org
 Subject: [Samba] Re: Horrendously slow transfer speeds in FC3 
 is driving
 mecrazy!!! Please help... - SOLVED!
 
 
 Hi Peter,
 
 I am having a similar situation to what you have described in your 
 post.  Were you getting normal throughput from the NIC in 
 question when 
 using protocols other than SMB?  For instance I can't copy a 
 90MB file 
 from the samba server but I can download it via http in no time.
 
 
 peter wrote:
 
 Hello,
 
 I finally got round to running the tests with other NICs, 
 and I think I've
 solved the problem!
 
 With a 3c905B I get:
 
 SMB - 7.2 MB/s (45% CPU usage)
 FTP - 9.9 MB/s
 
 And with a DEC 21140 based card I get:
 
 SMB - 5.8 MB/s (36% CPU usage)
 FTP - 7.5 MB/s
 
 When compared to what I was getting (1.6 MB/s) with the NIC 
 that comes with
 the server (TLAN - NetIntelligent 10/100) it's a HUGE difference!!!
 
 Now I think that it's just a question of tweaking the 
 smb.conf file to get
 the SMB rate closer to the FTP rate!
 
 So it turns out that there is nothing wrong with FC3 or 
 Samba 3, it was just
 my old hardware! It's amazing what a DMA capable NIC can do 
 for the overall
 system performance.
 
 Peter.
 
 
   
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] shared network printer on linksys print server

2005-04-26 Thread Van Sickler, Jim
Are you using CUPS or lpr/LPRng for your printing?

I have a Linksys PSUS4; it's probably similar
to the PPXS1 in the setup.

L1=Logical Printer Port 1, represents LPT1
P1=Parallel Printer Port 1

lpd://x.x.x.x/L1 or lpd://x.x.x.x/P1

http://www.linuxquestions.org/questions/archive/18/2003/10/4/106265
http://mail.asl.bc.ca/~timothy/cgi-bin/FAQlist.pl?strOS=REDHAT

or

rm= x.x.x.x
rp=L1
 
Hope this helps,
  Jim

 -Original Message-
 From: Sean Fichera [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, April 20, 2005 4:56 PM
 To: samba@lists.samba.org
 Subject: [Samba] shared network printer on linksys print server
 
 
 I have a samba server running samba 3.  I am not actually 
 sure that this
 is samba not working or a linux printing thing.  I have a 
 Linksys PPSX1
 Pocket Print Server and I am unable to print to the network printer.
 There are directions on the Linksys site but I get so far and the
 directions tell me to type a command that is not found.  Is anyone
 printing to a Linksys Pocket Print Server?  I need this to be queue
 based.  Any suggestions?
  
 Sean Fichera
 Salem School District Media
  
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Unable to join samba server to a NT4 style domain

2005-04-15 Thread Van Sickler, Jim
Ash,

  Can you check the value of the
restrictanonymous registry key on your
NT4 server - I think if it's set higher
than 0 or 1 you'll be prevented from
joining the Domain.  Set it to 0, let the
Samba box join, and set it back to the
previous level.  You'll find the
setting in 3 places with regedit;  2 are
editable, and the 3rd is the current
setting.

Also, I'm using the smbusers file to
map *nix-Windows users, because I'm not
running winbindd (it's an OpenBSD box).
I've got an entry of:
root=administrator

You might try adding that file/entry
to see if it helps.

I guess the --long doesn't display
anything, or you have to tell it to
debug in order for it to work...

If you're not using a WINS server,
I'd add this to your smb.conf:
name resolve order = lmhosts host bcast

I'm not sure if your lmhosts entry for the
NT4 server is gnsi_server1 or gnsi_server10x20
I think it should be the former.

Jim

 -Original Message-
 From: Ashutosh Kamdar [mailto:[EMAIL PROTECTED]
 Sent: Friday, April 15, 2005 9:20 AM
 To: Van Sickler, Jim; 'Ashutosh Kamdar'; samba@lists.samba.org
 Subject: Re: [Samba] Unable to join samba server to a NT4 style domain
 
 
 Jim,
 
 I tried something as per your suggestion:
 
 # ./net rpc join -S NTSERVER -d 3 -l -U administrator%'x'
 
 This gave me the output listed below. Hopefully, this will 
 help shed some light on the problem. Do you know what does 
 status NT_STATUS_ACCESS_DENIED mean?
 
 Thanks,
 
 Ash
 
 -8
 
 [2005/04/15 12:09:30, 3] param/loadparm.c:lp_load(3907)
   lp_load: refreshing parameters
 [2005/04/15 12:09:30, 3] param/loadparm.c:init_globals(1321)
   Initialising global parameters
 [2005/04/15 12:09:30, 3] param/params.c:pm_process(573)
   params.c:pm_process() - Processing configuration file 
 /usr/local/samba/lib/smb.conf
 [2005/04/15 12:09:30, 3] param/loadparm.c:do_section(3409)
   Processing section [global]
 [2005/04/15 12:09:30, 2] lib/interface.c:add_interface(81)
   added interface ip=192.168.2.37 bcast=192.168.2.255 
 nmask=255.255.255.0
 [2005/04/15 12:09:30, 3] libsmb/namequery.c:resolve_lmhosts(855)
   resolve_lmhosts: Attempting lmhosts lookup for name 
 gnsi_server10x20
 [2005/04/15 12:09:30, 3] libsmb/namequery.c:resolve_wins(752)
   resolve_wins: Attempting wins lookup for name gnsi_server10x20
 [2005/04/15 12:09:30, 3] libsmb/namequery.c:resolve_wins(755)
   resolve_wins: WINS server resolution selected and no WINS 
 servers listed.
 [2005/04/15 12:09:30, 3] libsmb/namequery.c:resolve_hosts(917)
   resolve_hosts: Attempting host lookup for name gnsi_server10x20
 [2005/04/15 12:09:30, 3] 
 libsmb/cliconnect.c:cli_start_connection(1406)
   Connecting to host=gnsi_server1
 [2005/04/15 12:09:30, 3] lib/util_sock.c:open_socket_out(752)
   Connecting to 192.168.2.11 at port 445
 [2005/04/15 12:09:30, 1] libsmb/cliconnect.c:cli_full_connection(1506)
   failed tcon_X with NT_STATUS_ACCESS_DENIED
 [2005/04/15 12:09:30, 1] utils/net.c:connect_to_ipc_anonymous(207)
   Cannot connect to server (anonymously).  Error was 
 NT_STATUS_ACCESS_DENIED
 [2005/04/15 12:09:30, 3] 
 libsmb/cliconnect.c:cli_start_connection(1406)
   Connecting to host=gnsi_server1
 [2005/04/15 12:09:30, 3] lib/util_sock.c:open_socket_out(752)
   Connecting to 192.168.2.11 at port 445
 [2005/04/15 12:09:30, 3] 
 libsmb/cliconnect.c:cli_session_setup_spnego(708)
   Doing spnego session setup (blob length=110)
 [2005/04/15 12:09:30, 3] 
 libsmb/cliconnect.c:cli_session_setup_spnego(733)
   got OID=1 2 840 48018 1 2 2
 [2005/04/15 12:09:30, 3] 
 libsmb/cliconnect.c:cli_session_setup_spnego(733)
   got OID=1 2 840 113554 1 2 2
 [2005/04/15 12:09:30, 3] 
 libsmb/cliconnect.c:cli_session_setup_spnego(733)
   got OID=1 2 840 113554 1 2 2 3
 [2005/04/15 12:09:30, 3] 
 libsmb/cliconnect.c:cli_session_setup_spnego(733)
   got OID=1 3 6 1 4 1 311 2 2 10
 [2005/04/15 12:09:30, 3] 
 libsmb/cliconnect.c:cli_session_setup_spnego(740)
   got [EMAIL PROTECTED]
 [2005/04/15 12:09:30, 3] 
 libsmb/ntlmssp.c:ntlmssp_client_challenge(869)
   Got challenge flags:
 [2005/04/15 12:09:30, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
   Got NTLMSSP neg_flags=0x62890215
 [2005/04/15 12:09:30, 3] 
 libsmb/ntlmssp.c:ntlmssp_client_challenge(891)
   NTLMSSP: Set final flags:
 [2005/04/15 12:09:30, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
   Got NTLMSSP neg_flags=0x60080215
 [2005/04/15 12:09:30, 3] libsmb/ntlmssp_sign.c:ntlmssp_sign_init(319)
   NTLMSSP Sign/Seal - Initialising with flags:
 [2005/04/15 12:09:30, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
   Got NTLMSSP neg_flags=0x60080215
 [2005/04/15 12:09:30, 3] rpc_parse/parse_lsa.c:lsa_io_sec_qos(181)
   lsa_io_sec_qos: length c does not match size 8
 [2005/04/15 12:09:30, 3] 
 libsmb/cliconnect.c:cli_start_connection(1406)
   Connecting to host=gnsi_server1
 [2005/04/15 12:09:30, 3] lib/util_sock.c:open_socket_out(752)
   Connecting to 192.168.2.11 at port 445
 [2005/04/15 12:09:30, 1] libsmb

RE: [Samba] Unable to join samba server to a NT4 style domain

2005-04-15 Thread Van Sickler, Jim
Ash,

 One more thing to try...
according to http://www.spinics.net/lists/samba/msg20429.html
(Re: RE: Microsoft hotfix MS04-011, breaks Samba password change.)

The samba 3 command net rpc oldjoin works in the same way as 
smbpasswd -j dom -r pdc in samba 2 did. You don't have to type
the root password

You might have to add the Samba box to the Domain again,
in order to get this to work...

You WILL prevail (eventually)!
Jim

 -Original Message-
 From: Ashutosh Kamdar [mailto:[EMAIL PROTECTED]
 Sent: Friday, April 15, 2005 9:05 AM
 To: Van Sickler, Jim; 'Ashutosh Kamdar'; samba@lists.samba.org
 Subject: Re: [Samba] Unable to join samba server to a NT4 style domain
 
 
 Jim,
 
 I tried removing the domain machine account for the Samba 
 server from the PDC and made sure that the smbd, nmbd daemons 
 were down before I execute the net rpc join commands.
 
 The result was the same as before, it wasnt able to join the 
 domain and gave the message: Unable to join domain 
 domain-name. The --long option does not seem to give me any 
 additional information on the screen. Would it post any 
 information in logs anywhere else?
 
 Any thoughts?
 
 Regards,
 
 Ash
 
 
 
 --Original Message-
 -From: Van Sickler, Jim [mailto:[EMAIL PROTECTED]
 -Sent: Thursday, April 14, 2005 09:42 PM
 -To: ''Ashutosh Kamdar'', samba@lists.samba.org
 -Subject: RE: [Samba] Unable to join samba server to a NT4 
 style domain
 -
 -Ash,
 -
 -net help rpc shows the following for the --long option:
 -
 --l or --longDisplay full information
 -
 -In what I've found from googling and
 -the Samba-Guide (thanks, John!),
 -it looks like net rpc join will create the
 -Domain machine account when you run it;  if
 -MYSERVER already exists, you'll be prevented
 -from creating a duplicate entry.
 -
 -Try deleting MYSERVER from the Domain.
 -
 -then run your original command...
 -
 -./net rpc join -U administrator%''
 -
 -or ./net rpc join -S NT4SERVER -U administrator%''
 -
 -and see what happens.
 -
 -If this works, it reinforces this comment from my earlier link:
 -
 -This process joins the server to the domain
 -without having to create the machine trust
 -account on the PDC beforehand.
 -
 -and is a change from Samba 2.x, which required
 -the creation of the machine trust account
 -on the PDC before running smbpasswd -j DOM -r DOMPDC.
 -
 -John:  if this is true, can Chap 7 be amended to
 -reflect the change?
 -
 -Jim
 -
 - -Original Message-
 - From: Ashutosh Kamdar [mailto:[EMAIL PROTECTED]
 - Sent: Thursday, April 14, 2005 2:25 PM
 - To: Van Sickler, Jim; 'Ashutosh Kamdar'; samba@lists.samba.org
 - Subject: Re: [Samba] Unable to join samba server to a NT4 
 style domain
 -
 -
 - Jim,
 -
 - I have Samba shut down while executing the net rpc join
 - commands, as the HOW-TO says.
 -
 - On trying the following,
 -
 - # ./net rpc join -S NTSERVER
 - Password:
 -
 - This is the response I get,
 -
 - Could not connect to server NTSERVER
 - The username or password was not correct.
 -
 - The password used was that of the administrator authorized to
 - add machines to the domain. Is there any other
 - username/password I should be using?
 -
 - On trying this,
 -
 - net join -S NT4SERVER -U administrator%'' -W
 - MYWORKGROUP --long
 -
 - This is the response I get,
 -
 - Unable to join domain domain-name.
 -
 - BTW, what does the switch --long do?
 -
 - I have followed the exact steps in the document you have
 - pointed out and the HOW-TOs. Thanks for pointing that out
 - this particular chapter.
 -
 - Regards,
 -
 - Ash
 -
 - --Original Message-
 - -From: Van Sickler, Jim [mailto:[EMAIL PROTECTED]
 - -Sent: Thursday, April 14, 2005 08:30 PM
 - -To: ''Ashutosh Kamdar'', samba@lists.samba.org
 - -Subject: RE: [Samba] Unable to join samba server to a NT4
 - style domain
 - -
 - -Ash,
 - -
 - -Do you have Samba shut down while you're
 - -running net rpc join?  The daemons
 - -shouldn't be running, AFAIK.
 - -
 - -Make sure they're down, and try your earlier
 - -net rpc join commands...
 - -
 - -If that doesn't work, try just:
 - -   net rpc join -S NT4SERVER
 - -
 - -Maybe try deleting MYSERVER from the domain,
 - -then
 - -net join -S NT4SERVER -U administrator%'' -W
 - MYWORKGROUP --long
 - -
 - -See
 - -http://aosda.net/docs/samba/3.0/Samba-HOWTO-Collection/domain
 - -member.html#id
 - -2522086
 - -
 - -
 - -Jim
 - -
 - -
 - - -Original Message-
 - - From: Ashutosh Kamdar [mailto:[EMAIL PROTECTED]
 - - Sent: Thursday, April 14, 2005 12:50 PM
 - - To: Van Sickler, Jim; 'Ashutosh Kamdar'; samba@lists.samba.org
 - - Subject: Re: [Samba] Unable to join samba server to a NT4
 - style domain
 - -
 - -
 - - Jim,
 - -
 - - Yes, the NTSERVER is a PDC. Do you know of a way to see any
 - - kind of logs on the net join rpc command?
 - -
 - - -Ash
 - -
 - - --Original Message-
 - - -From: Van Sickler, Jim [mailto:[EMAIL PROTECTED]
 - - -Sent: Thursday, April 14

RE: [Samba] Unable to join samba server to a NT4 style domain

2005-04-15 Thread Van Sickler, Jim
Ash,

I'd try adding the next Samba box to the Domain,
and use the net rpc oldjoin command first,
to see if it works that way.  If it does,
then you won't have to mess with the
restrictanonymous setting at all.

I don't think setting it back to the
original setting will cause problems,
as everything else was working at
that setting.

I'm also glad that it's a dynamic
setting;  you don't have to reboot
the server every time you change it...

Maybe the reason the Samba 2.x
server setups worked was that the
NT4 default restrictanonymous setting
was 0, and about the time 2.2x/3.x
was released, NT Admins were made
aware of the vulnerability at 0
and were changing it to 1 or 2.

Anyway, I'm glad it's up  running!

Jim



 -Original Message-
 From: Ashutosh Kamdar [mailto:[EMAIL PROTECTED]
 Sent: Friday, April 15, 2005 11:26 AM
 To: Van Sickler, Jim; 'Ashutosh Kamdar'; samba@lists.samba.org
 Subject: Re: [Samba] Unable to join samba server to a NT4 style domain
 
 
 Jim,
 
 It worked! The modification of the registry value on the PDC 
 allowed the samba server to join the domain. Phew! I can get 
 some peace now :)
 
 I have also acted upon your suggestions about adding the 
 entry to smb.conf. You were right about the server name, it 
 was the former.
 
 Now, what we have done in terms of setting the registryvalue 
 to 0 is a workaround. Does this have to be done everytime a 
 Samba server joins the domain? I am going to ask my NT admin 
 to change the value back to its original setting. Hope this 
 doesnt cause any problems.
 
 Is there a patch for this problem that you are aware of? I 
 would think this is a problem which the community knows about 
 (I found a few references to this problem on Google)
 
 Thanks for you efforts. Samba and Me both prevail!
 
 Regards,
 
 Ash
 
 --Original Message-
 -From: Van Sickler, Jim [mailto:[EMAIL PROTECTED]
 -Sent: Friday, April 15, 2005 04:57 PM
 -To: ''Ashutosh Kamdar'', samba@lists.samba.org
 -Subject: RE: [Samba] Unable to join samba server to a NT4 
 style domain
 -
 -Ash,
 -
 -  Can you check the value of the
 -restrictanonymous registry key on your
 -NT4 server - I think if it's set higher
 -than 0 or 1 you'll be prevented from
 -joining the Domain.  Set it to 0, let the
 -Samba box join, and set it back to the
 -previous level.  You'll find the
 -setting in 3 places with regedit;  2 are
 -editable, and the 3rd is the current
 -setting.
 -
 -Also, I'm using the smbusers file to
 -map *nix-Windows users, because I'm not
 -running winbindd (it's an OpenBSD box).
 -I've got an entry of:
 -root=administrator
 -
 -You might try adding that file/entry
 -to see if it helps.
 -
 -I guess the --long doesn't display
 -anything, or you have to tell it to
 -debug in order for it to work...
 -
 -If you're not using a WINS server,
 -I'd add this to your smb.conf:
 -name resolve order = lmhosts host bcast
 -
 -I'm not sure if your lmhosts entry for the
 -NT4 server is gnsi_server1 or gnsi_server10x20
 -I think it should be the former.
 -
 -Jim
 -
 - -Original Message-
 - From: Ashutosh Kamdar [mailto:[EMAIL PROTECTED]
 - Sent: Friday, April 15, 2005 9:20 AM
 - To: Van Sickler, Jim; 'Ashutosh Kamdar'; samba@lists.samba.org
 - Subject: Re: [Samba] Unable to join samba server to a NT4 
 style domain
 -
 -
 - Jim,
 -
 - I tried something as per your suggestion:
 -
 - # ./net rpc join -S NTSERVER -d 3 -l -U administrator%'x'
 -
 - This gave me the output listed below. Hopefully, this will
 - help shed some light on the problem. Do you know what does
 - status NT_STATUS_ACCESS_DENIED mean?
 -
 - Thanks,
 -
 - Ash
 -
 - -8
 -
 - [2005/04/15 12:09:30, 3] param/loadparm.c:lp_load(3907)
 -   lp_load: refreshing parameters
 - [2005/04/15 12:09:30, 3] param/loadparm.c:init_globals(1321)
 -   Initialising global parameters
 - [2005/04/15 12:09:30, 3] param/params.c:pm_process(573)
 -   params.c:pm_process() - Processing configuration file
 - /usr/local/samba/lib/smb.conf
 - [2005/04/15 12:09:30, 3] param/loadparm.c:do_section(3409)
 -   Processing section [global]
 - [2005/04/15 12:09:30, 2] lib/interface.c:add_interface(81)
 -   added interface ip=192.168.2.37 bcast=192.168.2.255
 - nmask=255.255.255.0
 - [2005/04/15 12:09:30, 3] libsmb/namequery.c:resolve_lmhosts(855)
 -   resolve_lmhosts: Attempting lmhosts lookup for name
 - gnsi_server10x20
 - [2005/04/15 12:09:30, 3] libsmb/namequery.c:resolve_wins(752)
 -   resolve_wins: Attempting wins lookup for name gnsi_server10x20
 - [2005/04/15 12:09:30, 3] libsmb/namequery.c:resolve_wins(755)
 -   resolve_wins: WINS server resolution selected and no WINS
 - servers listed.
 - [2005/04/15 12:09:30, 3] libsmb/namequery.c:resolve_hosts(917)
 -   resolve_hosts: Attempting host lookup for name gnsi_server10x20
 - [2005/04/15 12:09:30, 3]
 - libsmb/cliconnect.c:cli_start_connection(1406)
 -   Connecting to host=gnsi_server1
 - [2005/04/15 12:09:30, 3] lib

RE: [Samba] Unable to join samba server to a NT4 style domain (po st-SOLVED)

2005-04-15 Thread Van Sickler, Jim
Ash,

  Out of curiosity, what restrictanonymous
setting was the NT4 server set to
originally, and what was it set to when it
allowed the net rpc join command to work?

Jim
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Unable to join samba server to a NT4 style domain/Sam ba-Guide feedback

2005-04-15 Thread Van Sickler, Jim
John,

  The restrictanonymous setting was the primary culprit
in Ash's issue.  I think he's using basically the same
setup as I am;  no winbind/LDAP involved.  I'm thinking
there's some initial handshaking that requires an
anonymous connection to PDC, and it's being blocked
if the restrictanonymous setting is too high.

I sent a note to Ash ( the list) asking for the
restrictanonymous settings on his server.  They
were 2 (no join) and 0 (successful join).  His
admin has changed it back to 2 now that the
Samba server is a member server.  The setting
is dynamic;  no NT4 server reboot is required.
Can this be added to Chap 7 as a note for section 7.3.2.3?

In the case of using net rpc join -U administrator%xx
his result was Unable to find a suitable server
which indicate Samba wasn't finding the PDC.

In the case of using 
net rpc join -S NT4SERVER -U administrator
net rpc join -S NT4SERVER -U administrator%''
net rpc join -W MYWORKGROUP -U administrator
net rpc join -W MYWORKGROUP -U administrator%''
his results were Unable to join domain domain
which indicate a connection to the PDC.

He had the PDC entry in smb.conf and /etc/lmhosts,
so I think the syntax for the example in the
Guide should be revised to net join rpc -S PDC -U root%not24get
(which are %not24et on pgs 241/242 in the current Guide)
to aid in first-try success.

Section 7.3.2 might be broken into 2 sections:

7.3.2.1 NT4/Samba Domain with Samba Domain Member Server - Using smbusers
Detailing use of the /etc/samba/smbusers file for *nix/Domain users
Incorporate the current Item 3 for joining the domain
Using net rpc info/net rpc testjoin to validate membership
This is for OS that support Samba but don't support Winbind

7.3.2.2 NT4/Samba Domain with Samba Domain Member Server - Using Winbind
Containing the current 7.3.2 contents


That's all for now...
Jim Van Sickler
Network Administrator
Kaman Aerospace Corp
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Unable to join samba server to a NT4 style domain

2005-04-14 Thread Van Sickler, Jim
Try adding the Samba server to the NT4 Domain first.

Is the NT4 server also a WINS server?
If so, add that info to the smb.conf

wins server = xxx.xxx.xxx.xxx
name resolve order = wins lmhosts host bcast

Put the NT4 server info into /etc/lmhosts
and /etc/hosts
xxx.xxx.xxx.xxx NT4SERVER

restart Samba and see if you can join
the domain now.

Hope this helps,
  Jim

 -Original Message-
 From: Ashutosh Kamdar [mailto:[EMAIL PROTECTED]
 Sent: Thursday, April 14, 2005 12:58 AM
 To: samba@lists.samba.org
 Subject: [Samba] Unable to join samba server to a NT4 style domain
 
 
 Hello,
 
 I have installed Samba version 3.0.13 on a Solaris 9 machine 
 and am trying to add it to an existing NT domain as a member 
 server. I have followed the instructions in Chapter 2 of the 
 Samba HOW-TO collection for adding a samba server as a Domain 
 member. The problem is that when i use the net rpc join 
 command to join the domain, I get the following error:
 
 # ./net rpc join -U administrator%''
 
 Unable to find a suitable server
 
 Unable to find a suitable server
 
 Specifying the domain name with a -w switch or the PDC doesnt 
 seem to help.
 
 Is there a way for me to see a detailed version of the error 
 message or some log file where this is dumped to? I am 
 posting the smb.conf for reference. Please help  me resolve 
 this error.
 
 Thanks,
 
 Ash
 
 --8--
 smb.conf
 
 [global]
 dns proxy = no
 debug timestamp = yes
 encrypt passwords = yes
 idmap gid = 15000-2
 socket options = TCP_NODELAY
 max log size = 1024
 password server = *
 idmap uid = 15000-2
 debug level = 3
 security = domain
 server string = Samba Server
 workgroup = MYWORKGROUP
 log level = 3
 log file = /usr/local/samba/var/log.%m
 netbios name = MYSERVER
 load printers = yes
 os level = 33
 default = share
 [homes]
comment = Home Directories
valid users = %S
browseable = no
writable = yes
 
 [printers]
comment = All Printers
path = /usr/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
 
 [share]
 path = /share
 comment = Solaris share
 valid users = @Accounts
 guest ok = Yes
 read only = No
 
 --8--
 
 
 
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Unable to join samba server to a NT4 style domain

2005-04-14 Thread Van Sickler, Jim
Ash,

try one of the following:

./net rpc join -S NT4SERVER -U administrator

./net rpc join -S NT4SERVER -U administrator%''

./net rpc join -W MYWORKGROUP -U administrator

./net rpc join -W MYWORKGROUP -U administrator%''

Jim

 -Original Message-
 From: Ashutosh Kamdar [mailto:[EMAIL PROTECTED]
 Sent: Thursday, April 14, 2005 11:48 AM
 To: Van Sickler, Jim; samba@lists.samba.org
 Subject: Re: [Samba] Unable to join samba server to a NT4 style domain
 
 
 Jim,
 
 -Try adding the Samba server to the NT4 Domain first.
 Response: The samba server has already been added to the NT domain.
 
 -Is the NT4 server also a WINS server?
 -If so, add that info to the smb.conf
 -
 -wins server = xxx.xxx.xxx.xxx
 -name resolve order = wins lmhosts host bcast
 -
 -Put the NT4 server info into /etc/lmhosts
 -and /etc/hosts
 -xxx.xxx.xxx.xxx  NT4SERVER
 
 Response: The NT server is not functioning as a WINS server. 
 The /etc/hosts and /etc/lmhosts already have the entry for 
 the NT server. The server can also resolve the NTSERVER_NAME 
 using DNS.
 
 I also used rpcclient to see if there any connection 
 problems, and it was able to connect just fine to the 
 NTSERVER. Thorougly confused.
 
 Any other ideas?
 
 Thanks for your response,
 
 Ash
 
 -
 - -Original Message-
 - From: Ashutosh Kamdar [mailto:[EMAIL PROTECTED]
 - Sent: Thursday, April 14, 2005 12:58 AM
 - To: samba@lists.samba.org
 - Subject: [Samba] Unable to join samba server to a NT4 style domain
 - 
 - 
 - Hello,
 - 
 - I have installed Samba version 3.0.13 on a Solaris 9 machine 
 - and am trying to add it to an existing NT domain as a member 
 - server. I have followed the instructions in Chapter 2 of the 
 - Samba HOW-TO collection for adding a samba server as a Domain 
 - member. The problem is that when i use the net rpc join 
 - command to join the domain, I get the following error:
 - 
 - # ./net rpc join -U administrator%''
 - 
 - Unable to find a suitable server
 - 
 - Unable to find a suitable server
 - 
 - Specifying the domain name with a -w switch or the PDC doesnt 
 - seem to help.
 - 
 - Is there a way for me to see a detailed version of the error 
 - message or some log file where this is dumped to? I am 
 - posting the smb.conf for reference. Please help  me resolve 
 - this error.
 - 
 - Thanks,
 - 
 - Ash
 - 
 - 
 --8--
 - smb.conf
 - 
 - [global]
 - dns proxy = no
 - debug timestamp = yes
 - encrypt passwords = yes
 - idmap gid = 15000-2
 - socket options = TCP_NODELAY
 - max log size = 1024
 - password server = *
 - idmap uid = 15000-2
 - debug level = 3
 - security = domain
 - server string = Samba Server
 - workgroup = MYWORKGROUP
 - log level = 3
 - log file = /usr/local/samba/var/log.%m
 - netbios name = MYSERVER
 - load printers = yes
 - os level = 33
 - default = share
 - [homes]
 -comment = Home Directories
 -valid users = %S
 -browseable = no
 -writable = yes
 - 
 - [printers]
 -comment = All Printers
 -path = /usr/spool/samba
 -browseable = no
 -guest ok = no
 -writable = no
 -printable = yes
 - 
 - [share]
 - path = /share
 - comment = Solaris share
 - valid users = @Accounts
 - guest ok = Yes
 - read only = No
 - 
 - 
 --8--
 - 
 - 
 - 
 - --
 - To unsubscribe from this list go to the following URL and read the
 - instructions:  https://lists.samba.org/mailman/listinfo/samba
 - 
 -
 
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Unable to join samba server to a NT4 style domain

2005-04-14 Thread Van Sickler, Jim
Ash,

Is NT4SERVER the PDC?
If not, use -S PDC instead of -S NT4SERVER

Jim

 -Original Message-
 From: Ashutosh Kamdar [mailto:[EMAIL PROTECTED]
 Sent: Thursday, April 14, 2005 12:24 PM
 To: Van Sickler, Jim; 'Ashutosh Kamdar'; samba@lists.samba.org
 Subject: Re: [Samba] Unable to join samba server to a NT4 style domain
 
 
 Jim,
 
 For all of the four commands you have mentioned, I get the 
 same response:
 
 Unable to join domain domain-name.
 
 There are no error messages or explanation with it, just the 
 plain text. 
 
 Regards,
 
 Ash
 
 --Original Message-
 -From: Van Sickler, Jim [mailto:[EMAIL PROTECTED]
 -Sent: Thursday, April 14, 2005 07:15 PM
 -To: ''Ashutosh Kamdar'', samba@lists.samba.org
 -Subject: RE: [Samba] Unable to join samba server to a NT4 
 style domain
 -
 -Ash,
 -
 -try one of the following:
 -
 -./net rpc join -S NT4SERVER -U administrator
 -
 -./net rpc join -S NT4SERVER -U administrator%''
 -
 -./net rpc join -W MYWORKGROUP -U administrator
 -
 -./net rpc join -W MYWORKGROUP -U administrator%''
 -
 -Jim
 -
 - -Original Message-
 - From: Ashutosh Kamdar [mailto:[EMAIL PROTECTED]
 - Sent: Thursday, April 14, 2005 11:48 AM
 - To: Van Sickler, Jim; samba@lists.samba.org
 - Subject: Re: [Samba] Unable to join samba server to a NT4 
 style domain
 - 
 - 
 - Jim,
 - 
 - -Try adding the Samba server to the NT4 Domain first.
 - Response: The samba server has already been added to the NT domain.
 - 
 - -Is the NT4 server also a WINS server?
 - -If so, add that info to the smb.conf
 - -
 - -wins server = xxx.xxx.xxx.xxx
 - -name resolve order = wins lmhosts host bcast
 - -
 - -Put the NT4 server info into /etc/lmhosts
 - -and /etc/hosts
 - -xxx.xxx.xxx.xxx   NT4SERVER
 - 
 - Response: The NT server is not functioning as a WINS server. 
 - The /etc/hosts and /etc/lmhosts already have the entry for 
 - the NT server. The server can also resolve the NTSERVER_NAME 
 - using DNS.
 - 
 - I also used rpcclient to see if there any connection 
 - problems, and it was able to connect just fine to the 
 - NTSERVER. Thorougly confused.
 - 
 - Any other ideas?
 - 
 - Thanks for your response,
 - 
 - Ash
 - 
 - -
 - - -Original Message-
 - - From: Ashutosh Kamdar [mailto:[EMAIL PROTECTED]
 - - Sent: Thursday, April 14, 2005 12:58 AM
 - - To: samba@lists.samba.org
 - - Subject: [Samba] Unable to join samba server to a NT4 
 style domain
 - - 
 - - 
 - - Hello,
 - - 
 - - I have installed Samba version 3.0.13 on a Solaris 9 machine 
 - - and am trying to add it to an existing NT domain as a member 
 - - server. I have followed the instructions in Chapter 2 of the 
 - - Samba HOW-TO collection for adding a samba server as a Domain 
 - - member. The problem is that when i use the net rpc join 
 - - command to join the domain, I get the following error:
 - - 
 - - # ./net rpc join -U administrator%''
 - - 
 - - Unable to find a suitable server
 - - 
 - - Unable to find a suitable server
 - - 
 - - Specifying the domain name with a -w switch or the PDC doesnt 
 - - seem to help.
 - - 
 - - Is there a way for me to see a detailed version of the error 
 - - message or some log file where this is dumped to? I am 
 - - posting the smb.conf for reference. Please help  me resolve 
 - - this error.
 - - 
 - - Thanks,
 - - 
 - - Ash
 - - 
 - - 
 - 
 --8--
 - - smb.conf
 - - 
 - - [global]
 - - dns proxy = no
 - - debug timestamp = yes
 - - encrypt passwords = yes
 - - idmap gid = 15000-2
 - - socket options = TCP_NODELAY
 - - max log size = 1024
 - - password server = *
 - - idmap uid = 15000-2
 - - debug level = 3
 - - security = domain
 - - server string = Samba Server
 - - workgroup = MYWORKGROUP
 - - log level = 3
 - - log file = /usr/local/samba/var/log.%m
 - - netbios name = MYSERVER
 - - load printers = yes
 - - os level = 33
 - - default = share
 - - [homes]
 - -comment = Home Directories
 - -valid users = %S
 - -browseable = no
 - -writable = yes
 - - 
 - - [printers]
 - -comment = All Printers
 - -path = /usr/spool/samba
 - -browseable = no
 - -guest ok = no
 - -writable = no
 - -printable = yes
 - - 
 - - [share]
 - - path = /share
 - - comment = Solaris share
 - - valid users = @Accounts
 - - guest ok = Yes
 - - read only = No
 - - 
 - - 
 - 
 --8--
 - - 
 - - 
 - - 
 - - --
 - - To unsubscribe from this list go to the following URL 
 and read the
 - - instructions:  https://lists.samba.org/mailman/listinfo/samba
 - - 
 - -
 - 
 - 
 -
 
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Unable to join samba server to a NT4 style domain

2005-04-14 Thread Van Sickler, Jim
Ash,

Do you have Samba shut down while you're
running net rpc join?  The daemons
shouldn't be running, AFAIK.

Make sure they're down, and try your earlier
net rpc join commands...

If that doesn't work, try just:
   net rpc join -S NT4SERVER

Maybe try deleting MYSERVER from the domain,
then
net join -S NT4SERVER -U administrator%'' -W MYWORKGROUP --long

See
http://aosda.net/docs/samba/3.0/Samba-HOWTO-Collection/domain-member.html#id
2522086


Jim


 -Original Message-
 From: Ashutosh Kamdar [mailto:[EMAIL PROTECTED]
 Sent: Thursday, April 14, 2005 12:50 PM
 To: Van Sickler, Jim; 'Ashutosh Kamdar'; samba@lists.samba.org
 Subject: Re: [Samba] Unable to join samba server to a NT4 style domain
 
 
 Jim,
 
 Yes, the NTSERVER is a PDC. Do you know of a way to see any 
 kind of logs on the net join rpc command?
 
 -Ash
 
 --Original Message-
 -From: Van Sickler, Jim [mailto:[EMAIL PROTECTED]
 -Sent: Thursday, April 14, 2005 07:40 PM
 -To: ''Ashutosh Kamdar'', samba@lists.samba.org
 -Subject: RE: [Samba] Unable to join samba server to a NT4 
 style domain
 -
 -Ash,
 -
 -Is NT4SERVER the PDC?
 -If not, use -S PDC instead of -S NT4SERVER
 -
 -Jim
 -
 - -Original Message-
 - From: Ashutosh Kamdar [mailto:[EMAIL PROTECTED]
 - Sent: Thursday, April 14, 2005 12:24 PM
 - To: Van Sickler, Jim; 'Ashutosh Kamdar'; samba@lists.samba.org
 - Subject: Re: [Samba] Unable to join samba server to a NT4 
 style domain
 - 
 - 
 - Jim,
 - 
 - For all of the four commands you have mentioned, I get the 
 - same response:
 - 
 - Unable to join domain domain-name.
 - 
 - There are no error messages or explanation with it, just the 
 - plain text. 
 - 
 - Regards,
 - 
 - Ash
 - 
 - --Original Message-
 - -From: Van Sickler, Jim [mailto:[EMAIL PROTECTED]
 - -Sent: Thursday, April 14, 2005 07:15 PM
 - -To: ''Ashutosh Kamdar'', samba@lists.samba.org
 - -Subject: RE: [Samba] Unable to join samba server to a NT4 
 - style domain
 - -
 - -Ash,
 - -
 - -try one of the following:
 - -
 - -./net rpc join -S NT4SERVER -U administrator
 - -
 - -./net rpc join -S NT4SERVER -U administrator%''
 - -
 - -./net rpc join -W MYWORKGROUP -U administrator
 - -
 - -./net rpc join -W MYWORKGROUP -U administrator%''
 - -
 - -Jim
 - -
 - - -Original Message-
 - - From: Ashutosh Kamdar [mailto:[EMAIL PROTECTED]
 - - Sent: Thursday, April 14, 2005 11:48 AM
 - - To: Van Sickler, Jim; samba@lists.samba.org
 - - Subject: Re: [Samba] Unable to join samba server to a NT4 
 - style domain
 - - 
 - - 
 - - Jim,
 - - 
 - - -Try adding the Samba server to the NT4 Domain first.
 - - Response: The samba server has already been added to 
 the NT domain.
 - - 
 - - -Is the NT4 server also a WINS server?
 - - -If so, add that info to the smb.conf
 - - -
 - - -wins server = xxx.xxx.xxx.xxx
 - - -name resolve order = wins lmhosts host bcast
 - - -
 - - -Put the NT4 server info into /etc/lmhosts
 - - -and /etc/hosts
 - - -xxx.xxx.xxx.xxxNT4SERVER
 - - 
 - - Response: The NT server is not functioning as a WINS server. 
 - - The /etc/hosts and /etc/lmhosts already have the entry for 
 - - the NT server. The server can also resolve the NTSERVER_NAME 
 - - using DNS.
 - - 
 - - I also used rpcclient to see if there any connection 
 - - problems, and it was able to connect just fine to the 
 - - NTSERVER. Thorougly confused.
 - - 
 - - Any other ideas?
 - - 
 - - Thanks for your response,
 - - 
 - - Ash
 - - 
 - - -
 - - - -Original Message-
 - - - From: Ashutosh Kamdar [mailto:[EMAIL PROTECTED]
 - - - Sent: Thursday, April 14, 2005 12:58 AM
 - - - To: samba@lists.samba.org
 - - - Subject: [Samba] Unable to join samba server to a NT4 
 - style domain
 - - - 
 - - - 
 - - - Hello,
 - - - 
 - - - I have installed Samba version 3.0.13 on a Solaris 9 machine 
 - - - and am trying to add it to an existing NT domain as a member 
 - - - server. I have followed the instructions in Chapter 2 of the 
 - - - Samba HOW-TO collection for adding a samba server as 
 a Domain 
 - - - member. The problem is that when i use the net rpc join 
 - - - command to join the domain, I get the following error:
 - - - 
 - - - # ./net rpc join -U administrator%''
 - - - 
 - - - Unable to find a suitable server
 - - - 
 - - - Unable to find a suitable server
 - - - 
 - - - Specifying the domain name with a -w switch or the 
 PDC doesnt 
 - - - seem to help.
 - - - 
 - - - Is there a way for me to see a detailed version of the error 
 - - - message or some log file where this is dumped to? I am 
 - - - posting the smb.conf for reference. Please help  me resolve 
 - - - this error.
 - - - 
 - - - Thanks,
 - - - 
 - - - Ash
 - - - 
 - - - 
 - - 
 - 
 --8--
 - - - smb.conf
 - - - 
 - - - [global]
 - - - dns proxy = no
 - - - debug timestamp = yes
 - - - encrypt passwords = yes
 - - - idmap gid = 15000-2
 - - - socket

RE: [Samba] Unable to join samba server to a NT4 style domain

2005-04-14 Thread Van Sickler, Jim
Ash,

net help rpc shows the following for the --long option:

-l or --longDisplay full information

In what I've found from googling and
the Samba-Guide (thanks, John!),
it looks like net rpc join will create the
Domain machine account when you run it;  if
MYSERVER already exists, you'll be prevented
from creating a duplicate entry.

Try deleting MYSERVER from the Domain.

then run your original command...

./net rpc join -U administrator%''

or ./net rpc join -S NT4SERVER -U administrator%''

and see what happens.

If this works, it reinforces this comment from my earlier link:

This process joins the server to the domain
without having to create the machine trust
account on the PDC beforehand.

and is a change from Samba 2.x, which required
the creation of the machine trust account
on the PDC before running smbpasswd -j DOM -r DOMPDC.

John:  if this is true, can Chap 7 be amended to
reflect the change?

Jim

 -Original Message-
 From: Ashutosh Kamdar [mailto:[EMAIL PROTECTED]
 Sent: Thursday, April 14, 2005 2:25 PM
 To: Van Sickler, Jim; 'Ashutosh Kamdar'; samba@lists.samba.org
 Subject: Re: [Samba] Unable to join samba server to a NT4 style domain
 
 
 Jim,
 
 I have Samba shut down while executing the net rpc join 
 commands, as the HOW-TO says. 
 
 On trying the following, 
 
 # ./net rpc join -S NTSERVER
 Password:
 
 This is the response I get,
 
 Could not connect to server NTSERVER
 The username or password was not correct.
 
 The password used was that of the administrator authorized to 
 add machines to the domain. Is there any other 
 username/password I should be using?
 
 On trying this,
 
 net join -S NT4SERVER -U administrator%'' -W 
 MYWORKGROUP --long
 
 This is the response I get,
 
 Unable to join domain domain-name.
 
 BTW, what does the switch --long do?
 
 I have followed the exact steps in the document you have 
 pointed out and the HOW-TOs. Thanks for pointing that out 
 this particular chapter.
 
 Regards,
 
 Ash
 
 --Original Message-
 -From: Van Sickler, Jim [mailto:[EMAIL PROTECTED]
 -Sent: Thursday, April 14, 2005 08:30 PM
 -To: ''Ashutosh Kamdar'', samba@lists.samba.org
 -Subject: RE: [Samba] Unable to join samba server to a NT4 
 style domain
 -
 -Ash,
 -
 -Do you have Samba shut down while you're
 -running net rpc join?  The daemons
 -shouldn't be running, AFAIK.
 -
 -Make sure they're down, and try your earlier
 -net rpc join commands...
 -
 -If that doesn't work, try just:
 -   net rpc join -S NT4SERVER
 -
 -Maybe try deleting MYSERVER from the domain,
 -then
 -net join -S NT4SERVER -U administrator%'' -W 
 MYWORKGROUP --long
 -
 -See
 -http://aosda.net/docs/samba/3.0/Samba-HOWTO-Collection/domain
 -member.html#id
 -2522086
 -
 -
 -Jim
 -
 -
 - -Original Message-
 - From: Ashutosh Kamdar [mailto:[EMAIL PROTECTED]
 - Sent: Thursday, April 14, 2005 12:50 PM
 - To: Van Sickler, Jim; 'Ashutosh Kamdar'; samba@lists.samba.org
 - Subject: Re: [Samba] Unable to join samba server to a NT4 
 style domain
 - 
 - 
 - Jim,
 - 
 - Yes, the NTSERVER is a PDC. Do you know of a way to see any 
 - kind of logs on the net join rpc command?
 - 
 - -Ash
 - 
 - --Original Message-
 - -From: Van Sickler, Jim [mailto:[EMAIL PROTECTED]
 - -Sent: Thursday, April 14, 2005 07:40 PM
 - -To: ''Ashutosh Kamdar'', samba@lists.samba.org
 - -Subject: RE: [Samba] Unable to join samba server to a NT4 
 - style domain
 - -
 - -Ash,
 - -
 - -Is NT4SERVER the PDC?
 - -If not, use -S PDC instead of -S NT4SERVER
 - -
 - -Jim
 - -
 - - -Original Message-
 - - From: Ashutosh Kamdar [mailto:[EMAIL PROTECTED]
 - - Sent: Thursday, April 14, 2005 12:24 PM
 - - To: Van Sickler, Jim; 'Ashutosh Kamdar'; samba@lists.samba.org
 - - Subject: Re: [Samba] Unable to join samba server to a NT4 
 - style domain
 - - 
 - - 
 - - Jim,
 - - 
 - - For all of the four commands you have mentioned, I get the 
 - - same response:
 - - 
 - - Unable to join domain domain-name.
 - - 
 - - There are no error messages or explanation with it, just the 
 - - plain text. 
 - - 
 - - Regards,
 - - 
 - - Ash
 - - 
 - - --Original Message-
 - - -From: Van Sickler, Jim [mailto:[EMAIL PROTECTED]
 - - -Sent: Thursday, April 14, 2005 07:15 PM
 - - -To: ''Ashutosh Kamdar'', samba@lists.samba.org
 - - -Subject: RE: [Samba] Unable to join samba server to a NT4 
 - - style domain
 - - -
 - - -Ash,
 - - -
 - - -try one of the following:
 - - -
 - - -./net rpc join -S NT4SERVER -U administrator
 - - -
 - - -./net rpc join -S NT4SERVER -U administrator%''
 - - -
 - - -./net rpc join -W MYWORKGROUP -U administrator
 - - -
 - - -./net rpc join -W MYWORKGROUP -U administrator%''
 - - -
 - - -Jim
 - - -
 - - - -Original Message-
 - - - From: Ashutosh Kamdar [mailto:[EMAIL PROTECTED]
 - - - Sent: Thursday, April 14, 2005 11:48 AM
 - - - To: Van Sickler, Jim; samba@lists.samba.org
 - - - Subject: Re: [Samba] Unable to join samba server

RE: [Samba] Logon script

2005-03-09 Thread Van Sickler, Jim
You can also use regini.exe to paste
registry entries during logon.
One of our admins set up a batch
file to update the proxy settings this way.
(both files need to be in the NETLOGON share dir)

From logon.bat (logon script):

REM * Requirements: Network access to %LOGONSERVER%\NETLOGON, regini.exe
*
REM * Restrictions: NT Intel
*
REM
*
if %CMDPATH%== set CMDPATH=%LOGONSERVER%\NETLOGON
%CMDPATH%\regini.exe %CMDPATH%\proxy.ini

From proxy.ini:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
Settings
ProxyEnable = REG_DWORD 0x0001
ProxyHttp1.1 = REG_DWORD 0x0001
ProxyServer = XXX.XXX.XXX.XXX:80
ProxyOverride = LOCAL; *.mycompany.com; intranetserver.mycompany.com

Hope this helps,
  Jim

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 [EMAIL PROTECTED]
 Sent: Tuesday, March 08, 2005 12:43 PM
 To: samba@lists.samba.org
 Subject: [Samba] Logon script
 
 
 
 
 Hi, i'm having troubles with samba as PDC, i want to modify 
 some registry
 keys (relates with windows update) in  XP  2000 clients. 
 I've tryed logons
 scripts but  it seems that i don have enough permissions to 
 do that, so i
 tried to do a ntconfig.pol but when the client logs on domain 
 y just get the
 file
 (ntconfig.pol) and any changes are made.
 
 So how can i modify windows registry keys?
 
 Thanks
 
 --
 -
 Este mensaje fue enviado por el servidor de correo de RedIFE:
 correo.ife.org.mx
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Audit Trail/Logging For Network Logons and Logoffs

2005-03-02 Thread Van Sickler, Jim
On Fri, 2005-02-25 at 12:51 -0700, Gene Cooper wrote:
 Hi Folks,
 
 I have searched the archives and the web for this issue, but I haven't
found
 an answer.
 
 I need to be able to log or audit the network access of our network users.
 This information needs to be used in conjuction with a time and attendance
 punch clock.
 
 I have seen much discussion of using preexec and postexec for obtaining a
 network access log.  However, my testing has shown this as unreliable.  It
 seems Windows logs in and logs out at (nearly) random and the collected
 information seems useless as I haven't discovered a useful way to collect
or
 parse the collected information.  I have tested on various shares as well.


Are you just looking for logon/logoff times?  I think you can put something
in the logon/logoff scripts that will do that.

Logon tracking:
@echo off
echo %USERNAME% Logon  \\server\hiddenshare\%USERNAME%.log   date /t 
\\server\hiddenshare\%USERNAME%.log  time /t 
\\server\hiddenshare\%USERNAME%.log


Logoff tracking:
@echo off
echo %USERNAME% Logoff  \\server\hiddenshare\%USERNAME%.log   date /t 
\\server\hiddenshare\%USERNAME%.log  time /t 
\\server\hiddenshare\%USERNAME%.log

I'm not using logoff scripts, but I googled NT +logoff scripts and
came up with a bunch of promising links.  They point to either
Policy settings or GINA to enable/control logon/logoff settings.

Hope this helps,
  Jim Van Sickler
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Windows Backup to samba3 share = problem

2004-08-17 Thread Van Sickler, Jim
George,

  ntbackup runs under the SYSTEM account if it's running as
a scheduled job.  You'll have to tweak the rights on the
samba share to include the SYSTEM account.

You can try creating a user  group named system on the
Samba box, and add system to the group corresponding to
the Samba share and its' *nix permissions.  That might
allow ntbackup to read/write to the Samba share.

Has anyone already set this up using SYSTEM?  Would they post the
procedure for George  the rest of us?

Another note:  when you set up ntbackup for jobs that
run on a schedule, use the UNC path to the share, NOT
a mapped drive.  If the user logs off, all drive mappings
are disconnected.  UNC paths will still be usable,
if the rights are in place.

Jim

 -Original Message-
 From: George H. Fisher [mailto:[EMAIL PROTECTED]
 Sent: Sunday, August 15, 2004 6:29 PM
 To: [EMAIL PROTECTED]
 Subject: [Samba] Windows Backup to samba3 share = problem
 
 
 Hi,
 
 I just experienced exactly the same symptoms that you describe -- the 
 samba shares are accessible, and I can read/write to them, but the 
 windows backup program thinks it can't access mapped network drives 
 (mapped to samba shares).
 
 Have you found a solution to this problem yet?
 
 Best wishes, - George
 -- 
 ___
 George H. Fisher  | Ph: 510-642-8896
 Space Sciences Laboratory | Fax: 510-643-8302
 University of California  | Email: [EMAIL PROTECTED]
 Berkeley, CA 94720-7450   | URL: sprg.ssl.berkeley.edu/~fisher/
 __|
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Windows access to data created by Linux application

2004-03-08 Thread Van Sickler, Jim
Mike,

Try adding these lines to your smb.conf:
Map To Guest = Bad User
guest account = nobody

and guest ok = Yes
to the [filestore] section.

It appears you want to have
everyone given access to the
share, but the permissions
don't match that.
e.g. none of your Win2k users
are mapped to either User, Group,
or Others.  Mapping Guest (Everyone/Noone)
to the nobody account might
give you the access.

Jim

 -Original Message-
 From: Mike Westkamper [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 03, 2004 3:34 PM
 To: [EMAIL PROTECTED]
 Subject: [Samba] Windows access to data created by Linux application
 
 
 
 I am using Samba on a remote Linux system to offer Windows 
 clients access to
 data being collected by a real-time system. The real-time 
 data collection
 systems are built on the RH 8 Linux distribution. I also have 
 one that was
 built using the RH Fedora Core 1 distribution. The data 
 collection software
 runs as root (yes I do know its not the best way but for a 
 number of reasons
 it is most convenient and the system ONLY runs the one application).
 
 This system is an isolated subnet with only 6 boxes, 5 are Linux data
 collection systems and the 6th is a Windows 2000 GUI box.
 
 The problem arises when Windows client try's to access the 
 data. It gets an
 Access Denied message.
 
 From the default smb.conf - the following are my changes 
 from the default...
 
 workgroup = WORKGROUP
 
 hosts allow = 192.168.1. 127.
 
 security = share
 
 [filestore]
 comment = Digital Data Files
 path = /filestore
 public = yes
 writable = yes
 create mask = 0777
 directory mode = 0777
 
 I am not a Linux guru, however is do have some experience 
 with both Samba
 and Linux.
 
 Any help will be greatly appreciated.
 
 Mike
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Why does a W2K (pro) client do more than it is asked to do?

2004-03-05 Thread Van Sickler, Jim
Lynn,

Since I don't see Encrypt Passwords = No
in your smb.conf, I'm pretty sure that
you're using encrypted passwords.

Run testparm, and look for the
Encrypt Passwords =  entry,
just to be sure.

Having the users mapped in the smbusers
will take care of the prompt.  If you want
to map drives using a different user name,
this might make it easier.

If mary is logged in, but wants to map
a drive as lynn, as long as smbusers
has entries for both mary  lynn,
it should work.

W9x PCs will do that, I think, if you
include /user with the net use
command.

You can try adding the users to
the smbusers file, without
creating an AIX account for them.
The see if they can access the share
without being prompted for the password.
If that works, see if they can
map a drive using a different user name.

Jim

 -Original Message-
 From: Linux Lover [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 05, 2004 12:43 PM
 To: Van Sickler, Jim; [EMAIL PROTECTED]
 Subject: RE: [Samba] Why does a W2K (pro) client do more than it is
 asked to do?
 
 
 --- Van Sickler, Jim [EMAIL PROTECTED]
 wrote:
  Lynn,
  Does your smb.conf have an entry similar to:
  username map = /etc/samba/smbusers
 
 Jim, thanks. This is my *entire* smb.conf file
 (created by SWAT):
 
 #
 # Samba config file created using SWAT
 # from winclient.mydomain.com (192.168.0.5)
 # Date: 2004/02/05 14:02:56
 
 # Global parameters
 [global]
   workgroup = MYGROUP
   netbios name = AIXSERVER
   server string = Samba %V on %h
   admin log = Yes
   log level = 1
   log file = /usr/local/samba/logs/%U.%m.log
   preferred master = No
   domain master = No
   hosts allow = 192.168.
 
 [sharedir$]
   comment = %h shared dir
   path = /home/shared
   valid users = +sambagrp techsup
   browseable = No
 #
 
 So, I guess I don't have such an entry. Do I need one?
 I thought it's not necessary since the W2K client
 prompts the user anyway to enter username and
 password. One of the good things about W2K (vs. w9x)
 is that you can be logged into the W2K client as
 'mary', but authenticate to the samba server as
 'fred'. 
 
  Do you have user accounts on both the AIX
  box and the W2k box?  They'd be mapped
  in smbusers, AIX_acct=W2k_acct
 
 Again, no need - I am counting on the W2K client to
 prompt for password if that particular username not
 found in /etc/password (at the moment I *don't* use
 encrypted passwords - I will cross that bridge when I
 solve this problem first).
 
 
 BTW, I increased the log level to 3 and noticed the
 first occurrence of 'nobody' in the log after I type
 my username and password:
 
 -
 [2004/03/05 13:22:07, 3]
   smbd/sec_ctx.c:set_sec_ctx(349)
   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
 [2004/03/05 13:22:07, 3]
   smbd/reply.c:reply_sesssetup_and_X(880)
   Domain=[]  NativeOS=[Windows 2000 2195]
   NativeLanMan=[Windows 2000 5.0]
 [2004/03/05 13:22:07, 3]
   smbd/reply.c:reply_sesssetup_and_X(890)
   sesssetupX:name=[]
 [2004/03/05 13:22:07, 3]
   smbd/sec_ctx.c:push_sec_ctx(312)
   push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
 [2004/03/05 13:22:07, 3]
   smbd/uid.c:push_conn_ctx(310)
   push_conn_ctx(0) : conn_ctx_stack_ndx = 0
 [2004/03/05 13:22:07, 3]
   smbd/sec_ctx.c:set_sec_ctx(349)
   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
 [2004/03/05 13:22:08, 3]
   smbd/sec_ctx.c:get_current_groups(183)
   get_current_groups: user is in 1 groups: -2
 [2004/03/05 13:22:08, 3]
   smbd/sec_ctx.c:pop_sec_ctx(493)
   pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
 [2004/03/05 13:22:08, 3]
   smbd/sec_ctx.c:get_current_groups(183)
   get_current_groups: user is in 1 groups: -2
 [2004/03/05 13:22:08, 3]
   smbd/password.c:register_vuid(361)
   uid -2 registered to name nobody
 -
 
 Which brings the question: what is register_vuid()?
 and uid -2 is being sent by W2K? (my uid is 21776)
 
 
 Thanks,
 Lynn
 
 __
 Do you Yahoo!?
 Yahoo! Search - Find what you're looking for faster
 http://search.yahoo.com
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Samba Slow, and I have high Quality NICS

2004-02-24 Thread Van Sickler, Jim
Anson,

  Can you try setting the NIC to 10Mbps/Half
 and Full Duplex to see if the transfer times
improve?

I put in a switch a while back , and have a 
Lexmark Optra printer with a NIC capable\
of 10/100. The LAN cabling is shielded CAT3.

  The Optra would negotiate to 100Mbps with
the switch, but printing took forever.
I locked the NIC at 10Mbps, and normal
printing resumed immediately.  Sounds a little
like your problem.

I suspect something similar on your
connection;  CAT3/CAT4 cabling or bad cabling,
and the NIC negotiating a higher connection
speed than is actually supported.

Hope this helps.
Jim


 -Original Message-
 From: Anson Rinesmith [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, February 24, 2004 12:13 PM
 To: [EMAIL PROTECTED]
 Subject: [Samba] Samba Slow, and I have high Quality NICS
 
 
 I have SLOW file transfers across samba to my Windows Server 
 2000 domain.
 
 I am using a built in 100bT Intel Pro NIC, I have tried the 
 built in gigabit
 NIC and a PCI 3com, all with the same results.
 
 Using iperf, I get about 45-90Mb of bandwidth from my PC's to my samba
 server.
 
 I can pull it up by \\servername file:///\\servername  or 
 \\ipaddress
 file:///\\ipaddress  with out any issues. I can ping servername
 successfully.
 
 It is taking about 15 minutes to just pull across a 10mb file.
 
 I've seen a lot of complaints about this on the web via 
 google but no one
 seems to have conquered it.
 
 Anyone have a fix for this? I would owe you a steak dinner.
 
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Syncing time for non-Admin logons? - net time \\super server /set /yes

2003-11-19 Thread Van Sickler, Jim
Jeff,

  I think that should be working for Win9x/Win2k
clients.  WinNT is a bit different:

net time \\superserver /set /y

Jim
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] RE: Samba-3.0.0 on OpenBSD-3.4

2003-11-11 Thread Van Sickler, Jim
It Lives!

I dl'd the current contents of:
pserver.samba.org/pub/unpacked/samba_3_0/source
ftp.openbsd.org/pub/OpenBSD/snapshots/i386

Upgraded my obsd34 box;

Samba compiled, loaded, joined the Domain, and testparm'd okay.

I don't know if the problem was the samba source or OpenBSD's code.
Don't really care, as long as it's up.

Here's my configure mods...I put it in a text file, named samba1.
Copy it to the source directory, then set it as executable
(chmod 0744 ./samba1).  Run it by ./samba1 at the prompt.  You
have to be logged in/su'd as root to run it.

./configure \
--with-smbwrapper --without-sambabook \
--bindir=/usr/local/bin --sbindir=/usr/local/sbin \
--libexecdir=/usr/libexec --with-utmp \
--prefix=/usr/local --exec-prefix=/usr/local --with-sysconfdir=/etc \
--localstatedir=/var --infodir=/usr/local/info --mandir=/usr/local/man
--with-profile \
--with-privatedir=/etc/samba --with-lockdir=/var/spool/lock \
--with-swatdir=/usr/local/swat --with-configdir=/etc/samba

I had to chmod 0755 /var/spool/lock to clear an error message in the
testparm results.

gcc version 2.95.3
g++ version 2.95.3

I also have installed the following additional updates/packages on the
obsd34 box:
(contents of /var/db/pkg)

LPRng-3.8.21
bzip2-1.0.2
gdbm-1.8.3
gettext-0.10.40p1
joe-2.9.8pre1p1
libiconv-1.8
squid-2.5.STABLE3p4
transproxy-1.4
wget-1.8.2

Good luck!

Jim


-Original Message-
From: Jim Breton [mailto:[EMAIL PROTECTED]
Sent: Monday, November 10, 2003 4:32 PM
To: Van Sickler, Jim
Subject: Re: Samba-3.0.0 on OpenBSD-3.4


On Mon, Nov 10, 2003 at 06:27:29PM -0500, Van Sickler, Jim wrote:
   Not yet-I had to put it on the back burner because it was eating too
much
 time.
 
 In the meantime, I've downloaded the current snapshots of both OpenBSD 3.4
 install files and the samba source from pserver.samba.org.  Maybe later
this
 week I'll run an upgrade on the OS and try to compile the newer source
code.
 I'll let you know what happens (if you don't try it first...)

Hey there, thanks for the response.  Just a quick update, I did find this
in their Bugzilla:

https://bugzilla.samba.org/show_bug.cgi?id=741

-- 

Jim B.
[EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Samba-3.0.0, LPRng-3.8.21 and printer queues - Jerry?

2003-10-09 Thread Van Sickler, Jim
Assar,

Here are my smb.conf entries for LPRng 3.8.21:

lpq command = /usr/local/bin/lpstat %p
print command = /usr/local/bin/lpr -U%m -P%p -J'%J' -r %s
lprm command = /usr/local/bin/lprm -P%p %j
lppause command = /usr/local/sbin/lpc hold %p %j
lpresume command = /usr/local/sbin/lpc release %p %j
queuepause command = /usr/local/sbin/lpc stop %p
queueresume command = /usr/local/sbin/lpc start %p

I looked at the lpr options (lpr --help) and -b isn't one that's
listed.  -Fb is the only instance where b is used.

Is the %s intentional?

Run checkpc -V -f to have LPRng test/fix dir's and permissions.
Run testparm to have samba do the same.

Jim

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 09, 2003 6:27 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [Samba] Samba-3.0.0, LPRng-3.8.21 and printer queues -
Jerry?


 I have problem with finding my printerjobs in sambas printer queue, 
 I do se the job while it is in /var/spool/samba, but not when the job
 has been spooled to LPRngs spool. 
 
 smb.conf
 [Global]
   printing = lprng
   lpq command = /usr/server/LPRng-3.8.21/bin/lpq -P%p
   print command = /usr/server/LPRng-3.8.21/bin/lpr -b -P%p %s ;rm %s
 
 The printing job shows up in the LPRng queue e.i.
 /usr/server/LPRng-3.8.21/bin/lpq -Pprinter
 shows the job. 
 
 But from log.smbd:
 Running the command `/usr/server/LPRng-3.8.21/bin/lpq 
 -Pprinter' gave 0
 
 Can anyone help me with this. (CUPS is not a solution for me)

Because of your last sentence I thought I should add, that I'm seeing
the same problem (print jobs queued in the print subsystem not showing
up for samba) _WITH_ cups in samba 3.0.0.

~ Daniel







---

This message is the property of Time Inc. or its affiliates. It may be
legally privileged and/or confidential and is intended only for the use
of the addressee(s). No addressee should forward, print, copy, or
otherwise reproduce this message in any manner that would allow it to be
viewed by any individual not originally listed as a recipient. If the
reader of this message is not the intended recipient, you are hereby
notified that any unauthorized disclosure, dissemination, distribution,
copying or the taking of any action in reliance on the information
herein is strictly prohibited. If you have received this communication
in error, please immediately notify the sender and delete this message.
Thank you.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] OpenBSD 3.4/Samba 3.0.0 CP850.so core dump

2003-09-30 Thread Van Sickler, Jim
I'm trying to install Samba 3.0.0, and it seems to compile ok.

When I run testparm or try to start either daemon, I get the
following:

testparm:/usr/local/lib/charset/CP850.so: undefined symbol
'smb_register_charset'
lazy binding failed!
Segmentation fault (core dumped)


Info:
gcc v2.95.3
g## v2.95.3
/usr/local/lib/charset/CP850.so does exist

./configure options:

--with-smbwrapper --without-sambabook \
--bindir=/usr/local/bin --sbindir=/usr/local/sbin \
--libexecdir=/usr/libexec --prefix=/usr/local \
--exec-prefix=/usr/local --with-sysconfdir=/etc \
--localstatedir=/var --infodir=/usr/local/info \
--mandir=/usr/local/man --with-profile \
--with-privatedir=/etc/samba --with-lockdir=/var/spool/lock \
--with-swatdir=/usr/local/swat --with-configdir=/etc/samba \
--with-ssl


Any help would be appreciated.
Jim
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] OpenBSD 3.3 and samba-2.2.8

2003-09-22 Thread Van Sickler, Jim
A couple of suggestions:

1. Add your Samba server to the hosts and lmhosts files on your PCs.
Copy hosts  lmhosts to the netlogon share directory.
In your logon.bat put these lines (change SERVER to your server name):

-
if exist %systemroot%\system32\drivers\etc\hosts.old del
%systemroot%\system32\drivers\etc\hosts.old
ren %systemroot%\system32\drivers\etc\hosts hosts.old
copy \\SERVER\NETLOGON\hosts %systemroot%\system32\drivers\etc
if exist %systemroot%\system32\drivers\etc\lmhosts.old del
%systemroot%\system32\drivers\etc\lmhosts.old
ren %systemroot%\system32\drivers\etc\lmhosts lmhosts.old
copy \\SERVER\NETLOGON\lmhosts %systemroot%\system32\drivers\etc
nbtstat -R
-

Then at the PCs, run the logon.bat, using the server's IP address:
Start, Run, \\SERVERIP\NETLOGON\logon.bat, Ok

See if you can see the server in the Network Neighborhood.
When you have to make changes to the hosts/lmhosts, the changes are
loaded during the users logins.  The nbtstat -R purges  reloads the
remote cache name table.

2. Use WINS
WINS Support = yes   If the Samba server will provide it.
WINS server = 192.168.1.xxx to point to the WINS server
on your network.

3. Be sure the server/PCs are in the same Workgroup/Domain.

4.  Rem out the hosts allow to see if that's a cause.
If not, add it back in.

Don't forget to restart the daemons after steps 2  4.

Hope this helps.
  Jim


 -Original Message-
 From: Mikael lilleman Göransson [mailto:[EMAIL PROTECTED]
 Sent: Sunday, September 21, 2003 6:22 AM
 To: [EMAIL PROTECTED]
 Subject: [Samba] OpenBSD 3.3 and samba-2.2.8
 
 
 Hi and hello. 
 
 Does anyone have installed Samba using the ports-collection 
 in OpenBSD 
 recently? 
 
 My WindowsXP-computers can't find the computer on the network 
 at all. I use 
 the standard smb.conf wich comes with the port-installation, 
 exept these 
 changes: 
 
 [global]
   workgroup = NETDISASTERS
   encrypted passwords = yes
   hosts allow = 192.168.1. 192.168.2.0./24 192.168.3.0/255.255.255.0 
 127.0.0.1
   preferred master = yes
 
 [ftp]
   comment = The Place
   path = /home/ftp
   read only = no
   public = yes
   writable = yes
   write list = @ftp, @users 
 
 What am I doing wrong? 
 
 Anyone running OpenBSD 3.3 who can give me a hint? 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] OpenBSD 3.3 and samba-2.2.8

2003-09-22 Thread Van Sickler, Jim
A clarification to Step 1:

Add your server information to the hosts  lmhosts
BEFORE adding them to your PCs...it has to be done
manually;  hosts/lmhosts aren't dynamically (magically?)
kept up to date.

hosts:
192.168.1.xxx   hostnamehostname.domain

e.g.
192.168.1.102   samba1  samba1.jpcs.se

lmhosts:
192.168.1.xxx   PDChostname #PRE #DOM:Domainname
192.168.1.xxx   Domain-15chars \0x1b  #PRE

e.g.
192.168.1.102   samba1  #PRE#DOM:NETDISASTERS
192.168.1.102   NETDISASTERS   \0x1b  #PRE

See KB Article/PSS ID Number: Q150800 for more info.

Jim

 -Original Message-
 From: Van Sickler, Jim [mailto:[EMAIL PROTECTED]
 Sent: Monday, September 22, 2003 9:07 AM
 To: 'Mikael lilleman Göransson'; [EMAIL PROTECTED]
 Subject: RE: [Samba] OpenBSD 3.3 and samba-2.2.8
 
 
 A couple of suggestions:
 
 1. Add your Samba server to the hosts and lmhosts files on your PCs.
 Copy hosts  lmhosts to the netlogon share directory.
 In your logon.bat put these lines (change SERVER to your 
 server name):
 
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Deleted smb.conf

2003-09-18 Thread Van Sickler, Jim
Look in /etc/samba for smb.conf~ or something similar -
that's the backed-up copy created by some text editors.

Look in /usr/local/share/examples/samba for
smb.conf.default.

Failing those, try using swat to create a new one.

Jim

 -Original Message-
 From: Mulayrama, Satish HS [mailto:[EMAIL PROTECTED]
 Sent: Thursday, September 18, 2003 1:45 PM
 To: '[EMAIL PROTECTED]'
 Subject: [Samba] Deleted smb.conf
 
 
 I have RedHat 9.1 running.  Installed Samba that comes along 
 with the OS to
 test it out.  When I was playing with it, I deleted the smb.conf file
 inadvertently.
 
 I uninstalled and reinstalled the Samba utilities, but that 
 didn't help.
 How do I get back the default smb.conf file?
 
 Thanks in advance.
 
 Satish Kumar
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Printing problems Win2K SP4 on 3.0.x and 2.x

2003-08-28 Thread Van Sickler, Jim
Paul,

  If you were using a Samba version prior to 2.2.7
(I think), then you need to put the following in
your [Global] section:

disable spoolss = yes

and add the following to the [Printers] section
and/or each printer entry:

use client driver = yes

This will support the printers as previously set up,
and give you some time to investigate the new
features.

If you want to use the spoolss support incorporated
since 2.2.7, you'll have to read up on the Samba
How-To Collection changes.  The changes aren't trivial.
http://samba.org/~jht/NT4migration/Samba-HOWTO-Collection.pdf


You'll probably have to:

1.  Remove all Samba-served printers from the clients.
2.  Re-enable the spoolss (disable spoolss = no)
3.  Set up/install print drivers for the printers
that will allow you to (not all will, and you'll
have to keep the use client driver = yes
for those.  AdobePS and Lexmark are two that I've
had to do that with.  HPs work ok, FWIR.
4.  Install the printers on the clients again.

If anyone has more correct info, please respond;
I'd rather Paul be given the right info than
have to unlearn/undo bogus advice.

Jim


 -Original Message-
 From: Paul Richards [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, August 27, 2003 10:28 AM
 To: [EMAIL PROTECTED]
 Subject: [Samba] Printing problems Win2K SP4 on 3.0.x and 2.x
 
 
 I'm afraid I am stumped, and need some help or pointers.
 
 Ever since I've upgraded my Win2k boxes to SP4, I've been 
 unable to print
 to Samba-shared printers (on Solaris and Freebsd).  Originally I was 
 running
 the current 2.2.x, and figured trying to diagnose the problem 
 would provide
 an impetus for trying 3.0, which I have from beta3 through 
 RC1.  That bit 
 of
 history is to indicate that sharing *did* work prior to SP4.
 
 From the Win2k perspective, it cannot open the printer.  I 
 can remove and 
 install
 it, and the wizard completes successfully, but the printer 
 status window 
 shows in
 the title bar xxx on xxx failed to open, retrying  
 Sometimes it times 
 out and
 then the general Printers window will show in the Status field that 
 printer no longer
 exists on server or opening, but never ready.  I can open the 
 properties window,
 and see the appropriate properties (can't change anything), 
 but if I try to 
 print
 a test page explorer.exe dies.
 
 From the Samba server perspective, it looks fine.  I can use 
 smbclient to 
 connect to
 the printer, and spool a file to it.  As mentioned above, the 
 Win2k drivers 
 were
 successfully added and registered (since Win2k picks them 
 up).  There are 
 errors in
 the smbd logs that appear any time a Win2KSP4 box attempts to 
 open the 
 printer:
 
 [2003/08/26 16:00:48, 0] smbd/ipc.c:reply_trans(569)
   reply_trans: invalid trans parameters
 [2003/08/26 16:00:48, 3] smbd/error.c:error_packet(113)
   error packet at smbd/ipc.c(574) cmd=37 (SMBtrans) 
 NT_STATUS_INVALID_PARAMETER
 
 (I've not copied the higher loglevel data yet to save space).
 
 If someone can help, I'd appreciate it.  I have much more 
 detailed error 
 logs from
 the server, and if needed can post exerpts from my smb.conf file.
 
 -Paul
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Win2K sp4 can't print

2003-07-24 Thread Van Sickler, Jim


 -Original Message-
 From: Chuck Stuettgen [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, July 23, 2003 9:22 PM
 To: Van Sickler, Jim
 Subject: RE: [Samba] Win2K sp4 can't print
 
 
 On Wed, 2003-07-23 at 21:32, Van Sickler, Jim wrote:
  Bob,
  
I've upgraded several systems here to SP4,
  and haven't run into any of these errors (yet!).
  
  However...
  
Spoolss was updated in SP4;  I'd try deleting
  the printers  their ports on the SP4 PCs, then
  adding them again.  If you toggled or added the
  disable spoolss = yes setting, or upgraded
  to 2.2.8a after the ports on the win2k PCs
  were created, it may cause the Access Denied error.
 
 disable spoolss = yes didn't fix the Access Denied error for my
 w2ksp3 clients. (haven't tried sp4 yet)
 
 use client driver = yes gets rid of the Access Denied error but I
 now get error opening, retrying message and the print 
 jobs are not
 displayed in the print queue.  But, I'm still working it.. 
 
Are you setting the printers up as Network or
  Local on the PCs?  It makes a difference.  Local gave
  me fewer problems.  Use  \\server\printshare as the
  port name.
 
 Could you tell me how you set a UNC as a port without using 
 the Network
 option in the printer setup wizard?
 
 How do you add it as new port?

Start, Settings, Printers, Add Printer, Local Printer,
Next, Create a New Port; Type:  Local Port, enter the
UNC for the Samba share as the Port Name.  Done!
NOTE:  The share has to exist in order to add it. You'll
get a Not Found error if it doesn't.

 
To be honest, I've pretty much given up on printing in
  Samba 2.x, and gone over to Standard TCP/IP Ports, printing
  to the lprng daemon on the Samba server.  I posted a whole
  bunch of times trying to get a way to enumerate the correct
  print job info on the clients, instead of the smbprn.xxx.xxx
  that is usually available.  I never got a solution...
  
 
 I'm using the stock RH 8.0 Samba 2.2.5-10 and LPRng 3.8.9-6.
 
 It took me a few days of google searches before I finally found this..
 
 Add the -U%U -J%J parameters to get lpq to display the document name
 instead of smbprn.xx.x. This works for both W2k and W9x
 clients.  The quotes around the %J are required.
 
 Mine looks like this:
 
 print command = lpr -P%p -U%U -J%J -r %s
 
I'll give that a try and see what's displayed.

 Be aware of one oddity, on our w2k clients with the Novell Netware
 client installed, if the user is logged in the local 
 workstation account
 as administrator and the Novell account as his regular account, print
 jobs will show up with the name as Remote Download Document 
 instead of
 the real document name. If you create a local workstation account that
 matches the Novell user account and have the user use that 
 instead, then
 the print jobs will display the correct document name. 

All of my users are admin's on their PCs, and log onto the PC
with their Domain user account.  They also display Remote
Downlevel Document instead of the file name.  No Novell
client installed.  No local accounts.
 
 I haven't done any further testing of this, we don't have a Windows
 domain and I haven't tried removing the Novell client and 
 printing so I
 don't know if it Microsoft or Novell bug. 
 
 -- 
 Like the dinosaur, Windows on the desktop is destined to
 become extinct...
 
 Chuck Stuettgen [EMAIL PROTECTED]
 http://www.cfs-tech.homelinux.net
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Win2K sp4 can't print

2003-07-24 Thread Van Sickler, Jim
You can blame SP4 if you want too;  I won't mind.

Weren't those PCs printing ok prior to the
upgrade to SP4?

Honestly,  I've only had one of about
1/2 dozen PCs that I've put SP4 on show any
oddities aftewards.  And the one PC was flaky
prior to the SP install.

The SP4 folks here that are using Solidworks 2003
have noticed their systems are much more stable,
and what used to be BSODs are now CTDs (Crash
To Desktops) instead.  Solidworks crashing
now only kills itself, instead of the whole
system...

Jim

 -Original Message-
 From: Bob Crandell [mailto:[EMAIL PROTECTED]
 Sent: Thursday, July 24, 2003 10:06 AM
 To: Samba List
 Subject: RE: [Samba] Win2K sp4 can't print
 
 
 Van,
 
 I think part of it was my fault.  I went back and looked at 
 some of the other NT4,
 XP and Win2K that were working fine and found out that they 
 were all setup as local
 printers, that is, captured LPT ports.  I don't think I can 
 blame sp4.  I wish I
 couldn't blame me.
 
 Thanks
 
 
 Van Sickler, Jim ([EMAIL PROTECTED]) wrote:
 
 Bob,
 
   I've upgraded several systems here to SP4,
 and haven't run into any of these errors (yet!).
 
 However...
 
   Spoolss was updated in SP4;  I'd try deleting
 the printers  their ports on the SP4 PCs, then
 adding them again.  If you toggled or added the
 disable spoolss = yes setting, or upgraded
 to 2.2.8a after the ports on the win2k PCs
 were created, it may cause the Access Denied error.
 
   Are you setting the printers up as Network or
 Local on the PCs?  It makes a difference.  Local gave
 me fewer problems.  Use  \\server\printshare as the
 port name.
 
   The lpc commands don't look quite right -
 mine are from lprng, but the syntax is pretty
 much the same:
 
 lpq command = /usr/local/bin/lpstat %p
 lprm command = /usr/local/bin/lprm -P%p %j
 lppause command = /usr/local/sbin/lpc hold %p %j
 lpresume command = /usr/local/sbin/lpc release %p %j
 queuepause command = /usr/local/sbin/lpc stop %p
 queueresume command = /usr/local/sbin/lpc start %p
 
   To be honest, I've pretty much given up on printing in
 Samba 2.x, and gone over to Standard TCP/IP Ports, printing
 to the lprng daemon on the Samba server.  I posted a whole
 bunch of times trying to get a way to enumerate the correct
 print job info on the clients, instead of the smbprn.xxx.xxx
 that is usually available.  I never got a solution...
 
   Printing through lprng has given me two big benefits:
 my Lanier 2138 no longer goes off into la-la land
 (don't get me started on Ricoh's COMPLETELY CRAPPY job
 of de-bugging their firmware), and the correct info is displayed
 for the printer queues.
 
 Hope this helps,
 Jim
 
 
 --
 Bob Crandell
 Assured Computing
 When you need to be sure.
 [EMAIL PROTECTED]
 www.assuredcomp.com
 Voice - 541-689-9159
 FAX - 541-463-1627
 Eugene, Oregon
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Join linux to win Nt pdc

2003-07-14 Thread Van Sickler, Jim
sonjay,

Try just this part of your command line:

smbpasswd -j linux-net -r 192.168.0.1

If I include the administrator info, it fails,
but this works.  Make sure you've already
added the machine account to the domain.

Jim

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Thursday, July 10, 2003 11:30 PM
 To: [EMAIL PROTECTED]
 Subject: [Samba] Join linux to win Nt pdc
 
 
 dear milist
 
  i'm newbie , i try to join my linux box to win nt pdc , i try follow
 documention in samba.org but still not working
 
 here the conditional of my server .
 
 server win nt PDC = 192.168.0.1
 linux workstation = 192.168.0.10( linux mandrake 9.1+ samba )
 in win nt PDc have been add win nt workstation with name 
 linux ( linux ws)
 
 here my samba.conf
 [global]
 netbios name = linux
 server string = linux-inside
 encrypt passwords = Yes
 security = domain
 workgroup = linux-net
 password server = *
 map to guest = Bad User
 log file = /var/log/samba/log.%m
 max log size = 50
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 then i try to join with command.
 #smbpasswd -j linux-net -r 192.168.0.1  -D 3 -U Administrator%pass
 Initialising global parameters
 params.c:pm_process() - Processing configuration file 
 /etc/samba/smb.conf
 Processing section [global]
 added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
 Connecting to 192.168.0.1 at port 445
 error connecting to 192.168.0.1:445 (Connection refused)
 Connecting to 192.168.0.1 at port 139
 failed session request
 Error connecting to 192.168.0.1
 Unable to join domain linux-net.
 
 that error log i get , any body can help me , because my 
 planing to change
 microsoft workstation with linux and join to win nt pdc , now 
 use win nt
 pdc for temperory , later after finish change workstation win 
 nt pdc will
 change with samba pdc .
 thank's
 
 
 
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Max Print Jobs Problem

2003-07-14 Thread Van Sickler, Jim
Chuck,

  Try setting Max Print Jobs = 0 (unlimited),
restart samba, then run testparm -x to
see if the change took effect.

NOTE:  I just changed the value, and ran
testparm -x without restarting samba,
and the value changed from the default
of 1000 to 0.  I'd still restart, just
to be sure the running daemon reread
smb.conf.

Jim



 -Original Message-
 From: Chuck Stuettgen [mailto:[EMAIL PROTECTED]
 Sent: Monday, July 07, 2003 5:49 PM
 To: samba
 Subject: [Samba] Max Print Jobs Problem
 
 
 I have setup a dedicated print server running on RH 8 with Samba
 2.2.5-10 and LPRng-3.8.9-6 to service a HP9000 printer. The 
 print queue
 for this HP9000 gets it print jobs from a Windows server via a script
 and the queue is set to HOLDALL status.  The HOLDALL status 
 is necessary
 because the script runs overnight to produce the print jobs which can
 total anywhere from 500 to 12,000 individual print jobs.
 
 My problem is that samba defaults to accepting up to 1000 print jobs
 then starts discarding print jobs.
 
 I have edited smb.conf and added both
 
 Max Print Jobs = 2
 Total Print Jobs = 21000
 
 But it still doesn't work.  Once the queue reaches 1000 print jobs it
 starts deleting print jobs to make room for the newer print jobs being
 created by the script.
 
 Can anyone give me some advice on what I'm missing..
 
 
 
 -- 
 Chuck Stuettgen [EMAIL PROTECTED]
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Keep getting Error Network Path not found

2003-07-14 Thread Van Sickler, Jim
Keith,

  Try adding the boxes to the hosts and lmhosts files:

Linux - in /etc
Win2k - in c:\winnt\system32\drivers\etc

Jim

 -Original Message-
 From: Keith Williams [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, July 09, 2003 5:10 PM
 To: Samba Help
 Subject: [Samba] Keep getting Error Network Path not found
 
 
 Hi Team,
 I keep getting the new error Network Path Not found.
 I have changed security to all of them samething.
 I have installed 3.0b2-- samething.
 I enabled WINS with a private address of 10.0.0.1
 Samthing.
 I even tried setting up a DNS but that mucked everything up.
 I can ping both boxes just fine it just with Samba and w2k joining the
 Domain.
 I do have a router that acts as my dhcp server for the net- 
 Linux likes this
 just fine cause i can fly on the net with Linux - one of the 
 reasons I like
 it so mucm. :-))
 I hope someone can give me a clue as to what is causing this. 
 I am willing
 to try another config file if need to be. Anything just to 
 see some success
 would be great.
 
 Thanks for your help guys,
 
(snip)
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Samba Setup

2003-04-01 Thread Van Sickler, Jim
Jim,

We'll need more info in order to effectively help you.

Would you post your smb.conf for us?  Mod any IP info with
xxx's or 192.168.1.xxx, to keep your real net info private.

What version of Samba are you running?

What version of Solaris?

RE: another post:  plain-text passwords are NOT
recommended, is what I think they meant to say/type.
And he's right.  Plain-text passwords aren't
neccessary, and probably won't fix what's really
wrong.

Thanks in advance,
  Jim

  -Original Message-
  From: Jim Mashore [mailto:[EMAIL PROTECTED] 
  Sent: Tuesday, April 01, 2003 11:27 AM
  To: [EMAIL PROTECTED]
  Subject: [Samba] Samba Setup 
  
  
  I'm setting up Samba on My Solaris box and whenever I try to 
  access it from My win2000 machine I get the following error
  
  The account is not authorized to log in from this station
  
  What does this mean ?
  
  TIA
  
  Jim Mashore
  
  
  
  -- 
  To unsubscribe from this list go to the following URL and read the
  instructions:  http://lists.samba.org/mailman/listinfo/samba
  
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Printer Rights Fail

2003-03-20 Thread Van Sickler, Jim
The samba docs/folks can tell you more about what spoolss
does... Disabling it reverts samba's printing to the
LanMan Server-mode printing.  That requires the driver
being installed on each PC (use client driver=yes).

The XP systems may have to have the printer reinstalled
using the Add Printer Wizard, and browse to the samba
server to select the printer.  Then use the XP driver
or have Disk method to install the driver.

As for the other (non-functioning) printer on the XP
systems, you might try adding a local port, type
Standard TCP/IP Port, and point it at the lpr port on
your samba server.

For my Lanier 2138, [EMAIL PROTECTED], the settings are:

Port Name:  2138
Printer Name or IP Address:  samba1
Protocol:  LPR
LPR Byte Counting Enabled = checked
SNMP Status Enabled = unchecked


Two bonuses from using the LPR port instead of samba:
1.  I get the actual job name, not smbprn.xx.xx
2.  The Lanier Job History reflects the correct info as well.
Otherwise it displays smbprn.xx.xx or Remote
Downlevel Document as the file name, depending on how you
tweak the print command = entry in smb.conf.

I've sent several msgs to this list about how can I fix this...
Samba's using the spool dir file name as the job name, not
the PC-provided filename.  That's why it's smbprn.xx.xx,
and samba provides this to LPR/LPRng as the Job Name (%J).
If you print directly to LPR/LPRng, the correct file name
is displayed as the Job name.

Hope this helps,
  Jim



 -Original Message-
 From: Kevin Bramblett [mailto:[EMAIL PROTECTED]
 Sent: Thursday, March 20, 2003 9:14 AM
 To: [EMAIL PROTECTED]
 Subject: RE: [Samba] Printer Rights Fail
 
 
 Jim,
 
 Thanks for your help.  It corrected the immediate problem.  However, I
 noticed that for some XP systems we had using the lp printing 
 (apparently
 was using the spooler, I assume) stopped working.
 
 Do you have any idea what the disable spoolss does?  We had 
 the use client
 driver already.
 
 Thanks again for your help.
 
 Kevin Bramblett
 
 
 Date: Wed, 19 Mar 2003 17:17:08 -0500
 From: Van Sickler, Jim [EMAIL PROTECTED]
 To: Samba-L (E-mail) [EMAIL PROTECTED]
 Subject: RE: [Samba] Printer Rights Fail
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=iso-8859-1
 MIME-Version: 1.0
 Content-Transfer-Encoding: 7BIT
 Precedence: list
 Message: 45
 
 add the following to your smb.conf [Global]:
 
 disable spoolss = yes
 use client driver = yes
 
 restart samba
 
 Jim
 
  -Original Message-
  From: Kevin Bramblett [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, March 19, 2003 11:42 AM
  To: [EMAIL PROTECTED]
  Subject: [Samba] Printer Rights Fail
 
 
  Hello everyone,
 
  I upgraded my Samba server on my RHL 7.2 box from 2.2.3a to
  2.2.7.  Almost
  immediately afterwards, all of my admin users suddenly were
  unable to access
  the printers that were being shared by Samba.  Any idea of
  what is wrong and
  how to fix it?  The messages I'm getting are that I do not 
 have enough
  rights.
 
  I am using a Windows 2000 Server PDC and a lot of Windows 
 XP Pro, and
  Windows 98/95 clients, of which the Win9x pcs and some XP
  clients have no
  problems.  Things are getting frantic here.
 
  Here is a copy of a portion of my smb.conf file for the printers:
 
  [global]
  printcap name = /etc/printcap
  load printers = yes
  printing = lprng
  use client driver = yes
 
  [printers]
  comment = All Printers
  path = /usr/spool/samba
  browseable = yes
  print command = lpr -b -r -h -P%p %s
  writeable = no
  printable = yes
  valid users = @DDS+DOMAIN USERS @DDS+DOMAIN WEBUSERS
 
  All help is appreciated.
 
  Thanks,
  Kevin Bramblett
  Network Administrator
  DSS Research
 
  No trees were killed in the sending of this message.  However
  a large number
  of electrons were terribly inconvenienced.
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Problem installing a particular printer WinXP/Samba2.2.7a

2003-03-19 Thread Van Sickler, Jim
Has the driver for this printer been installed on
the samba server?  If it has, it may have to be
reinstalled.

If the 4550 can't be installed on the server,
you can create a printer share for
[picasso] and use:
use client driver = yes
path = /var/spool/public
create mode = 0700
printable = yes
public = yes
browseable = yes

Then the Win2k/XP clients will install the driver
locally, instead of using the driver from the
server.

I'd remove all instances of the driver on your
systems (and the server) prior to changing
the setting.  I've had problems removing
them afterwards.

A thought:
writeable=yes is for file shares, and not needed for
print shares, AFAIK.  In fact, having writeable=yes
in one of my printer shares would cause lpd to open
multiple conn's to that printer waiting for status.
Once enough conn's opened up, lpd stopped working
for all printers...deleting the writeable=yes
entry fixed that feature.

I don't think it's causing your problem, but it's
something to watch out for.

Don't forget to run testparm after the mods/restart, to see
if there's anything else amiss.

Jim

 -Original Message-
 From: Tom Crummey [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 19, 2003 9:08 AM
 To: [EMAIL PROTECTED]
 Subject: [Samba] Problem installing a particular printer
 WinXP/Samba2.2.7a
 
 
 
 - Begin Forwarded Message -
 
 Delivered-To: [EMAIL PROTECTED]
 From: Tom Crummey [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 MIME-Version: 1.0
 X-Bogosity: No, tests=bogofilter, spamicity=0.00, version=0.9.1.2
 Subject: [Samba] Problem installing a particular printer 
 WinXP/Samba2.2.7a
 X-BeenThere: [EMAIL PROTECTED]
 X-Mailman-Version: 2.0.13
 List-Help: mailto:[EMAIL PROTECTED]
 List-Post: mailto:[EMAIL PROTECTED]
 List-Subscribe: http://lists.samba.org/mailman/listinfo/samba, 
 mailto:[EMAIL PROTECTED]
 List-Id: General questions regarding Samba samba.lists.samba.org
 List-Unsubscribe: http://lists.samba.org/mailman/listinfo/samba, 
 mailto:[EMAIL PROTECTED]
 List-Archive: http://lists.samba.org/pipermail/samba/
 X-Original-Date: Fri, 3 Jan 2003 10:08:28 + (GMT)
 Date: Fri, 3 Jan 2003 10:08:28 + (GMT)
 X-Keywords: 
 
 Hello,
 
 I'm having a problem installing a printer on a Window XP box 
 (the problem
 also occurs in Win2000 SP2) with Samba 2.2.7a. The symptoms are:
 
 Add a printer - network - type in \\pcprint\picasso 
 
 You get a message that there is no driver for this printer on 
 the server
 and to either click OK to continue or Cancel.
 
 Go to printer driver selection (I've disabled spoolss as I 
 don't understand
 how to allow ordinary users to view the queue and delete 
 their own jobs)
 and select the driver which is a HP - Color LaserJet 4550 
 PS. The add printer 
 wizard will then hang, though the printer icon appears in the 
 printers window.
 
 At this point there are two exit methods:
 
 1) delete the printer icon in the printers window and then 
 the wizard will
 complete.
 
 2) Use the task manager to kill the wizard. 
 
 With 1), you don't have the printer installed, and with 2) 
 the installed
 printer doesn't work. The driver files are never copied.
 
 The bit that's relevant to samba is that while the wizard 
 appears hung,
 the client is sending the same request over and over to the 
 samba server.
 A segment of the level 10 log is attached as is the smb.conf file.
 
 All other printers can be added OK using this method, it's 
 just one particular
 printer.
  
 Any assistance would be appreciated.
 
 Tom.
 
 --
 --
  Tom Crummey, Systems and Network Manager,  EMAIL: 
 [EMAIL PROTECTED]
  Department of Electronic and Electrical Engineering, 
  
  University College London,   TEL: +44 
 (0)20 7679 3898
  Torrington Place,FAX: +44 
 (0)20 7388 9325
  London, UK, WC1E 7JE. 
 --
 --
 
 
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Printer Rights Fail

2003-03-19 Thread Van Sickler, Jim
add the following to your smb.conf [Global]:

disable spoolss = yes
use client driver = yes

restart samba

Jim

 -Original Message-
 From: Kevin Bramblett [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 19, 2003 11:42 AM
 To: [EMAIL PROTECTED]
 Subject: [Samba] Printer Rights Fail
 
 
 Hello everyone,
 
 I upgraded my Samba server on my RHL 7.2 box from 2.2.3a to 
 2.2.7.  Almost
 immediately afterwards, all of my admin users suddenly were 
 unable to access
 the printers that were being shared by Samba.  Any idea of 
 what is wrong and
 how to fix it?  The messages I'm getting are that I do not have enough
 rights.
 
 I am using a Windows 2000 Server PDC and a lot of Windows XP Pro, and
 Windows 98/95 clients, of which the Win9x pcs and some XP 
 clients have no
 problems.  Things are getting frantic here.
 
 Here is a copy of a portion of my smb.conf file for the printers:
 
 [global]
 printcap name = /etc/printcap
 load printers = yes
 printing = lprng
 use client driver = yes
 
 [printers]
 comment = All Printers
 path = /usr/spool/samba
 browseable = yes
 print command = lpr -b -r -h -P%p %s
 writeable = no
 printable = yes
 valid users = @DDS+DOMAIN USERS @DDS+DOMAIN WEBUSERS
 
 All help is appreciated.
 
 Thanks,
 Kevin Bramblett
 Network Administrator
 DSS Research
 
 No trees were killed in the sending of this message.  However 
 a large number
 of electrons were terribly inconvenienced.
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Error on locking database

2003-02-07 Thread Van Sickler, Jim
run testparm
check the lock dir entry; it's
possible that the specified dir doesn't exist
and/or has the wrong rights.

The default dir is set to /var/spool/lock on mine.
Older samba releases were in /var/lock, IIRC.

Jim

 -Original Message-
 From: A. Dishong [mailto:[EMAIL PROTECTED]]
 Sent: Friday, February 07, 2003 10:07 AM
 To: [EMAIL PROTECTED]
 Subject: [Samba] Error on locking database
 
 
 I have installed Samba 2.2.2 on Solaris 8 Sun Blade.  Samba 
 starts but I 
 can not see any workgroup and when smbstatus is started I get the 
 following error:
 
 Samba version 2.2.2
 Service  uid  gid  pid machine
 --
 
 Failed to open byte range locking database
 ERROR: Failed to initialise locking database
 Can't initialise locking module - exiting
 
 Any ideas, thanks Andy
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Printing irritation

2003-01-29 Thread Van Sickler, Jim
What does the Print Command entry look like in
your smb.conf?

Jim

 -Original Message-
 From: Simon Chappell [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 29, 2003 6:39 AM
 To: [EMAIL PROTECTED]
 Subject: [Samba] Printing irritation
 
 
 I have a few smb servers running cups or lpr. the problem i 
 have is that
 some sites are turing over many print jobs and eventually printing
 stops. I find that the /var partition is full and on investigation
 /var/spool/samba is full of smbprn.blah.blah files. when i dlete the
 files printing is again fine and i have loads of space on the var
 partition (1-2gig normally). On some servers i have put a line in
 crontab to remove these files at 11pm every night which seems 
 to work ok
 but I am not sure it is not just a bodge to get round a problem.
 
 Any ideas would be greatly received.
 I have trawled google and mailing lists and it looks like i 
 have created
 a new problem!
 
 Simon
 
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] How do I get the @#$$% job name to show instead of smbprn.xxxxxx.xxxxxx?

2003-01-28 Thread Van Sickler, Jim
Still at it

Clients:  Win2k SP2
Server: OpenBSD 3.2
LPRng 3.8.20
Samba 2.7.pre1
Printer:  Lanier 2138
Driver:  Ricoh RPCS

Tried:  disable spoolss yes/no (on separate samba servers)

  If I print through Samba/LPRng, I get
the document name of smbprn.xx.xx
displayed in the 2138's log.

If I print directly to LPRng through a
Standard TCP/IP port, I get the correct
file name displayed.

Adding the -J%J parameter to the Print Command line
has no effect.  Other changes to the Print Command
(-U%m) work as advertised.

Various test methods ALL show that %J consists of the
correct file name, vice the smbprn.xx.xx string.
Yet smbprn.xx.xx is all that is ever passed on
to the printer...

Is anyone else experiencing this problem?  If you've seen
it and know the solution, I'd really like to hear from you.

Jim
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] RE: How do I get the @#$$% job name to show instead of smbprn.yada.yada?

2003-01-16 Thread Van Sickler, Jim
 -Original Message-
 From: Joel Hammer [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 15, 2003 6:57 PM
 To: Van Sickler, Jim; [EMAIL PROTECTED]
 Subject: Re: [Samba] How do I get the @#$$% job name to show 
 instead of
 smbprn.yada.ya da?
 
 
 If the file name is right in /tmp/J, then it looks like samba 
 is working ok.
 
 I guess the question would be, does your version of lpr support the -J
 option? lpr -H shows all the options. 
 
 What happens if you just print a file on your linux server 
 (with the printer
 turned off) with:
 
 lpr  -JThis is my banner FileToPrint
 
 lpq should show something like this:
 
  Rank   Owner/ID   Class Job  Files   
 Size Time
 active  jlh@hammer2+227   A  227 This is my 
 banner  24 20:43:27   
 
 Joel
 
 
 On Wed, Jan 15, 2003 at 07:35:25PM -0500, Van Sickler, Jim wrote:
  I'm tinkering with this mod to my smb.conf,
  and can't get the actual filename to be
  displayed in the printed job history.
  
  It's adapted from one Joel put out on the list
  last year.  My impression is that it works for
  everyone in the world but me
  
  All that ever shows up is smbprn.yada.yada...
  in the printer's history of printed jobs.
  
  print command = echo %J %p %s/tmp/junkJ;\
  a=`echo '%J' | sed s/^.*- //` ;\
  echo This is truncated $a  /tmp/junkJ;\
  /usr/local/bin/lpr -P%p  -J$a -U%m %s;\
  rm %s
  
  Looking in /tmp/junkJ, the $a is the filename,
  as it's supposed to be.
  
  
  I'm running OpenBSD 3.2, LPRng 3.8.19.  Clients are
  all Win2k/SP2.  The printer(s) are a mix of HP4s,
  and a new Lanier 2138 (Ricoh 3800c in sheeps clothing).
  
  I think something isn't being parsed/passed
  correctly between Samba and LPRng.
  
  Using the standard LPRng Print Command produces the
  same results (lpr -P%p -r %s), so it almost seems
  as though the -J%J job info parameter is being
  ignored (when I add it to the Print Command)
  
  Any help would be appreciated.
  
  Jim
  -- 
  To unsubscribe from this list go to the following URL and read the
  instructions:  http://lists.samba.org/mailman/listinfo/samba
 
---

From Samba 2.2.7pre1's print_generic.c:

pstrcpy(print_directory, pjob-filename);
p = strrchr(print_directory,'/');
if (!p)
return 0;
*p++ = 0;

if (chdir(print_directory) != 0)
return 0;

pstrcpy(jobname, pjob-jobname);
pstring_sub(jobname, ', _);
slprintf(job_page_count, sizeof(job_page_count)-1, %d,
pjob-page_count);
slprintf(job_size, sizeof(job_size)-1, %d, pjob-size);

/* send it to the system spooler */
ret = print_run_command(snum, 
  lp_printcommand(snum), NULL,
  %s, p,
  %J, jobname,
  %f, p,
  %z, job_size,
  %c, job_page_count,
  NULL);

---

I'm confused about what %J holds.

From the above, it holds the smbprn.yada.yada filename from
the samba spool directory;  not the Win2k-supplied file name.
When I look at the LPRng control file for the job in the
/var/spool/lpd/2138 subdir, Jwinfilename is in there...
but the Lanier History is displaying the smbprn.yada.yada
as the filename.

Any of these produce the same result;
user=machine name (as it should)
Document Name=smbprn.yada.yada

Normal Print Command:
/usr/local/bin/lpr -U%m -P%p -r %s
/usr/local/bin/lpr -U%m -J%J -P%p -r %s

From scripted section Print Command:
/usr/local/bin/lpr -P%p  -J$a -U%m %s;\
/usr/local/bin/lpr -P%p  -JTest by Jim -U%m %s;\
/usr/local/bin/lpr -P%p  -J$a -U%m %s;\
/usr/local/bin/lpr -P%p  -J%J -U%m %s;\
/usr/local/bin/lpr -P%p  -J%J -U%m %s;\

But according to /tmp/junkJ, $a is the windows file name, not
the spool file name.  So does the control file in the
spool directory.

If I send a file to the Lanier from the command line,
the file name is always listed as the Document Name.
e.g.
/usr/local/bin/lpr -P2138  -Jlmhosts /etc/samba/lmhosts
/usr/local/bin/lpr -P2138  -Jlmhosts /etc/samba/lmhosts
/usr/local/bin/lpr -P2138  -JThis is lmhosts /etc/samba/lmhosts

lpq shows the file name as either lmhosts or
This is lmhosts, but the Lanier shows it as
/etc/samba/lmhosts



Maybe I'm off the mark here...and the Lanier is the bozo.

I don't think so yet, because it's only displaying what
the samba server/LPRng are passing on to it.  Or is it?
How does it get the smbprn.yada.yada as the filename?

LPRng is sending the right info, as far as lpq shows;  but
it isn't sending the right info to the Lanier, as far as
the Doc Name of smbprn.yada.yada shows.  

What part Samba is playing, I'm not sure yet.  It all
seems to be working as it should, but I'm not
satisfied.

Jim
-- 
To unsubscribe

[Samba] How do I get the @#$$% job name to show instead of smbprn.yada.ya da?

2003-01-15 Thread Van Sickler, Jim
I'm tinkering with this mod to my smb.conf,
and can't get the actual filename to be
displayed in the printed job history.

It's adapted from one Joel put out on the list
last year.  My impression is that it works for
everyone in the world but me

All that ever shows up is smbprn.yada.yada...
in the printer's history of printed jobs.

print command = echo %J %p %s/tmp/junkJ;\
a=`echo '%J' | sed s/^.*- //` ;\
echo This is truncated $a  /tmp/junkJ;\
/usr/local/bin/lpr -P%p  -J$a -U%m %s;\
rm %s

Looking in /tmp/junkJ, the $a is the filename,
as it's supposed to be.


I'm running OpenBSD 3.2, LPRng 3.8.19.  Clients are
all Win2k/SP2.  The printer(s) are a mix of HP4s,
and a new Lanier 2138 (Ricoh 3800c in sheeps clothing).

I think something isn't being parsed/passed
correctly between Samba and LPRng.

Using the standard LPRng Print Command produces the
same results (lpr -P%p -r %s), so it almost seems
as though the -J%J job info parameter is being
ignored (when I add it to the Print Command)

Any help would be appreciated.

Jim
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Re: How Samba let us down

2002-10-24 Thread Van Sickler, Jim
 Philip Burrow wrote:

 - Original Message -
 From: Most of you
 Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Wednesday, October 23, 2002 10:14 PM
 Subject: Re: [Samba] Re: How Samba let us down
 
  etc etc
 
 Well this one certainly roused you all.
 
 Must it be the case that you all jump in to reply to this
 unhelpful garbage yet when someone posts a 'simple' query
 they often don't get any replies.

The main reason 'simple' queries don't get replies is that
the answers can be found in so many places.  These resources
should be utilised before posting queries.  In the time that
it takes to compose the 'simple' query, the answer could have
been found, complete with circles and arrows and a paragraph
on the back 'a each one

Given a manual and a telephone, many, many people would
pick up the phone and call tech support before cracking
the manual open.  It's the same with tech lists, I guess.

RTFM
RTFAQ
Google
RTListArchives
RTOnLineDocs(SWAT)
ThinkAboutItAWhile
Repeat if necessary
Then Post...

Jim
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Printing issue

2002-10-17 Thread Van Sickler, Jim
 -Original Message-
 From: Jason Valenzuela [mailto:jvalenzuela;dspfl.com]
 Sent: Thursday, October 17, 2002 9:27 AM
 To: [EMAIL PROTECTED]
 Subject: [Samba] Printing issue
 
 
 I'm trying to setup a print server for Samba clients to use. 
 I have a HP
 LaserJet 4 connected to /dev/lp0 and I'm using the LPRng 
 spooling package.
 Documents printed from Windows clients make it to the 
 printer. However the
 printed documents, mostly Excel/Word documents, have various 
 abberations on
 them. Graphical flaws, the text seems fine. In addition I 
 seem to get 2
 copies for some reason. Also when I look at the print queue 
 via Windows I
 get, Access denied, unable to connect.
 I have no filters in place, using -l with the lpr print 
 command, as I do not
 wish to print directly from the Samba box. Any suggestions?
 
 Thanks,
 Jason Valenzuela
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba

Jason,

1.  Are you using the Windows native drivers?  If so, update them to
more current drivers from HP.  I'm using either NT/Win2k v4.3.2.38 or
Win2k/XP v02.12.02 of the PCL 5E drivers.  The MS-Supplied HP LJ4 drivers
 (and Lexmark Optra S and more...) have a host of problems.  Including
missing characters, graphics, etc.

2.  Run testparm on your Samba box to see/fix problems in your
setup.  Directory rights on the lprng or samba spool dirs may cause
the Access Denied errors.  Look at the LPRng How-To for the
correct syntax for the smb.conf entries.  Run checkpc -V -f to
see/fix problems in the lprng setup.

3.  If you're using the print$ share to distribute your drivers,
adding guest ok=yes may clear up the Access Denied errors.  Be sure
that you have guest account and Map to Guest configured in smb.conf.
Use SWAT to get to the smb.conf readme for more info.

Jim
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Cannot pause printer

2002-09-24 Thread Van Sickler, Jim



There are syntax typo's in the LPRng 
readme;

Try these instead:

 lppause 
command = /usr/local/sbin/lpc hold %p 
%j lpresume command = 
/usr/local/sbin/lpc release %p %j 
queuepause command = /usr/local/sbin/lpc stop 
%p queueresume command = 
/usr/local/sbin/lpc start %p
Jim

  -Original Message-From: Sander van Vliet 
  [mailto:[EMAIL PROTECTED]]Sent: Saturday, September 
  21, 2002 4:03 AMTo: [EMAIL PROTECTED]Subject: 
  [Samba] Cannot pause printer
  Hi 
  
  When I try to pause a printer it spits out an 
  error that I don't have permission to pause the printer. It is pretty weird 
  
  because I'm the administrator. I've tried to add 
  the write list=ntadmin option but that doesn't work.
  
  Does anyone have a clue?
  
  TIA Maxor


RE: [Samba] Problems with CUPS and a networked epson printer

2002-06-14 Thread Van Sickler, Jim

disable bidirectional printing on the
(windows) printer's Port properties.
Since the Epson isn't connected to
LPT1, the status monitor
can't talk to the printer...

Jim

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Friday, June 14, 2002 7:43 AM
 To: [EMAIL PROTECTED]
 Subject: [Samba] Problems with CUPS and a networked epson printer
 
 
 I have an Epson Stylus Color 880, connected to our network via an
 external ethernet pr
intserver. I used to run lprng on the samba server
 (which is a domain controller), and the Windows clients had one minor
 problem accessing this printer via Samba (2.2.3a, then): Every time a
 client wanted to print, the Epson status monitor on the client would
 complain about communication problems with the printer. However, when
 one just acknowledged this message, the printer printed.
 
 Now I switched to CUPS (and Sa
 mba 2.2.4), because I think this method is
 far more advanced, and 
it is more convenient for inexperienced users
 that have to manage jobs and printers. All is well with the networked
 laser printers, however, this one inkjet printer fails to 
 print at all.
 
 Printing from the server or a linux client running its own 
 CUPS is fine.
 
 When I try to print from any windows client, the status 
 monitor comes up
 and obviously waits long for something until it finally times out and
 says:
 
 | Communication Error:
 
 |
 | Check all connection
s and make sure all devices are on...
 
 
 In the logfile for the respective client, the following 
 messages appear:
 
 [2002/06/14 16:02:41, 2] lib/access.c:check_access(329)
   Allowed connection from  (141.89.201.37)
 [2002/06/14 16:12:20, 0] printing/print_cups.c:cups_job_submit(655)
   Unable to print file to eps880 - 
 client-error-document-format-not-supported
 [2002/06/14 16:12:45, 2] smbd/server.c:exit_server(461)
   Closing connections
 [2002/06/14 16:14:40, 2] lib/acces
s.c
 :check_access(329)
   Allowed connection from  (141.89.201.37)
 
 This is debug level 2, on level 3 it's much more verbose - I think I
 shouldn't send all this stuff to a whole mailing list, and I don't see
 what's the relevant part of it. The printer drivers are stored and
 installed locally, not on the server.
 
 
 How could I resolve or further debug this problem? Would switching to
 server-stored drivers or a different printer (we do have some 
 HP Deskjet
 and some other 
Epson Stylus here).
 
 TIA, Frank
 
 -- 
 Frank Fürst, physikalische Biochemie, Universität Potsdam, Germany
 Tel.: +49-331-977-5244Fax: +49-331-977-5062
 
 
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 ¾Ëâ ž!?N
 
×¾Ëâ
ž!ˆN

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: RE: [Samba] failed to make clean all on today's samba_2_2

2002-06-14 Thread Van Sickler, Jim

Fixed - for some reason, wget saw include/rpc_samr.h
as unchanged.  rm'ing it and re-wget'ing it fixed
it.  Made me wonder what other files have been changed
and not downloaded;  wiped my /source dir and
pulling down the current samba_2_2/source

Jim

 -Original Message-
 From: Van Sickler, Jim [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 13, 2002 4:50 PM
 To: 'Van Sickler, Jim'
 Subject: RE: [Samba] failed to make clean all on today's samba_2_2
 
 
 I just wget'd the updated source, and get the following 
 result on make
 clean all
 
 
 Using LIBS =
 Compiling smbd/server.c
 In file included from include/ntdomain.h:287,
  from include/rpc_misc.h:24,
  from include/smb.h:1604,
  from include/includes.h:676,
  from smbd/server.c:22:
 include/rpc_samr.h:1834: unbalanced `#endif'
 *** Error code 1
 
 Stop in /eodc/shared/samba_2_2/source
 
 
 previous failure is listed below:
 (I saw proto.h had been updated)
 
  -Original Message-
  From: Van Sickler, Jim [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, June 13, 2002 4:43 PM
  To: Samba-L (E-mail)
  Subject: [Samba] failed to make clean all on today's samba_2_2
  
  
  Using LIBS =
  Compiling smbd/server.c
  In file included from include/ntdomain.h:287,
   from include/rpc_misc.h:24,
   from include/smb.h:1604,
   from include/includes.h:676,
   from smbd/server.c:22:
  include/rpc_samr.h:1834: unbalanced `#endif'
  In file included from include/includes.h:736,
   from smbd/server.c:22:
  include/proto.h:1: unterminated `#if' conditional
  *** Error code 1
  
  Stop in /eodc/shared/samba_2_2/source
  
  -- 
  To unsubscribe from this list go to the following URL and read the
  instructions:  http://lists.samba.org/mailman/listinfo/samba
  
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] RE: 2.2.x Printing from Win2k-more clues

2002-06-13 Thread Van Sickler, Jim



 -Original Message-
 From: Mak, Ryan [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 13, 2002 11:37 AM
 To: 'Van Sickler, Jim'
 Subject: RE: 2.2.x Printing from Win2k-more clues
 
 
 since i have use client driver = no, does that mean the win2k 
 client is trying to access the driver file in my
 /var/spool/lpd/epson directory which is chown lp.lp??

The driver isn't located there;  that's the dir
lpr is spooling print jobs for the epson.  Samba
would use the /var/spool/samba/epson dir to manage
jobs spooled to lpr.  Win2k  is using the PC's driver
dir's to install into (\winnt\system32\spool\drivers),
and will prompt you for the driver disks/location.

Print Job:  client -- samba -- lpr -- printer

Print Status:  printer -- lpr -- samba -- client

 browsed through microsoft's win2k print forums and it
 described the network print process as calling GDI.exe to 
 access the printer driver...i am somewhat confuse about
 this...is the driver at the server downloaded or accessed??

Others can address this much better than I...jerry?

I think if it's local (LanMan Printer Port, or TCP/IP)
the local driver is used. (disable spoolss=yes)

It's registry info is located in  HKEY_LOCAL_MACHINE\SYSTEM
\CurrentControlSet\Control\Print\Providers\LanMan Print Services\PortNames\
\\server\printer
If it's remote, it's passed through win32spl.dll,
(disable spoolss=no), the registry section is
HKEY_CURRENT_USER\Printers\Connections\,,server\printer



 of course, if i set printer admin = 
 rmak, i could
 print from notepad but crashes when i try to print from apps 
 such as MSWord,
 Powerpoint, etc.
 
ugh...sounds like a temp file creation/rights issue


Good luck,
Jim
 
 -Original Message-
 From: Van Sickler, Jim [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 13, 2002 12:23 PM
 To: 'Mak, Ryan'
 Cc: Samba-L (E-mail)
 Subject: RE: 2.2.x Printing from Win2k-more clues
 
 
 If you have a [print$] section in your
 smb.conf, try adding guest ok=yes
 and see if that fixes the access problem.
 It did for me, yesterday.  I had a problem
 where every time I tried to get the printer
 properties, either my Win2k spool service or
 explorer.exe would crash...others have
 noted this entry created/fixed problems
 lately.
 
  -Original Message-
  From: Mak, Ryan [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, June 13, 2002 7:19 AM
  To: 'Van Sickler, Jim'
  Subject: RE: 2.2.x Printing from Win2k-more clues
  
  
  
  hi again jim.
  
  i started from scratch and put in what you've recommended and 
  found that i
  am unable to access my printer share with disable spoolss = 
  yes and/or use
  client driver = yes. another thing i've noticed is a 
  permission problem
  accessing /var/spool/lpd/epson when i chown to daemon.daemon. 
  i've even set
  my login and passsword to the same as the ones on my linux 
  server. could
  this be something related to the fact that i've logged into 
 the local
  machine on the win2k client and not a domain controlled by the samba
  server??
  
  
 Maybe-do you have a Unix user that the win2k user can be mapped to
 in /etc/samba/smbusers?  If not, create an account on the Unix box
 and map that to your win2k user.
 
 Do you have Map to Guest=Bad User and guest account=nobody
 in smb.conf?  I actually have guest account=smb_nobody.  I
 created a Unix user named smb_nobody, with no login allowed
 and no home dir.  When I look in my samba logs, smb_nobody shows
 up making connections.  If allow guest=no, then maybe the 
 initial IPC$ connection to the printer fails, and your regular user's
 connection can't follow.  Just a guess on my part...
 You can set the log level=3 or higher.  Clear the log dir
 (rm /var/log/samba/log.*), restart samba, then try to print.
 Look in the log dir, and read through the logs to see if anything
 shows up about access denied, failures, etc.  That might point
 you in a clearer direction.  If/once everything is working, set the
 log level back to 1.
 
 Jim
 
  -Original Message-
  From: Van Sickler, Jim [mailto:[EMAIL PROTECTED]]
  Sent: Monday, June 10, 2002 2:11 PM
  To: 'Mak, Ryan'
  Subject: RE: 2.2.x Printing from Win2k-more clues
  
  
  What are you using for lpr on the Linux box?
  
  If it's LPRng, try running:  checkpc -f -V
  to see if LPRng's unhappy,
  
  testparms |more
  to see if samba has errors.
  
  On my OpenBSD setup, the printcap entry is:
  
  LPRng, printing raw to the printers (no filters)
  .common:cm=Common Settings Go 
 Here:sd=/var/spool/lpd/%P:mx=0:sh:lf=log
  hp4plus:cm=HP4Plus by Graphics PC:tc=.common:rm=10.0.0.101:rp=9100
  
  Samba's smb.conf entry for the same printer (samba-2.2.5pre)
  
  [Global]
  disable spoolss = yes
  printing = LPRng
  printcap name = /usr/local/etc/printcap
  print command = /usr/local/bin/lpr -r -P%p %s
  lpq command = /usr/local/bin/lpstat %p
  lprm command = /usr/local/bin/lprm -P%p %j
  lppause command = /usr/local/sbin/lpc

[Samba] RE: 2.2.x Printing from Win2k-more clues

2002-06-13 Thread Van Sickler, Jim

 -Original Message-
 From: Mak, Ryan [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 13, 2002 2:38 PM
 To: 'Van Sickler, Jim'
 Subject: RE: 2.2.x Printing from Win2k-more clues
 
 
 
 when i looked into /var/spool/lpd/epson, the gimp-print 
 driver, which i've
 told printconf-tui to use for configuring the epson740 to be a local
 printer, is in there. is this the driver used to pipe the job 
 from the spool
 to /dev/usb/lp0?? is the following flow correct??
 
 client - local win2k epson driver - spool - gimp-print 
 driver - printer

I think:

client - local win2k epson driver - win2k spool - samba --
lpd via gimp-print driver - printer


 
 if it sounds like a temp file creation/rights issue, where do 
 you suppose
 this is occuring at, the client or server side??
 
server - printer admins can print, but normal users can't...
try adding @users to the list of printer admins.  Look in
printer_driver2.html for an explanation-it mentions conflicts
and what to do about them, in vague terms.

I honestly think I'm leading you down the wrong path here-
anyone else please feel free to jump in here with the
correct info/advice

Jim

 
 -Original Message-
 From: Van Sickler, Jim [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 13, 2002 4:24 PM
 To: 'Mak, Ryan'
 Cc: Samba-L (E-mail)
 Subject: RE: 2.2.x Printing from Win2k-more clues
 
 
 
 
  -Original Message-
  From: Mak, Ryan [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, June 13, 2002 11:37 AM
  To: 'Van Sickler, Jim'
  Subject: RE: 2.2.x Printing from Win2k-more clues
  
  
  since i have use client driver = no, does that mean the win2k 
  client is trying to access the driver file in my
  /var/spool/lpd/epson directory which is chown lp.lp??
 
 The driver isn't located there;  that's the dir
 lpr is spooling print jobs for the epson.  Samba
 would use the /var/spool/samba/epson dir to manage
 jobs spooled to lpr.  Win2k  is using the PC's driver
 dir's to install into (\winnt\system32\spool\drivers),
 and will prompt you for the driver disks/location.
 
 Print Job:  client -- samba -- lpr -- printer
 
 Print Status:  printer -- lpr -- samba -- client
 
  browsed through microsoft's win2k print forums and it
  described the network print process as calling GDI.exe to 
  access the printer driver...i am somewhat confuse about
  this...is the driver at the server downloaded or accessed??
 
 Others can address this much better than I...jerry?
 
 I think if it's local (LanMan Printer Port, or TCP/IP)
 the local driver is used. (disable spoolss=yes)
 
 It's registry info is located in  HKEY_LOCAL_MACHINE\SYSTEM
 \CurrentControlSet\Control\Print\Providers\LanMan Print 
 Services\PortNames\
 \\server\printer
 If it's remote, it's passed through win32spl.dll,
 (disable spoolss=no), the registry section is
 HKEY_CURRENT_USER\Printers\Connections\,,server\printer
 
 
 
  of course, if i set printer admin = 
  rmak, i could
  print from notepad but crashes when i try to print from apps 
  such as MSWord,
  Powerpoint, etc.
  
 ugh...sounds like a temp file creation/rights issue
 
 
 Good luck,
 Jim
  
  -Original Message-
  From: Van Sickler, Jim [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, June 13, 2002 12:23 PM
  To: 'Mak, Ryan'
  Cc: Samba-L (E-mail)
  Subject: RE: 2.2.x Printing from Win2k-more clues
  
  
  If you have a [print$] section in your
  smb.conf, try adding guest ok=yes
  and see if that fixes the access problem.
  It did for me, yesterday.  I had a problem
  where every time I tried to get the printer
  properties, either my Win2k spool service or
  explorer.exe would crash...others have
  noted this entry created/fixed problems
  lately.
  
   -Original Message-
   From: Mak, Ryan [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, June 13, 2002 7:19 AM
   To: 'Van Sickler, Jim'
   Subject: RE: 2.2.x Printing from Win2k-more clues
   
   
   
   hi again jim.
   
   i started from scratch and put in what you've recommended and 
   found that i
   am unable to access my printer share with disable spoolss = 
   yes and/or use
   client driver = yes. another thing i've noticed is a 
   permission problem
   accessing /var/spool/lpd/epson when i chown to daemon.daemon. 
   i've even set
   my login and passsword to the same as the ones on my linux 
   server. could
   this be something related to the fact that i've logged into 
  the local
   machine on the win2k client and not a domain controlled 
 by the samba
   server??
   
   
  Maybe-do you have a Unix user that the win2k user can be mapped to
  in /etc/samba/smbusers?  If not, create an account on the Unix box
  and map that to your win2k user.
  
  Do you have Map to Guest=Bad User and guest account=nobody
  in smb.conf?  I actually have guest account=smb_nobody.  I
  created a Unix user named smb_nobody, with no login allowed
  and no home dir.  When I look in my samba logs, smb_nobody shows
  up making connections.  If allow guest=no, then maybe the 
  initial

[Samba] failed to make clean all on today's samba_2_2

2002-06-13 Thread Van Sickler, Jim

Using LIBS =
Compiling smbd/server.c
In file included from include/ntdomain.h:287,
 from include/rpc_misc.h:24,
 from include/smb.h:1604,
 from include/includes.h:676,
 from smbd/server.c:22:
include/rpc_samr.h:1834: unbalanced `#endif'
In file included from include/includes.h:736,
 from smbd/server.c:22:
include/proto.h:1: unterminated `#if' conditional
*** Error code 1

Stop in /eodc/shared/samba_2_2/source

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] last job queued quirk - understanding at last!

2002-06-13 Thread Van Sickler, Jim

I solved my problem with the help of someone
on the samba-l.

If I put :done_jobs=0 in the .common section
of my /etc/printcap, the last job printed
is removed from the queue, and my windows
clients no longer show it as Paused.

Changing the done_jobs entry in lpd.conf
didn't seem to have any effect.

So:  If I want to leave the done_jobs at the 
default of 1, how do I hide the files in the
queue dir from Samba once they've been printed?

  Why does Samba show them as Paused?

Jim

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Useful Link

2002-06-12 Thread Van Sickler, Jim

FYI - I came across this today.

http://samba.linuxbe.org/en/samba/learn/printing.html

Jim

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] WIndows 98 asking for a password

2002-06-12 Thread Van Sickler, Jim

Add the samba server information to the
hosts and lmhosts files on your PCs.

Jim

p.s. Connect to the printer share using the
\\hostname\sharename, not \\ip\sharename

 -Original Message-
 From: Neil Aggarwal [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 12, 2002 1:38 PM
 To: SaDIKuZboy; Samba mailing list
 Subject: RE: [Samba] WIndows 98 asking for a password
 
 
 Hello:
 
 I set the samba to use share level access.
 Now, it does not ask for a password, but

 when I try to print something, I get this
 message on the Windows 98 machine:
 
 The was an error writing to \\192.168.1.1\brotherLaser
 for printer (Brother HL-1440 Series):
 The network name cannot be found.
 
 Any ideas?
 
 Thanks,
   Neil.
 
 --
 Neil Aggarwal
 JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
 Custom Internet DevelopmentWebsites, Ecommerce, Java, databases
 
 
  -Original Message-
  From: SaDIKuZboy [mailto:sadik
[EMAIL PROTECTED]]
  Sent: Wednesday, June 12, 2002 3:18 PM
  To: Neil Aggarwal
  Subject: Re: [Samba] WIndows 98 asking for a password
 
 
  Alle 22:08, mercoledì 12 giugno 2002, Neil Aggarwal ha scritto:
 
  do you really need security = user into your samba.conf?
  put security = share and everything will work fine but you'll
  manage shares
  access; not user ones :o)
 
 
  --
  ___
   SaDIKuZboy - Network admin 
at gatinho.com
  -
  Sites that I like/work with:
  www.cups.org- Italian CUPS Translation
  www.nasa.gov- Please join and help SETI@Home
  www.nsa.gov - Security Enhanced Linux
  www.gatinho.com - A growing housemade network
  www.freshmeat.net   - Go get your own linux mad cow!
  www.slackware.it- Sometimes I help people there
  elbalinux.gatinho.com   - Server at gatinho [Elba Island]
  orix.gatinho.com- Serv
er at gatinho [Pompei - IT]
  anaconda.gatinho.com- Server at gatinho [Napoli - IT]
  hub.gatinho.com - Server at gatinho [near Napoli - IT]
  koalino.gatinho.com - Server at gatinho [Milano - IT]
  ___
  Extra Projects:
  ConsoLovePPPD   - PPPD configurator for who loves console
  epsc70ink   - Epson C70-80 InkLevel WebFrontend
  SDK-UniOverflow - Get overflows and exploit`em
  ___
  Contact me at 
irc.gatinho.com on #sadikuzzi / #linux / #FLEXYnet
  -
  Computers are just like air conditioners:
  They stop working properly when you open windows
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 
8¾Ëâ
ž!ˆN

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] WIndows 98 asking for a password

2002-06-12 Thread Van Sickler, Jim

Shorten the share name to less than 12 char's

Win9x can't handle them 12 char's or 

see:  Share Names Greater Than 12 Characters Cause Errors on Clients
[Q145949]
on the Ms site.

Jim
 -Original Message-
 From: Neil Aggarwal [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 12, 2002 2:00 PM
 To: Van Sickler, Jim; Samba mailing list
 Subject: RE: [Samba] WIndows 98 asking for a password
 
 
 Jim:
 
 This did not help.  I created an entry for linuxServer
 that po
ints to 192.168.1.1 and rebooted the machine.
 
 I then went to a DOS prompt and typed:
 ping linuxServer
 and it resolved and pinged the linux server OK.
 
 I then added the network printer via \\linuxServer\brotherLaser
 to no avail.
 
 Any other ideas?
 
 Thanks,
   Neil.
 
 --
 Neil Aggarwal
 JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
 Custom Internet DevelopmentWebsites, Ecommerce, Java, databases
 
 
  -Original Message-

  From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]]On
  Behalf Of Van Sickler, Jim
  Sent: Wednesday, June 12, 2002 3:48 PM
  To: 'Neil Aggarwal'; SaDIKuZboy; Samba mailing list
  Subject: RE: [Samba] WIndows 98 asking for a password
 
 
  Add the samba server information to the
  hosts and lmhosts files on your PCs.
 
  Jim
 
  p.s. Connect to the printer share using the
  \\hostname\sharename, not \\ip\sharename
 
   -Original Me
ssage-
   From: Neil Aggarwal [mailto:[EMAIL PROTECTED]]
   Sent: Wednesday, June 12, 2002 1:38 PM
   To: SaDIKuZboy; Samba mailing list
   Subject: RE: [Samba] WIndows 98 asking for a password
  
  
   Hello:
  
   I set the samba to use share level access.
   Now, it does not ask for a password, but
 
   when I try to print something, I get this
   message on the Windows 98 machine:
  
   The was an error writing to \\192.168.1.1\brother
Laser
   for printer (Brother HL-1440 Series):
   The network name cannot be found.
  
   Any ideas?
  
   Thanks,
 Neil.
  
   --
   Neil Aggarwal
   JAMM Consulting, Inc.(972) 612-6056, 
 http://www.JAMMConsulting.com
   Custom Internet DevelopmentWebsites, Ecommerce, Java, 
 databases
  
  
-Original Message-
From: SaDIKuZboy [mailto:sadik
  [EMAIL PROTECTED]]
Sent: Wednesday, June 12, 2002 3:18 PM

To: Neil Aggarwal
Subject: Re: [Samba] WIndows 98 asking for a password
   
   
Alle 22:08, mercoledì 12 giugno 2002, Neil Aggarwal ha scritto:
   
do you really need security = user into your samba.conf?
put security = share and everything will work fine but you'll
manage shares
access; not user ones :o)
   
   
--
___
 SaDIKuZboy - Network admin

  at gatinho.com
-
Sites that I like/work with:
www.cups.org- Italian CUPS Translation
www.nasa.gov- Please join and help SETI@Home
www.nsa.gov - Security Enhanced Linux
www.gatinho.com - A growing housemade network
www.freshmeat.net   - Go get your own linux mad cow!
www.slackware.it- Sometimes I help people there
elbalinux.gatinho.com   - Server at gatinho [El
ba Island]
orix.gatinho.com- Serv
  er at gatinho [Pompei - IT]
anaconda.gatinho.com- Server at gatinho [Napoli - IT]
hub.gatinho.com - Server at gatinho [near Napoli - IT]
koalino.gatinho.com - Server at gatinho [Milano - IT]
___
Extra Projects:
ConsoLovePPPD   - PPPD configurator for who loves console
epsc70ink   - Epson C70-80 InkLevel 
 WebFrontend
SDK-UniOverflow - Get overflo
ws and exploit`em
___
Contact me at
  irc.gatinho.com on #sadikuzzi / #linux / #FLEXYnet
-
Computers are just like air conditioners:
They stop working properly when you open windows
  
  
   --
   To unsubscribe from this list go to the following URL and read the
   instructions:  http://lists.samba.org/mailman/listinfo/samba
  
  8¾
Ëâ 
  ž!^N
 
 
  --
  To unsubscribe from this list go to the following URL and read the
  instructions:  http://lists.samba.org/mailman/listinfo/samba
 
 
¾Ëâ
ž!ˆN

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: RE: [Samba] printer drivers

2002-06-11 Thread Van Sickler, Jim

I think I've lost the big picture...time to
step back and look at what you're trying
(and unable) to do.

1.  Is \\server\Printer being added to
the clients as a Network or Local Printer?

2.  If Network, are you trying to install
the printer drivers from the server?

3.  Are you a member of the Linux admins
group?

4.  Did you delete the default printer
apps on the Linux box, and create symlinks
to the cups equivalents? (e.g. lpr, lprm, lpd, lpq)
(This has bitten me on OpenBSD upgrades;  the
upgrade overwrites the symlinks with executables,
and I have to go back and redo the LPRng symlinks)

5.  Re-read the doc's and HOW-TOs for printing
setup-a lot has changed in 2.2.x...maybe something
will pop up that you missed.

6.  If you're not interested in the spoolss support,
or it gives you more pain than pleasure (my case!!!)
use disable spoolss=yes and use printer driver=no
in smb.conf's [Global], remove all connections to
\\server\Printer in your workstations' Printers and
the Registry.  Then re-install \\server\Printer as 
a Network Printer, and the Port it attaches to should
show up listed in the Properties as a LAN Manager
Printer Port.  This is the pre-spoolss type of printer
connection, and I think the easier to set up/manage.

7.  Linux prints via cups, and you can see the share-
you're almost there...

Good luck!
Jim

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] spoolss back connections to client

2002-06-11 Thread Van Sickler, Jim

From \winnt\system32\drivers\etc\services:

microsoft-ds  445/tcp
microsoft-ds  445/udp
--

Why is the connection refused?

Is this preventing Win2k from properly
displaying printer status?  I've noticed that
now we're running Win2k on all wkstns, noone can
tell when I've got a printer's queue disabled.
The printer is Paused, but jobs can be sent to
it, and no feedback is received to indicate
the job couldn't be queued...it just goes into
the bit bucket.

(I've also updated LPRng to 3.8.12, and samba to
2.2.5pre...something is broken somewhere, but I'm
not sure where.)

Jim

 -Original Message-
 From: Gerald Carter [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, June 11, 2002 4:35 AM
 To: Tom Vandepoel
 Cc: [EMAIL PROTECTED]
 Subject: Re: [Samba] spoolss back connections to client
 
 
 On Tue, 11 Jun 2002, Tom Vandepoel wrote:
 
  Since we've switched to spoolss printing (samba 2.2.4) it 
 seems that the
  server is always trying to connect to the client. 
  
  [2002/06/11 10:52:41, 3] lib/util_sock.c:open_socket_out(843)
Connecting to 10.0.40.80 at port 445
  [2002/06/11 10:52:41, 2] lib/util_sock.c:open_socket_out(871)
error connecting to 10.0.40.80:445 (Connection refused)
  [2002/06/11 10:52:41, 3] lib/util_sock.c:open_socket_out(843)
Connecting to 10.0.40.80 at port 139
  
  I've traced this back in the source to the 
 spoolss_connect_to_client
  call in rpc_server/srv_spoolss_nt.c. It seems this is used 
 to reply back
  to the client with printing info.
 
 This is the printer change notification back channel.
 
  However, in our environment, such connections typically fail, as we
  disable the Server service on NT/W2K clients as much as 
 possible. In
  those cases, printing still works fine, so I'm starting to wonder if
  these back connections are absolutely needed. They are especially
  annoying when the back connection is made to a firewalled client; it
  slows down response of the print server enormously (the server waits
  until the back connection times out).
  
  So, I was thinking; is there an smb.conf option (or could it be
  implemented) to disable these back connections? What would 
 the impact be
  if I modified the src_spoolss_replyopenprinter() routine to always
  return false? Would that break anything?
 
 Better to just comment out the SPOOLSS_RFFPCN and SPOOLSS_RFNPCN
 server functions.  However, certain changes will not be reflected on
 the client such as josb listings, etc
 
 btwthis is MS's model.  You'll have the same problem with
 a Win2k print server.  I do agree that it is a brain dead design...
 
 
 
 
 
 
 cheers, jerry
  -
  Hewlett-Packard http://www.hp.com
  SAMBA Team   http://www.samba.org
  --http://www.plainjoe.org
  Sam's Teach Yourself Samba in 24 Hours 2ed.  ISBN 0-672-32269-2
  --I never saved anything for the swim back. Ethan Hawk in Gattaca--
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: RE: [Samba] printer drivers

2002-06-11 Thread Van Sickler, Jim



 -Original Message-
 From: Mark Brosius [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, June 11, 2002 9:13 AM
 To: Van Sickler, Jim
 Cc: [EMAIL PROTECTED]
 Subject: RE: RE: [Samba] printer drivers
 
 
 Thanks for responding.
 On Tue, 11 Jun 2002, Van Sickler, Jim wrote:
 
  I think I've lost the big picture...time to
  step back and look at what you're trying
  (and unable) to do.
 
  1.  Is \\server\Printer being added to
  the clients as a Network or Local Printer?
 
   Network
 
Okay

  2.  If Network, are you trying to install
  the printer drivers from the server
 
   I am installing the drivers from the client
 
If disable spoolss=yes, or pre-2.2.1a(I think)
this is your only choice.  I found it works
best...for my setup, at least.  Others may
feel free to offer different advice.  No
two setups are the same.

  3.  Are you a member of the Linux admins
  group?
 
   Good question.  I don't think so.
If you're not sure, you probably aren't.
This is an issue with spoolss support enabled.
 
  4.  Did you delete the default printer
  apps on the Linux box, and create symlinks
  to the cups equivalents? (e.g. lpr, lprm, lpd, lpq)
  (This has bitten me on OpenBSD upgrades;  the
  upgrade overwrites the symlinks with executables,
  and I have to go back and redo the LPRng symlinks)
 
   I did not delete the printer apps on the Linux box

Enabling cups in smb.conf has no effect if cups isn't
installed on the server.  You may want to return to the
default settings for printing, and see if that changes
anything.  Remarking out the printer entries (with #
at the start of the line) will allow
the defaults to be used.

 
  5.  Re-read the doc's and HOW-TOs for printing
  setup-a lot has changed in 2.2.x...maybe something
  will pop up that you missed.
 
   Okay. Dumb question, where are they.  I can't seem to find them.

If you've got SWAT running, you can get to some of the 
documentation through the home page;  more doc's are
available through the samba.org documentation link - e.g.
http://us4.samba.org/samba/docs/

  6.  If you're not interested in the spoolss support,
  or it gives you more pain than pleasure (my case!!!)
  use disable spoolss=yes and use printer driver=no
  in smb.conf's [Global], remove all connections to
  \\server\Printer in your workstations' Printers and
  the Registry.  Then re-install \\server\Printer as
  a Network Printer, and the Port it attaches to should
  show up listed in the Properties as a LAN Manager
  Printer Port.  This is the pre-spoolss type of printer
  connection, and I think the easier to set up/manage.
 
   I haven't even considered spoolss.

If you installed 2.2.3a, I think it was enabled by default.
I'm not sure about 2.2.1a, but I'd put
disable spoolss=yes just in case.
If testparm complains about an invalid entry, delete it.

 
  7.  Linux prints via cups, and you can see the share-
  you're almost there...
 
   To be honest, I'm not sure how I am printing from linux.  
 Maybe it is cups...maybe not.  Sorry.  I am able to see
 the share from the windows client though.

A visible share is just that, unfortunately.  If the
printing subsystem is defective, it won't change
anything.  But you already knew that  ;-)

 
  Good luck!
 
   Thanks, I think I need it.  I appreciate your help!
 
You're welcome-I've gotten a lot of help from
the list in the past. Eventually you'll
get the answers you need, either from the list
or your own efforts.  

Jim


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] printer drivers

2002-06-10 Thread Van Sickler, Jim

What happens when you run
testparm?  Do you see any
error messages?

 -Original Message-
 From: mark [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 10, 2002 4:09 PM
 To: Alex Meaden
 Cc: [EMAIL PROTECTED]
 Subject: Re: [Samba] printer drivers
 
 
 When I open the printer folder I see the printer there.  It is not 
 shaded (indicating that the printer is offline).  I can 
 actually see it 
 in Network Neighborhood.  If I use the the 720c drivers 
 provided by HP, 
 I get an error message stating:
 There was an error writing to \\server\printer for the 
 printer (driver):
 Your file waiting to be printed was deleted
 
 I am trying the basic HP Deskjet driver now just to see what 
 happens.  
 
 Mark
 
 Alex Meaden wrote:
 
 - Original Message -
 From: mark [EMAIL PROTECTED]
 To: Alex Meaden [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Tuesday, June 11, 2002 12:02 AM
 Subject: Re: [Samba] printer drivers
 
 
   
 
 Alex,
 Thank for your help but I still can't print.   Here is my 
 smb.conf file.
  My file sharing works but not my printer.  Can you see 
 what I'm doing
 wrong?
 
 
 
 I'm not that you should have a [Printer] share in your 
 smb.conf. If you
 open \\mark from a Windows PC, and then double-click the 
 Printers folder,
 what if anything is listed?
 
 Alex.
 
   
 
 [global]
 workgroup = K9PC
 netbios name = MARK
 server string = Samba Server %v
 encrypt passwords = Yes
 log file = /var/log/samba/log.%m
 max log size = 50
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 printcap name = lpstat

Should this be /etc/printcap or /usr/local/etc/printcap?
I'm not sure which one cups uses :-(

 dns proxy = No
 wins support = Yes
 hosts allow = 127.0.0. 192.168.1.
 printing = cups
 
 [homes]
 comment = Home Directories
 read only = No
 browseable = No
 
 [printers]
 comment = All Printers
 path = /var/spool/samba
 create mask = 0700
 guest ok = Yes
 printable = Yes
 print command = lpr-cups -P %p -o raw %s -r   # using client
 side printer drivers.
 lpq command = lpstat -o %p
 lprm command = cancel %p-%j
 browseable = No

I think the samba spool dir needs to be 777 or 1777
try #'ing this entry to see if it changes anything.

then:

chown root.daemon /var/spool/samba
chmod 777 /var/spool/samba

Come to think of it, if you have an entry for the
printer, you don't need the [printers]
entry.  Rename the [printers] section to [Printer],
and delete the other [Printer] entry.  Modify it
to read:

[Printer]
comment = HP720C
path = /var/spool/samba
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p -o raw %s -r
# using client side printer drivers.
lpq command = lpstat -o %p
lprm command = cancel %p-%j
browseable = No


What I think is happening is that you can see
the Printer share, but samba and cups aren't
talking correctly.  Samba spools the job, and
sends it to cups.  Each print process must be
working in order for the job to be processed.
Look at your printcap entry for the printer,
and make sure it matches what you have in the
smb.conf [Printer] and [Global] sections.

You may consider creating the printcap entry
as hp720 or something similar;  chances are
you're going to end up servicing more than
one printer via your server.  Create
/var/spool/samba/hp720 and make the
[Printer] section [HP720C].  Modify the
path=/var/spool/samba/hp720 as well.  As you
add more printers,  you'll be able to give them
names that match their model.  Printer, Printer2,
etc. will add confusion instead of clarity...

If the HP720C driver won't work, try the
HP550C driver.  It's what I have to use for our
networked OfficeJet 570, and HP mentions it as a
solution for other networked DeskJets.

Hope this helps,

Jim

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Linux and Printing via smbprint

2002-06-07 Thread Van Sickler, Jim

Can you give us some more info on the Intel Printerserver?

Part/Model Number
Type and number of ports
Network connection type (Ethernet/10Base-T)


Jim


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Friday, June 07, 2002 2:14 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [Samba] Linux and Printing via smbprint
 
 
 
 Hi again
 
 In reply to all suggestions: it is neither a password problem (windows
 boxes print to it without any user/password) nor does the box 
 support lpd
 (or I would gladly be using it, after all that would be a lot easier).
 
 So, what else could it be?
 
 Greets,
 
 Remo
 
 if the printserver supports lpd, why do you try to print to 
 it using smb?
 Anyway, looks like you need to pass a user and password to the
 printserver, this should be in the documentation of the printserver.
 
 This sounds like a password problem, or somthin'.
 What is an intel printerserver?
 Joel
 
 Hi there
 Looking at the archives I didn't find a solution to the following
 problem
 we have here:
 
 Printing from our linux-server (wagner) to an intel printserver
 (PS652D8F)
 doesn't work.
 
 Here's the stuff we know/tried:
 
 wagner:~ # smbclient -L //PS652D8F -N
 added interface ip=10.0.0.10 bcast=10.0.0.255 nmask=255.255.255.0
 Got a positive name query response from 10.0.0.40 ( 10.0.0.40 )
 Sharename  Type  Comment
 -    ---
 Printer1   Printer   SZH-Chopin
 Printer2   Printer   SZH-Chopin 3
 IPC$   IPC
 
 wagner:~ # echo -en \rHallo\r\f | smbclient 
 //PS652D8F/Printer1 
 -c 'print -' -N
 added interface ip=10.0.0.10 bcast=10.0.0.255 nmask=255.255.255.0
 Got a positive name query response from 10.0.0.40 ( 10.0.0.40 )
 ERRSRV - ERRaccess (The requester does not have  the 
 necessary  access
 rights  within  the specified  context for the requested 
 function. The
 context is defined by the TID or the UID.) opening remote file
 stdin-15811
 
 Samba Version is 2.2.1a.
 
 Any hints, pointers or clues?
 
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] problem joining the domain

2002-06-06 Thread Van Sickler, Jim

Did you create the Computer in the Domain first?
Try that (without the -U murphyn).

Jim

 -Original Message-
 From: Michael Rasmussen [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 06, 2002 8:15 AM
 To: [EMAIL PROTECTED]
 Cc: IT Server Group
 Subject: [Samba] problem joining the domain
 
 
 We've encountered a problem with getting a newly installed Samba based
 machine to join the domain.
 
 Here's the command line and error response:
 
[root@chain samba]# smbpasswd -j COLUMBIA -r cmc-bkup -U murphyn
Password:
error creating domain user: NT_STATUS_INVALID_DOMAIN_ROLE
Unable to join domain COLUMBIA.
[root@chain samba]#
 
 Installation is a RedHat 7.2 (from KRUD) box with freshly 
 installed Samba
 RPMs version 2.2.3a-6.  smb.conf was created by a cut and paste from a
 working installation on another box on our network, changing 
 the server name
 and share paths as necessary.
 
 murphyn is a domain admin for COLUMBIA, the PDC (cmc-bkup) 
 and the BDC are
 NT4 boxes.
 
 As the Linux guy I don't know what this error message means.  
 The NT admins
 are at a loss to explain the problem.
 
 Curiosities:
 
   I've used the same software version to add a box to our domain
   Essentially the same config is used on the working and 
 non-working
 boxes, so I'm puzzled about what configuration issue could be 
 causing this.
 
 Bottom Line Question:
 
   do you know what causes this error and how I can resolve 
 this issue and
 have the machine chain join the COLUMBIA domain?
 
   Where did I miss whatever it is in the documentation?
 
 --  
   Michael Rasmussen - Network Engineer, Columbia Management
   voice:  971-925-6723  cell:  503-807-1447  
 [EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED] http://www.columbiafunds.com
 
 NOTICE:  This communication may contain confidential or other 
 privileged information.  If you are not the intended 
 recipient, or believe that you have received this 
 communication in error, please do not print, copy, 
 retransmit, disseminate, or otherwise use the information.  
 Also, please indicate to the sender that you have received 
 this email in error, and delete the copy you received.  Any 
 communication that does not relate to official Columbia 
 business is that of the sender and is neither given nor 
 endorsed by Columbia.  Thank you.
 
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Linux and Printing via smbprint

2002-06-06 Thread Van Sickler, Jim

NetPort Pro/10, others may vary:

/etc/printcap entry, for LPRng:

LPT 1
:rm=10.0.0.40
:rp=LPT1_PASSTHRU

LPT 2
:rm=10.0.0.40
:rp=LPT2_PASSTHRU

Jim

 -Original Message-
 From: Joel Hammer [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 06, 2002 4:17 PM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Re: [Samba] Linux and Printing via smbprint
 
 
 This sounds like a password problem, or somthin'.
 What is an intel printerserver?
 Joel
 
 On Thu, Ju
n 06, 2002 at 01:18:42PM +0200, [EMAIL PROTECTED] wrote:
  Hi there
  
  Looking at the archives I didn't find a solution to the 
 following problem
  we have here:
  
  Printing from our linux-server (wagner) to an intel 
 printserver (PS652D8F)
  doesn't work.
  
  Here's the stuff we know/tried:
  
  wagner:~ # smbclient -L //PS652D8F -N
  added interface ip=10.0.0.10 bcast=10.0.0.255 nmask=255.255.255.0
  Got a positive name query response from 10.0.0.40 ( 10
.0.0.40 )
  
  Sharename  Type  Comment
  -    ---
  Printer1   Printer   SZH-Chopin
  Printer2   Printer   SZH-Chopin 3
  IPC$   IPC
  
  wagner:~ # echo -en \rHallo\r\f | smbclient 
 //PS652D8F/Printer1  -c
  'print -' -N
  added interface ip=10.0.0.10 bcast=10.0.0.255 nmask=255.255.255.0
  Got a positive name query response from 10.0.0.40 ( 10.0.0.40 )
  ERRSRV - ERRaccess (
The requester does not have  the  
 necessary  access
  rights  within  the specified  context for the requested 
 function. The
  context is defined by the TID or the UID.) opening remote 
 file stdin-15811
  wagner:~ #
  
  Samba Version is 2.2.1a.
  
  Any hints, pointers or clues?
  
  Greets,
  
  Remo Pini
  
  -
  Remo Pini (mailto:[EMAIL PROTECTED])
  Mobile: +41 (0)79 216 15 51, Fax:
 +41 (0)1 383 77 17
  ProBIT AG (http://www.probit.ch)
  Professionelle Business-IT
  Drahtzugstr. 18, CH-8008 Zürich
  -
  
  
  
  
  -- 
  To unsubscribe from this list go to the following URL and read the
  instructions:  http://lists.samba.org/mailman/listinfo/samba
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samb
a
 
{

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] ASSISTANCE NEEDED

2002-05-31 Thread Van Sickler, Jim

 -Original Message-
 From: mariam zanab ishatu [mailto:[EMAIL PROTECTED]]
 Sent: Friday, May 31, 2002 3:47 PM
 To: [EMAIL PROTECTED]
 Subject: [Samba] ASSISTANCE NEEDED
 
SPELLCHECKER IS NOT TO BE WORKING!!! 
 
   ATTN: CEO/PRESIDENT.
 
I was a lowly computer jockey;  now I'm a CEO/PRESIDENT...
thanks for the promotion!  Where's the money?

 l am sorry for the embarrassment this my letter might
 cause you as we have not had any correspondence before
 this letter. l got your address through

Embarrassment isn't what your letter caused
 
 my newphew who works with Nigeria Chamber of Commerce
 lndustry and Minning during my research for a reliable
 and trustworthy partner who l can do
 
 business with though l did not disclose the nature of
 the business l intend to do with whoever he recommend
 for me.
 
 l am DR. MRS MARIAM ABACHA, wife of the late Nigeria
 Head of State, General Sanni Abacha who died on the
 8th of June, 1998 while still on
 
 active duty. l am contacting you in view of the fact
 that we will be of great assistance to each other
 likeness developing a cordial relationship.
 
 
 l currently have within my reach the sum of Twenty
 Eight Million US Dollars (US$28,000,000.00) cash which
 l intend to use for investment, like Real Estate
 Development specifically in your country. This money
 came as a payback contract deal between my late
 husband and a Russian Firm on our countries
 multi-billion dollars Ajaokuta Steel Plant.
 
 The Russian Partners returned my husband's share of
 USD$28,000,000.00 after  the death of my husband and
 lodged in my husband's security company of
 which l am director right now, the new Civilian
 Government have intensified their probe on my
 husband's financial and oil company. ln view of these,
 l acted fast to withdraw the US$28,000,000.00 from the
 company's vault and deposited it in a West African
 Security Company in Accra-Ghana. l have since declared
 the Security Company bankrupt. No record ever
 existed concerning the money traceable by the
 government because there is no documentation showing
 that we received the money from the Russian.
 
You deposited it in another country, then declared
the foreign company bankrupt...and you have no
evidence the money existed. How ever are you to get
your nonexistent money back from this bankrupt company,
located in another country?

  What does this have to do with Samba? Are you
going to use Samba to get your nonexistent
USD$28,000,000.00 back?

Please forward a copy of the magical smbclient command
you will be using to accomplish this, so other list users
may get their own USD$28,000,000.00!

 Due to the current situation int the country
 concerning government attitude towards my family, it
 has become quite impossible for me to make use of
 this money within. Let me refer you to the front page
 of thisday newspapers of 10th March, 2001. You can
 check it through their website www.thisdayonline.com.
 The pressent government in Nigeria had frozen
 and seized all our bank accounts both here in Nigeria
 andabroad. Thus consent
 l shall expect you to contact me urgently to enable us
 discuss in detail about this transaction. Bearing in
 mind that your assistance is needed to
 transfer this fund, l proposed a percentage of 30% of
 the total sum to you for the expected service and
 assistance, 15% for offsetting minor expenses incurred
 in the course of this transaction. Your urgent
 response is highly needed as to stop further contacts.

You can stop contact immediately.  I never, ever, EVER
want to hear from you and yours again.

 All correspondence must be by the email address above.
 l will give you my tel/fax numbers where you can
 contact me when l hear from you. l must use this
 opportunity to implore you to exercise the utmost
 indulgence to keep this matter extraordinarily
 confidential whatever your decision while await your
 prompt response.
 
 NB: Because of the security being mounted on the
 members of my family,l have decided that this
 transaction exist between you and my Nephew, MUSA
 AHMED. Remember to include your private tel/fax
 or mobile number
 
If I gave it to him, it wouldn't be private, would
it?  

MUSA AHMED:  does your Aunt know you sent this
message?  Didn't she tell you to stop spamming
mail lists?  You're a naughty boy!  GO AWAY!
Don't bother us again.  If you have questions
about Samba, we'll let you talk to us.  If not,
go find something else to do.

 for easy communication.
 
ALL YOUR BASE ARE BELONG TO US. 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] domain administrator

2002-05-30 Thread Van Sickler, Jim

Are you doing full program installs, or just the 
signature file updates?

Can't help you with the full installs, sorry.

Add the signature update to their login script, and
it will execute.


Jim

 -Original Message-
 From: James Bear [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 30, 2002 8:54 AM
 To: [EMAIL PROTECTED]
 Subject: [Samba] domain administrator
 
 
 Well, I got my shares problem figured out.  I am glad.  
 However, now, I need
 to do remote installs of my norton antivirus.  I can't do it 
 from my machine
 without being an administrator on these machines.  I am not 
 an administrator
 when logged in as anything.  I even set up a account for root, with no
 success.  How do you make a user a domain administrator?
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] installing printer driver on Samba 2.2.4

2002-05-29 Thread Van Sickler, Jim

Jerry,

  Can you use this patch with the current samba_2_2 source?

I saw your comment about not rolling it in yet, due to it's
being experimental in nature.

Jim

 -Original Message-
 From: Gerald Carter [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, May 29, 2002 5:38 AM
 To: J. 'FIK' Brand
 Cc: Samba
 Subject: Re: [Samba] installing printer driver on Samba 2.2.4
 
 
 On Wed, 29 May 2002, J. 'FIK' Brand wrote:
 
  My samba server works in a NT 4.0 domain. The users can print fine
  (mostly Win9x).
  
  Now i'm trying to use Win2K workstation to upload drivers. 
 I can see the
  printers, the properties are available but we i try to add 
 a driver it
  fails with the following error : Can't install driver Intel Windows
  2000. Can't compleet statement (translated from dutch).
 
 Did you apply the printing roll up patch?  See 
 ftp://samba.org/pub/jerry/samba-2.2.4-patches
 
 
 
 
 
 
 cheers, jerry
  -
  Hewlett-Packard http://www.hp.com
  SAMBA Team   http://www.samba.org
  --http://www.plainjoe.org
  Sam's Teach Yourself Samba in 24 Hours 2ed.  ISBN 0-672-32269-2
  --I never saved anything for the swim back. Ethan Hawk in Gattaca--
 
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] installing printer driver on Samba 2.2.4

2002-05-29 Thread Van Sickler, Jim

Ok-I'm wget'ing it now.  Thanks!

Jim

 -Original Message-
 From: Gerald Carter [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, May 29, 2002 8:09 AM
 To: Van Sickler, Jim
 Cc: J. 'FIK' Brand; Samba
 Subject: RE: [Samba] installing printer driver on Samba 2.2.4
 
 
 On Wed, 29 May 2002, Van Sickler, Jim wrote:
 
  Jerry,
  
Can you use this patch with the current samba_2_2 source?
  
  I saw your comment about not rolling it in yet, due to it's
  being experimental in nature.
 
 It's already in cvs :-)  I called experiemental so
 that people would think twice before rolling it out 
 since at that point it had only been tested by me :-)
 
 
 
 
 
 
 
 cheers, jerry
  -
  Hewlett-Packard http://www.hp.com
  SAMBA Team   http://www.samba.org
  --http://www.plainjoe.org
  Sam's Teach Yourself Samba in 24 Hours 2ed.  ISBN 0-672-32269-2
  --I never saved anything for the swim back. Ethan Hawk in Gattaca--
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] LPR or LPRng or CUPS

2002-05-21 Thread Van Sickler, Jim

Ruud,

  What do your printcap and smb.conf entries look
like?

  Jim


 -Original Message-
 From: Ruud Baart [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 21, 2002 6:15 AM
 To: [EMAIL PROTECTED]
 Cc: Konkol, Josh; [EMAIL PROTECTED]
 Subject: Re: [Samba] LPR or LPRng or CUPS
 
 
 In our opion: use LPRng. We like cups, but we have had several time 
 consuming problems with cups. We also don't use the old BSD 
 lpr/lpd services. 
 
 We choose the combination LPRng and raw tcpip on port 9100 
 (jetdirect). This gives bidirectional communication between 
 printer and 
 server. Very useful, good debugging information.
 
 Met vriendelijke groet/Regards,
 Prompt
 R.J. Baart
 
 Marktveldpassage 35c
 5261 ED Vught
 Netherlands
 Mailto:[EMAIL PROTECTED]
 Http://WWW.Prompt.NL
 Tel.: +31 73 6567041  
 Fax.: +31 73 6573513
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] smbmount question

2002-05-21 Thread Van Sickler, Jim

Can you just stop/restart the WINS service?

Save you a reboot

Jim

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 21, 2002 7:45 AM
 To: [EMAIL PROTECTED]
 Subject: RE: [Samba] smbmount question
 
 
 Thanks for the reply.  I'm setting up the NT box with WINS 
 but will have to wait until after business hours to reboot 
 it.  The NT and WINS servers (one of my Samba servers) are on 
 different networks.
 
 Will let everyone know the results.
 
 Marion D. Haines
 Network Administrator
 Board of County Commissioners
 Brevard County, Florida
 == 
 EMail:  [EMAIL PROTECTED]
 Phone: 321-617-7398
 == 
 
  -Original Message-
 From: Urban Widmark [mailto:[EMAIL PROTECTED]] 
 Sent: Monday, May 20, 2002 6:29 PM
 To:   Marion Haines@BCC@Viera
 Cc:   iSMTP@GC2A@Servers
 Subject:  Re: [Samba] smbmount question
 
 On Mon, 20 May 2002 [EMAIL PROTECTED] wrote:
 
  I issue the command:
  
  
   smbmount //210.111.222.123/manage Man  then press 
 the Enter key.
  
password:  I enter the password then press 
 the Enter key.
 
 The IP number should be of the machine you want to mount from, in this
 case the NT box. You shouldn't have to, but you may need to 
 specify the
 netbios name of the NT box and give the ip number as a 
 separate option.
 
 smbmount //ntname/manage /mnt/Man -o ip=192.168.204.100
 
 This of course assumes that you have network connectivity 
 from the linux
 box to the NT box.
 
 Other potentially useful options are the workgroup option, 
 the uid/gid and
 fmask/dmask options. Check the smbmount manpage.
 
 /Urban
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



FW: [Samba] smbmount question

2002-05-21 Thread Van Sickler, Jim

Nevermind...need to read the whole msg...

I didn't notice you were installing WINS on
the NT box...hence the reboot.

Standard practice for Winxx:

1.  Install, reboot
2.  Update, reboot, repeat

I support about 25 pc's-it annoys the hell
out of me how MS manages updates.  How many
Internet Explorer security updates have there
been so far this year-22?  Each one of them
requires a reboot...
22x25xdownload time+2 min's/reboot is a lot of
downtime for the users, and a lot of waiting
time for me.  And it's only May...

-Original Message-
From: Van Sickler, Jim 
Sent: Tuesday, May 21, 2002 8:28 AM
To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
Subject: RE: [Samba] smbmount question


Can you just stop/restart the WINS service?

Save you a reboot

Jim

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 21, 2002 7:45 AM
 To: [EMAIL PROTECTED]
 Subject: RE: [Samba] smbmount question
 
 
 Thanks for the reply.  I'm setting up the NT box with WINS 
 but will have to wait until after business hours to reboot 
 it.  The NT and WINS servers (one of my Samba servers) are on 
 different networks.
 
 Will let everyone know the results.
 
 Marion D. Haines
 Network Administrator
 Board of County Commissioners
 Brevard County, Florida
 == 
 EMail:  [EMAIL PROTECTED]
 Phone: 321-617-7398
 == 
 
  -Original Message-
 From: Urban Widmark [mailto:[EMAIL PROTECTED]] 
 Sent: Monday, May 20, 2002 6:29 PM
 To:   Marion Haines@BCC@Viera
 Cc:   iSMTP@GC2A@Servers
 Subject:  Re: [Samba] smbmount question
 
 On Mon, 20 May 2002 [EMAIL PROTECTED] wrote:
 
  I issue the command:
  
  
   smbmount //210.111.222.123/manage Man  then press 
 the Enter key.
  
password:  I enter the password then press 
 the Enter key.
 
 The IP number should be of the machine you want to mount from, in this
 case the NT box. You shouldn't have to, but you may need to 
 specify the
 netbios name of the NT box and give the ip number as a 
 separate option.
 
 smbmount //ntname/manage /mnt/Man -o ip=192.168.204.100
 
 This of course assumes that you have network connectivity 
 from the linux
 box to the NT box.
 
 Other potentially useful options are the workgroup option, 
 the uid/gid and
 fmask/dmask options. Check the smbmount manpage.
 
 /Urban
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] HP Jetdirect, Intel Netport, Samba, And Windows XP

2002-05-21 Thread Van Sickler, Jim


 -Original Message-
 From: Lee Leahu [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 21, 2002 8:11 AM
 To: [EMAIL PROTECTED]
 Subject: [Samba] HP Jetdirect, Intel Netport, Samba, And Windows XP
 
 
 Hello,
 
 I have a bunch of Windows XP Pro machines, Samba 2.2.4, and 
 several plotters on Jetdirect cards, and several printers on 
 Netport 10/100 Muli-port network print servers.
 
Lee,

  Check the previous msg from John Schmerold [[EMAIL PROTECTED]]
the second link has most of what you need, with port numbers.

  I've set mine up a bit differently, but if I can get bi-dir
comms working using ports, I'll use those instead.

  I'm also using LPRng.

Here's my setup, :

Lexmark Optra S 1250:
  IP:lxkXX  (lxk, then last 6 of MAC address)
  e.g. 192.168.1.20:lxk13B7D7

Intel NetPort Pro, 2 LPT, 1 Serial (not used)
  LPT1= IP:LPT1_PASSTHRU
  LPT2= IP:LPT2_PASSTHRU

JetDirect
  IP:raw

Mita Ci1000, Fiery print queue:
  IP:xjprint

Mita Ci1000, Fiery hold queue:
  IP:xjhold

TekTronix Phaser 550:
  IP:AUTO

Printcap:

.common:cm=Common Settings Go Here:sd=/var/spool/lpd/%P:mx=0:sh:lf=log
hp4plus:cm=HP4Plus by Graphics PC:tc=.common:rm=192.168.1.20:rp=raw
hp4mv:cm=B Size LaserJet by Optra:tc=.common:rm=192.168.1.21:rp=raw
hp450c:cm=E Size Plotter:tc=.common:rm=192.168.1.22:rp=LPT2_PASSTHRU
hp570:cm=OfficeJet 570 by
Plotter:tc=.common:rm=192.168.1.22:rp=LPT1_PASSTHRU
mita:tc=.common:sh:rm=192.168.1.23:mx#0:cm=Mita Ci1000 Color
Laser:rp=xjprint:
mitaq:tc=.common:sh:rm=192.168.1.23:mx#0:cm=Mita RIP Queue:rp=xjhold
phaser:tc=.common:sh:rm=192.168.1.24:mx#0:cm=Phaser 550 Color Laser:rp=AUTO

smb.conf:

[print$]
path = /eodc/printers
read only = yes
browseable = yes
comment =
guest ok = no
 
[HP4Plus]
comment = HP4Plus by Graphics PC
path = /var/spool/samba/hp4plus
writeable = no
printable = yes
printer name = hp4plus
use client driver = no

[HP4MV]
comment = B Size Printer by Optra
path = /var/spool/samba/hp4mv
writeable = no
printable = yes
printer name = hp4mv
use client driver = no

[HP450C]
comment = E Size Color Plotter
path = /var/spool/samba/hp450c
writeable = no
printable = yes
printer name = hp450c
use client driver = no

[HP570]
comment = OfficeJet 570 by HP450C Plotter
path = /var/spool/samba/hp570
writeable = no
printable = yes
printer name = hp570
use client driver = no

[MitaCi1000]
comment = Mita Ci1000 Color Laser by Graphics PC
path = /var/spool/samba/mita
writeable = no
printable = yes
printer name = mita
use client driver = yes

[Mita_HoldQueue]
comment = Mita Ci1000 RIP Queue
path = /var/spool/samba/mitaq
writeable = no
printable = yes
printer name = mitaq
use client driver = yes

[Optra_S_1250]
comment = Lexmark Optra S 1250
path = /var/spool/samba/optra
writeable = no
printable = yes
printer name = optra
use client driver = yes

[Phaser_550]
comment = Phaser 550 Color Laser
path = /var/spool/samba/phaser
writeable = no
printable = yes
printer name = phaser
use client driver = yes

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] WinY2k Access Denied on Printing

2002-05-20 Thread Van Sickler, Jim

Is this documented anywhere in layman's terms?

(NT/2k considers a Printer Connection as a 
different thing that a local printer)

1.  Which section of the registry is the proper
location for each type of printer.

2.  How to install a Printer Connection for
all users on the PC (not just CurrentUser)

3.  Advantages/disadvantages of both types
when printing to network printers via samba,
lpr, etc

Jim

 -Original Message-
 From: Gerald Carter [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, May 18, 2002 5:59 AM
 To: Fabiano Mucillo - func
 Cc: Adam Williams; [EMAIL PROTECTED]
 Subject: RE: [Samba] WinY2k Access Denied on Printing
 
 
 On Fri, 17 May 2002, Fabiano Mucillo - func wrote:
 
   I understand (pretty much) what disable spoolss and 
 use client driver
   does but what is the behaviour of the no/yes 
 configuration.  It seems that
   use client driver=yes implies disable spoolss=no
  
  I don't think so. I understood that if you use use client 
 driver=yes
  you'll continue using spoolss, but with 
 PRINTER_ACCESS_ADMINISTER right is
  mapped to PRINTER_ACCESS_USE instead. Thus allowing the 
 OpenPrinterEx()
  call to succeed.
 
 Correct.  This broken behavior was observed on NT clients when using 
 SPOOLSS calls for printing but having the driver installed locally.
 Remember that NT/2k considers a Printer Connection as a 
 different thing
 that a local printer.
 
 
 
 
 
 cheers, jerry
  -
  Hewlett-Packard http://www.hp.com
  SAMBA Team   http://www.samba.org
  --http://www.plainjoe.org
  Sam's Teach Yourself Samba in 24 Hours 2ed.  ISBN 0-672-32269-2
  --I never saved anything for the swim back. Ethan Hawk in Gattaca--
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Printer: User Intervention Required - Use Printer Off line

2002-05-20 Thread Van Sickler, Jim

Check to see what port the second printer
was assigned to...

 -Original Message-
 From: Karl E. Jorgensen [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 20, 2002 12:41 PM
 To: Samba Mailing List
 Subject: [Samba] Printer: User Intervention Required - Use Printer
 Offline
 
 
 For some reason, I cannot get samba (or Win98, depending on 
 how you look
 at it...) to allow a win98 client to print.
 
 I search the list archives, but I didn't find anything 
 s
imilar. So here
 goes.
 
 Symptoms:
 
 - Win98 client can access fileshares OK. The printers show up 
 OK as well
   in network neighbourhood.
 - On Linux, printing (lprng) works OK.
 - In win98, e.g.
 dir  \\server\someprinter
   *always* queues a job on the linux side. Just as expected.
 - When adding the printer on win98, the Add Printer wizard warns that
   the printer is currently offline (its online, spooling and 
 printing is
   enabled on the linux side!?)
 
 N
ow for the really weird bit:
 
 When I add the printer as the *native* model (it's an Epson 
 Stylus color
 600), then printing a test page works (even though it won't let me
 untick the Use Printer Offline...)
 
 But I need to make windows believe that i have a postscript printer
 (works better with Quark that way). So I added the (same) printer, but
 this time with the Digital turbo printerserver 20/net; 
 (magicfilter on
 the Linux side will take care of the postscript-epson co
nversion).
 
 But printing through this printer does *not* work; it just 
 queues up on
 the windows side !? Even when trying to un-tick Use Printer Offline,
 windows claims that it cannot connect to the printer share in 
 question,
 as asks me to check cabling etc [expletive deleted]
 
 I realise that the above is (probably) not a samba problem, but a
 windows problem. But I'm out of ideas. Does this ring any bells for
 anyone? Feel free to point me at relevant documentation; I've b
een
 RTFM'ing quite a bit to fix this, but none of the FMs seem to mention
 anything similar...
 
 -- 
 Karl E. Jørgensen
 ... An rfc2324 advocate
 http://www.rfc.net/rfc2324.html
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 


--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: RE: [Samba] WinY2k Access Denied on Printing

2002-05-17 Thread Van Sickler, Jim

Don't forget to restart your lpd  samba services
before testing it...

Jim

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] WinY2k Access Denied on Printing

2002-05-17 Thread Van Sickler, Jim



 -Original Message-
 From: Adam Williams [mailto:[EMAIL PROTECTED]]
 Sent: Friday, May 17, 2002 8:54 AM
 To: Van Sickler, Jim
 Cc: [EMAIL PROTECTED]
 Subject: RE: [Samba] WinY2k Access Denied on Printing
 
 
 I assume this sentence:
 re-add they can't print for a little while before
 really should be: re-add they can print for a little while before
 Yes.
 This sounds like authentication (how would I know).
 This identical config worked without this problem under Samba 
 2.2.1a.  If  it was authenitcation how would they be able 
 to print at all? 
 It does work, but only for awhile.
 Have you tried easing up on the security, making the print 
 share guest ok =yes.
 Every printer queue stanza looks like this:
  [traps]
  comment = Traverse City Optra Laser Printer
  path = /tmp
  create mask = 0700
  guest ok = Yes
  printable = Yes
  
 1.  I'd get rid of the create mask =
 2.  Create /var/spool/samba/traps
 3.  chmod -R 01777 /var/spool/samba
 4.  chown -R root.wheel /var/spool/samba
 5.  set your [traps] path = /var/spool/samba/traps
 6.  create /var/spool/lpd/traps
 7.  in /etc/printcap, set traps' :sd=/var/spool/lpd/traps:
 
 Ok, i modified one of my queues -
 [grdps]
 comment = Grand Rapids Optra Laser Printer
 path =  /var/spool/samba/grdps
 guest ok = Yes
 printable = Yes
 
 ls -l /var/spool/samba
 total 0
 drwxrwxrwt2 root wheel   6 May 17 11:42 grdps
 
 Restarted smbd, and it does the same thing.
 
 I really appreciate the help, but i think your missing some important 
 facts -
 
 1. UNIX printing works flawlessly (this box is an lpd server 
 for lots of 
 unix clients).
 2. Samba printing from both Win9x and WinY2k worked flawlessly under 
 2.2.1a, for a long time.
 3. Printing does work, but only for awhile. And ONLY WinY2k 
 clients are 
 effected, Win9x clients continue to print just fine
 

I did miss the important facts :-(

Do you have disable spoolss=no in smb.conf?  If so, try =yes
That is particular to Win2k;  Win9x clients aren't affected.

Is it happening on all of your Win2k clients?

Who, if anyone, is set up as admin users= or printer admin=?
If I'm set up as an admin user in smb.conf, with disable spoolss=no,
I get the access denied msg when I try to get the printer's properties;
don't know how print jobs went...never got that far.

What port does Win2k say the printer is attached to?  If it started out
on a 2.2.1a box, it may say LanMan Printer Port.  If you
removed it and re-installed it with 2.2.4 as a network printer and
disable spoolss=no, it may say that it's a Local Port.  Try
setting disable spoolss=yes and see if it'll let you reconnect it
to the LanMan Printer Port.

I had to set disable spoolss=yes on my server, because of all
the hassles it was causing when the printer was added as a
Network Printer...never tried it as a Local Printer with
...=no.

1.  Conflicts with members of printer admins and admin users
- couldn't view printer properties
2.  Printer installed under HKey_Current_User, not
HKey_Local_Machine
- If I logged into the PC as Administrator and installed the
printer, it didn't show up when I logged in under my account
3.  Couldn't modify printer settings (memory, device settings, etc.)
4.  SIDS displayed under Security tab;  not Domain\Domain Users, etc.
5.  Could view Properties on samba printer icon under Printers-as long
as the printer wasn't installed on my PC and 'admin users= was rem'd
out (I'm in the Wheel group) or @wheel and vansickj weren't present.
6.  I couldn't install the AdobePS or LexMark drivers onto the samba
server;  they only install on the local PC.  I did manage to install
the HP drivers onto the samba server;  even with disable spoolss=yes
the drivers install onto the Win2k PCs just fine from the server now-
a good thing...the only good thing, out of a lot of manhours :-(
6.  Many other oddities which I can't specifially recall right now...
but will torment me at night for some time to come, I'm sure!

How it behaves with disable spoolss=no and the printer added to
my system as a Local Printer, I'll never know.  I've put off too
many other jobs while fighting with samba for the last  several
weeks.  I've got to attend to them, and let someone else bloody their
forehead for a while.

Jim

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] WinY2k Access Denied on Printing

2002-05-17 Thread Van Sickler, Jim

Adam,

  Just one more thing, and I'll go away,
I promise!  ;-)

If you set disable spoolss=no, then install
all of the printer drivers you can, and
set disable spoolss=yes, you should be able
to install the printers as Network Printers,
(not Local, as I mentioned in the last post)
connected to the LanMan Printer Port
(as in 2.2.1a), but pull the drivers off of
the samba server, from [print$].

It works like that for me;  but with =yes,
the Printers icon doesn't appear.  If I
double-click on the samba shared printer icon,
I can view the properties.

I can list myself or wheel in the
admin users, printer admins, and write list
now, without any access Denied issues

So what?  Enable spoolss support when you
want to install printer drivers on the server,
then disable it.  Save you from going back 
to 2.2.1a, maybe.

Jim

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: RE: [Samba] Win2k Printing Problems

2002-05-17 Thread Van Sickler, Jim

Justin,

You do want to use the samba box to manage
your printers;  otherwise all of your PCs
are going to be fighting over the printers...
that gets real ugly real fast!

I don't think you should need to add the
printer as a Local Printer, and edit the
registry.  There may be a better way...

set disable spoolss=no in smb.conf; add
yourself to printer admins and write list;
create the printer share directory and
smb.conf entry.  Then install whatever
drivers you can: extract the current HP
drivers to an accessible directory, and have
a Win2k directory with SP2 streamlined into it
(http://www.microsoft.com/windows2000/docs/SPDeploy.doc
Page 33).
for installing the legacy printer drivers.
(e.g. DJ550C for OfficeJet 570's, etc)...

Then set disable spoolss=yes, and restart samba.

Install your printers as Network Printers
and check their Port assignment to see if
they're connected to the samba box via a
Lan Manager Printer Port.  This is the way
Samba used to do it, prior to incorporating
the spoolss code.


Let us know how it goes,

Jim


p.s.  I'd shorten your printer names...

  The lpd printer name and the Samba
share name don't have to match;  I'd
try using shorter names for lpd, like
ithpiii.  Try typing lpq -PHPIII_IT_CUBE -l
a few times, and I think you'll agree...

I'm lazy, and a slow typer...

 -Original Message-
 From: JUSTIN GERRY [mailto:[EMAIL PROTECTED]]
 Sent: Friday, May 17, 2002 9:44 AM
 To: [EMAIL PROTECTED]
 Subject: Re: RE: [Samba] Win2k Printing Problems
 
 
 I want to be able to use the Samba box as a print server. I just don't
 understand why I need to go through all of these steps to 
 make it work.
 
 I don't want to use TCP/IP printing on the W2k client, I would love to
 be able to click and install a printer through the samba box 
 without all
 this mess. I eventually want to be able to do the automatic 
 print driver
 install as well, but I still can't get the client machines, 
 Win2k or NT
 to add a printer that actually works because of a missing 
 port section.
 
 
 Based on your comments, if I remove those sections I won't have any
 printers listed on the samba box right? 
 
 If anyone has been able to add printers to their Win2k machine and
 actually get them to work properly let me know how you did it. Maybe I
 am over complicating things. Email me a how to or if you have 
 configs to
 look at just email me directly.
 
 Thanks,
 Justin
 
 
  Chris Smith [EMAIL PROTECTED] 05/17 10:52 AM 
 If you've installed TCP/IP printing on the W2k client and setting up
 an
 LPR port why bother using Samba for the printing at all?
 
 If you skip these steps: 1a,1b,2a  2b(printer),2a  2b(global), 3h
 and
 everything after it you should be able to print just fine.
 
 
 
 On Thu, 2002-05-16 at 15:26, JUSTIN GERRY wrote:
  Here is my now messy printer install to get Win2k SP2 boxes to work
 properly. If anyone has anything to add to this let me know. 
  
  I really wish it was possible to get Samba to report some sort of
 dummy printer port for Win2k so it would add a section under 
 Monitors.
 The share name with the slashes seem to give Win2k a hard time, as it
 can not add a print monitor anywhere in the registry.
  
  And I still have not even looked into getting the print driver to
 automatically install.
  
  Thanks,
  Justin
  
  **Start of How to***
  How to Setup Samba and LPR to print to HP Jetdirect boxes from a
 Win2k machine.
  
  *I am assuming you already have samba up and running*
  
  I will be adding a printer I call *HPIII_IT_CUBE*, which is an HP
 Laserjet 3 printer to with a Jetdirect box attached to it. 
 FYI, my samba
 server is called samba.
  
  1)  On the linux box:
  a)  create a dir for samba to spool to. Usually its
 /var/spool/samba
  b)  chmod 01777 /var/spool/samba
  c)  chown root.daemon /var/spool/samba
  d)  create a spool dir in /var/spool/lpd with the
 name of the printer (my case its HPIII_IT_CUBE)
  e)  chown lp.lp /var/spool/lpd/HPIII_IT_CUBE
  f)  Edit printcap file
  In the printcap file make sure that each printer has entries
 modeled after this example:
  
  HPIII_IT_CUBE:\
  :rm=172.30.12.25:\
  :sd=/var/spool/lpd/HPIII_IT_CUBE:\
  :rp=raw:
  
  g)  Restart LPR (service lpd restart), it should
 come up clean with no errors
  h)  Run testprns to see if you get an ok
  
  2)  In the smb.conf under printers section:
  
  Change or add the following under the [printer] section
  a)  path=/var/spool/samba
  b)  use client driver=yes
  
  Change or add the following under the [global] section
  a)  printcap name =/etc/printcap
  b)  load printers = yes
  
  3)  On the Win2k box:
  a)  Browse to file server and double click on the
 

RE: [Samba] printer admin problems with 2.2.4

2002-05-16 Thread Van Sickler, Jim

If you have admin users=, try
putting # before that, too  and
restarting samba

I was #'ing all three lines before,
(printer admin=, admin users=, write list=
and thought only the printer admin= applied.

Sorry,

Jim

 -Original Message-
 From: Bennie van Lent [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 16, 2002 1:52 AM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: RE: [Samba] printer admin problems with 2.2.4
 
 
 sorry.. still isn't working...
 
 i put the # before the printer admin line and restarted the 
 service.. now nobody 
 is printer admin now.. right? 
 Who is going to change the properties of the printers? And 
 even root gets an 
 error when trying to see the properties.
 
  any suggestions what to do.. ??
 
 i'll go and try some things.. when i have succes you'll hear it :-)
 
 Met vriendelijke groet/Regards,
 
 Bennie van Lent
 mailto:[EMAIL PROTECTED]
 Prompt Automatisering
 Marktveldpassage 35c
 5261 ED Vught
 Tel:  +31 73 6567041
 Fax: +31 73 6573513 
 
 
 Voor problemen of vragen
 mailto:[EMAIL PROTECTED]
 
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] printer admin problems with 2.2.4

2002-05-15 Thread Van Sickler, Jim

Edit the smb.conf, place a #
at the beginning of the printer admin
entry, and use swat to restart the
samba server.  Then your printer admins
will probably be able to see the profiles.

Works for me most of the time

I'm not having any fun with 2.2.x printing,
with disable spoolss=no and Win2k.  For about
a month and a half now... :-((

JIm

 -Original Message-
 From: Ruud Baart [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 16, 2002 6:48 AM
 To: [EMAIL PROTECTED]
 Subject: [Samba] printer admin problems with 2.2.4
 
 
 We upgraded from 2.2.3a to 2.2.4 on a SuSE 7.2 server. We 
 compiled Samba just 
 default. The new version seems to work ok with the exception 
 of printer administration.
 
 Printer admins are not able to see the properties of the 
 printers (right click on printer 
 gives on error). Our workstations are W2k SP2. But users that 
 are not printer admin 
 are able to see the properties of a printer, but they are not 
 allowed to change the 
 settings or to upload drivers. I don't think it is important, 
 but we use the latest lprng-
 version as printserver. 
 
 *   We tried the patch on the file rpc_parse/parse_spoolss.c
 *   We tried the current CVS version
 *   We installed the whole samba from scratch (new tdb-files)
 All no difference.
 
 With a lot of debugging on we can't see what is the problem. 
 
 Any ideas? 
 
 Met vriendelijke groet/Regards,
 Prompt
 R.J. Baart
 
 Marktveldpassage 35c
 5261 ED Vught
 Netherlands
 Mailto:[EMAIL PROTECTED]
 Http://WWW.Prompt.NL
 Tel.: +31 73 6567041  
 Fax.: +31 73 6573513
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Error in compiling from new SAMBA_2_2 On OpenBSD 3.1

2002-05-14 Thread Van Sickler, Jim

If the following line is in Makefile, ld stops
with Error code 1.

This is a new development in Makefile.in;
I built from the SAMBA_2_2 code a couple
of days ago, and the previous Makefile's
DYNEXP= line doesn't have the
-Wl,--export-dynamic switches...

---

Line from current Makefile:

DYNEXP=-Wl,--export-dynamic

---

Error notification from make clean all:

Compiling smbd/notify_kernel.c
Linking bin/smbd
ld: invalid command option `--export-dynamic'
collect2: ld returned 1 exit status
*** Error code 1

Stop in /eodc/shared/samba_2_2/source (line 507 of Makefile).

-

I'm running OpenBSD 3.1
gcc/g++ 3.0.3


Jim

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] copy a large volume of data from PC to samba server

2002-05-10 Thread Van Sickler, Jim

What kind of clients?

If it's NT/Win2k/XP, you could use the
at service to run a batch file...use
robocopy or scopy to do the transfer...

Jim

-Original Message-
From: Tian-xiong Lu [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 09, 2002 9:29 PM
To: [EMAIL PROTECTED]
Subject: [Samba] copy a large volume of data from PC to samba server


Hi there,

Is there someone over there knows a method or script
that can copy a large volume of data (in folders) from PCs
to a samba server (suppose there is enough space there)?

I know using smbclient or smbtar can backup data on PCs
to samba server, but it is written in tar files.I wonder whether 
this method can handle a large folder, say, in 10GB size.

Also, using smbclient with mget and recurse on, one can
copy folders from PC to samba server. But in doing so,
it is in interactive mode and keeps asking yes/no to continue.
Is there a way to get rid of these prompts?

Thanks,
Tian.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] After reIP, Samba hosts not browsable.

2002-05-10 Thread Van Sickler, Jim

Did you update the hosts/lmhosts files on
all of the servers  clients?  If not,
they still contain the IP info from your
old scheme...

Jim

 -Original Message-
 From: C. Bensend [mailto:[EMAIL PROTECTED]]
 Sent: Friday, May 10, 2002 6:01 AM
 To: [EMAIL PROTECTED]
 Subject: [Samba] After reIP, Samba hosts not browsable.
 
 
 
 Hey folks,
 
   We recently reIP'ed our main office LAN.  Ever since
 this was done, none of our Samba hosts are browsable via
 Network Neighborhood.  While they are still availible via
 Start - Run - \\servername, it's an annoying inconvenience.
 
 Stats:
 
   * PDC and BDC are NT domain controllers
   * Samba hosts are running several versions of Samba,
 from the later 2.0.* releases, through 2.2.1 and
 2.2.3
   * Samba hosts include Linux, IRIX, HP-UX, and Solaris
 
   To me, this points at a WINS problem, but deleting the
 machine account from the domain and adding a new one does no
 good.  Unfortunately, since WINS is such a black art (at least
 to me), the NT admins can't figure out where the problem lies,
 either.
 
   I doubt if this is a problem with Samba itself, but I'm
 hoping that since we're all here because we're integrating *NIX
 with Windows networks, someone might have run into this problem
 before.
 
 Any help would be much appreciated!  If you need further info,
 I'll be happy to provide it.
 
 Thanks!
 
 Benny
 
 
 ~~
 Always carry a short length of fibre-optic cable. If
 you get lost, then you can drop it on the ground, wait
 ten minutes, and ask the backhoe operator how to get
 back to civilization. -Alan Frame
 
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Samba - cannot print multiple copies

2002-05-10 Thread Van Sickler, Jim


 Hi,
 
 I successfully setup printing on my FreeBSD box 
 using Samba with apsfilter and lprng. However, I 
 have encountered two issues:
 
 1) Cannot print multiple copies of documents from
 my windows box (e.g. notepad). Only the first
 copy is printed and the rest don't get printed.

http://www.linuxprinting.org/ for possible solution(s)?

 2) My spool directory is getting filled up and
 I would like the job removed after the print
 job is finished
 
modifyprint command = /usr/local/bin/lpr -P%p %s
to read   print command = /usr/local/bin/lpr -r -P%p %s
or maybe  print command = /usr/local/bin/lpr -r -s -P%p %s

Jim

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Win2k Printing Problems

2002-05-10 Thread Van Sickler, Jim

Try commenting out the printer admin= entry
-use it only when installing drivers?

I believe you also have to create a dir for
samba to spool to, chmod 01777, chown root.daemon

e.g. /var/spool/samba

and change the path= entry to it.

Jim

 -Original Message-
 From: JUSTIN GERRY [mailto:[EMAIL PROTECTED]]
 Sent: Friday, May 10, 2002 1:05 PM
 To: [EMAIL PROTECTED]
 Subject: [Samba] Win2k Printing Problems
 
 
 I just joined this list, If this has been answered before I apologize:
 
 I have a Redhat 7.2 box running Samba 2.2.4
 
 I have a few printers running on JetDirect boxes that I am attempting
 to print to.
 
 I used printconf in Redhat to set them up within the linux box.
 Everything works fine from the linux box.
 
 I set them up within samba (see [printers] below), but when I print I
 get Failed to open, retrying on the queue.
 
 If I do remove use client driver=yes, I can then print but Win2k
 tells me that under status that access denied; unable to 
 connect on
 the queue.
 
 I've tried testing with use client driver=yes and disable spoolss =
 yes and it does not seem to make much difference other than 
 getting rid
 of the access denied; unable to connect error
 
 Here is what I think the important section in the smb.conf
 
 [printers]
   comment = All Printers
   path = /var/spool/lpd
   printer admin = jgerry
   guest ok = Yes
   printable = Yes
   use client driver = Yes
   browseable = No
 
 Any suggestions?
 
 Thanks,
 Justin
 
 
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Win98 join a PDC

2002-05-10 Thread Van Sickler, Jim

Log in from the W98 client and run smbstatus
on the server, to see what shows up

You can set the log level to 3 or higher, and
look in the log.w98pc (or whatever the hostname is)
during the failed/successful attempts to see
why it fails the first time and works the second.

The same (domain?) user account is being used on
both the Win2k/W98 login attempts?

Jim

 -Original Message-
 From: Alex Moen [mailto:[EMAIL PROTECTED]]
 Sent: Friday, May 10, 2002 12:16 PM
 To: Van Sickler, Jim; [EMAIL PROTECTED]
 Subject: RE: [Samba] Win98 join a PDC
 
 
 Tried this... didn't help.
 
 An update: I got the Win2K machine to finally join the domain 
 using root
 and it's password.  I hate that, but I am using a different 
 password for the
 samba side than the Unix side.
 
 Also, I can log in using my regular domain account on the Win2K server
 perfectly.  So, obviously samba is configured properly, and there's
 something specific to Win98 that I am missing...
 
 It is ultimately consistent in logging in every other time... 
 even after a
 logout, it takes two login attempts to get back in on the 
 Win98 client.
 
 Wierd.
 
 Alex
 
  -Original Message-
  From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]]On
  Behalf Of Van Sickler, Jim
  Sent: Friday, May 10, 2002 12:28 PM
  To: 'Alex Moen'; [EMAIL PROTECTED]
  Subject: RE: [Samba] Win98 join a PDC
 
 
  Make sure the clients/server have the server
  info in their hosts/lmhosts files.
 
  Jim
 
   -Original Message-
   From: Alex Moen [mailto:[EMAIL PROTECTED]]
   Sent: Friday, May 10, 2002 6:02 AM
   To: [EMAIL PROTECTED]
   Subject: RE: [Samba] Win98 join a PDC
  
  
   Good information, and I will definitely investigate this. 
  However, my
   domain right now is in a test situation (working on replacing
   an NT 4.0
   domain with this) and is not on our main network which does
   consist of Cisco
   switches.  I have it set up on a small cheapo switch,
   isolated from the main
   network, where the only thing that is on the switch is the
   Samba box, the
   W2K box, and the W98 client.  Also, DHCP shows no signs of
   any problems: the
   workstation gets an address with no delay.
  
   Any other ideas that I can try?
  
   Thanks!!
  
   Alex
  
  
-Original Message-
From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]]On
Behalf Of Mac
Sent: Friday, May 10, 2002 4:58 AM
To: [EMAIL PROTECTED]
Subject: Re: [Samba] Win98 join a PDC
   
   
From: Dirk Allaert [EMAIL PROTECTED]
To: Alex Moen [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] Win98 join a PDC
Date: Fri, 10 May 2002 10:46:32 +0200



Alex Moen wrote:
 Wierd thing #1:  Windows 98 client will NOT connect on
   first attempt:
 type in username and password, hit enter, wait 2 
 minutes, failure
 message.  Click OK on the failure popup, hit enter again
   on the login
 dialogue, wait another 2 minutes and client logs in almost
perfectly (by
 almost: trouble with home directory %u thingie).  Any ideas?

I am not sure this is a samba issue. I have also seen 
 this once a
Windows NT 4 PDC and a somebody reported me this on a
   Windows 2000 ADC
(always with windows 98). Seemed to have to do with
   networking stuff.


I the Windows 2000 case, the guy that told me had
   contacted CISCO (they
were using a CISCO layer 3 switch) and CISCO changed some
   stuff on the
switch (don't know what). Same scenario for NT 4 case:
   Baystack switch,
PC's with Accton network card. Changed speed on switches
   (half duplex).
Problem did not completely disappear but sure improved.
   
   
This sounds highly likely.  The Cisco 'stuff' they changed
   was probably
'portfast'.
   
See:-
   
http://www.cisco.com/warp/public/473/12.html
   
for an explnation of why it can tkae upto a minute for a
   switch to start
passing packets after the PC has come up.  Also some (Cisco
   specific)
steps you can take (with detailed instructions) to reduce
   the problem.
[One of the steps is to twiddle duplex settings, but it's
   the very last
thing to try].
   
   
   Mac
  Assistant Systems Adminstrator @nibsc.ac.uk
[EMAIL PROTECTED]
   Work: +44 1707 654753 x285  Everything else: +44 7956
237670 (anytime)
   
--
To unsubscribe from this list go to the following URL 
 and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
   
  
  
   --
   To unsubscribe from this list go to the following URL and read the
   instructions:  http://lists.samba.org/mailman/listinfo/samba
  
 
  --
  To unsubscribe from this list go to the following URL and read the
  instructions:  http://lists.samba.org/mailman/listinfo/samba
 
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http

RE: [Samba] Cannot find Primary Domain - Please help, rather urge nt

2002-05-10 Thread Van Sickler, Jim



 -Original Message-
 From: John Biggs [mailto:[EMAIL PROTECTED]]
 Sent: Friday, May 10, 2002 1:29 PM
 To: [EMAIL PROTECTED]
 Subject: [Samba] Cannot find Primary Domain - Please help, 
 rather urgent
 
 
 Hello,
 
 I'm getting a persistent error at login (effectively locking 
 me out) on
 two Win2k machines that were once assigned to a domain on my windows
 network (win2k server was once the PDC, just changed to Samba)
 
   Cannot log you into the primary because the system's 
 computer account
 is missing or the password was incorrect.


Add the samba server info to:
c:\winnt\system32\drivers\etc\hosts
c:\winnt\system32\drivers\etc\lmhosts
on the Win2k PCs

and remove the old server info

 The old domain was:
 yrbmag.yellowrat.com
 
 and I'd like every just to be in workgroup YRBMAG
 
 My configure file follows. What am I doing wrong? Is there a 
 way to fake
 the domain so I can login and switch to the workgroup? Luckily enough,
 the previous admin here at the shop forgot the admin 
 passwords for both
 machines, rendering my job even harder. Super!
 
One way to fix that (keeping existing account info, but
creating new admin password) is to upgrade your Win2k systems
to Win2k again.  You'll have to re-install all of your IE5.x,
DirectX, SP2 (unless you build a streamlined version of Win2k,
which would then have SP2 incorporated), etc.

If you don't care about the user accounts, just run SysPrep 1.1
and reboot;  you'll be prompted for the admin  networking info,
and everything else will be as was.  SysPrep is used to create
a machine that would act as the source PC for imaging, e.g. Ghost,
etc.  The first time it boots it prompts for info...

Jim


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: RE: [Samba] Win2k Printing Problems

2002-05-10 Thread Van Sickler, Jim

What port is listed on the Properties box on the Win2k PC?

see http://support.microsoft.com/default.aspx?scid=kb;EN-US;q255507

I'd think it should list the network share, e.g. \\samba2\hp4plus
like that.

What does your /etc/printcap have listed for the printer ports?

mine are:

:rm=192.168.2.2
:rp=raw

JIm


 -Original Message-
 From: JUSTIN GERRY [mailto:[EMAIL PROTECTED]]
 Sent: Friday, May 10, 2002 2:10 PM
 To: [EMAIL PROTECTED]
 Subject: Re: RE: [Samba] Win2k Printing Problems
 
 
 I made all the changes you suggested. I restarted smb,nmb and lpd just
 to be sure.
 
 My Win2k box is still giving me the same error under status failed
 to open, retrying and eventually access denied; unable to 
 connect on
 the queue.
 
 Other permissions to check??
 
 Thanks,
 Justin
 
 
  Van Sickler, Jim [EMAIL PROTECTED] 05/10 4:33 PM 
 Try commenting out the printer admin= entry
 -use it only when installing drivers?
 
 I believe you also have to create a dir for
 samba to spool to, chmod 01777, chown root.daemon
 
 e.g. /var/spool/samba
 
 and change the path= entry to it.
 
 Jim
 
  -Original Message-
  From: JUSTIN GERRY [mailto:[EMAIL PROTECTED]] 
  Sent: Friday, May 10, 2002 1:05 PM
  To: [EMAIL PROTECTED] 
  Subject: [Samba] Win2k Printing Problems
  
  
  I just joined this list, If this has been answered before I
 apologize:
  
  I have a Redhat 7.2 box running Samba 2.2.4
  
  I have a few printers running on JetDirect boxes that I am
 attempting
  to print to.
  
  I used printconf in Redhat to set them up within the linux box.
  Everything works fine from the linux box.
  
  I set them up within samba (see [printers] below), but when I print
 I
  get Failed to open, retrying on the queue.
  
  If I do remove use client driver=yes, I can then print but Win2k
  tells me that under status that access denied; unable to 
  connect on
  the queue.
  
  I've tried testing with use client driver=yes and disable spoolss
 =
  yes and it does not seem to make much difference other than 
  getting rid
  of the access denied; unable to connect error
  
  Here is what I think the important section in the smb.conf
  
  [printers]
  comment = All Printers
  path = /var/spool/lpd
  printer admin = jgerry
  guest ok = Yes
  printable = Yes
  use client driver = Yes
  browseable = No
  
  Any suggestions?
  
  Thanks,
  Justin
  
  
  
  
  -- 
  To unsubscribe from this list go to the following URL and read the
  instructions:  http://lists.samba.org/mailman/listinfo/samba 
  
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] 2.2.4/spools/HP DJ 1120 driver problem

2002-05-06 Thread Van Sickler, Jim

What is the proper Spool folder on the
File-Server Properties-Advanced tab?
What should the *nix permissions/user.group be?

I get Server spool directory location is invalid
when I try to specify any logging options, and
the spool folder is set (e.g. \\samba2\print$\spool)
to an existing directory name.

Jim

 -Original Message-
 From: Gerald Carter [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 06, 2002 11:14 AM
 To: [EMAIL PROTECTED]
 Cc: Martin Thomas; [EMAIL PROTECTED]
 Subject: Re: [Samba] 2.2.4/spools/HP DJ 1120 driver problem
 
 
 On Mon, 6 May 2002, Thomas Stegbauer wrote:
 
  how to remove a serverdriver without dropping all $LOCKDIR/nt*.tdb?
 
 Connect as a printer admin to the samba box froma Win2k client 
 and browse through the network neighboprhood to the Printers 
 folder on the Samba server.  Then goto File-Server Properties
 and select the Drivers tab in the dialog window that appears.
 
 
 
 
 
 
 
 
 
 
 
 
 cheers, jerry
  -
  Hewlett-Packard http://www.hp.com
  SAMBA Team   http://www.samba.org
  --http://www.plainjoe.org
  Sam's Teach Yourself Samba in 24 Hours 2ed.  ISBN 0-672-32269-2
  --I never saved anything for the swim back. Ethan Hawk in Gattaca--
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] 2.2.4/spools/HP DJ 1120 driver problem

2002-05-06 Thread Van Sickler, Jim

OK-I'll ignore it until info'd otherwise.

Jim

 -Original Message-
 From: Gerald Carter [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 06, 2002 12:26 PM
 To: Van Sickler, Jim
 Cc: [EMAIL PROTECTED]
 Subject: RE: [Samba] 2.2.4/spools/HP DJ 1120 driver problem
 
 
 On Mon, 6 May 2002, Van Sickler, Jim wrote:
 
  What is the proper Spool folder on the
  File-Server Properties-Advanced tab?
  What should the *nix permissions/user.group be?
  
  I get Server spool directory location is invalid
  when I try to specify any logging options, and
  the spool folder is set (e.g. \\samba2\print$\spool)
  to an existing directory name.
 
 Those properties are irrelavent.  We don't currently 
 support any of them.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Win2k Printer Installation Woes Continue....

2002-05-03 Thread Van Sickler, Jim

hahahahahahahahahahahahahahahahaha!!!

Sorry, I'm a bit slap-happy...been fighting
Win2k/APW problems ever since I upgraded to 2.2.3a.
Still having problems 2.2.4-pre and now 2.2.4.

  I have a workaround, sort of...set disable spoolss=no,
install drivers for the HP printers; then set
disable spoolss=yes.  Add use client driver=no
on each of the HP printer entries.  Add
use client driver=yes for the non-HP printers.
I have 3 non-HP, and they either use the Lexmark
or AdobePS install proggies.  Can't install the
drivers on the Samba box using APW.

  I've posted a few items recently while working
on the problem;  APW is only part of the problem.

If disable spoolss=no, adding a printer
on my Win2k PC results in the following:

1.  Adding a printer from the Samba box doesn't
result in a System Event 2 (printer added).

2.  I can't view the Properties on either the
installed printer or the printer icon on the
Samba box.

3.  Removing the printer from my system allows
me to view the Samba's printer Properties.

If disable spoolss=no, the following issues
arise on the Samba APW printers:

1.  Two sets of printers are displayed: one
a grey icon, which only has a General tab
when opened.  Blue Shared Printer icons
that appear when the Printers folder is
opened.  I can view the Properties on the
printer, as long as it isn't installed
on my system.

2.  Security on the APW printer icon displays
only Everyone and the SID for my Domain Admin,
with an Unknown User indicator icon.  Unlike
my 2.2.2 server, no attempt seems to be made
to resolve the ID of the SID.  (My 2.2.2
box first displays the SID, then an hourglass
is displayed until the resolved name replaces
the SID.)

  If I add Tucson\Domain Users, the group icon
is displayed ok.  If I close the Security tab,
then open it again, only the SID is displayed.
This occurs for every user/group added.

If disable spoolss=yes, then I can install the
printer, and display Properties on both.  The
Security tab displays the same info on both
system/Samba printer icons: my local Win2k
rights to the printer.  I think this is
as it should be.

  Why is this happening?  What can be done to
correct it?  ENQUIRING MINDS WANT TO KNOW!!!
I'm about ready to go back to 2.2.1a, the last
fully functional version I've runI lost
print status going to 2.2.2

Also, would someone in the know please respond
with the following information:

chown user.group and chmod  rights for
/printers and it's subdirs
samba's spool dir/subdir's



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] wget vs cvs for getting current code

2002-05-01 Thread Van Sickler, Jim

I can't use cvs, due to port blocking on our firewall  routers.

I can (did it today) wget the samba_2_2 dirs off of the cvs server.

This leads to 2 questions:

1.  Are the files in the /source dirs already patched via cvs?
2.  If not, how do I get cvs to update the source files?
(I've already created a local cvs repository and imported
the samba_2_2 source)

Jim

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] wget vs cvs for getting current code

2002-05-01 Thread Van Sickler, Jim



 -Original Message-
 From: Gerald Carter [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, May 01, 2002 2:58 PM
 To: Van Sickler, Jim
 Cc: [EMAIL PROTECTED]
 Subject: Re: [Samba] wget vs cvs for getting current code
 
 
 On Wed, 1 May 2002, Van Sickler, Jim wrote:
 
  I can't use cvs, due to port blocking on our firewall  routers.
  
  I can (did it today) wget the samba_2_2 dirs off of the cvs server.
  
  This leads to 2 questions:
  
  1.  Are the files in the /source dirs already patched via cvs?
  2.  If not, how do I get cvs to update the source files?
  (I've already created a local cvs repository and imported
  the samba_2_2 source)
 
 ftp://samba.org/pub/unpacked/samba_2_2/ is an FTP mirror
 of the SAMBA_2_2 cvs tree updated via a cron job.
 
 
good!  As fun as getting wget working through our firewall was,
my short look at using cvs made me shudder!  Now I can just run
wget (in mirror mode) to update the source dir, look for any
new stuff for ./configure (like --with-pid-dir...) and build
the updated version.

  I'm sure cvs becomes easier with use  ;-)

Jim

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Printing troubles

2002-04-29 Thread Van Sickler, Jim

Do you also have LPRng installed on this box?  Did you have to
reinstall it?  If so, look to see if the links between
lpr, lpd, lpc, lprm, etc. in the LPRng install dir
(/usr/local/bin, /usr/local/sbin on my OBSD box) and
/usr/bin, /usr/sbin.  If they weren't, I think you get
similar problems.

Jim

 -Original Message-
 From: Damian Gerow [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, April 24, 2002 2:20 PM
 To: [EMAIL PROTECTED]
 Subject: [Samba] Printing troubles
 
 
 Our print server (linux 2.2.19, Debian unstable, with the 
 2.2.3a-6 package) 
 had a bit of trouble yesterday, and after getting everything 
 back up and 
 working, printing is now broken.  I can print from the 
 commandline, but not 
 through samba.
 
  From a 2000 client, I can see the printer shares, but can't 
 ever actually 
 print to them (Could not start print job.)  If I open the server in 
 Network Neighbourhood, and browse the 'Printers' share, I get 
 errors on the 
 samba server (signal 11 in smbd), and can no longer access the server 
 without restarting samba -- Remote Procedure call failed.
 
 I can post the logs if need be, as well as the printer config, just 
 wondering if anyone has any ideas beforehand.  I did a quick 
 check through 
 the archives, but couldn't find anything.
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] can't set time on nt client for synchro

2002-04-29 Thread Van Sickler, Jim

What is the command line you're using to set the time?

net time \\samba1 /set /yes

works for me...

Jim

 -Original Message-
 From: root [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 29, 2002 8:22 AM
 To: [EMAIL PROTECTED]
 Subject: [Samba] can't set time on nt client for synchro
 
 
 hello
 
 i can't set time on my nt client with my logon.bat script
 cause they don't have exec privilège that's ok
 but how i do that ?
 
 urgent!!
 thanks
 r
[EMAIL PROTECTED]
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 


--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Printing troubles

2002-04-29 Thread Van Sickler, Jim

Source upgrade - I don't think there's a 2.2.3a
package for OpenBSD 3.1 yet;  I don't think
I've got the expertise to build it for them...;-(

Jim

 -Original Message-
 From: Damian Gerow [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 29, 2002 9:17 AM
 To: Van Sickler, Jim
 Subject: RE: [Samba] Printing troubles
 
 
 At 12:14 PM 4/29/2002, Van Sickler, Jim wrote:
 I'm going to look into CVS'ing my current 2.2.3a box.
 I have several oddities that hopefully will be fixed
 with the updated code.
 
 Fingers crossed
 
 Are you doing a source upgrade, or building a package?
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Printing troubles

2002-04-29 Thread Van Sickler, Jim

So much for easy cvs...I'm behind a firewall/proxy.
The cvs login goes okay, then aborts with
no route to host.  Any idea how to make this
work?

Jim

 -Original Message-
 From: Damian Gerow [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 29, 2002 9:17 AM
 To: Van Sickler, Jim
 Subject: RE: [Samba] Printing troubles
 
 
 At 12:14 PM 4/29/2002, Van Sickler, Jim wrote:
 I'm going to look into CVS'ing my current 2.2.3a box.
 I have several oddities that hopefully will be fixed
 with the updated code.
 
 Fingers crossed
 
 Are you doing a source upgrade, or building a package?
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Prints ok, but says Access denied, unable to connect .win2k and samba 2.2.1a

2002-04-29 Thread Van Sickler, Jim

see smb.conf(5), and disable spoolss=yes

Jim

 -Original Message-
 From: Randy S [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 29, 2002 1:49 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [Samba] Prints ok, but says Access denied, unable to
 connect. win2k and samba 2.2.1a
 
 
 
 --- [EMAIL PROTECTED] wrote:
  Randy,
  You will need to add use client driver = yes to the 
 smb.conf file, or
 install.
 
 I added 'use client driver = yes ' to the printers section of 
 smb.conf. It
 didn't seem to help.
 
 Any other ideas?
 
 /R
 
 __
 Do You Yahoo!?
 Yahoo! Health - your guide to health and wellness
 http://health.yahoo.com
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] W2k protection fault w/HP drivers and Samba 2.2

2002-04-22 Thread Van Sickler, Jim

HP driver issues-I think the newer ones need two-way comms with
the printers, for Plug and Play purposes, maybe.  We have an
OfficeJet 570 hooked up to an Intel NetPort Pro;  HP says
(and it's true, so far) that the 570 drivers won't work if
it's hooked up to anything other than the PC's LPT.  To
use it on the network, they say to use the DJ550C drivers.
That's how we've got it set up, and it works.  Except
for the annoying persistent Paused status that is
displayed on all of the PCs.  The jobs print ok, and I haven't
figured out what's causing it.  I have a HP DesignJet 450C
connected to the second port on the NetPort, and it works
just fine.


Jim

 -Original Message-
 From: Mark Kunzmann [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 22, 2002 1:47 AM
 To: Samba ( List )
 Subject: RE: [Samba] W2k protection fault w/HP drivers and Samba 2.2
 
 
 Hi Jim,
 
 thanks a lot for that! I'm glad to say that it finally works! 
 I just have
 one question: WHY? Presumably, this isn't really a Samba 
 issue, but a driver
 related one?
 
 cheers,
 Mark
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]]On
 Behalf Of Van Sickler, Jim
 Sent: Sunday, April 21, 2002 9:00 PM
 To: 'Mark Kunzmann'; Samba ( List )
 Subject: RE: [Samba] W2k protection fault w/HP drivers and Samba 2.2
 
 
 I'd look on the HP Support site for note on using
 this printer on a network-you might have to use
 something like the DJ550C driver, since it isn't
 connected to a Windows PC's LPT.
 
 Jim
 
 
  -Original Message-
  From: Mark Kunzmann
  Sent: Sunday, April 21, 2002 4:28 AM
  To: [EMAIL PROTECTED]
  Subject: [Samba] W2k protection fault w/HP drivers and Samba 2.2
 
 
  Hi,
 
  I'm having a major problem getting my HP DeskJet 840C to work
  correctly with
  Samba (2.2.1a-4 - RedHat 7.2) and Windows 2000 Professional.
  Whenever I try
  to view the properties for the printer the Windows 2000 box
  throws Function
  address 0x6062c92f caused a protection fault (exception code
  0x005).
  Some or all property page(s) may not be displayed. I don't
  get this error
  when I hook up the printer directly to the W2k box and
  install the exact
  same driver. I have set up a [print$] for Samba as explained in the
  documentation and indeed the driver up/download functionality
  seems to be
  working perfectly. The rest of my Samba file shares are also
  performing
  great.
  I have seen a couple of other people run into this in the
  archives but can't
  find anyone who's posted a solution. This has been keeping me
  busy for days
  now - ANY pointers on this problem would be very much
  appreciated indeed!!
  Thanks.
 
  cheers,
  Mark
 
 
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Samba and Service Manager

2002-04-22 Thread Van Sickler, Jim

Install cygwin on the server, ssh into the server,
and do your net stops/starts that way.

http://www.cygwin.com

Jim
 -Original Message-
 From: Jeff Gustafson [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 22, 2002 5:14 PM
 To: [EMAIL PROTECTED]
 Subject: [Samba] Samba and Service Manager
 
 
   Does Samba support starting/stoping services in a 
 remote Windows 
 server?  In the archives I did find a thread discussing the 
 reverse of 
 this, but I was hoping that I could do some Windows admin 
 work from Unix 
 command line.
 
   ...Jeff
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] W2k protection fault w/HP drivers and Samba 2.2

2002-04-21 Thread Van Sickler, Jim

I'd look on the HP Support site for note on using
this printer on a network-you might have to use
something like the DJ550C driver, since it isn't
connected to a Windows PC's LPT.

Jim


 -Original Message-
 From: Mark Kunzmann [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, April 21, 2002 4:28 AM
 To: [EMAIL PROTECTED]
 Subject: [Samba] W2k protection fault w/HP drivers and Samba 2.2
 
 
 Hi,
 
 I'm having a major problem getting my HP DeskJet 840C to work 
 correctly with
 Samba (2.2.1a-4 - RedHat 7.2) and Windows 2000 Professional. 
 Whenever I try
 to view the properties for the printer the Windows 2000 box 
 throws Function
 address 0x6062c92f caused a protection fault (exception code 
 0x005).
 Some or all property page(s) may not be displayed. I don't 
 get this error
 when I hook up the printer directly to the W2k box and 
 install the exact
 same driver. I have set up a [print$] for Samba as explained in the
 documentation and indeed the driver up/download functionality 
 seems to be
 working perfectly. The rest of my Samba file shares are also 
 performing
 great.
 I have seen a couple of other people run into this in the 
 archives but can't
 find anyone who's posted a solution. This has been keeping me 
 busy for days
 now - ANY pointers on this problem would be very much 
 appreciated indeed!!
 Thanks.
 
 cheers,
 Mark
 
 
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



  1   2   >