RE: [Samba] Help with samba on Solaris 9

2007-04-11 Thread William Enestvedt
If you just applied a Sun patch cluster, it likely overwrote your
/etc/pam.conf file. (This can be confirmed by reading the CLEANUP file
left after the install_cluster script runs, but you have to remember to
save it if the file lived in volatile space like /tmp.)

- Will
--
Will Enestvedt
UNIX System Administrator
Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Samba with ADS on Sun Solaris System

2006-01-09 Thread William Enestvedt
Adam wrote of Jerry's remark:
  
  The idea will be to package a statically linked version of
  smbd that includes the appropriate Kerb5 and OpenLDAP libs.
 
 Wow.  Does this mean a new version would be released whenever 
 there is a vulnerability in the kerb libs, openldap libs, or 
 Samba?  Or only for Samba?
 
 That seems like a lot of work for you/the rest of the Samba team. . .
 
   Sssshhh! They work for us, remember? And for free!!
   Just kidding. Could any of us pitch in something to help? Not that I
have much to offer (besides my proofer's eye -- ask John), but could we
make this easier for you somehow?
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI

--
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 William Enestvedt
Tim Kazsuk wrote about slow printing from a Solaris server with Samba
3.0.11.
   I, too, run Samba on a Solaris 8 server, and when I receive Office XP
jobs, they can take f-o-r-e-v-e-r to print through my spooler software
(Xi-Text).
   It seems only to be especially large jobs (more than a few thousand
pages) that are this slow.
   I run from a sunfreeware.com package. Did you compile your own?
   In my case, I fear that the lpusy performance is due mostly to shared
memory files on a mirrored disk; have you examined the underlying disks
 networking? You know, leave no stone unturned and all that. :7)
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] What happened to the Solaris packaging between 3.0.2a and3.0.14a?

2005-06-17 Thread William Enestvedt
Arnold asked:
 
 I'm just missing the former [Solaris packaging] functionality. 
 Can anyone explain why this was changed and if it is 
 possible to get it back?
 
   Perhaps because Samba is bundled with the OS now and fewer people
need to get it from a 3rd party? Just guessing...
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] FreeBSD ssh AD authentication

2005-06-16 Thread William Enestvedt
Thomas wrote:
 
 # Change to no to disable PAM authentication
 # ChallengeResponseAuthentication yes
 
 which I uncommnted and restarted sshd and winbind
 But the result is the same ...

   I seem to recall reading -- for Solaris anyway -- that you need to
reboot in order to force the changes to /etc/pam.conf to be applied.
When I was experimenting with OpenSSH, Samba 3.x, and Solaris 8, I think
this was required.
   Whether it applies to a *BSD, I don't know.
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] ADS and Samba

2005-05-19 Thread William Enestvedt
On May 10, John Terpstra wrote:
 
 A process for building Samba-3 for this purpose can be 
 obtained from:
   http://samba.org/~jht/Notes/Samba-Install-Solaris9.txt

  Thanks, John -- this look very handy, even though I have Solaris 8
(which on Febraru 6 you said is also covered by this). Could you comment
on differences between it and the advice provided in last winter's
SysAdmin magazine article?
  www.samag.com/documents/s=9383/sam0414e/
   Thanks.
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Problems with Tiger SMB connections

2005-05-03 Thread William Enestvedt
There are apparently API changes in Tiger (a.k.a. Mac OS X 10.4,
released last Friday, April 29, 2005) that broke other things -- for
example, Cisco's VPN client (and most others).
   Does anyone from samba.org know whether or not Samba is affected?
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI


 Sent: Tuesday, May 03, 2005 2:04 PM
 To: samba@lists.samba.org
 Subject: [Samba] Problems with Tiger SMB connections
 
 
 I came across this message on another mailing list, I was 
 hoping people here may have some ideas?
 
 Thanks,
 Trevor
 
 ---
 
 Is anybody else having problems connecting to SMB shares with Tiger?
 I appear to authenticate ok, but then I get this error.
 
 The Finder cannot complete the operation because some data in smb://
 theserver/theshare could not be read or written. (Error code -36).
 
 I check the logs and found these two entries every time I've tried to
 connect.
 
 May  3 12:43:49 Nugget kernel[0]: smb_maperr32: no direct map for 32
 bit server error (0xc0bd)
 May  3 12:43:49 Nugget kernel[0]: smb_maperror: Unmapped DOS 
 error 1:52
 
 I also did a tcpdump while trying to connect and can see that
 successful connections are occurring between me and the server on 137/
 UDP, 139/TCP, and 500/UDP.
 
 If anybody has any ideas on this one, I'd love to hear them.
 
 thanks,
 -Mike

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


[Samba] Changes to HOWTO and maybe Samba Guide for Solaris patches

2005-04-27 Thread William Enestvedt
Sun has changed the organization of their web site a lot over the years,
and I just noticed that a URL included in the HOWTO is broken now.
Perhaps there are others as well.
   In section 39.6.2 Winbind on Solaris 9 (p. 503), Solaris 9 users
are directed to download a patch from the following URL:
http://sunsolve.sun.com/pub-cgi/findPatch.pl?patchId=112960;rev=14
   But the Sun site redirects users to a newer, longer, mch uglier URL:
 
http://sunsolve.sun.com/search/advsearch.do?collection=PATCHtype=collec
tionsmax=50language=enqueryKey5=112960;rev=14toDocument=yes
   (Yeah, that's all one line.)
   I just thought I should mention it, in case there are other specific
URLs for Sun web pages in the (wonderful!) documentation.
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Repeat Review Request

2005-04-15 Thread William Enestvedt
Eric Feldhusen wrote about the Samba books:
 
 I know I keep the published volumes nearby as 
 references, having purchased them to support the efforts...

   Despite the paper books becoming partially (or fully!) obsolete as
soon as they were printed, I, too, bought them primarily to support the
Samba project, since I don't know how else to do so -- aside from posts
to the lists when I see one I can field.
   Are there other avenues that people have used to contribute
materially to Samba's success?
  Also, he continued:

 ...I download the updated pdf's once a month or so to keep 
 up with improvements in Samba and both manuals.
 
   Me, too, but I am getting a little tired of the haze of toner that
hangs in the air every time I print them out!
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Repeat Review Request

2005-04-14 Thread William Enestvedt
John Terpstra asked:

 Is it worth my effort to continue updating this book or 
 is this a waste of time?

   Certainly it's a worthwhile effort, but it's also hundreds of pages
long, and we're going to have to work our way through it before we can
reply. :7)
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] samba ads problem

2005-04-01 Thread William Enestvedt
Guillaume;
   Nice name!
   We need a little more informaiton to help. :7)
   Did you compile support for Active Directory use into Samba? What platform, 
what version of Samba, and what version of supporting software (like Kerberos 
and OpenLDAP) are you using? Are you using RPMs?
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI

 -Original Message-
 Sent: Friday, April 01, 2005 9:46 AM
 To: samba@lists.samba.org
 Subject: [Samba] samba  ads problem
 
 
 I follow the procedure for the integration of Samba
 3.0.13 in Ads environement, but when I enter the
 command net ads join -U administrator system return
 me this error:
 --errror
 morgoth:/usr/local/samba/bin# ./net ads join -U
 administrator
 administrateur's password:
 [2005/04/01 16:34:48, 0]
 utils/net_ads.c:ads_startup(191)
   ads_connect: No such file or directory
 morgoth:/usr/local/samba/bin#
 ---
 Do you have any idea?
 does the installation of samba was bad?
 
 thanks, guillaume
 
 
   
 
   
   
 __
 Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de 
 stockage pour vos mails ! 
 Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
 -- 
 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] Practical guide to migrate from tdbsam to ldapsam

2005-03-11 Thread William Enestvedt
John Terpstra wrote:
 
 The use of 'pdbedit -i tdbsam -e ldapsam' can be used to migrate the 
 SambaSAMAccount infromation to LDAP, but the migrationm of 
 the POSIX accounts is a little more difficult.
 
 The procedure you could use is to use the PADL migration 
 tools to migrate the POSIX accounts to LDAP first, then 
 use the pdbedit tool to migrate the SambaSAMAccount information. 
 Alternately, check http://idealx.org and http://www.padl.com 
 for the suitable migration tools that may permit the migration 
 as a one-step operation.

   Thanks for this information.
   Are there any suggestions or warnings for setting up a new Samba
server (with simple winbind and a range of UIDs  GIDs) which will later
be moved to using LDAP [against an Active Directory] for the backend?
   Thanks.
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Tiny HOWTO edit

2005-03-10 Thread William Enestvedt
On page 206 of the Samba-HOWTO-Collection PDF, in the seventh paragraph,
the word use appears to be missing from the sentence, When Samba is
being used as the PDC and BDC the of an LDAP... -- but that could just
be me.
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Can't see my Samba server into the A.D. Domain

2005-03-03 Thread William Enestvedt
Paul Gienger wrote:

 From what I've seen, the sunfreeware version doesn't include 
 LDAP support which is a deal breaker for me, and you can't 
 have ADS without LDAP support.
 
   I emailed Steve Christensen about this while he was at Linux World
(2/14/2005), and he said he'd consider it. However, due to the reliance
on other packages, it rapidly spirals into a dependency hell situation:

 I would be happy to build the ads version.  But if I remember 
 right that requires both kerberos and ldap support and this 
 causes all sorts of problems. I will try to look into it again.

   If poeple ask him politely to compile a Samba with ADS support he
might do it, but for now I don't think he had plans to do so. (I would
love to be wrong!)
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Request to update slapd.conf and OpenLDAP info forSamba-Guide/happy.html

2005-03-03 Thread William Enestvedt
John H. Terpstra wtote:
 
 Unfortunately, the complexity barriers of Samba plus LDAP is 
 proving a lot more than some sites are willing to endure.

  And yet the integration of Samba  LDAP is so powerful, so attractive,
that many of us cannot resist battering ourselves senseless against it
like moths at a bulb. :7)

 For those of us who have found the right solution Samba 
 is liberating.

   ...And for the rest of us, it's like waifs pressing our noses against
the shop window, looking in hungrily.
   I think I'm not alone in being a UNIX system admin in a Windows shop
who needs to do all the work to get the two systems to share
information, and who is learning as he goes along. If it would be
possible to write up a phrasebook for us to use in prying the correct
information out of the Windows admins, that would be incredibly useful:
we don't know what we don't know, and that's usually where projects like
this break down.
   The Samba suite is *so* useful and flexible that I'll keep working on
making it get my Suns to interoperate with our Active Directory, but
it's going to be a long haul, especially if it is probably better that
they get turned off sooner!
  Anyway, thank you, John, Andrew, Jerry  the rest of the Samba team,
for this whole project. It makes my job easier and it's just
aesthetically satisfying to know it even exists. Keep up the good work.
-wde
P.S. Only venting, and now I'll get back to work...on re-compiling
Samba.
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Need PAM when SSH logins die after winbind added to Solaris 8 nsswitch.conf?

2005-03-03 Thread William Enestvedt
I compiled Samba 3.0.12pre1 and enabled winbind in the
/etc/nsswitch.conf file on my Solaris 8 system, and now SSH connections
time out and close after the LoginTimeout value in sshd_config despite
successful interactive keyboard login.
   However, I don't wish to allow domain logins for SSH if I don't have
to (since no one really needs a shell on my server). Can anyone tell me
whether I _must_ re-compile Samba with --enable-pam and configure
/etc/pam.conf, or whether I can set sshd to ignore this? If I enable
Kerberos for SSH logins will I then side-step this problem?
   I have MIT Kerberos 1.4 getting tickets from my Active Directory
server; I compiled Samba with the flags --with-included-popt
--with-winbind --with-ads --with-ldap --with-krb5=/usr/local/kerberos
to the `configure` command.
   Thanks.
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Testing LDAP: ssh connection refused

2005-02-24 Thread William Enestvedt
sania maro wrote:

 When I try to login on my system as testuser (ssh 
 [EMAIL PROTECTED]) I get the following message:
 ssh: connect to host PDC-SRV.DOMAIN.ORG port 22:
 Connection refused.

   Is PAM enabled in sshd_config? Did you restart the ssh daemon?
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Testing LDAP: ssh connection refused

2005-02-24 Thread William Enestvedt
Sania wrote:

 I can't find any option related to pam in /etc/ssh/sshd_config.

   If you have been running SSH for a long time, you may have an
sshd_config file that predates this feature. I don't want to offend you,
but try `man sshd` or `man sshd_config` for the details. :7)
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] How current is the HOWTO collection?

2005-02-22 Thread William Enestvedt
When a new version of Samba is posted, is the HOWTO COllection updated,
or does the Samba Team rely on the community to spot anachronisms and
report them as bugs?
   I'm struggling with a new install of Samba that's more complex than
I've tried before, and I keep the two Samba dead-tree books open on my
desk -- but if the online docs in the tarball are more current than the
books, these heavy things are going up on my shelf!
   Thanks.
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] How current is the HOWTO collection?

2005-02-22 Thread William Enestvedt
I asked about the currency of the HTML  PDF documentation over printed
editions. Never mind -- the Docs page of the Samba web site says plainly
that the electronic versions are current.
   Mea culpa, I suck.
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI

 -Original Message-
 Sent: Tuesday, February 22, 2005 9:57 AM
 To: samba@lists.samba.org
 Subject: [Samba] How current is the HOWTO collection?
 
 
 When a new version of Samba is posted, is the HOWTO 
 COllection updated,
 or does the Samba Team rely on the community to spot anachronisms and
 report them as bugs?
I'm struggling with a new install of Samba that's more complex than
 I've tried before, and I keep the two Samba dead-tree books open on my
 desk -- but if the online docs in the tarball are more 
 current than the
 books, these heavy things are going up on my shelf!
Thanks.
 -wde
 --
 Will Enestvedt
 UNIX System Administrator
 Johnson  Wales University -- Providence, RI
 -- 
 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] Problems building samba+AD/LDAP support on Solaris 8

2005-02-18 Thread William Enestvedt
James Tullett asked:
 
  What versions of Kerberos and OpenLDAP would be most 
  suitable to use on Solaris 8 and samba 3.0.11 for use with ADS?
 
   The current Kerberos from MIT is 1.3.6, I think, and the current
OpenLDAP is 2.2.23. I have been trying to get these to work with Samba
3.0.11 on Solaris 8 for two weeks, with little or nothing to show. :7(
   Tim Evans pointed out:
 
 Go to www.sysadminmag.com and located the December Solaris 
 Supplement issue; it has a step-by-step.

   Beware of a few small parts that are left as an exercise for the
reader *cough* like Kerberos, winbind, and PAM.
-wde
P.S. I love the British Museum!
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] net ads commands work, wbinfo fails

2005-02-17 Thread William Enestvedt
Hi, all;
   I compiled Samba 3.0.11 on Solaris 8 with MIT Kerberos 1.3.6 and
OpenLDAP 2.2.23. I joined our Active Directory domain, but only the
various `net ads` commands work, while any `wbinfo` commands fail.
   Where can I start searching for this?
   My log.winbindd says that the server failed to fetch the shared
secret. Oddly, it also says that it's trying to contact a Domain named
PVD-MGT-10, which is actually the hostname.
   Does this sound like I haven't added accounts for the machine yet, or
do I need to correct my ldap.conf file, or...?
   I confess I am getting out of my depth. :7( Despite having both Samba
books and the man pages, I don't have anyone particularly savvy on the
AD side to work with, so I need to turn to the list for some general
suggestions.
   I can certainly provide the smb.conf, krb5.conf, and lsap.conf files
if no glaring error jumps out.
-wde
P.S. FWIW, I have a Samba 2.x server (print-only) that runs fine, but I
wanted to do something neat with the new set-up. I guess it's true
what they say about the tragedy that generally follows the words, Hey,
watch this!
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Differences between Samba-related PAM modules

2005-01-10 Thread William Enestvedt
Jerry wrote:
 
 Looks like a good summary to me.  You can also use
 pam_ldap and pam_krb5 with AD.
 
   Is this also true on Solaris 8?
   I'm trying to get Samba 3.0.10 to authenticate some Windows users against
the Active Directory without making local Solaris accounts. Do I need to
build MIT Kerberos [done, v. 1.3.5], then OpenLDAP [having problems learning
how to configure this, 2.2.19], and *then* Samba?
   Does pam_ldap replace OpenLDAP? Does pam-krb5 replace Kerberos? Can I use
just one, or do both substitutions take place?
   I have the books and I try to read the newsgroup, but I'm having trouble
getting all three of these things going at once. (I have a late 2-series
Samba install running, but it doesn't have the snazzy AD integration.)
   Thanks for any pointers to more information.
-wde

-- 
William Enestvedt
]UNIX System Administrator   |   Johnson  Wales University, Providence, RI


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


[Samba] Slow printing on Solaris 8/Samba 3.0.1 and oplopcks

2004-02-02 Thread William Enestvedt
I have Samba 3.0.1 running on Solaris 8 on a 4-CPU SunFire V480m and printing to a 
Printronix 5005B line printer is pretty slow -- as in five nmostly-empty 9x5 pages 
per minute. (I only share out three local print queues and no filesystems on this Sun 
to Windows XP and some 98 clients.)
   I would like to speed up the throughput, but I'm seeing a couple of errors.
   First, I found a suggestion on the web to add the following to my smb.conf:
  socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE 
SO_SNDBUF=16384 SO_RCVBUF=16384
  read raw = yes
  write raw = yes
  oplocks = no
   Unfortunately, I get errors when I have the last item enabled; they say Invalid 
combination of parameters for service name_of_my_printer_queue. Level II oplocks can 
only be set if oplocks are also set. Should I bother pursuing the oplocks option if 
I'm not serving out files?
   Thanks for the suggestion.
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Solaris 8 Samba 3: address already in use

2004-02-02 Thread William Enestvedt
I am getting errors when I try to start smbd which say that port 445 is already in 
use, but nothing else is using it.
   In the log, the full error is:
-start log.smbd
[2004/02/02 11:03:53, 0] lib/util_sock.c:open_socket_in(662)
  bind failed on port 445 socket_addr = 0.0.0.0.
  Error = Address already in use
--end log.smbd-
   In my /etc/services file, I have these entries:
-start services-
netbios-ns  137/tcp # NETBIOS Name Service
netbios-ns  137/udp # NETBIOS Name Service
netbios-dgm 138/tcp # NETBIOS Datagram Service
netbios-dgm 138/udp # NETBIOS Datagram Service
netbios-ssn 139/tcp # NETBIOS Session Service
netbios-ssn 139/udp # NETBIOS Session Service
microsoft-ds  445/tcp #Direct-Hosted Service
--end services--
   And in my /etc/inetd.conf file, I have this:
-start inetd.conf-
netbios-ssn  stream  tcp  nowait  root  /usr/local/samba/sbin/smbd  smbd
netbios-ns   dgram   upd  waitroot  /usr/local/samba/sbin/nmbd  nmbd
microsoft-ds stream  tcp  nowait  root  /usr/local/samba/sbin/smbd  smbd
--end inetd.conf--
   Are any of my entries incorrect?
   Thanks for the help.
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Custom form and anonymous printing

2004-01-21 Thread William Enestvedt
Good afternoon;
   I need to set up a custom form (paper size) on a printer that I share out with 
anonymous access from v. 3.0.1 on Solaris 8 to Windows 98  XP Pro clients.
   Should I change the server to require a password and then set this (according to 
pages 236 ff. of the new Samba book) and change it back, or is there another way?
   Thanks in advance for any suggestions.
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Filename for printing?

2004-01-20 Thread William Enestvedt
Ken D'Ambrosio wrote:

 The jobname gives me:
 
 For websites:  the URL (which is great)
 For apps (eg. Word): Microsoft (which is less great)
 
   It's definitely in the way you qute the directive for Filename in your print 
command entry in smb.conf. I use this:
-start smb.conf snippet-
print command = /usr/local/bin/spr -P test_queue +no-banner +header %J %s
--end smb.conf snippet--
   (The spr command is part of the Xi-Text print management software I use.)
   If you plan to use this for the names of the PDFs you generate, beware of the 
spaces and/or slashes that the J% string will contain, as well as the useless 
Microsoft's that every Office print job will have.
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Why does lpstat run on Solaris Samba 3.0.1?

2004-01-04 Thread William Enestvedt
Hello, all;
   I need help with getting lpstat _not_ to run.
   I'm running Samba 3.0.1 on a Sun Solaris 8 server to share out a few print queues, 
and it works a treat. I also run a print spooler  job management product called 
Xi-Text, which displaces several of the stock lp* binaries; their implementation of 
lpstat (among other programs) doesn't completely replicate Sun's version.
   As a result, I get entries in my smbd.log file when I connect with the username 
wenestvedt to send a job to a printer named pvdpar03lz02 like this:

-start log.smbd entry-
[2004/01/04 13:30:15, 1] smbd/service.c:make_connection_snum(705)
  wenestvedt (192.168.59.84) connect to service pvdpar03lz02 initially as user nobody 
(uid=60001, gid=60001) (pid 10789)
Sorry - '-o' option not supported yet
-start log.smbd entry-

   That last line, incidentally, is also what a command line invocation of lpstat will 
get you with Xi-Text installed. If I invoke the original, now-renamed lpstat command, 
I get a complaint that the lp system isn't running.
   So where does Samba call lpstat to produce those log entries, and how can I make it 
not run? I don't honestly need it, because I have other tools to get the status of my 
printers...but does Samba need it?
  Thanks for any advice.
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Printing OK on 98, Access denied on XP Pro

2003-12-22 Thread William Enestvedt
John H Terpstra wrote:
 
 Try adding to [global]:
   guest only = Yes
 
   Hrm, it works now. Happy!
   I've got to give it to you, Mister Terpstra, you seem to have a lot of the answers 
up your sleeve (lucky foir the rest of us). Thanks again.
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Printers and other stuff

2003-12-22 Thread William Enestvedt
Joe C. wrote:
 
 Could this be the reason I am having trouble? Does Samba work 
 better with CUPS as opposed to BSD? Inquiring minds want to know.
 
   Well, I'm publishig a couple of Solaris printer queues out via Smaba with few 
enough pains. And, to up the ante, I'm going to start managing the quqwued jobs with a 
program called Xi-Text. So no, CUPS isn't the _only_ game in town -- but there's a lot 
more players at that table than any other. :7)
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Solaris printing command question

2003-12-22 Thread William Enestvedt
Hello, anyone still working this week;
   I've got a couple of printers shared out from a Sun server, running Solaris 8 2/02 
and Samba 3.0.1, and it's peachy.
   Can anyone tell me a way to get the _client's_ job title included in the print 
command? I tried dropping a '-t %J' at the end of a 'print command' directiovein 
smb.conf, but the jobs only list the uninformative Remote for the title. (Insert 
Nelson_laugh here.) Also, the '-t' argument to lp is uspposed ot print tat title on 
the banner page, and I won't be havng any banner pages, thankyouverymuch.
   I have a job control program that shows me the title of the job, but I can't get 
anything like the name of the active document or program -- and things like 
smbprn.00010.kLaGYI are worse than useless. :7)
  Thanks for your time.
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Problems with printers

2003-12-22 Thread William Enestvedt
John Terpstra wrote:

 ...or else just use printing = bsd
 or printing = sysv, depending on which commands you want to use.
 
 If you use printing = sysv, then set printcap = lpstat -t.
 
 Note: Only use printing = sysv if you have LPRng installed. This will
 not work if your systems does not support the ATT command tools (lp,
 lpstat).

   So I'm running a job control application on top of Solaris. Am I better off using 
printing = sysv or printing = bsd? (The vendor actually suggested using Samba as 
my front end!)
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
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 compile 3.01 on Solaris

2003-12-19 Thread William Enestvedt
Grant wrote:
 
 I can't get 3.0.1 to fully compile on my Solaris machines(2.6 
 and 2.8).

   What compiler are you using?
   I built it on Saolris 8 2/02 just fine. I had *lots* of problems with Sun's 
compiler, but using GCC made it all happy.
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] RE: Can't compile 3.01 on Solaris

2003-12-19 Thread William Enestvedt
Grant Schoep wrote:
 
 Ah.. shoot.

   Oh, that's _exactly_ the word I used when John Terpstra told me, too. :7)

 I have 3 different Sun compiler versions available so I tried 
 those. I guess I'll go download the gcc compiler and get that built 
 and use that instead...

   I think I grabbed a tarball for 3.3 from a mirror of sunfreeware.com. Like I said, 
solved my issues.
   Good luck!
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Printing OK on 98, Access denied on XP Pro

2003-12-19 Thread William Enestvedt
I have a very simple setup on a Solaris 8 server, running Samba 3.0.1 (see smb.conf 
below). A desktop PC running Windows 98 (SE?) happily connects to and prints to my one 
shared printer, but an XP Pro laptop takes a lng time to install the local driver 
and then just says Access denied, unable to connect.
   I already told it to use a client driver and disabled spoolss. Here's my smb.cnf 
file:
--Start of smb.conf
[global]
workgroup = jwu
netbiosname = pvd-dat-60
security = share
dns proxy = No
wins server = IP redacted
#   printcap name = /etc/printcap
printing = sysv
disable spoolss = Yes
#[temp]
#   path = /tmp
#   read only = Yes
#   guest ok = Yes
[pvdpar03lz02]
comment = HP 9000hns
path = /var/spool/samba
printable = Yes
browseable = Yes
guest ok = Yes
#   read only = Yes
use client driver = yes
---End of smb.conf---
   (The temp section was to test whether things worked before. I will actually delte 
those lines when I solve this problem. I commented out the printcap line because I 
don't want to share all the printers: I have a lot configured on this Sun but use a 
Windows print server to publishing them to desktop PC users.)
   Any suggestions? Thanks in advance for everyone's time.
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] .Xauthority SMB

2003-12-11 Thread William Enestvedt
Shannon Johnson wrote:

 Any ideas? I don't know nearly as much about the X system as 
 I probably should (but I'm learning).
 
   The ORA book Linux Security Cookbook talks about running X apps as root over an 
SSH link. They suggest using a brief shell script to make sure that the .Xauthority 
file has the correct ownership.
   Could this be germane?
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] RH 9, Samba 2.2.8 and Mac OS X Clients

2003-12-03 Thread William Enestvedt
Is this related to handling of files with resource forks?
   Manipulating files in Terminal, IIRC, ignores the resource fork -- but Finder 
actions (like dragging a folder to upload it) include those resources. 
   You might try barking up this tree. :7) (Sorry I can't make any concrete 
suggestions.)
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] RE: Basic Sol8 compile question

2003-11-19 Thread William Enestvedt
John H Terpstra wrote:
 
 Have you tried the gcc compiler?
 
   Actually, no. :7) (I know it's an oddity to find a shop with Sun's compilers these 
days.)
   I have cc installed already, and I don't honestly have time to install a whole 
second compiler suite with all its complementary utilities for this. I simply want to 
compile samba and share out a few printer queues.
   Are there significant hurdles to compiling Samba 3 without gcc? I recall having all 
rght luck with 2.2.something earlier this year, but I really want all the cool bells  
whistles in Samba. If installing gcc is what it takes, well, I'll start digging.
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Error in configure Last CVS and 3.0.alpha21 on Solaris 8

2003-02-03 Thread William Enestvedt
Alessandro Bruni wrote:
 
 In the config.log nothing I can understand
 
 configure:16008: gcc -o conftest -O-I/usr/local/kerberos/include
 -I/usr/local/ldap/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
 -L/usr/local/kerberos/lib -L/usr/local/ldap/lib conftest.c 
 -lpopt  -lsec
 -lgen -lresolv -lsocket -lnsl -ldl  -lcom_err -lk5crypto -lkrb5
 -lgssapi_krb5 -llber -lldap 15
 ld: fatal: library -lpopt: not found

The last line is the important one, I think: you need the popt library. On Solaris 
8, for example, I believe that even the pre-packaged versions from sunfreeware.com 
require that the popt package be installed at the same time.
   Look at www.sunfreeware.com for a pre-compiled binary or source code.
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] TDB to text

2003-01-28 Thread William Enestvedt
Diego Rivera wrote:
 
 I seem to recall the existence of a utility to convert 
 (dump?) TDB files into text format...

   Since no one else has replied, what about running the 'strings' command on it and 
piping the ouput to 'more'?
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Solaris, Active Directory, and Samba 2.2.7a or 3a21

2003-01-24 Thread William Enestvedt
Does anyone use Samba -- either 2.2.7a or 3a21 -- on Solaris 8 to serve shares (but 
not printers) with users authenticaed against Active Directory?
   I have some questions about just what it took to get this running.
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson  Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba