Re: [Samba] Installing manpages

2012-12-20 Thread Bob Miller
I recently crossed this path as well.  My experience was slightly
different.  I installed xsltproc and docbook, but I did not have to do a
'make manpages', they just compiled with everything else and installed
them at /usr/local/samba/share.  I then configured the man system
in /etc/manpath.config by adding a line like:
MANDATORY_MANPATH /usr/local/samba/share/man
The best information I found on the web about that was an irc log of a
conversation on one of the #samba* channels.
-- 
Computerisms
Bob Miller  
867-334-7117 / 867-633-3760
http://computerisms.ca


On Thu, 2012-12-20 at 13:25 -0500, E M wrote:
> Hi,
> 
> I'm working on Ubuntu 12.04, and compiling from the git source. I created
> the html version of the manuals like this (my samba-master tree is
> ~/samba-master).
> 
> sudo apt-get install docbook-utils xsltproc
> cd ~/samba-master/docs-xml
> cp Makefile.settings.in Makefile.settings
> 
> I edited Makefile.settings, and changed 2 lines:
> XSLTPROC = xsltproc # was @XSLTPROC@
> .
> .
> .
> OUTPUTDIR = /usr/local/samba/share # was output
> 
> sudo make htmlman
> sudo make manpages
> 
> This creates /usr/local/samba/share/htmldocs/manpages/index.html and many
> other pages in that same directory. It also creates
> /usr/local/samba/share/manpages. I can get at the html files using the
> browser. I haven't had success accessing the manpages using the man system
> yet.
> 
> Endel
> -Original Message-
> From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org]
> On Behalf Of Tom McArthur
> Sent: Friday, December 14, 2012 7:06 PM
> To: samba@lists.samba.org
> Subject: [Samba] Installing manpages
> 
> According to the Samba documentation, the manpages are supposed to be 
> installed with Samba. Quote:
> 
> docs/manpages: You don't need to worry about these yet; during the 
> installation, the files will be installed so that you can use the man 
> command to read them. But you can take a look in the directory to see 
> which manpages are available.
> 
> My problem:
> 
> Samba4 on 64bit Fedora 17 will not install the manpages, other than a 
> bare-bones "samba" page. Specifically, it will not install the 
> "smb.conf" page.
> 
> What I tried:
> 
> I tried reinstalling Samba with the following commands:
> 
> sudo yum reinstall samba4
> sudo yum reinstall samba4-devel
> sudo yum reinstall samba4-common
> sudo yum reinstall samba4-libs
> 
> No luck - "man smb.conf" still gave a "No manual entry for smb.conf" error.
> 
> After googling some more, I found the "make installman" command. So I 
> downloaded the source for Samba4, and ran ./configure, make, and then 
> make installman. That returned the following error:
> 
> No rule to make target `installman'
> 
> Wow, this is a PITA. Googling for that error didn't reveal anything helpful.
> 
> Next, I reinstalled from source (which I just finished compiling), 
> thinking the manpages might be installed with a full, manual 
> installation: sudo make install. Still no luck - "man smb.conf" still 
> gives the same error.
> 
> During my googling, I remember reading about pointing the "man" command 
> to the location of the manpages. So, I used the following command to 
> look for the man pages:
> 
> locate smb|grep man
> 
> Next, "man man" told me the location of the local man config file. I 
> wasn't sure which PATH to use, so I added these to /etc/man_db.conf:
> 
> MANPATH_MAP/bin/usr/local/samba/share/man
> MANPATH_MAP/usr/bin/usr/local/samba/share/man
> MANPATH_MAP/sbin/usr/local/samba/share/man
> 
> That finally fixed my manpage problem.
> 
> Why must the Samba man pages be so $#@%#! difficult to install? Every 
> other Linux application that I have ever installed automatically 
> installs the man pages. Why can't Samba do the same thing?
> 
> 
> PS: This email would be a lot easier to read if mailing lists supported 
>  tags, or if Samba had a forum or bulletin board. :)
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
> 

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


Re: [Samba] Installing manpages

2012-12-20 Thread E M
Hi,

I'm working on Ubuntu 12.04, and compiling from the git source. I created
the html version of the manuals like this (my samba-master tree is
~/samba-master).

sudo apt-get install docbook-utils xsltproc
cd ~/samba-master/docs-xml
cp Makefile.settings.in Makefile.settings

I edited Makefile.settings, and changed 2 lines:
XSLTPROC = xsltproc # was @XSLTPROC@
.
.
.
OUTPUTDIR = /usr/local/samba/share # was output

sudo make htmlman
sudo make manpages

This creates /usr/local/samba/share/htmldocs/manpages/index.html and many
other pages in that same directory. It also creates
/usr/local/samba/share/manpages. I can get at the html files using the
browser. I haven't had success accessing the manpages using the man system
yet.

Endel
-Original Message-
From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org]
On Behalf Of Tom McArthur
Sent: Friday, December 14, 2012 7:06 PM
To: samba@lists.samba.org
Subject: [Samba] Installing manpages

According to the Samba documentation, the manpages are supposed to be 
installed with Samba. Quote:

docs/manpages: You don't need to worry about these yet; during the 
installation, the files will be installed so that you can use the man 
command to read them. But you can take a look in the directory to see 
which manpages are available.

My problem:

Samba4 on 64bit Fedora 17 will not install the manpages, other than a 
bare-bones "samba" page. Specifically, it will not install the 
"smb.conf" page.

What I tried:

I tried reinstalling Samba with the following commands:

sudo yum reinstall samba4
sudo yum reinstall samba4-devel
sudo yum reinstall samba4-common
sudo yum reinstall samba4-libs

No luck - "man smb.conf" still gave a "No manual entry for smb.conf" error.

After googling some more, I found the "make installman" command. So I 
downloaded the source for Samba4, and ran ./configure, make, and then 
make installman. That returned the following error:

No rule to make target `installman'

Wow, this is a PITA. Googling for that error didn't reveal anything helpful.

Next, I reinstalled from source (which I just finished compiling), 
thinking the manpages might be installed with a full, manual 
installation: sudo make install. Still no luck - "man smb.conf" still 
gives the same error.

During my googling, I remember reading about pointing the "man" command 
to the location of the manpages. So, I used the following command to 
look for the man pages:

locate smb|grep man

Next, "man man" told me the location of the local man config file. I 
wasn't sure which PATH to use, so I added these to /etc/man_db.conf:

MANPATH_MAP/bin/usr/local/samba/share/man
MANPATH_MAP/usr/bin/usr/local/samba/share/man
MANPATH_MAP/sbin/usr/local/samba/share/man

That finally fixed my manpage problem.

Why must the Samba man pages be so $#@%#! difficult to install? Every 
other Linux application that I have ever installed automatically 
installs the man pages. Why can't Samba do the same thing?


PS: This email would be a lot easier to read if mailing lists supported 
 tags, or if Samba had a forum or bulletin board. :)

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

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


Re: [Samba] Installing manpages

2012-12-15 Thread miguelmedalha



Wow, this is a PITA. Googling for that error didn't reveal anything helpful.



I had the exact same problem. Plus, all my attempts at producing a  
.rpm package failed because the provided .spec template has serious  
problems, namely with the... man pages. Or maybe the flaw is with me,  
since I don't know how to write a samba.spec from scratch?




PS: This email would be a lot easier to read if mailing lists  
supported  tags, or if Samba had a forum or bulletin board. :)



Yes, a forum would be a great idea!

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


[Samba] Installing manpages

2012-12-14 Thread Tom McArthur
According to the Samba documentation, the manpages are supposed to be 
installed with Samba. Quote:


docs/manpages: You don't need to worry about these yet; during the 
installation, the files will be installed so that you can use the man 
command to read them. But you can take a look in the directory to see 
which manpages are available.


My problem:

Samba4 on 64bit Fedora 17 will not install the manpages, other than a 
bare-bones "samba" page. Specifically, it will not install the 
"smb.conf" page.


What I tried:

I tried reinstalling Samba with the following commands:

sudo yum reinstall samba4
sudo yum reinstall samba4-devel
sudo yum reinstall samba4-common
sudo yum reinstall samba4-libs

No luck - "man smb.conf" still gave a "No manual entry for smb.conf" error.

After googling some more, I found the "make installman" command. So I 
downloaded the source for Samba4, and ran ./configure, make, and then 
make installman. That returned the following error:


No rule to make target `installman'

Wow, this is a PITA. Googling for that error didn't reveal anything helpful.

Next, I reinstalled from source (which I just finished compiling), 
thinking the manpages might be installed with a full, manual 
installation: sudo make install. Still no luck - "man smb.conf" still 
gives the same error.


During my googling, I remember reading about pointing the "man" command 
to the location of the manpages. So, I used the following command to 
look for the man pages:


locate smb|grep man

Next, "man man" told me the location of the local man config file. I 
wasn't sure which PATH to use, so I added these to /etc/man_db.conf:


MANPATH_MAP/bin/usr/local/samba/share/man
MANPATH_MAP/usr/bin/usr/local/samba/share/man
MANPATH_MAP/sbin/usr/local/samba/share/man

That finally fixed my manpage problem.

Why must the Samba man pages be so $#@%#! difficult to install? Every 
other Linux application that I have ever installed automatically 
installs the man pages. Why can't Samba do the same thing?



PS: This email would be a lot easier to read if mailing lists supported 
 tags, or if Samba had a forum or bulletin board. :)


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


Re: [Samba] Installing Samba on RedHat Linux 5.3

2012-05-16 Thread Hoover, Tony
Glad to hear that you succeeded in getting Samba installed.  Next steps to
getting it to work are:

1) edit your /etc/samba/smb.conf file to fit the needs of your network.

2) use "testparm" (without the quotes) to verify that your smb.conf file is
correct.

3) start your samba services with:
service smb start
service winbind start (if you need winbind) 

4) connect to a samba share with a Windows client

If everything tests out OK, configure Samba to start at boot time with
chkconfig.  If not, stop the samba services with "service smb stop; service
winbind stop" (again, without the quotes).  Adjust your smb.conf file then
repeat steps 2 through 4.

Good luck.

T

references: 
http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html
http://www.samba.org/samba/docs/man/manpages-3/testparm.1.html
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/install.html
http://linux.die.net/man/8/chkconfig


---
CONFIDENTIALITY WARNING:
Pseudo-legal disclaimers do not buy you or your employer any legal
recourse for leaked information.  E-mail messages should never contain
privileged or confidential information.  Always treat e-mail as
"public". 

 
-Original Message-
From: Johansson, Ronnie [mailto:ronnie_johans...@europ-assistance.co.uk] 
Sent: Wednesday, May 16, 2012 2:54 AM
To: Hoover, Tony
Subject: RE: [Samba] Installing Samba on RedHat Linux 5.3

Hi Tony,

Many thanks for your help!
Today we've got connected to RHN and I followed your three steps and
Samba was installed on our Linux server. 
How do I go on?

Best regards
Ronnie



-Original Message-
From: Hoover, Tony [mailto:hoo...@sal.ksu.edu] 
Sent: den 29 april 2012 15:46
To: Johansson, Ronnie; sa...@samba.org
Subject: RE: [Samba] Installing Samba on RedHat Linux 5.3

first, configure yum to use the sernet samba repos.  (you will need to
be
"root")

- cd /etc/yum.repos.d
- wget http://ftp.sernet.de/pub/samba/3.6/rhel/5/sernet-samba.repo
- yum install samba3

a periodic "yum update" (we use a cron job) will keep your system up to
date, including Samba if you use the yum repos instead of
"brute-forcing"
RPM to install individual packages.


-Original Message-
From: samba-boun...@lists.samba.org on behalf of Johansson, Ronnie
Sent: Thu 4/12/2012 11:22 AM
To: sa...@samba.org
Subject: [Samba] Installing Samba on RedHat Linux 5.3
 
Hi there,

 

I am a real Linux newbie and need help how to install these samba files.


 

Red Hat Enterprise Linux Server release 5.3 (Tikanga)

Kernel 2.6.18-128.el5 on an x86_64

 

$ ls

libsmbclient0-3.6.4-44.el5.x86_64.rpm

libsmbclient-devel-3.6.4-44.el5.x86_64.rpm

libwbclient0-32bit-3.6.4-44.el5.i386.rpm

libwbclient0-3.6.4-44.el5.x86_64.rpm

libwbclient-devel-3.6.4-44.el5.x86_64.rpm

samba3-3.6.4-44.el5.x86_64.rpm

samba3-client-3.6.4-44.el5.x86_64.rpm

samba3-debuginfo-3.6.4-44.el5.x86_64.rpm

samba3-doc-3.6.4-44.el5.x86_64.rpm

samba3-utils-3.6.4-44.el5.x86_64.rpm

samba3-winbind-32bit-3.6.4-44.el5.i386.rpm

samba3-winbind-3.6.4-44.el5.x86_64.rpm

 

 

$ uname -a

Linux euapg-db005 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008
x86_64 x86x

$ rpm -qa | grep release

redhat-release-notes-5Server-25

redhat-release-5Server-5.3.0.3

$

 

Please help me with this as soon as possible.

 

 

Many thanks

Ronnie

 

 

This email and any files transmitted with it contain information which
may be confidential and which may also be privileged and are intended
solely for the use of the individual or entity to whom they are
addressed. Unless you are the intended recipient you may not copy or use
it, or disclose it to anyone else. Any opinions expressed are that of
the individual and not necessarily that of Europ Assistance Holdings Ltd
or any of its subsidiaries. If you have received this email in error
please notify mailto:postmas...@europ-assistance.co.uk Europ Assistance
Holdings Limited Registered Office: Sussex House, Perrymount Road,
Haywards Heath, West Sussex, RH16 1DN. Registered in England No: 758979.
Europ Assistance Holdings Limited is authorised and regulated by the
Financial Services Authority. (FSA Registered number 311883) This
footnote also confirms that this email message has been swept by Sophos
Anti-Virus for the presence of computer viruses.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Installing Samba on RedHat Linux 5.3

2012-04-29 Thread Hoover, Tony
first, configure yum to use the sernet samba repos.  (you will need to be
"root")

- cd /etc/yum.repos.d
- wget http://ftp.sernet.de/pub/samba/3.6/rhel/5/sernet-samba.repo
- yum install samba3

a periodic "yum update" (we use a cron job) will keep your system up to
date, including Samba if you use the yum repos instead of "brute-forcing"
RPM to install individual packages.


-Original Message-
From: samba-boun...@lists.samba.org on behalf of Johansson, Ronnie
Sent: Thu 4/12/2012 11:22 AM
To: sa...@samba.org
Subject: [Samba] Installing Samba on RedHat Linux 5.3
 
Hi there,

 

I am a real Linux newbie and need help how to install these samba files.


 

Red Hat Enterprise Linux Server release 5.3 (Tikanga)

Kernel 2.6.18-128.el5 on an x86_64

 

$ ls

libsmbclient0-3.6.4-44.el5.x86_64.rpm

libsmbclient-devel-3.6.4-44.el5.x86_64.rpm

libwbclient0-32bit-3.6.4-44.el5.i386.rpm

libwbclient0-3.6.4-44.el5.x86_64.rpm

libwbclient-devel-3.6.4-44.el5.x86_64.rpm

samba3-3.6.4-44.el5.x86_64.rpm

samba3-client-3.6.4-44.el5.x86_64.rpm

samba3-debuginfo-3.6.4-44.el5.x86_64.rpm

samba3-doc-3.6.4-44.el5.x86_64.rpm

samba3-utils-3.6.4-44.el5.x86_64.rpm

samba3-winbind-32bit-3.6.4-44.el5.i386.rpm

samba3-winbind-3.6.4-44.el5.x86_64.rpm

 

 

$ uname -a

Linux euapg-db005 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008
x86_64 x86x

$ rpm -qa | grep release

redhat-release-notes-5Server-25

redhat-release-5Server-5.3.0.3

$

 

Please help me with this as soon as possible.

 

 

Many thanks

Ronnie

 

 

This email and any files transmitted with it contain information which may
be confidential and which may also be privileged and are intended solely for
the use of the individual or entity to whom they are addressed. Unless you
are the intended recipient you may not copy or use it, or disclose it to
anyone else. Any opinions expressed are that of the individual and not
necessarily that of Europ Assistance Holdings Ltd or any of its
subsidiaries. If you have received this email in error please notify
mailto:postmas...@europ-assistance.co.uk Europ Assistance Holdings Limited
Registered Office: Sussex House, Perrymount Road, Haywards Heath, West
Sussex, RH16 1DN. Registered in England No: 758979. Europ Assistance
Holdings Limited is authorised and regulated by the Financial Services
Authority. (FSA Registered number 311883) This footnote also confirms that
this email message has been swept by Sophos Anti-Virus for the presence of
computer viruses.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

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


[Samba] Installing Samba on RedHat Linux 5.3

2012-04-28 Thread Johansson, Ronnie
Hi there,

 

I am a real Linux newbie and need help how to install these samba files.


 

Red Hat Enterprise Linux Server release 5.3 (Tikanga)

Kernel 2.6.18-128.el5 on an x86_64

 

$ ls

libsmbclient0-3.6.4-44.el5.x86_64.rpm

libsmbclient-devel-3.6.4-44.el5.x86_64.rpm

libwbclient0-32bit-3.6.4-44.el5.i386.rpm

libwbclient0-3.6.4-44.el5.x86_64.rpm

libwbclient-devel-3.6.4-44.el5.x86_64.rpm

samba3-3.6.4-44.el5.x86_64.rpm

samba3-client-3.6.4-44.el5.x86_64.rpm

samba3-debuginfo-3.6.4-44.el5.x86_64.rpm

samba3-doc-3.6.4-44.el5.x86_64.rpm

samba3-utils-3.6.4-44.el5.x86_64.rpm

samba3-winbind-32bit-3.6.4-44.el5.i386.rpm

samba3-winbind-3.6.4-44.el5.x86_64.rpm

 

 

$ uname -a

Linux euapg-db005 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008
x86_64 x86x

$ rpm -qa | grep release

redhat-release-notes-5Server-25

redhat-release-5Server-5.3.0.3

$

 

Please help me with this as soon as possible.

 

 

Many thanks

Ronnie

 

 

This email and any files transmitted with it contain information which may be 
confidential and which may also be privileged and are intended solely for the 
use of the individual or entity to whom they are addressed. Unless you are the 
intended recipient you may not copy or use it, or disclose it to anyone else. 
Any opinions expressed are that of the individual and not necessarily that of 
Europ Assistance Holdings Ltd or any of its subsidiaries. If you have received 
this email in error please notify mailto:postmas...@europ-assistance.co.uk 
Europ Assistance Holdings Limited Registered Office: Sussex House, Perrymount 
Road, Haywards Heath, West Sussex, RH16 1DN. Registered in England No: 758979. 
Europ Assistance Holdings Limited is authorised and regulated by the Financial 
Services Authority. (FSA Registered number 311883) This footnote also confirms 
that this email message has been swept by Sophos Anti-Virus for the presence of 
computer viruses.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Installing Samba with ADS

2011-12-19 Thread Daniel Müller
Hello,
first of all we need some configuration of your smb.conf.
Is winbind running?
Which linux,unix are you running?
Did you join your samba to windows ads?
What  about getent groups ; getent passwd ?

---
EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen

Tel.: 07071/206-463, Fax: 07071/206-499
eMail: muel...@tropenklinik.de
Internet: www.tropenklinik.de
---
-Ursprüngliche Nachricht-
Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im
Auftrag von Steve Swanekamp
Gesendet: Montag, 19. Dezember 2011 23:30
An: samba@lists.samba.org
Betreff: [Samba] Installing Samba with ADS

I am having troubles with file permissions after installing Samba with ADS. 
Samba does not seem to recognize the Windows users properly.  Are there 
detailed ADS instructions out there.  I followed some instructions from a 
colleague but he is no more experienced than me at getting this all to work.

Thanks in advance to those who take to time to read this post and muchismas 
gracias to those who respond.
Steve Swanekamp

Dr. Stephen B. Swanekamp
Plasma Physics Division
Washington, DC 20375
202-404-4361
steve.swanek...@nrl.navy.mil 


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

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


[Samba] Installing Samba with ADS

2011-12-19 Thread Steve Swanekamp
I am having troubles with file permissions after installing Samba with ADS. 
Samba does not seem to recognize the Windows users properly.  Are there 
detailed ADS instructions out there.  I followed some instructions from a 
colleague but he is no more experienced than me at getting this all to work. 
Thanks in advance to those who take to time to read this post and muchismas 
gracias to those who respond.

Steve Swanekamp

Dr. Stephen B. Swanekamp
Plasma Physics Division
Washington, DC 20375
202-404-4361
steve.swanek...@nrl.navy.mil 



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


[Samba] installing samba

2010-06-10 Thread Mike Kibbee
Hello, I am looking to install Samba on a aix machine and wanted to know if you 
have any installation documentation

Thank You
Mike Kibbee
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Installing smbdaudit on Samba 3.0.25

2009-06-16 Thread shacky
Hi.
Could you help me to install smbdaudit on Samba 3.0.25, please?
The official documentation does not cover Samba 3.0.25 (because
smbdaudit is quite old) and it does not word properly with that
version of Samba.
Is there a way to get it working?

Thank you very much!
Bye.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Installing Primary Domain Controller in Solaris 10

2008-12-04 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Search Google. Even Sun themselves provide this documentation.

Tarak Ranjan wrote:
> Hi List,
>   Can anyone  give me some links of how to's to install samba in solaris 10
> 
> /\
> Tarak
> 
> 
> 
>   Add more friends to your messenger and enjoy! Go to 
> http://messenger.yahoo.com/invite/


- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJOL8nmb+gadEcsb4RAl7cAKDe9Xk5H5tPAwF32IiX8wcJtPCovACdGXLM
fO/qHPUzEYHea33MmJEf0Rc=
=luL6
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Samba] Installing Primary Domain Controller in Solaris 10

2008-11-19 Thread Tarak Ranjan
Hi List,
  Can anyone  give me some links of how to's to install samba in solaris 10

/\
Tarak



  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Installing windows drivers into print$ on OS X 10.5 Leopard

2008-10-28 Thread James Peach
2008/10/26 Chris <[EMAIL PROTECTED]>:
> Has anyone had any success installing windows printer drivers onto a
> leopard-hosted print$ share?
>
> If I use the Add Printer Wizard method, if copies the driver files to
> \\SERVER\print$\W32X86 then fails with an "Operation cannot be completed."
>
> If I use the rpcclient method I get a WERR_INVALID_PARAM error.  Using the
> Adobe Generic PostScript driver as an example.
>
> osxserver:W32X86 root# ls -l
> total 2832
> drwxrwxr-x  2 root  domainadmins  68 Oct 25 23:16 0
> drwxrwxr-x  2 root  domainadmins  68 Oct 25 23:16 2
> drwxrwxr-x  2 root  domainadmins  68 Oct 26 00:00 3
> -rw-r--r--  1 fred  domainadmins   13492 Oct 26 01:43 DEFPRTR2.PPD
> -rw-r--r--  1 fred  domainadmins  135248 Oct 26 01:43 PS5UI.DLL
> -rw-r--r--  1 fred  domainadmins   26056 Oct 26 01:43 PSCRIPT.HLP
> -rw-r--r--  1 fred  domainadmins  792644 Oct 26 01:43 PSCRIPT.NTF
> -rw-r--r--  1 fred  domainadmins  470608 Oct 26 01:43 PSCRIPT5.DLL
>
> osxserver:W32X86 root# rpcclient localhost -d3 -Ufred%password -c 'adddriver
> "Windows NT x86"
> "genericps:PSCRIPT5.DLL:DEFPRTR2.PPD:PS5UI.DLL:PSCRIPT.HLP:NULL:RAW:PSCRIPT.NTF"'
> added interface ip=192.168.223.13 bcast=192.168.223.255 nmask=255.255.255.0
> lp_load: refreshing parameters
> Initialising global parameters
> params.c:pm_process() - Processing configuration file
> "/private/etc/smb.conf"
> Processing section "[global]"
> params.c:pm_process() - Processing configuration file "/var/db/smb.conf"
> Processing section "[global]"
> Processing section "[global]"
> Connecting to host=localhost
> Connecting to 127.0.0.1 at port 445
> Doing spnego session setup (blob length=126)
> got OID=1 2 840 113554 1 2 2
> got OID=1 2 840 48018 1 2 2
> got OID=1 3 6 1 4 1 311 2 2 10
> got principal=cifs/[EMAIL PROTECTED]
> Got challenge flags:
> Got NTLMSSP neg_flags=0x40898215
> NTLMSSP: Set final flags:
> Got NTLMSSP neg_flags=0x40088215
> NTLMSSP Sign/Seal - Initialising with flags:
> Got NTLMSSP neg_flags=0x40088215
> rpc_pipe_bind: Remote machine localhost pipe \lsarpc fnum 0x7400 bind
> request returned ok.
> lsa_io_sec_qos: length c does not match size 8
> rpc_pipe_bind: Remote machine localhost pipe \spoolss fnum 0x7401 bind
> request returned ok.
> result was WERR_INVALID_PARAM

I believe that this problem is because the Darwin VFS doesn't
implement the read operation, only the pread operation. You should be
able to work around this by temporarily commenting out the "vfs
objects" line in /etc/smb.conf while you do the printer setup.

>
>
> smb.log shows this:
>  osxserver (127.0.0.1) connect to service print$ initially as user fred
> (uid=1025, gid=20) (pid 36350)
> [2008/10/26 02:01:50, 2, pid=36350]
> /SourceCache/samba/samba-187.8/samba/source/smbd/open.c:open_file(391)
>  fred opened file W32X86/PSCRIPT5.DLL read=Yes write=No (numopen=1)
> [2008/10/26 02:01:50, 2, pid=36350]
> /SourceCache/samba/samba-187.8/samba/source/smbd/close.c:close_normal_file(399)
>  fred closed file W32X86/PSCRIPT5.DLL (numopen=0) NT_STATUS_OK
> [2008/10/26 02:01:50, 1, pid=36350]
> /SourceCache/samba/samba-187.8/samba/source/smbd/service.c:close_cnum(1284)
>  osxserver (127.0.0.1) closed connection to service print$
>
> User fred is a member of Admins and Domain Admins and I have explicitly
> added SePrintOperatorPrivilege to EXAMPLE\Domain Admins (it didn't help.)
>
> This used to work great on 10.4...
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>



-- 
James Peach | [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Installing windows drivers into print$ on OS X 10.5 Leopard

2008-10-26 Thread Chris
Has anyone had any success installing windows printer drivers onto a  
leopard-hosted print$ share?


If I use the Add Printer Wizard method, if copies the driver files to \ 
\SERVER\print$\W32X86 then fails with an "Operation cannot be  
completed."


If I use the rpcclient method I get a WERR_INVALID_PARAM error.  Using  
the Adobe Generic PostScript driver as an example.


osxserver:W32X86 root# ls -l
total 2832
drwxrwxr-x  2 root  domainadmins  68 Oct 25 23:16 0
drwxrwxr-x  2 root  domainadmins  68 Oct 25 23:16 2
drwxrwxr-x  2 root  domainadmins  68 Oct 26 00:00 3
-rw-r--r--  1 fred  domainadmins   13492 Oct 26 01:43 DEFPRTR2.PPD
-rw-r--r--  1 fred  domainadmins  135248 Oct 26 01:43 PS5UI.DLL
-rw-r--r--  1 fred  domainadmins   26056 Oct 26 01:43 PSCRIPT.HLP
-rw-r--r--  1 fred  domainadmins  792644 Oct 26 01:43 PSCRIPT.NTF
-rw-r--r--  1 fred  domainadmins  470608 Oct 26 01:43 PSCRIPT5.DLL

osxserver:W32X86 root# rpcclient localhost -d3 -Ufred%password -c  
'adddriver "Windows NT x86"  
"genericps:PSCRIPT5 
.DLL:DEFPRTR2.PPD:PS5UI.DLL:PSCRIPT.HLP:NULL:RAW:PSCRIPT.NTF"'
added interface ip=192.168.223.13 bcast=192.168.223.255  
nmask=255.255.255.0

lp_load: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file "/private/etc/ 
smb.conf"

Processing section "[global]"
params.c:pm_process() - Processing configuration file "/var/db/smb.conf"
Processing section "[global]"
Processing section "[global]"
Connecting to host=localhost
Connecting to 127.0.0.1 at port 445
Doing spnego session setup (blob length=126)
got OID=1 2 840 113554 1 2 2
got OID=1 2 840 48018 1 2 2
got OID=1 3 6 1 4 1 311 2 2 10
got principal=cifs/[EMAIL PROTECTED]
Got challenge flags:
Got NTLMSSP neg_flags=0x40898215
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x40088215
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x40088215
rpc_pipe_bind: Remote machine localhost pipe \lsarpc fnum 0x7400 bind  
request returned ok.

lsa_io_sec_qos: length c does not match size 8
rpc_pipe_bind: Remote machine localhost pipe \spoolss fnum 0x7401 bind  
request returned ok.

result was WERR_INVALID_PARAM


smb.log shows this:
 osxserver (127.0.0.1) connect to service print$ initially as user  
fred (uid=1025, gid=20) (pid 36350)
[2008/10/26 02:01:50, 2, pid=36350] /SourceCache/samba/samba-187.8/ 
samba/source/smbd/open.c:open_file(391)

  fred opened file W32X86/PSCRIPT5.DLL read=Yes write=No (numopen=1)
[2008/10/26 02:01:50, 2, pid=36350] /SourceCache/samba/samba-187.8/ 
samba/source/smbd/close.c:close_normal_file(399)

  fred closed file W32X86/PSCRIPT5.DLL (numopen=0) NT_STATUS_OK
[2008/10/26 02:01:50, 1, pid=36350] /SourceCache/samba/samba-187.8/ 
samba/source/smbd/service.c:close_cnum(1284)

  osxserver (127.0.0.1) closed connection to service print$

User fred is a member of Admins and Domain Admins and I have  
explicitly added SePrintOperatorPrivilege to EXAMPLE\Domain Admins (it  
didn't help.)


This used to work great on 10.4...

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


Re: [Samba] Installing Drivers into [print$]

2008-08-28 Thread John Baker
Ah, thanks I guess the print document I was reading has not been updated 
for this.


This kind of seems more complicated than it needs to be. I'm using user 
level security and we use ldap for all of our account information. There 
are no local accounts or user groups. Can I get this to work with that?

Dale Schroeder wrote:

John,

This message usually means that the user trying to add the driver does 
not have the SePrintOperatorPrivilege.  See the following:

http://us6.samba.org/samba/docs/man/Samba-HOWTO-Collection/rights.html

If this does not work for you, you will probably need to post your 
smb.conf and state which version of Samba you're running.


Good luck,
Dale

John Baker wrote:

Hi,

I was looking though the easy Add Printer Wizard Driver Installation 
instructions here 
http://us6.samba.org/samba/docs/man/Samba-HOWTO-Collection/classicalprinting.html#id2620623 


but found that it did not work.

After saying no to "Do you want to install the driver now" when 
properties comes up nothing is editable so one can't connect to 
advanced or new driver to install drivers and one never finds a place 
where the copy to server option comes up. I assume this must be due to 
changes in Windows. (The smb.conf file is right and the right 
directories exist and can be written to.)


Does anybody know of a work around or new way to accomplish this?




--
John Baker
Network Systems Administrator
Marlboro College
Phone: 451-7551 off campus; 551 on campus
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Installing Drivers into [print$]

2008-08-27 Thread John Baker

Hi,

I was looking though the easy Add Printer Wizard Driver Installation 
instructions here 
http://us6.samba.org/samba/docs/man/Samba-HOWTO-Collection/classicalprinting.html#id2620623 


but found that it did not work.

After saying no to "Do you want to install the driver now" when 
properties comes up nothing is editable so one can't connect to advanced 
or new driver to install drivers and one never finds a place where the 
copy to server option comes up. I assume this must be due to changes in 
Windows. (The smb.conf file is right and the right directories exist and 
can be written to.)


Does anybody know of a work around or new way to accomplish this?

--
John Baker
Network Systems Administrator
Marlboro College
Phone: 451-7551 off campus; 551 on campus
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] installing Samba3 on FreeBSD 6.2

2008-05-23 Thread agustin cruz

I'm trying to install Samba3 on FreeBSD 6.2 according to the Joshep's blog
http://joseph.randomnetworks.com/archives/2005/11/08/freebsd-users-and-groups-with-samba-winbind-and-active-directory/

and this is what I get. 
can anybody help me???
THanks, 
Augustin

Using FLAGS =  -O2 -fno-strict-aliasing -pipe -D_SAMBA_BUILD_  
-I/usr/ports/net/samba3/work/samba-3.0.23c/source/iniparser/src -Iinclude 
-I/usr/ports/net/samba3/work/samba-3.0.23c/source/include 
-I/usr/ports/net/samba3/work/samba-3.0.23c/source/tdb  -I. -DHAVE_CONFIG_H  
-I/usr/local/include -I/usr/ports/net/samba3/work/samba-3.0.23c/source 
-D_SAMBA_BUILD_   
  LIBS = -lcrypt -liconv
  LDSHFLAGS = -shared  -L/usr/local/lib
  LDFLAGS = -L/usr/local/lib
  PIE_CFLAGS = -fPIE
  PIE_LDFLAGS = -pie
Compiling sam/idmap_ad.c with -fPIC -DPIC
sam/idmap_ad.c: In function `ad_idmap_check_attr_mapping':
sam/idmap_ad.c:62: error: `LDAP_NO_MEMORY' undeclared (first use in this 
function)
sam/idmap_ad.c:62: error: (Each undeclared identifier is reported only once
sam/idmap_ad.c:62: error: for each function it appears in.)
*** Error code 1

Stop in /usr/ports/net/samba3/work/samba-3.0.23c/source.


_
Keep your kids safer online with Windows Live Family Safety.
http://www.windowslive.com/family_safety/overview.html?ocid=TXT_TAGLM_WL_Refresh_family_safety_052008--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] installing Samba as non-root user at work - please help.

2007-09-24 Thread [EMAIL PROTECTED]
Hi,

On 9/22/07, Wolfgang Ratzka <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> > Speaking of ports, I specify ports of 1445 and 1139 for smdb, since I
> cannot
> > use a port below 1024 without having root access.  Similarly, I attempt
> to
> > use higher port when I start nmdb.
>
> Even if this would work, you would be stuck with the problem  of
> convincing your windows system to talk to these ports.


Lets assume I can get the windows system to specify the non-standard port
number (perhaps using the common colon ":" notation).  The facility is there
in samba to use non-standard ports, so I have to imagine that someone has
installed and run samba successfully as non-root and with non-standard
ports.  I guess I'm not willing to give up so easily.

I suppose the first step is to correct those errors I was getting when
running smdb and nmdb.  Does anyone have any suggestions to resolve those?
If I can at least get those to run with the non-standard ports, then I think
I'd have a good chance of mapping the drive in Windows.

> Given the information I've provided, and knowing that I do not have root
> > access, can anyone provide any information to at least steer me in the
> right
> > direction?  I greatly appreciate your help.
>
> Without root access you can pretty much give up on installing samba. If
> your linux box allows ssh access, you might want to try something like
> winscp to transfer your files from and to windows.


I've used such tools, but it's no substitute for directly mapping my home
directory as a windows drive.

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


Re: [Samba] installing Samba as non-root user at work - please help.

2007-09-22 Thread Wolfgang Ratzka
Hi,

> Speaking of ports, I specify ports of 1445 and 1139 for smdb, since I cannot
> use a port below 1024 without having root access.  Similarly, I attempt to
> use higher port when I start nmdb.

Even if this would work, you would be stuck with the problem  of
convincing your windows system to talk to these ports.

> Given the information I've provided, and knowing that I do not have root
> access, can anyone provide any information to at least steer me in the right
> direction?  I greatly appreciate your help.

Without root access you can pretty much give up on installing samba. If
your linux box allows ssh access, you might want to try something like
winscp to transfer your files from and to windows.

Regards,
Wolfgang Ratzka

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


[Samba] installing Samba as non-root user at work - please help.

2007-09-21 Thread [EMAIL PROTECTED]
Hi,

I've recently started at a new company that doesn't have a system in place
to map my Linux home directory within Windows.  I have my own Linux box (a
recent Redhat install), and my own Windows XP PC.  I will get no help from a
system admin here, so my only option is to try installing Samba myself on my
Linux box.  To my surprise, I've found little or no information on
installing Samba as a non-root user.

All I wish to achieve is being able to map my Linux home directory on my
Windows PC.

We are on a Windows domain called "ENGINEERING".  It's on "
engineering.company.com" (where company is my real company's name).  I have
a username, lets say "userpc", and a password, "passpc", on my PC.  My linux
machine is also part of the "engineering.company.com" network, but I use a
different username, "userlinux", and password, "passlinux".

I had no problems doing a local Samba install by changing the 'prefix'
during configure and install.  It's at that point that I am lost what to do.

I have started by editing the smb.conf file, and allow host access only by
the ip address of my windows box.  I also attempt to use a username map
file, since I'm using different usernames on my Windows PC and my Linux
box.  It's not entirely clear to me what to do with regards to the
workgroup/domain.  In some ways it'd be nice if I can just implement SMB
over TCP/IP and not worry about NT-Domains or Workgroups.

Afterall, all I am trying to accomplish is to map my Linux home directory to
only one other computer, my Windows PC, on the same network.  It'd be nice
if I could just kick off an smb server on my Linux box, and have my windows
box map the home directory by specifying the ip address of the linux box and
correct port.  But perhaps such a setup, even for my simple scenario, is not
possible with Samba.

Speaking of ports, I specify ports of 1445 and 1139 for smdb, since I cannot
use a port below 1024 without having root access.  Similarly, I attempt to
use higher port when I start nmdb.

I try to start both the smdb and nmdb daemons, but even that doesn't appear
to work correctly, as it appears that a non-root, local install is not truly
supported.  At least not with more tinkering.

>From my log.smbd:

[2007/09/19 17:00:16, 0] smbd/server.c:main(944)
  smbd version 3.0.26a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2007
[2007/09/19 17:00:16, 0] lib/debug.c:reopen_logs(625)
  Unable to open new log file /usr/local/samba/var/log.smbd: No such file or
directory
[2007/09/19 17:00:16, 0] lib/debug.c:reopen_logs(625)
  Unable to open new log file /usr/local/samba/var/log.smbd: No such file or
directory
[2007/09/19 17:00:16, 1] smbd/files.c:file_init(193)
  file_init: Information only: requested 1 open files, 1004 are
available.
[2007/09/19 17:00:16, 0] auth/auth_util.c:create_builtin_administrators(792)
  create_builtin_administrators: Failed to create Administrators
[2007/09/19 17:00:16, 0] auth/auth_util.c:create_builtin_users(758)
  create_builtin_users: Failed to create Users

>From my log.nmbd:

[2007/09/19 16:44:02, 0] nmbd/nmbd.c:main(697)
  Netbios nameserver version 3.0.26a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2007
[2007/09/19 16:44:02, 0] lib/util_sock.c:set_socket_options(261)
  Failed to set socket option SO_BROADCAST (Error Bad file descriptor)
[2007/09/19 16:44:02, 0] nmbd/nmbd_subnetdb.c:make_subnet(107)
nmbd_subnetdb:make_subnet()
  Failed to open dgram socket on interface 10.30.102.110 for port 138.
Error was Permission denied
[2007/09/19 16:44:02, 0] nmbd/nmbd.c:main(771)
  ERROR: Failed when creating subnet lists. Exiting.


And even once I get these daemons up and running on my Linux box, it's not
clear to me what I need to do on the Windows side to establish a
connection.  What port would I use, since I am not using the standard ports?

Given the information I've provided, and knowing that I do not have root
access, can anyone provide any information to at least steer me in the right
direction?  I greatly appreciate your help.

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


Re: [Samba] Installing Windows XP printer drivers onto Samba 3.0.24

2007-02-13 Thread Marc Balmer

John Drescher wrote:

Thanks for posting back.


we just found the all to stupid problem...

net -U root rpc grant 'DOM\user' SePrintOperatorPrivilege

did the job.


I tried that a couple of times for different users with and without
the domain name and it did not help.

Are you using ldap? Is your security domain? Is this printing box also
the domain controller?

My answers to these questions are: yes, yes and no.


Our setup is a simple samba domain member server that acts as a print
server.  no ldap, no domain controller.

it works now and this is what we did:

create a printadmin user on the PDC and granting this account the
SePrintOperatorPrivilege

add the user to the member (print) server (we need that because we
don't have nsswitch/ldap).  create a storage for the drivers that
is writeable by printadmin.

now we can manage the printers from window, add drivers and such.
there is one point to keep in mind when installing a new driver:
change the default settings before hitting OK, or bad things
can happen.  this has to do with the default device mode.

so, sigh, two days of mind boggling, and everything only because we
wanted to get rid of CUPS ;)

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


Re: [Samba] Installing Windows XP printer drivers onto Samba 3.0.24

2007-02-13 Thread John Drescher

Thanks for posting back.


we just found the all to stupid problem...

net -U root rpc grant 'DOM\user' SePrintOperatorPrivilege

did the job.


I tried that a couple of times for different users with and without
the domain name and it did not help.

Are you using ldap? Is your security domain? Is this printing box also
the domain controller?

My answers to these questions are: yes, yes and no.


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


Re: [Samba] Installing Windows XP printer drivers onto Samba 3.0.24

2007-02-13 Thread Marc Balmer

John Drescher wrote:

On 2/13/07, Marc Balmer <[EMAIL PROTECTED]> wrote:

dear samba users

I have been searching the online documents, howtos and such yet I did
not find an answer to my question/problem, so if you have any hints for
me that would be much appreciated:



This was discussed here last week and there is some good troubleshooting 
here:


http://lists.samba.org/archive/samba/2007-February/129326.html

I have also spent at least 2 days with this and I do not have Point
and Print working. For me the drivers install but when I go to
associate them to the to the printer I get access denied in windows
and a similar error in linux.


we just found the all to stupid problem...

net -U root rpc grant 'DOM\user' SePrintOperatorPrivilege

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


Re: [Samba] Installing Windows XP printer drivers onto Samba 3.0.24

2007-02-13 Thread John Drescher

On 2/13/07, Marc Balmer <[EMAIL PROTECTED]> wrote:

dear samba users

I have been searching the online documents, howtos and such yet I did
not find an answer to my question/problem, so if you have any hints for
me that would be much appreciated:



This was discussed here last week and there is some good troubleshooting here:

http://lists.samba.org/archive/samba/2007-February/129326.html

I have also spent at least 2 days with this and I do not have Point
and Print working. For me the drivers install but when I go to
associate them to the to the printer I get access denied in windows
and a similar error in linux.

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


[Samba] Installing Windows XP printer drivers onto Samba 3.0.24

2007-02-13 Thread Marc Balmer

dear samba users

I have been searching the online documents, howtos and such yet I did 
not find an answer to my question/problem, so if you have any hints for 
me that would be much appreciated:


We are trying since two days to install Windows XP printer drivers from 
the "Add Printer Wizzard" in Windows onto a Samba 3.0.24 installation.


We created the [print$] share as recommended, created a user that is in 
the printer admin list in smb.conf (and that has write access to the 
driver store).  When installing a driver, we get an obscure error 
message that a printer driver can not be added because some permission 
is denied.


In the samba machine, the Windows machine created some directories in 
the driver store area named "__SKIP..".


This drives me slowly, but surely, nuts...

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


Re: [Samba] Installing Samba4

2006-09-01 Thread Andrew Bartlett
On Tue, 2006-08-29 at 13:04 -0300, Montervino, Mariano wrote:
> We have trouble installing samba4 and we can´t found documentation about
> setup, join domains, etc...
> 
> We use rsync command to download samba
> rsync -avz samba.org::ftp/unpacked/samba4 .
> and when run ./autogen.sh to generate configure files return the following
> error:
> ./autogen.sh: running script7mkversion.sh
> ./script/mkversion.sh: version.h created for
> Samba("4.0.0tp3-svn-build-UNKNOWN)
> ./autogen.sh: running autoheader
> configure.ac:108: error: m4defn: undefined macro: _AC_SUBST_VARS
> configure.ac:108: the top level
> autoheader: autom4te failed with exit status: 1
> at /usr/local/bin/autoheader line 163
> Cheers

My guess it that you don't have a good version of autoconf.

However, if you are using rsync to download the source, you should find
that we have already done the ./autogen.sh for you.

Currently, the best way to use Samba4 is as a DC, see the howto.txt in
the root of the samba4 tree.

Andrew Bartlett

-- 
Andrew Bartletthttp://samba.org/~abartlet/
Authentication Developer, Samba Team   http://samba.org
Samba Developer, Red Hat Inc.  http://redhat.com


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Samba] Installing Samba4

2006-08-29 Thread Montervino, Mariano
We have trouble installing samba4 and we can´t found documentation about
setup, join domains, etc...

We use rsync command to download samba
rsync -avz samba.org::ftp/unpacked/samba4 .
and when run ./autogen.sh to generate configure files return the following
error:
./autogen.sh: running script7mkversion.sh
./script/mkversion.sh: version.h created for
Samba("4.0.0tp3-svn-build-UNKNOWN)
./autogen.sh: running autoheader
configure.ac:108: error: m4defn: undefined macro: _AC_SUBST_VARS
configure.ac:108: the top level
autoheader: autom4te failed with exit status: 1
at /usr/local/bin/autoheader line 163
Cheers



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


Re: [Samba] installing software as a user

2006-06-28 Thread Wolfgang Ratzka
Huck schrieb:
> After joining machines to my Samba domain (in a school setting)some
> accounting software no longer functions as it needs to be run as the
> user that installed the software.
> 
> So I uninstalled the software and attempted re-install as that user, but
> was told via a pop-up error message that the user did not have rights to
> install.
> 
> The user exists on the local machine(XP Pro) and has administrative
> privileges, but apparently when logging into the domain it changes the
> user's effective rights.

A local user PCXYZ\username is always distintct from a domain user
DOMAIN\username, so PCXYZ\username's rights don't apply to DOMAIN\username.

> 
> Is there some simple 'user configuration' on the Samba side that I need
> to do with 'smbpasswd' or with the linux groups to allow users to
> install software?
> 

Just add the domain user to the local Administrator's group. As a local
administrator on the machine enter the following command:

   net localgroup Administrators DOMAIN\username /add

This gives admin privileges to the domain account.

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


[Samba] installing software as a user

2006-06-28 Thread Huck
After joining machines to my Samba domain (in a school setting)some 
accounting software no longer functions as it needs to be run as the 
user that installed the software.


So I uninstalled the software and attempted re-install as that user, but 
was told via a pop-up error message that the user did not have rights to 
install.


The user exists on the local machine(XP Pro) and has administrative 
privileges, but apparently when logging into the domain it changes the 
user's effective rights.


Is there some simple 'user configuration' on the Samba side that I need 
to do with 'smbpasswd' or with the linux groups to allow users to 
install software?


Thanks,

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


[Samba] Installing printer drivers makes W2K misbehave

2005-12-29 Thread Wouter Verhelst
Hi,

I've been trying to install printer drivers to a newly setup Debian 3.1
system, using Samba 3.0.14. This system is configured to lookup users in
LDAP, and I've configured it so that the procedure as outlined in the
HOWTO to add printers using the NT etc Add Printer Wizard works[1].

However, when I next try to add a printer which has had its driver
configured in that way to that same system, it starts exhibiting strange
behaviour. I've had printers that work perfectly from most applications,
but of which the driver makes explorer.exe produce an incorrect
instruction when I try to print a Windows Test Page. I've had printers
that make explorer produce incorrect instructions when I browse to the
printer queue dialog window. These errors are 100% reproducible on a
per-driver basis, but different drivers produce different behaviour.

At first I thought it was an error in the drivers; but I've seen this
happen with three different printer models of two different brands now
(two brother models; I don't recall what the other brand was, and don't
have access to that network at this time), and I'm starting to think
it's probably something else; but I'm not sure where to look anymore.

Any hints?

Thanks,

[1]
http://us2.samba.org/samba/docs/man/Samba-HOWTO-Collection/classicalprinting.html#id2595032

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


RE: [Samba] installing samba on fedora 3

2005-10-11 Thread Paul Gienger
> Please could someone help guide me through installing samba 
> on fedora 3.
> First I would like to clear my system of previously 
> (incorrectly) installed
> samba programs (there may be duplicates...) How can I do 
> this? I had tried
> following web guides but only to make a mess of my system; I 
> dont think they
> are appropriate for fedora 3.
> I have been told to use rpm, but know nothing of possible sources or
> commands.

Yes, use rpm on an rpm based system unless you are knowlegeable to know
where things are going to go and how to fix them.  You might have a long
task to get rid of the old versions depending on how many you tried and how
you put them in.  How many did you try?  How did you install them? 

For all of your rpm info:
man rpm


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


[Samba] installing samba on fedora 3

2005-10-11 Thread Khaled

Hi,

Please could someone help guide me through installing samba on fedora 3.
First I would like to clear my system of previously (incorrectly) installed
samba programs (there may be duplicates...) How can I do this? I had tried
following web guides but only to make a mess of my system; I dont think they
are appropriate for fedora 3.
I have been told to use rpm, but know nothing of possible sources or
commands.
Please help asap...

Many thanks,

Khaled

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


[Samba] Installing Samba on AIX V5.1...More Info

2005-09-14 Thread Joseph Madrinkian
I'm trying to install on an AIX box V5.1.

 

I downloaded the Samba version for 5.1 and ran the executable. But the
install fails.

 

I got the file from www.bullfreeware.com  

The installation error message I get is

"Installation failed for the user part"

 

 

Does anyone have any idea why the install would fail?

 



Notice: This transmission is for the sole use of the intended recipient(s) and 
may contain information that is confidential and/or privileged.  If you are not 
the intended recipient, please delete this transmission and any attachments and 
notify the sender by return email immediately.  Any unauthorized review, use, 
disclosure or distribution is prohibited.

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


[Samba] Installing Samba on AIX V5.1

2005-09-14 Thread Joseph Madrinkian
I'm trying to install on an AIX box V5.1.

I downloaded the Samba version for 5.1 and ran the executable. But the
install fails.

I got the file from www.bullfreeware.com  

 

Does anyone have any idea why the install would fail?

 

Thanks

Joe

 

Joseph Madrinkian
Consultant, Professional Services - Speedware
Speedware
Division of Activant Solutions Inc.

6380 Cote de Liesse Rd., Suite 110

St. Laurent, Quebec

Canada H4T 1E3

T: 514.747.7007 ext. 8334

F: 514.747.3380
M: 514.249.9433
E-mail:
[EMAIL PROTECTED]

Web site: www.speedware.com
   >

 



Notice: This transmission is for the sole use of the intended recipient(s) and 
may contain information that is confidential and/or privileged.  If you are not 
the intended recipient, please delete this transmission and any attachments and 
notify the sender by return email immediately.  Any unauthorized review, use, 
disclosure or distribution is prohibited.

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


Re: [Samba] Installing Sanba in SCO

2005-07-02 Thread Ilia Chipitsine

SCO is very much againts Linux, GCC and GPL in general.
so, I heard gcc team even removed support for SCO :-)
no wonder, that samba doesn't support SCO either.


I have several SCO UNIX system were I would like to install Samba. Some of 
these machines are running SCO 5.0.7 which comes with a Samba version 2.2, the 
other machines running SCO 5.0.6 do not have Samba.
I would like to upgrade the Samba to V.3 on the newer machines and to be able 
to install it on the older systems, but I am unable to find out a download from 
Samba.org for SCO.
Could some one tell me which version of Samba I can download that is compatible 
with SCO 5.0.6 and 5.0.7?

Thanks

Joe
--
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] Installing Sanba in SCO

2005-06-24 Thread John H Terpstra
On Friday 24 June 2005 08:14, Joseph L. Marnett wrote:
> I have several SCO UNIX system were I would like to install Samba. Some of
> these machines are running SCO 5.0.7 which comes with a Samba version 2.2,
> the other machines running SCO 5.0.6 do not have Samba. I would like to
> upgrade the Samba to V.3 on the newer machines and to be able to install it
> on the older systems, but I am unable to find out a download from Samba.org
> for SCO. Could some one tell me which version of Samba I can download that
> is compatible with SCO 5.0.6 and 5.0.7?

Joe,

Suggest you contact SCO for binary packages for their products. Noone on the 
Samba Team uses SCO products these days, and packaging support for SCO UNIX 
products was removed from the Samba source code tree because demand was very 
low and the packaging code was not being maintainted with the result that it 
could no longer be used to build packages.

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


RE: [Samba] Installing Sanba in SCO

2005-06-24 Thread Paul Gienger
> Could some one tell me which version of Samba I can download that is
> compatible with SCO 5.0.6 and 5.0.7?

Any version is compatible if you build it from source, which is what I'd
suggest you do here.  I don't think you're going to find much traction (at
least from the team) in asking for SCO-built binaries.

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


[Samba] Installing Sanba in SCO

2005-06-24 Thread Joseph L. Marnett
I have several SCO UNIX system were I would like to install Samba. Some of 
these machines are running SCO 5.0.7 which comes with a Samba version 2.2, the 
other machines running SCO 5.0.6 do not have Samba.
I would like to upgrade the Samba to V.3 on the newer machines and to be able 
to install it on the older systems, but I am unable to find out a download from 
Samba.org for SCO.
Could some one tell me which version of Samba I can download that is compatible 
with SCO 5.0.6 and 5.0.7?

Thanks

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


Re: [Samba] Installing network printers for roaming users

2005-04-28 Thread Oliver Schulze L.
Solved here:
http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/printing.html#id2578503
Nework printers are configured per user, so I need to add the printer at
every logon, it only takes seconds.
HTH
Oliver
Oliver Schulze L. wrote:
Hi,
I'm configuring a network with RH9(samba 2.2.7) and Windows XP SP2 
clients.
All my users are roaming users and they login/logou without problems.

I have 2 printers in one Windows XP workstation thar are shared.
I login as a local (administrator) user in another workstation, 
install the
network printers.

Then, I logout from the local user and when I login with the roaming 
users,
the network printers does not appears.
If I login again with the local user, the printers are installed.

So, my question is, how do I configure network printers for roaming 
users?

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


[Samba] Installing network printers for roaming users

2005-04-27 Thread Oliver Schulze L.
Hi,
I'm configuring a network with RH9(samba 2.2.7) and Windows XP SP2 clients.
All my users are roaming users and they login/logou without problems.
I have 2 printers in one Windows XP workstation thar are shared.
I login as a local (administrator) user in another workstation, install the
network printers.
Then, I logout from the local user and when I login with the roaming users,
the network printers does not appears.
If I login again with the local user, the printers are installed.
So, my question is, how do I configure network printers for roaming users?
Many thanks,
Oliver
--
Oliver Schulze L.
<[EMAIL PROTECTED]>
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Installing/De-installing procedure...

2005-03-22 Thread Madhusudan, R
Hi,
 
I have a system running FC2 with SAMBA-3.0.10-1.fc2 installed on it. I
tried de-installing it, but failed as follows:
 
[EMAIL PROTECTED] /]# rpm -e samba
error: Failed dependencies:
samba is needed by (installed)
system-config-samba-1.2.22-0.fc2.1
samba = 0:3.0.10 is needed by (installed)
samba-swat-3.0.10-1.fc2
 
Can anyone suggest how I could go about de-installing the kit? 
 
Also, how would I install and use SAMBA on a Linux system if all I had
were the images I built using the sources? What are the steps I 
need to follow here?
 
Thanks,
Madhu
 
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] installing samba 3.0.7 on kernel 2.6

2005-01-04 Thread caas it
 I am trying to install samba 3.0.7 on kernel 2.6.5-3
(Fedora Core 2)
1) According to the installation procedure mentioned
in the documentation the samba client is working fine.
But for the samaba server, when a remote client tries
to contact the server the follwing error is reported
during tree connect request for IPC$ -
BAD_NETWORK_NAME.  

2)If we wish to undo the chages made by above
procedure is there any option other than "make revert"?


Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Installing Printer drivers

2004-12-06 Thread Jim C.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I've a Samba PDC ( samba-server-3.0.6-4.2.100mdk ) My cleint machines
are all XP Pro without SP2.
I've never been able to get Samba to accept a printer driver for
download to client machines.  How can I achieve this?  Note that this
will not be an easy question to answer.  I've already succeeded at
installing pass-through printing and CUPS printing but both suck. I
suppose it is CUPS that actually sux.  Anyway, I want my printer to work
identically to a Windows printer, i.e. users should be able to
manipulate properties etc.
If I can get help figureing this one out, I'll be very happy to add it
to my HOWTO at
http://mandrake.vmlinuz.ca/bin/view/Main/SambaThreeDomainController
Jim C.
- --
- -
| I can be reached on the following Instant Messenger services: |
|---|
| MSN: j_c_llings @ hotmail.com  AIM: WyteLi0n  ICQ: 123291844  |
|---|
| Y!: j_c_llingsJabber: jcllings @ njs.netlab.cz|
- -
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBtN5d57L0B7uXm9oRAs8LAJ0R7DtkhaiHgJD5XlVrP+FsmFLyQwCfTqo8
SrMJsej2kWaiLagvmCrtRIQ=
=2UX2
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Installing Samba 3.0.5 in Mac OSX 10.3.4 server

2004-11-17 Thread Krishmay Armas
 MAXTOR 300GB INTERNAL UATA 16MB CACHE  $249
SEG/MAXTOR 300GB EXTERNAL COMBO USB2/FW400  $299

IPOD 20GB W/CLICK WHL--AM9282 LL/A--$299
 
GRIFFIN (1yr wty) IPOD
Voice Recorder for Ipod - ITalk $32
Fm Transmitter for Ipod Mini - Itrip Mini $28
Fm Transmitter for 1G/2G Ipods - Itrip $28
Fm Transmitter for 3G/4G Ipods - Itrip2 $28
Auto Adapter - Powerpod$14
Cup Holder Insert for Ipod/Ipodmini - Podpod$7

SEG USB/USB2/FW/F8001-4950+
USB Bluetooth 100 Meters-SEGWRLBTBTD $29  $call
FW800  3P PCI Card - SEGFWPCI800   $49  $call
All of these products have been tested to work with Mac and PC

APPLE IPOD ACCESSORIES1-4950+
SPECK (1yr wty)
Mini Skin - Clear/Blue - SPIMST1C/1B$15$call
Mini Skin 3pk - Clear/Blue/Green- SPIMST1T$22$call
Mini ArmBand w/skin - SPIMSTAB1 $22$call
Mini FlipStand - SPIMFS01$22$call
Ipod Skin - Clear/Blue (3RAG)- SPIS1001/1001B$15$call
Ipod Skin - Clear(4taG) - SPIS1004   $15$call
Ipod Skin 3pk -3G Clear/Blue/Green - SPIS1003 $22$call
Ipod FlipStand - SPFS1002 $22$call

SPEAKERS1-4950+
ALTEC LANSING (1yr wty)Ipod
InMotion Speakers  $119$call

CAJAS MACALLY ALUMINUM (1yr wty)
2.5² USB2 - PHR250A$25$call
2.5² USB2/FW - PHR250CC$45$call
3.5" FW - PHR100AF $45$call
3.5" USB2/FW - PHR100AC $55$call
3.5" F800/USB2 - PHR100ACB $95$call
5.25" USB2/FW - PHC500BC $55$call

MACALLY (1yr wty)  
AC Adapter for new Powerbooks and Ibooks$33
GRIFFIN
ADC to VGA Adapter - 4011-ADCV$24$call

USB PERIPHERALS1-4950+
MACALLY (1yr wty)  
SPECIALS 
USB Optical Micro Mouse Bulk - Micro $9$call
USB 7Port Hub (6 Caps)-110v/220v- IHub7$19$call
USB Wireless Presentation Cont - KeyPoint$44$call
Ibook Station - IceStation $13$call
USB Mini Writing Tablet - IceCad $34$call
USB2 128mb Flash Drive - FD128$49$call
USB 1X Ext. Floppy - FDDUSB$31$call
USB Airstick- Mjas $36$call
USB Video Web Camera - IceCam$22$call
USB Dot Mouse - DotMouse  $12$call
USB Ice Mouse - IceMouse$21$call
USB Ice Mouse Jr - IceJr   $20$call
USB Ice Mouse Mini - IceMini   $11$call
USB Wireless Optical Mouse - RFMouse$31$call
USB Wireless Optical Mini Mouse - RFMini $31$call
USB Optical Micro Mouse Retail - Micro $25$call
USB Optical Micro Mouse Bulk - Micro $9$call
USB Optical Internet MouseJr Retail-IOptijr$22$call
USB Optical Internet Mouse - IOptinet$24$call
USB Mouse 1B  (6 Caps) - ISweet$19$call
USB2 Cardbus - PB G3 - UH-2226$35$call
USB2 PCI Card 5P - UH2225  $21$call
USB2 4P Hub (WH) - U2Hub $30$call
USB2/FW 4P Hub (WH) - HubUF $42$call
USB2 Hub Jr. (WH) - U2Hubjr$25$call
USB Mini Hub USB2 - Hub2Mini$18$call
USB 7Port Hub (6 Caps)-110v/220v- IHub7$19$call
USB Ice Key - IceKey$39$call
USB Ext KB (G4) -Eng - Ikey4$31$call
KEYSPAN (1yr wty)  
USB1 PCI Card - UPCI2$18$call
USB High Speed Serial - USA19HS$38$call
Digital Media Remote - URM15A$38$call
USB Twin Serial - USA28X$58$call
USB Server - US4A$108$call
GRIFFIN (1yr wty)  
Apple Pro Speaker adapter/Fw Amplifier-Ifire$28$call
Laptop/Powerbook/Ibook Stand - Icurve$28$call
USB Audio Interface - Imic $31$call
USB to 1ADB Adapter- Imate$34$call


SEG  F800/F400/USB2 HARD DRIVES*
SEG 200gb - SEG200F800F400U2  $239
* TRIPLE INTERFACE

DVD-R+CDRW  EXTERNO
SEG108 Ext Kit - SEGPIO108 USB2FW   $185
(external kit incl:
Pioneer 108,  EZDVD Creator , Toast Lite 5 and 6 ,
Retrospect, 1 CDR 52X media and 1 DVD+R 4X media)

CDRW EXTERNO   
SEG 523252 Ext Kit-SEGLIT523252 USB2FW $95
(ext kit incl: Liteon 523252 CDRW,  EZCD Creator,
Toast Lite 5 , Retrospect  & 1 CDR 52X media)

3.5² INT ATA HARD DRIVES1-4950+
3.5² 7200RPM (1yr wty)
Maxtor 160gb - uata133/8mb - 6Y160P0  $109$call
Maxtor 200gb - uata133/8mb - 6Y200P0 $139$call


3.5"  HD  SERIAL ATA (SATA)  G5
SEAGATE 3.5² 7200RPM (1yr wty)
120gb - ST3120026AS (inc serial cable) $99$call
160gb - ST3160827AS (inc serial cable) $119$call


:-) 
Gracias
Krismay Armas
SEG COMPUTERS
MAC ACCESORY CENTER
8200 NW 27 ST SUITE #112
DORAL,FL33122
PH: 305-592-1914
FX: 305-592-1915
E-mail:  [EMAIL PROTECTED]
E-Mail:  [EMAIL PROTECTED]
ICQ #273690539


--
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 in a logon script

2004-11-09 Thread Simon Hobson
Tarjei Huse wrote:
 > except for the nice feature in XP SP1 that disables users from
 > installing printers - we haven't got round to pushing out a registry
 hack to fix that yet, but before SP1 went on it worked.
Hi, would you mind posting the .reg file?
I haven't built one yet, on my list of things to 'get around to'. 
Details can be found at :

http://support.microsoft.com/?kbid=319939
I have to say I was 'mildly surprised' to find a description of the 
registry entries, since everything else I've ever tried to find has 
been covered by "see  group policy".

Simon
--
Simon Hobson MA MIEE, Technology Specialist
Colony Gift Corporation Limited
Lindal in Furness, Ulverston, Cumbria, LA12 0LD
Tel 01229 461100, Fax 01229 461101
Registered in England No. 1499611
Regd. Office : 100 New Bridge Street, London, EC4V 6JA.
--
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 in a logon script

2004-11-09 Thread Tarjei Huse
Hi,
> >But it seems to me that Windows is simply ignoring /if /f flags, 
> >because it doesn't print any error (even with no /q) when I put some 
> >nonsense instead of the location of the ini file.
> 
> Well here we just have :
> 
> rundll32 printui.dll,PrintUIEntry /in /n \\server\printer
> 
> in a script called from the login script. It seems to work fine for 
> us except for the nice feature in XP SP1 that disables users from 
> installing printers - we haven't got round to pushing out a registry 
> hack to fix that yet, but before SP1 went on it worked.

Hi, would you mind posting the .reg file?
Tarjei

> 
> As for adding print drivers to the server, we use cupsaddsmb (as per 
> the Samba howtos).
> 
> So, we add a printer to cups, select the right PPD and put it in 
> /etc/cups/ppd, then run cupsaddsmb to install the drivers. Add the 
> rundll ... line to the login scripts, and next time a user logs in 
> they get the printer installed (subject to the point and print policy 
> in place).
> 
> This is with samba 2.2.8a-224 and cups 1.1.15-170 (current versions 
> for Suse Linux Openexchange server).
> 
> Simon
> 
> -- 
> Simon Hobson MA MIEE, Technology Specialist
> Colony Gift Corporation Limited
> Lindal in Furness, Ulverston, Cumbria, LA12 0LD
> Tel 01229 461100, Fax 01229 461101
> 
> Registered in England No. 1499611
> Regd. Office : 100 New Bridge Street, London, EC4V 6JA.
-- 
Tarjei Huse <[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] installing printer in a logon script

2004-11-09 Thread Doug VanLeuven
Paul Gienger wrote:

1) printer is installed *fully* automatically - no end-user user 
interaction,
2) as admin can reach Samba and only Samba remotely (and only 
remotely), there can be no walking to a workstation and adding a 
printer from there.

To sum up:
a) admin knows what printer do they have in these remote offices,
b) admin copies drivers to samba remotely, changes some logon scripts 
- and users of that remote office have printer drivers installed.

I'm going to reiterate one more time that it doesn't appear that 
you're doing this properly, and then shoot myself.

You need to, as admin, *install* the printer on the samba server by 
the methods that have been listed in this thread several times.  DO 
NOT simply copy the drivers to some random share on the server and 
then point the client to them.  Here is my login script snippet that 
works fine on every workstation I've ever seen that has the printer 
drivers installed properly on the server.  Some newish versions of 
samba require me to put the ip, hopefully that will be fixed.  The 
first one sets the driver, the second sets the default printer.

rundll32 printui.dll,PrintUIEntry /in /n \\10.2.0.2\hplj /r 
\\10.2.0.2\hplj /m "HP LaserJet 5000 Series PS "
rundll32 printui.dll,PrintUIEntry /y /z /n \\10.2.0.2\hplj
Thanks for the tip.  I didn't know how to do this under program 
control.  Now that I have search words, all sorts of things turn up.
I've been advertizing them in AD and telling users to search for 
printers and pick it by name.

It's clear to me what you're saying :-) .  The admin has to install the 
printer drivers into samba first before spoolss can work.

Regards, Doug
--
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 in a logon script

2004-11-08 Thread Tomasz Chmielewski
Paul Gienger wrote:

OK, this is partially my fault, as installing printer drivers on Samba 
manually (not using Windows GUI) is so complicated and unintuitive 
that I think it's even more complicated than configuring IPSec on two 
machines with dynamic IP, one behind NAT!

With or without control of the firewall/nat box?
With would be easier.
Without you have to place IPSec tunnel into another tunnel I think, but 
that's out of the scope of this group.


rundll printui.dll,PrintUIEntry has already a switch to use a given 
inf file for a chosen printer - and as win2k already *has* these 
printer drivers, I feel no need to copy them from Samba. Doing it from 
a slow dial-up can be unpleasant experience for an end-user, each time 
he/she logs in.

Isn't your desired line, which you earier stated was:
rundll32 printui.dll,PrintUIEntry /q /y /ga /if /f 
\\server\shared\HP_2000C\hp_2x00c.inf /in /n \\server\HP_2000C
doing the same thing?
OK, it was just an example (for some non-mobile users).
It doesn't matter what I type after /if /f - it can be:
rundll32 printui.dll,PrintUIEntry /q /y /ga /if /f \\bull\shit /in /n 
\\server\HP_2000C

and it doesn't give me an error that there is nothing like \\bull\shit.
If I type there c:\non-existing\printerdriver.inf, it doesn't even say 
that there is no such location, and I get a prompt "no drivers on the 
server" (which is right, as they are not there), but when I point it to 
c:\real-driver.inf, I have the same "no drivers on the server" (but I 
want them to be installed from the local workstation, as they are 
already there!).

Tomek
--
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 in a logon script

2004-11-08 Thread Tomasz Chmielewski
Kristyan Osborne wrote:
Just use Kixtart. The syntax is really easy and it just works.
addprinterconnection("\\sambaserver\printername")
setdefaultprinter("\\sambaserver\printername")
really easy.
Maybe it's easy, but it doesn't add any printer, so it's of no use:
kixprint.kix:
addprinterconnection("\\server\HP_2000C")
setdefaultprinter("\\server\HP_2000C")
C:\KiX> c:\kixprint.kix
17972
C:\KiX>
and this is all it does.
how can you specify printer drivers to KiX? I didn't find it 
in manual - 
in fact - I found only these two above commands (addprinterconnection 
and setdefaultprinter) concernig printing (and one more to 
remove printer).


Are you sure that the printer drivers are installed properly on the samba server. NT error code 1797 is something like printer driver not found or not installed properly.
No, drivers are not installed on Samba server.
In fact, I don't want to install them there at all.
Windows 2000 already has these drivers bundled with the system, so I'd 
rather use these than download these drivers from Samba server (doing so 
for a dial-up laptoper who has this "install printer" script over a slow 
dial-up connection would force him/her into downloading several 
megabytes of drivers that are already on the laptop, wouldn't it?).

Tomek
--
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 in a logon script

2004-11-08 Thread Paul Gienger

OK, this is partially my fault, as installing printer drivers on Samba 
manually (not using Windows GUI) is so complicated and unintuitive 
that I think it's even more complicated than configuring IPSec on two 
machines with dynamic IP, one behind NAT!
With or without control of the firewall/nat box?
rundll printui.dll,PrintUIEntry has already a switch to use a given 
inf file for a chosen printer - and as win2k already *has* these 
printer drivers, I feel no need to copy them from Samba. Doing it from 
a slow dial-up can be unpleasant experience for an end-user, each time 
he/she logs in.
Isn't your desired line, which you earier stated was:
rundll32 printui.dll,PrintUIEntry /q /y /ga /if /f 
\\server\shared\HP_2000C\hp_2x00c.inf /in /n \\server\HP_2000C
doing the same thing? 

--
--
Paul GiengerOffice: 701-281-1884
Applied Engineering Inc.
Systems Architect   Fax:701-281-1322
URL: www.ae-solutions.com   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] installing printer in a logon script

2004-11-08 Thread Simon Hobson
Tomasz Chmielewski wrote:
OK, this is partially my fault, as installing printer drivers on 
Samba manually (not using Windows GUI) is so complicated and 
unintuitive that I think it's even more complicated than configuring 
IPSec on two machines with dynamic IP, one behind NAT!
If you stick to using the AdobePS driver on the desktops then it 
isn't hard - just follow the howto.

rundll printui.dll,PrintUIEntry has already a switch to use a given 
inf file for a chosen printer - and as win2k already *has* these 
printer drivers, I feel no need to copy them from Samba. Doing it 
from a slow dial-up can be unpleasant experience for an end-user, 
each time he/she logs in.
It doesn't download it each time. It appears to download it the first 
time, and after that it goes through the motions but doesn't actually 
download drivers it already has. I'm sure someone with the knowledge 
will be able to say what tests are applied for it to download a 
changed driver.

Simon
--
Simon Hobson MA MIEE, Technology Specialist
Colony Gift Corporation Limited
Lindal in Furness, Ulverston, Cumbria, LA12 0LD
Tel 01229 461100, Fax 01229 461101
Registered in England No. 1499611
Regd. Office : 100 New Bridge Street, London, EC4V 6JA.
--
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 in a logon script

2004-11-08 Thread Tomasz Chmielewski
Paul Gienger wrote:

1) printer is installed *fully* automatically - no end-user user 
interaction,
2) as admin can reach Samba and only Samba remotely (and only 
remotely), there can be no walking to a workstation and adding a 
printer from there.

To sum up:
a) admin knows what printer do they have in these remote offices,
b) admin copies drivers to samba remotely, changes some logon scripts 
- and users of that remote office have printer drivers installed.

I'm going to reiterate one more time that it doesn't appear that you're 
doing this properly, and then shoot myself.
Don't! :)

You need to, as admin, *install* the printer on the samba server by the 
methods that have been listed in this thread several times.  DO NOT 
simply copy the drivers to some random share on the server and then 
point the client to them.  Here is my login script snippet that works 
fine on every workstation I've ever seen that has the printer drivers 
installed properly on the server.  Some newish versions of samba require 
me to put the ip, hopefully that will be fixed.  The first one sets the 
driver, the second sets the default printer.

rundll32 printui.dll,PrintUIEntry /in /n \\10.2.0.2\hplj /r 
\\10.2.0.2\hplj /m "HP LaserJet 5000 Series PS "
rundll32 printui.dll,PrintUIEntry /y /z /n \\10.2.0.2\hplj
OK, this is partially my fault, as installing printer drivers on Samba 
manually (not using Windows GUI) is so complicated and unintuitive that 
I think it's even more complicated than configuring IPSec on two 
machines with dynamic IP, one behind NAT!
I just imagined adding 10 different printer drivers to Samba (in 14 
different locations) and it was I who thought of shooting myself.

rundll printui.dll,PrintUIEntry has already a switch to use a given inf 
file for a chosen printer - and as win2k already *has* these printer 
drivers, I feel no need to copy them from Samba. Doing it from a slow 
dial-up can be unpleasant experience for an end-user, each time he/she 
logs in.

The hard part for me is to make "rundll printui.dll,PrintUIEntry" use 
this given inf file, not downloading it from Samba.

Tomek
--
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 in a logon script

2004-11-08 Thread Kristyan Osborne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

> -Original Message-
> From: Tomasz Chmielewski [mailto:[EMAIL PROTECTED]
> Sent: 08 November 2004 14:40
> To: Kristyan Osborne
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Samba] installing printer in a logon script
> 
> 
> Kristyan Osborne wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> > 
> > Hi,
> > 
> > Just use Kixtart. The syntax is really easy and it just works.
> > 
> > addprinterconnection("\\sambaserver\printername")
> > setdefaultprinter("\\sambaserver\printername")
> > 
> > really easy.
> 
> Maybe it's easy, but it doesn't add any printer, so it's of no use:
> 
> kixprint.kix:
> 
> addprinterconnection("\\server\HP_2000C")
> setdefaultprinter("\\server\HP_2000C")
> 
> 
> C:\KiX> c:\kixprint.kix
> 17972
> C:\KiX>
> 
> and this is all it does.
> how can you specify printer drivers to KiX? I didn't find it 
> in manual - 
> in fact - I found only these two above commands (addprinterconnection 
> and setdefaultprinter) concernig printing (and one more to 
> remove printer).
> 
You don't. As long as the drivers have been installed on the Samba server via 
the method mentioned in the Samba HOW-TO docs and in this list on numerous 
occasions. The numbers you go after the script has ran are error codes. I 
suggest you look these up in the Kixtart manual and see whats going wrong.

This is the setup i'm using at my site. I have a print server with about 15 
printers attached and over 450 workstations map to this server everyday using 
the method above. It works great!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (MingW32)

iD8DBQFBj4egqrr+KdRYU5gRAoyJAJ0UXx2zmePLvmvqoavAifzESaxK/ACdE4Eq
Yx3Fzq9jrTP1BNLG3k97nN4=
=5WtY
-END PGP SIGNATURE-

--
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 in a logon script

2004-11-08 Thread Tomasz Chmielewski
Kristyan Osborne wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
Just use Kixtart. The syntax is really easy and it just works.
addprinterconnection("\\sambaserver\printername")
setdefaultprinter("\\sambaserver\printername")
really easy.
Maybe it's easy, but it doesn't add any printer, so it's of no use:
kixprint.kix:
addprinterconnection("\\server\HP_2000C")
setdefaultprinter("\\server\HP_2000C")
C:\KiX> c:\kixprint.kix
17972
C:\KiX>
and this is all it does.
how can you specify printer drivers to KiX? I didn't find it in manual - 
in fact - I found only these two above commands (addprinterconnection 
and setdefaultprinter) concernig printing (and one more to remove printer).

Tomek
--
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 in a logon script

2004-11-08 Thread Paul Gienger

1) printer is installed *fully* automatically - no end-user user 
interaction,
2) as admin can reach Samba and only Samba remotely (and only 
remotely), there can be no walking to a workstation and adding a 
printer from there.

To sum up:
a) admin knows what printer do they have in these remote offices,
b) admin copies drivers to samba remotely, changes some logon scripts 
- and users of that remote office have printer drivers installed.

I'm going to reiterate one more time that it doesn't appear that you're 
doing this properly, and then shoot myself.

You need to, as admin, *install* the printer on the samba server by the 
methods that have been listed in this thread several times.  DO NOT 
simply copy the drivers to some random share on the server and then 
point the client to them.  Here is my login script snippet that works 
fine on every workstation I've ever seen that has the printer drivers 
installed properly on the server.  Some newish versions of samba require 
me to put the ip, hopefully that will be fixed.  The first one sets the 
driver, the second sets the default printer.

rundll32 printui.dll,PrintUIEntry /in /n \\10.2.0.2\hplj /r 
\\10.2.0.2\hplj /m "HP LaserJet 5000 Series PS "
rundll32 printui.dll,PrintUIEntry /y /z /n \\10.2.0.2\hplj

I quit.
--
--
Paul GiengerOffice: 701-281-1884
Applied Engineering Inc.
Systems Architect   Fax:701-281-1322
URL: www.ae-solutions.com   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] installing printer in a logon script

2004-11-08 Thread Simon Hobson
Tomasz Chmielewski wrote:
My printer-install have to fulfil the following assumptions:
1) printer is installed *fully* automatically - no end-user user interaction,
2) as admin can reach Samba and only Samba remotely (and only 
remotely), there can be no walking to a workstation and adding a 
printer from there.

To sum up:
a) admin knows what printer do they have in these remote offices,
b) admin copies drivers to samba remotely, changes some logon 
scripts - and users of that remote office have printer drivers 
installed.

It seems I could do it with "rundll32 printui.dll,PrintUIEntry ..." 
- but I can construct a valid command to point to the drivers.
I tried it like that:

rundll32 printui.dll,PrintUIEntry /q /y /ga /if /f 
\\server\shared\HP_2000C\hp_2x00c.inf /in /n \\server\HP_2000C

But it seems to me that Windows is simply ignoring /if /f flags, 
because it doesn't print any error (even with no /q) when I put some 
nonsense instead of the location of the ini file.
Well here we just have :
rundll32 printui.dll,PrintUIEntry /in /n \\server\printer
in a script called from the login script. It seems to work fine for 
us except for the nice feature in XP SP1 that disables users from 
installing printers - we haven't got round to pushing out a registry 
hack to fix that yet, but before SP1 went on it worked.

As for adding print drivers to the server, we use cupsaddsmb (as per 
the Samba howtos).

So, we add a printer to cups, select the right PPD and put it in 
/etc/cups/ppd, then run cupsaddsmb to install the drivers. Add the 
rundll ... line to the login scripts, and next time a user logs in 
they get the printer installed (subject to the point and print policy 
in place).

This is with samba 2.2.8a-224 and cups 1.1.15-170 (current versions 
for Suse Linux Openexchange server).

Simon
--
Simon Hobson MA MIEE, Technology Specialist
Colony Gift Corporation Limited
Lindal in Furness, Ulverston, Cumbria, LA12 0LD
Tel 01229 461100, Fax 01229 461101
Registered in England No. 1499611
Regd. Office : 100 New Bridge Street, London, EC4V 6JA.
--
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 in a logon script

2004-11-08 Thread Tomasz Chmielewski
Paul Gienger wrote:

It really sounds like you're not understanding what we're telling you.  
You need to store the printer driver on the samba server so that when 
you issue the rundll command, with the /in switch, your client knows 
what you're talking about.  To do this, go to a windows machine that is 
already on your network, try your personal station, seems to work well 
for me.  Follow through the part that I sent the address to.  Really.  
When you are done, you should be able to run (from your server)
rpcclient servername
and then once logged in do an enumdrivers and see them listed.  You 
should also be able to do an enumprinters and see more interesting 
information.  If these commands don't work, stop and re-examine your 
setup.  Any number of things could be wrong so perhaps tell us what you 
get from those commands.

When you are done, you should be able to walk over to any machine, issue 
your rundll command from the command line and all that will happen is 
that a box will come up saying that it is installing the printer  
from  (or possibly the ip depending on your version of samba) and 
it should just go away.  Now if you're using 3.0.7 (I believe) there is 
a known bug in these routines that will cause some issue with your 
naming.  You'll have to play around with your rundll command and the 
printer names to get it right.  If you get here, post your enumprinters 
and enumdrivers output from above and maybe a valid statement can be 
made for you.
No, sorry, this won't work for me.
My printer-install have to fulfil the following assumptions:
1) printer is installed *fully* automatically - no end-user user 
interaction,
2) as admin can reach Samba and only Samba remotely (and only remotely), 
there can be no walking to a workstation and adding a printer from there.

To sum up:
a) admin knows what printer do they have in these remote offices,
b) admin copies drivers to samba remotely, changes some logon scripts - 
and users of that remote office have printer drivers installed.

It seems I could do it with "rundll32 printui.dll,PrintUIEntry ..." - 
but I can construct a valid command to point to the drivers.
I tried it like that:

rundll32 printui.dll,PrintUIEntry /q /y /ga /if /f 
\\server\shared\HP_2000C\hp_2x00c.inf /in /n \\server\HP_2000C

But it seems to me that Windows is simply ignoring /if /f flags, because 
it doesn't print any error (even with no /q) when I put some nonsense 
instead of the location of the ini file.

Tomek





--
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 in a logon script

2004-11-05 Thread Tomasz Chmielewski
Paul Gienger wrote:
You need to do this to install the server copy of the printer 
driver.  When you run your rundll command with the /in flag, it looks 
for the driver as it has been installed using (more or less) the 
procedure above.  This is how it's done, not with what you said about 
'putting the driver in /blah/X32HP200C'.  When you do the install 
command from a login script there is no 'going there and clicking 
here', just a status box that disappears all by itself.

No, it doesn't disappear by itself, even if I'm logged into a domain.
I agree, if the driver was installed *before* - now Windows knows that 
it has it.
But if it's installed for the *first* time, I have this window prompt.

It really sounds like you're not understanding what we're telling you.  
You need to store the printer driver on the samba server so that when 
you issue the rundll command, with the /in switch, your client knows 
what you're talking about.  To do this, go to a windows machine that is 
already on your network, try your personal station, seems to work well 
for me.  Follow through the part that I sent the address to.  Really.  
When you are done, you should be able to run (from your server)
OK, sorry for misunderstanding.
Will try that on Manday.
Tomek
--
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 in a logon script

2004-11-05 Thread Paul Gienger

Connect to the server and enter the "Printers and Faxes" folder.
Right click, choose Server Properties.
Go into the Drivers tab and add the driver, just like as if it was a
Windows server.

hint: look at the subject (installing printer in a script).
it has to be done *fully* automatically, there is no place for going 
there and clicking here.

You need to do this to install the server copy of the printer 
driver.  When you run your rundll command with the /in flag, it looks 
for the driver as it has been installed using (more or less) the 
procedure above.  This is how it's done, not with what you said about 
'putting the driver in /blah/X32HP200C'.  When you do the install 
command from a login script there is no 'going there and clicking 
here', just a status box that disappears all by itself.

No, it doesn't disappear by itself, even if I'm logged into a domain.
I agree, if the driver was installed *before* - now Windows knows that 
it has it.
But if it's installed for the *first* time, I have this window prompt.
It really sounds like you're not understanding what we're telling you.  
You need to store the printer driver on the samba server so that when 
you issue the rundll command, with the /in switch, your client knows 
what you're talking about.  To do this, go to a windows machine that is 
already on your network, try your personal station, seems to work well 
for me.  Follow through the part that I sent the address to.  Really.  
When you are done, you should be able to run (from your server)
rpcclient servername
and then once logged in do an enumdrivers and see them listed.  You 
should also be able to do an enumprinters and see more interesting 
information.  If these commands don't work, stop and re-examine your 
setup.  Any number of things could be wrong so perhaps tell us what you 
get from those commands.

When you are done, you should be able to walk over to any machine, issue 
your rundll command from the command line and all that will happen is 
that a box will come up saying that it is installing the printer  
from  (or possibly the ip depending on your version of samba) and 
it should just go away.  Now if you're using 3.0.7 (I believe) there is 
a known bug in these routines that will cause some issue with your 
naming.  You'll have to play around with your rundll command and the 
printer names to get it right.  If you get here, post your enumprinters 
and enumdrivers output from above and maybe a valid statement can be 
made for you.

--
--
Paul GiengerOffice: 701-281-1884
Applied Engineering Inc.
Systems Architect   Fax:701-281-1322
URL: www.ae-solutions.com   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] installing printer in a logon script

2004-11-05 Thread Tomasz Chmielewski
Paul Gienger wrote:
Reorganizing the posts for sanity:
Tomasz Chmielewski wrote:
Manuel Capinha wrote:
Connect to the server and enter the "Printers and Faxes" folder.
Right click, choose Server Properties.
Go into the Drivers tab and add the driver, just like as if it was a
Windows server.

hint: look at the subject (installing printer in a script).
it has to be done *fully* automatically, there is no place for going 
there and clicking here.

You need to do this to install the server copy of the printer driver.  
When you run your rundll command with the /in flag, it looks for the 
driver as it has been installed using (more or less) the procedure 
above.  This is how it's done, not with what you said about 'putting the 
driver in /blah/X32HP200C'.  When you do the install command from a 
login script there is no 'going there and clicking here', just a status 
box that disappears all by itself.
No, it doesn't disappear by itself, even if I'm logged into a domain.
I agree, if the driver was installed *before* - now Windows knows that 
it has it.
But if it's installed for the *first* time, I have this window prompt.


You should probably grab yourself a copy of '...By Example' by whatever 
means you like and bone up on the printing sections.  You can start here 
if you don't know where to find it.
http://us3.samba.org/samba/docs/man/Samba-Guide/happy.html#id2541726
Yeah I read this, but it didn't say how to install printer drivers 
without user interaction.


this is done on a freshly installed machine, which didn't even join 
the domain.

If you didn't join the domain then how exactly is the login script being 
run?!?!?

Actually, it's Unattended script (see unattended.sf.net) - "a Windows 
deployment system" - in other words, an "unattended" installation of 
Windows (handy if you have to install Windows on a large number of 
machines).

You insert a CD to a blank PC (can be done over a network without a CD 
if mainboard supports it, too), choose a name for a computer - and there 
you go - it installs Windows, all desired software, joins the domain 
etc. without any need to click or type anything (well, you have to 
prepare a script that does that all before of course).

As the Windows is installed and the software is being installed, it is 
all done as Administrator (*that* computer Administrator) - and we're 
not logged into a domain (yet).

I can do everything automatically, apart of this printer driver :(
Tomek
--
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 in a logon script

2004-11-05 Thread Paul Gienger
Reorganizing the posts for sanity:
Tomasz Chmielewski wrote:
Manuel Capinha wrote:
Connect to the server and enter the "Printers and Faxes" folder.
Right click, choose Server Properties.
Go into the Drivers tab and add the driver, just like as if it was a
Windows server.
hint: look at the subject (installing printer in a script).
it has to be done *fully* automatically, there is no place for going 
there and clicking here.
You need to do this to install the server copy of the printer driver.  
When you run your rundll command with the /in flag, it looks for the 
driver as it has been installed using (more or less) the procedure 
above.  This is how it's done, not with what you said about 'putting the 
driver in /blah/X32HP200C'.  When you do the install command from a 
login script there is no 'going there and clicking here', just a status 
box that disappears all by itself.

You should probably grab yourself a copy of '...By Example' by whatever 
means you like and bone up on the printing sections.  You can start here 
if you don't know where to find it.
http://us3.samba.org/samba/docs/man/Samba-Guide/happy.html#id2541726

this is done on a freshly installed machine, which didn't even join 
the domain.
If you didn't join the domain then how exactly is the login script being 
run?!?!?

--
--
Paul GiengerOffice: 701-281-1884
Applied Engineering Inc.
Systems Architect   Fax:701-281-1322
URL: www.ae-solutions.com   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] installing printer in a logon script

2004-11-05 Thread Tomasz Chmielewski
Manuel Capinha wrote:
Connect to the server and enter the "Printers and Faxes" folder.
Right click, choose Server Properties.
Go into the Drivers tab and add the driver, just like as if it was a
Windows server.
Afterwards, select the printer and set it up to use your newly setup driver.
All of this is explained in the manual in much more depth, off course :)
hint: look at the subject (installing printer in a script).
it has to be done *fully* automatically, there is no place for going 
there and clicking here.

this is done on a freshly installed machine, which didn't even join the 
domain.

any more ideas?
Tomek
--
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 in a logon script

2004-11-04 Thread Tomasz Chmielewski
On Thursday 04 November 2004 10:32, Tomasz Chmielewski wrote:
Unfortunately, this doesn't work so well: win2k complains that server,
on which the printer is installed, has no matching drivers. Then I can
choose "OK", which means that drivers will be installed from the local
machine. So when I choose OK, win2k uses local drivers and from now on I
can print from that win2k.
Is it possible to get rid of that question, so that printer installation
would be automatic? Either by using default win2k drivers, or these
which are on Samba server.
Make a [print$] share on your server and store all printer drivers there.
OK, so I did that share, put drivers to /var/lib/samba/drivers/W32X86, 
put them to /var/lib/samba/drivers/W32X86/HP2000C too, but despite of 
it, effect is still the same - win2k claims that there is no driver.

Any more steps I should do?
Tomek
--
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 in a logon script

2004-11-04 Thread Misty Stanley-Jones
On Thursday 04 November 2004 10:32, Tomasz Chmielewski wrote:
> Unfortunately, this doesn't work so well: win2k complains that server,
> on which the printer is installed, has no matching drivers. Then I can
> choose "OK", which means that drivers will be installed from the local
> machine. So when I choose OK, win2k uses local drivers and from now on I
> can print from that win2k.
>
> Is it possible to get rid of that question, so that printer installation
> would be automatic? Either by using default win2k drivers, or these
> which are on Samba server.

Make a [print$] share on your server and store all printer drivers there.

By the way, Kixtart (login script interpreter / language) makes it incredibly 
to automatically add printers.

Misty

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


[Samba] installing printer in a logon script

2004-11-04 Thread Tomasz Chmielewski
Hello,
I have Samba 3 PDC and win2k sp4 client.
I would like to install printer on a machine globally, for all users.
To do this, I use:
net use X: \\server\unattended /user:domain\unattended password
rundll32 printui.dll,PrintUIEntry /q /y /ga /in /n \\server\HP2000C
First line is mounting share (Administrator is not logged to the 
domain), and the second line is to install printer.

Printer drivers are placed in /var/lib/samba/drivers/W32X86/HP2000C
Unfortunately, this doesn't work so well: win2k complains that server, 
on which the printer is installed, has no matching drivers. Then I can 
choose "OK", which means that drivers will be installed from the local 
machine. So when I choose OK, win2k uses local drivers and from now on I 
can print from that win2k.

Is it possible to get rid of that question, so that printer installation 
would be automatic? Either by using default win2k drivers, or these 
which are on Samba server.

Perhaps I uploaded drivers to a wrong location?
Or maybe there is some Samba setting which could point to the right 
driver location?

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


[Samba] Installing Samba

2004-10-13 Thread Constance Mallon

Okay, well I've either really offended someone or I'm trying use Samba in a
way that it wasn't intended and no one wants to say so.

I apologize will try to find assistance elsewhere.



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


[Samba] Installing Samba on Solaris

2004-10-11 Thread Constance Mallon
Hi,

Last time I wrote, I recieved a follow-up from someone who told me to "read
the manual".  Since then I've discovered that we can't access the samba
system files from the MACs with samba on Solaris.  I've explained this to
the supervisor and he feels nfs will be fine. (Although the file system is
mounted on to a Solaris system from an Xserver which means we'll have to
reshare the files and I'm not sure if NFS will do that- but that's another
post) My next question doesn't appear to be covered in the how-to and I'm
hoping that someone can help.  Everyone on our network authenticates to the
name server. However, no one has a home directory.  We don't have a Windows
network or domain.  How can I set up windows users who need to access Samba
shares to authenticate trough the name server?  I've tried setting up server
level security (security = nameserver name) but that didn't work. It appears
that users can only be authenticated through the smb.passwd file.  Is there
anyway to bypass this and use our Solaris name server instead?

Any help would be very much appreciated!

Thank you,



orignal posting:

I'm new to Samba and Unix in general.  I've been given the task of setting
up Samba on a Solaris 7 server.  I been told that both Windows XP and Mac
systems need to access several folders on this system.  In addition, this
set up has to work with our Name server (dns1) to authenticate the users for
security.

I was able to set up Samba with NIS support but only the Windows clients can
see it properly and honestly - the shares are not showing up in Network
neighborhood - I have to search for them).  I would like to add that there
is no actual domain here (it's a Mac/Unix shop and I'm the Windows support
person).  The Windows clients don't have a windows network, no ADC, no PDC,
no WINS server).  The Mac clients can see the shared folders (ie:
/mnt/Applicatons or /mnt/users) but they are unable to see the contents of
the folders. In addition the only way the clients can access the Samba share
is if I create a local username and passwd for them (smbpasswd file).

I'm not even sure where to start at this point.  I think I need to reinstall
Samba with smbwrapper for the Macs?  I really need help - I've used both the
Samba.org website and the O'Reily Samba manual for assistance but I think
this situation may be a little on the odd side.

Thank you in advance,

cmallon

smb.conf:

[global]

# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
   workgroup = "workgroup"
encrypt passwords = yes
# server string is the equivalent of the NT Description field
   server string = Samba Server
# Security mode. Defines in which mode Samba will operate. Possible
# values are share, user, server, domain and ads. Most people will want
# user level security. See the Samba-HOWTO-Collection for details.
   security = user
# this tells Samba to use a separate log file for each machine
# that connects
   log file = /usr/local/samba/var/log.%m
# Put a capping on the size of the log files (in Kb).
   max log size = 50
# Most people will find that this option gives better performance.
# See the chapter 'Samba performance issues' in the Samba HOWTO Collection
# and the manual pages for details.
# You may want to add the following on a Linux system:
# SO_RCVBUF=8192 SO_SNDBUF=8192
   socket options = TCP_NODELAY

[Applications]
path = /mnt/Applications
public = yes
guest ok = yes
;   writable = yes
read only = no
;   printable = no

[Groups]
path = /mnt/groups
public = yes
guest ok = yes
read only = no

[Users]
path = /mnt/users
public = yes
guest ok = yes
read only = no


--
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] Installing printer Drivers into [print$]

2004-10-06 Thread James.Q.L
Hi,

I am trying to install the a HP 4100 printer driver to samba(2.2) from a xp machine. I 
have
download the driver from HP site.

I am following the instruction on the HOWTO by

Open the Windows Explorer, open Network Neighborhood, browse to the Samba host, open 
Samba's
Printers folder, right-click on the printer icon and select Properties, then prompted 
with 

"The '' printer driver is not installed on this computer.
Some printer properties will not be accessible unless you install the
printer driver. Do you want to install the driver now?"

click NO,  Click on New Driver to install a new printer driver , then the APW starts 
up. I picked
the HP 4100 driver from the list and prompted with window asking me to specify the 
driver
location. ( but windows xp comes with 4100 driver and i did tcp/ip printer install and 
it went
fine. ) anyway, i go download the HP 4100 driver and locate it in the above step, it 
complains
with 'windows cannot locate a suitable printer driver.'

i am really baffled.. what did i do wrong ?

many thanks,


Qiang



___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Installing Samba for Solaris 8's (SPARC 02/04 Editon) from the Companion Cd

2004-09-24 Thread Kaprino Mezzo
Hi,
  I installed Samba from  Solaris 8's (SPARC 02/04 Editon),Companion Cd on 3 
several SUN servers. 2 out of the 3 servers  wroks fine. I am wondering  is there any 
other packages that is a requiremetn for Samba?  I  also was able to  connect via 
smabclient from the other sun servers, but unable to connect from   a linux server & 
map the share directory from Windows XP Pro.  
  I have incldued "encrypt password = yes" and added accounts with smbpasswd -a 
option. But I get the following error messages  "32 bit error packet at line 520 
cmd=115 (SMBsesssetupX) eclass=c06d [Error: Unknown error (109,49152)]" when 
connecting from windows XP Pro. Seems like password is not working even when 
encrypted??
 
Any help would be apprectiated.
 
Regards,
Kap



-
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Installing Samba 3.0.5 in Mac OSX 10.3.4 server

2004-08-04 Thread Marcelo Pergolini

Hi all,

I'm installing Samba 3.0.5 in Mac OSX 10.3.4 server as root.
First, ./configure with-krb5=/usr/sbin

Second, when I do 'make' :

Compiling libsmb/clikrb5.c
libsmb/clikrb5.c: In function `krb5_locate_kdc':
libsmb/clikrb5.c:188: error: `krb5_krbhst_handle' undeclared (first use in this
function)
libsmb/clikrb5.c:188: error: (Each undeclared identifier is reported only once
libsmb/clikrb5.c:188: error: for each function it appears in.)
libsmb/clikrb5.c:188: error: parse error before "hnd"
libsmb/clikrb5.c:189: error: `krb5_krbhst_info' undeclared (first use in this
function)
libsmb/clikrb5.c:189: error: `hinfo' undeclared (first use in this function)
libsmb/clikrb5.c:197: error: `KRB5_KRBHST_KDC' undeclared (first use in this
function)
libsmb/clikrb5.c:197: error: `hnd' undeclared (first use in this function) 
make: *** [libsmb/clikrb5.o] Error 1



What's the problem?
Can I think that the kerberos path (/usr/sbin) is wrong?


Thanks


--
Marcelo G. Pergolini
Area Técnica
--
T O O L K I T
Revendedor Autorizado Apple Macintosh
Servicio Técnico Autorizado Apple Macintosh
9 de Julio 1177 - S2000BNW - Rosario
Santa Fe - Argentina
Tel/Fax: +54-341-4404853 y Rot.
www.toolkit.com.ar
--

---
[This E-mail scanned for viruses]

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


[Samba] Installing Samba 3.0.5 in Mac OSX 10.3.4 server

2004-08-04 Thread Marcelo Pergolini

Hi all,

I'm installing Samba 3.0.5 in Mac OSX 10.3.4 server as root.
First, ./configure with-krb5=/usr/sbin

Second, when I do 'make' show this error:

Compiling libsmb/clikrb5.c
libsmb/clikrb5.c: In function `krb5_locate_kdc':
libsmb/clikrb5.c:188: error: `krb5_krbhst_handle' undeclared (first use in this
function)
libsmb/clikrb5.c:188: error: (Each undeclared identifier is reported only once
libsmb/clikrb5.c:188: error: for each function it appears in.)
libsmb/clikrb5.c:188: error: parse error before "hnd"
libsmb/clikrb5.c:189: error: `krb5_krbhst_info' undeclared (first use in this
function)
libsmb/clikrb5.c:189: error: `hinfo' undeclared (first use in this function)
libsmb/clikrb5.c:197: error: `KRB5_KRBHST_KDC' undeclared (first use in this
function)
libsmb/clikrb5.c:197: error: `hnd' undeclared (first use in this function) 
make: *** [libsmb/clikrb5.o] Error 1



What's the problem?
Can I think that the kerberos path (/usr/sbin) is wrong?


Thanks

--
Marcelo G. Pergolini
Area Técnica
--
T O O L K I T
Revendedor Autorizado Apple Macintosh
Servicio Técnico Autorizado Apple Macintosh
9 de Julio 1177 - S2000BNW - Rosario
Santa Fe - Argentina
Tel/Fax: +54-341-4404853 y Rot.
www.toolkit.com.ar
--

---
[This E-mail scanned for viruses]

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


[Samba] installing samba 3.0.4 on MAC OS X issue

2004-06-18 Thread Talwar, Puneet (NIH/NIAID)
I am having a hard time installing samba 3.0.4 on MAC OS X 10.3.x "Panther".
I was able to run the configure command w/out any errors.  Here is what I am
getting when I run the make command.
 
Using FLAGS =  -O -I./popt -Iinclude -I/usr/local/samba-3.0.4/source/include
-I/usr/local/samba-3.0.4/source/ubiqx
-I/usr/local/samba-3.0.4/source/smbwrapper  -I. -I/sw/include
-I/usr/local/samba-3.0.4/source
  LIBS = -lresolv -ldl -liconv
  LDSHFLAGS = -bundle -flat_namespace -undefined suppress  -L/sw/lib
  LDFLAGS = -L/sw/lib
Compiling libsmb/clikrb5.c
libsmb/clikrb5.c: In function `krb5_locate_kdc':
libsmb/clikrb5.c:188: error: `krb5_krbhst_handle' undeclared (first use in
this function)
libsmb/clikrb5.c:188: error: (Each undeclared identifier is reported only
once
libsmb/clikrb5.c:188: error: for each function it appears in.)
libsmb/clikrb5.c:188: error: parse error before "hnd"
libsmb/clikrb5.c:189: error: `krb5_krbhst_info' undeclared (first use in
this function)
libsmb/clikrb5.c:189: error: `hinfo' undeclared (first use in this function)
libsmb/clikrb5.c:197: error: `KRB5_KRBHST_KDC' undeclared (first use in this
function)
libsmb/clikrb5.c:197: error: `hnd' undeclared (first use in this function)
make: *** [libsmb/clikrb5.o] Error 1
 
I would appreciate if someone can help me out here.
 
Thanks, 
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] installing 'pam_ldap' rpm on Fedora

2004-06-14 Thread abebe lsslp
I have Fedora core 1 and have everything else I need to start configuring LDAP for 
samba. I am following the Samba 3 documentations on www.samba.org.  
 
Here is what I get as I try to install  pam_ldap-38-mz1.i386.rpm
 
[EMAIL PROTECTED] rpms]# rpm -i pam_ldap*.rpm
error: Failed dependencies:
liblber.so is needed by pam_ldap-38-mz1
libldap.so is needed by pam_ldap-38-mz1
[EMAIL PROTECTED] rpms]# cd /usr/lib
[EMAIL PROTECTED] lib]# ls | grep libldap.so
libldap.so
libldap.so.2
libldap.so.2.0.122
[EMAIL PROTECTED] lib]# ls | grep liblber.so
liblber.so
liblber.so.2
liblber.so.2.0.122

does anybody have any idea what is going on?
 
Thanks
 
Ambex


-
Do you Yahoo!?
Friends.  Fun. Try the all-new Yahoo! Messenger
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] installing samba

2004-04-12 Thread Borghesi, Jason
I have installed Samba 3.0.0 for AIX 5.1.  I have several other
systems in the company that have a lower level installed.  I am
wanting to use the same data in the smb.conf from another system,
but I cannot find that file in the 3.0.0 version.  Where is/should
this be located?  I have looked in the /etc and /usr/local and a
samba directory does not exist.

 

Thanks,

Jason Borghesi

Distributed Systems

Wellpoint Health Networks

 

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


RE: [Samba] Installing Samba

2004-03-18 Thread Erik Hoitinga
Seems that the cc compiler is not installed. Did you run ./configure with
the necessary
options in the source directory. There's also some reading to do in the
Samba HOWTO
collection about compiling Samba.

Cheers,

Erik.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf
Of [EMAIL PROTECTED]
Sent: woensdag 17 maart 2004 20:09
To: [EMAIL PROTECTED]
Subject: [Samba] Installing Samba


Hi
I am trying to install Samba on a QNX 4.24 system.  When we run the make
file we get an error :

compiling server.c
make:cc:command not found
make: *** [server.o] error 127

Can you help with this!

Lucille Shears
Systems Analyst
CCG/DFO
[EMAIL PROTECTED]
(709) 772-3131
cell (685-1512)

--
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] Installing Samba

2004-03-17 Thread ShearsL
Hi 
I am trying to install Samba on a QNX 4.24 system.  When we run the make
file we get an error : 

compiling server.c 
make:cc:command not found 
make: *** [server.o] error 127

Can you help with this!

Lucille Shears
Systems Analyst
CCG/DFO
[EMAIL PROTECTED]
(709) 772-3131
cell (685-1512)

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


[Samba] Installing Mozilla on a SAMBA share

2004-01-29 Thread Andreas Lehmann
Hi list,

this is my first time in this list and guess what I have :-)

RIGHT - a question.

I have SAMBA running a while w/o any problems except one thing. Usually I 
install software for shared access or just to keep it away from Window$. 
So after I reinstalled Window$ I can easily use the program again w/o 
intallation. It works with Total Commander and other usefull applications.
But not with Mozilla. I always get the message -202 ACCESS DENIED. But I 
do have full rights on the share. It happens the same way with Opera but 
only if I upgrade or reinstall it in the same directory on the share.

This is the share definition

  writeable = yes
browseable = yes
force create mode = 0770
force directory mode = 0770
I'm using SAMBA v3.0.0 on SuSE Linux 8.2 Kernel 2.4.21

Thanks in advance

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


[Samba] Installing

2004-01-04 Thread Raúl Enrique Cedeño

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


RE: [Samba] installing gui interfaces for samba

2003-12-30 Thread Russell Lavoie
If Linux is looking for headers and such, you will need the qt-devel
package

Russ

-Original Message-
From: Andrew Gaffney [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 29, 2003 7:07 AM
To: [EMAIL PROTECTED]
Cc: samba
Subject: Re: [Samba] installing gui interfaces for samba


kent E. wrote:
> i've browse the web and found 'Smb4K - An SMB share browser for KDE' 
> since this is something similar like a windows sharing this would be 
> safer for our newbie(unix) users but i have problem installing the 
> package
> 
> ===
> checking for Qt... configure: error: Qt (>= Qt 3.1 (20021021)) 
> (headers and libraries) not found. Please check your installation! For

> more details about this problem, look at the end of config.log. 
> 
> 
> i already installed the qt ver 3.1++
> 
> [EMAIL PROTECTED] smb4k-0.3.1]# rpm -qa qt
> qt-3.1.1-6
> 

You might want to try to find an RPM for your distro for that program.
Another good SMB 
browser I've found is Xfsamba.

-- 
Andrew Gaffney


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


Re: [Samba] installing gui interfaces for samba

2003-12-29 Thread kent E.
On Mon, 2003-12-29 at 23:06, Andrew Gaffney wrote:
> kent E. wrote:
> > i've browse the web and found 'Smb4K - An SMB share browser for KDE'
> > since this is something similar like a windows sharing this would be
> > safer for our newbie(unix) users but i have problem installing the
> > package 
> > 
> > ===
> > checking for Qt... configure: error: Qt (>= Qt 3.1 (20021021)) (headers
> > and libraries) not found. Please check your installation!
> > For more details about this problem, look at the end of config.log.
> > 
> > 
> > i already installed the qt ver 3.1++
> > 
> > [EMAIL PROTECTED] smb4k-0.3.1]# rpm -qa qt
> > qt-3.1.1-6
> > 
> 
> You might want to try to find an RPM for your distro for that program. 

yes. i already did install the rpm version of the distro.. i think
before(by default) it is 3.0 

> Another good SMB browser I've found is Xfsamba.

ok i will check it out.

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


Re: [Samba] installing gui interfaces for samba

2003-12-29 Thread Andrew Gaffney
kent E. wrote:
i've browse the web and found 'Smb4K - An SMB share browser for KDE'
since this is something similar like a windows sharing this would be
safer for our newbie(unix) users but i have problem installing the
package 

===
checking for Qt... configure: error: Qt (>= Qt 3.1 (20021021)) (headers
and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.

i already installed the qt ver 3.1++

[EMAIL PROTECTED] smb4k-0.3.1]# rpm -qa qt
qt-3.1.1-6

You might want to try to find an RPM for your distro for that program. Another good SMB 
browser I've found is Xfsamba.

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


[Samba] installing gui interfaces for samba

2003-12-28 Thread kent E.
i've browse the web and found 'Smb4K - An SMB share browser for KDE'
since this is something similar like a windows sharing this would be
safer for our newbie(unix) users but i have problem installing the
package 

===
checking for Qt... configure: error: Qt (>= Qt 3.1 (20021021)) (headers
and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.


i already installed the qt ver 3.1++

[EMAIL PROTECTED] smb4k-0.3.1]# rpm -qa qt
qt-3.1.1-6


but still don't know whats missing ...

guyz can u help me up... 

TIA

Kent



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


[Samba] Installing a new version.

2003-11-22 Thread Stef Bon
Hello,

I found out that installing a new version of Samba isn't just 
entering the command 

make install

(after configure and make of course)

I had a lot of trouble when I installed samba version 3.0.1 pre2,
Windows 98 client didn't do logon's anymore. When I switched back to 
samba 3.0.0 rc1, no problems.

I spent a lot of time finding out what was wrong. I did not see any message 
in the mailinglist about "not able to logon with version 3.0.1pre2", so
it had to be my installation. After a long time I found out that I had to 
clean the "lock" directorie: remove all tdb files. After I did that 
everything was ok again.

Now, I think it's good to know for everybody! 
After installation of a new version, remove all "tdb" and "dat" files, and 
start from scratch. 

Or am I the only person who did not know this?
That would be really a waste of time.

Stef


And by the way: samba team, keep up the good work.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Installing samba 3.0 on redhat 9

2003-11-03 Thread rruegner
Hi, if you just upgrade an you have no valid files on the server which cant
be coruppted
you can use rpm -i --force --nodeps packetnames
on suse this works fine to upgrade from 2.28a to version 3 with rpm packs
But be carefull and keep clear that youre able to rollback if this fails
Best Regards
- Original Message - 
From: "Bjørn-Sverrre Nøttum" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 03, 2003 3:18 PM
Subject: [Samba] Installing samba 3.0 on redhat 9


> Hi!
>
> I am having problems trying to install samba 3.0 on my redhat 9 server.
> Installation of Samba common works fine but when I try to install the
samba
> package it stops. I get a message that libacl.so.1 and libaccl.so.2 is
> needed by samba. I have the newest libacl and libattr packages installed.
>
> Can anyone help me on this?
>
> Thanks!
>
> Bjorn
>
> _
> Se hva du og andre tjente i fjor http://money.msn.no/ Sjekk skatten nå
>
> -- 
> 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 samba 3.0 on redhat 9

2003-11-03 Thread Bruno Gimenes Pereti
I never installed samba3 from rpm but it looks like you need libacl-devel
(or acl-devel, don´t know the package name).

Bruno.

- Original Message - 
From: "Bjørn-Sverrre Nøttum" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 03, 2003 12:18 PM
Subject: [Samba] Installing samba 3.0 on redhat 9


> Hi!
>
> I am having problems trying to install samba 3.0 on my redhat 9 server.
> Installation of Samba common works fine but when I try to install the
samba
> package it stops. I get a message that libacl.so.1 and libaccl.so.2 is
> needed by samba. I have the newest libacl and libattr packages installed.
>
> Can anyone help me on this?
>
> Thanks!
>
> Bjorn
>
> _
> Se hva du og andre tjente i fjor http://money.msn.no/ Sjekk skatten nå
>
> -- 
> 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] Installing samba 3.0 on redhat 9

2003-11-03 Thread Bjørn-Sverrre Nøttum
Hi!

I am having problems trying to install samba 3.0 on my redhat 9 server. 
Installation of Samba common works fine but when I try to install the samba 
package it stops. I get a message that libacl.so.1 and libaccl.so.2 is 
needed by samba. I have the newest libacl and libattr packages installed.

Can anyone help me on this?

Thanks!

Bjorn

_
Se hva du og andre tjente i fjor http://money.msn.no/ Sjekk skatten nå
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Installing and configuring samba on AIX 5.2 and HPUX

2003-10-09 Thread aleksey zakharov
Hello list,
I need some help on obtaining samba installation
packages and installing/configuring them on AIX 5.2
and HPUX 11i. I like to mention that there are no
binary packages for AIX
(http://us4.samba.org/samba/ftp/Binary_Packages/AIX/)
and HPUX binaries seems to be corrupt, as I can't
unzip them.

I also like to mention that I have no CC or GCC
installed on neither of my systems.

Thanks,
Aleksey


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] installing printer drivers through APW problematic

2003-10-08 Thread Denis M.J.
Hi,

I'm part of an organization managing Windows clients with a couple of
GNU/Linux servers.
We're having some trouble configuring our Samba 3 Debian Linux server.
It's just a domain member with authentification done with a Windows AD
Domain Controller, it's supposed to be our new print server.
The printers have already been set up for lprng.
Whenever trying to add a driver to any printer throught the Add Printer
Driver Wizard on a Windows client, with a username part of
the 'print admin' group, we get this error message:
"Unable to install HP Lazerjet 4000 Series PCL 6, Windows 2000, Intel
Driver. Access denied"
All our printers are in /etc/printcap already.
There are no entries for any of them in smb.conf
gutenberg:/var/log/samba# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_DOMAIN_MEMBER
Press enter to see a dump of your service definitions
# Global parameters
[global]
   workgroup = MYGROUP
   realm = MYGROUP.MYREALM
   server string = %h server (Samba %v)
   security = ADS
   password server = PWDSERV
   syslog = 3
   log file = /var/log/samba/log.%m
   max log size = 1000
   dns proxy = No
   panic action = /usr/share/samba/panic-action %d
   idmap uid = 1-2
   idmap gid = 1-2
   printer admin = root, @MYGROUP\Staff
[printers]
   comment = All Printers
   path = /var/spool/smbprint
   create mask = 0700
   printable = Yes
   use client driver = Yes
   browseable = No
[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   write list = root, @MYGROUP\Staff
   create mask = 0700
gutenberg:/var/log/samba#
We've read and re-read the chapters/section apropos in the doc, but
can't find what we're doing wrong.
Help or advice would be greatly appriciated :)
Kudos for all the samba people, samba is awesome :)
DJ


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


[Samba] Installing initscripts

2003-09-23 Thread emma emma
good day all,

pls anyone have a clue how i can resolve:

the issue of Installing initscripts thru YAST2, 
# rpm --verify initscripts tells me initscripts is not
installed.

am using SUSE 8.0 with Samba 2.2.3a. #smbclient -U% -L
localhost tells me error connecting to 127.0.0.1:139
(Connection refused)

Thanks

iyke

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Installing office on a 3.0.0-8rc3 share

2003-09-18 Thread Douglas Phillipson
I'm having trouble installing OfficeXP on an win2000 machine that has a 
samba share.  Office XP installs and gets almost to the end then coughs 
an obscure error and states that two files will be sent to microsoft for 
debugging, which aren't there I might add.  I can install the same 
software just fine on a share from a Win2000 server so my question is, 
how could it know the difference?  I'm not sure what additional 
information I could post here that would be helpful.  The share has full 
write permission and the files show up on the share.  Then at the end it 
fails and backs out all the files and barfs the bogus error message.

Thanks

DSP

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


Re: [Samba] Installing additional features after install

2003-09-10 Thread Alexander List
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 9 Sep 2003 [EMAIL PROTECTED] wrote:

> How can i install features for samba3.0rc2 after installing with rpm?? I
> want to have the feature disk quota.

You cannot install "features" that are not compiled into the binary. If
quota support isn't included in your rpm, you will have to get the SRPM
from http://at.samba.org/ftp/Binary_Packages/RedHat/SRPMS/ then run
configure with the appropriate switches and recompile. I dont'know how to
automatically build RPMs, but http://www.rpm.org/RPM-HOWTO/build-it.html
knows.

You might also have a look at

http://at.samba.org/samba/devel/docs/html/Samba-HOWTO-Collection.html#compiling

regards

Alex


- -- 
"Life is what happens to you while you're busy making other plans."
--John Lennon

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/XtJwNf7NP+s4C+YRAvmFAJ4s8nU4QUCJUVueC5b6tqxOUf47cACgogI8
G98SuIVc8ICbfiw8j6lhn84=
=WiIR
-END PGP SIGNATURE-


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


[Samba] Installing additional features after install

2003-09-09 Thread paul.schaefers
How can i install features for samba3.0rc2 after installing with rpm?? I want to have 
the feature disk quota.
mfg

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


Re: [Samba] installing samba printer on windows xp

2003-08-04 Thread Helen Nulty
We ran into this also.  We learned that there is a Point and Print
Restrictions Policy Setting in Windows Server 2003 and Windows XP that may
prevent some users from installing the new printers.  See this article:
http://support.microsoft.com/?kbid=319939

Helen

daryl wrote:

> hello everyone. i am running into an issue where xp pro clients
> must have local admin rights to be able to install a samba printer.
> the actual error message is:
>
> A policy is in effect on your computer which prevents you from
> connecting to this print queue. Please contact your System Administrator.
>
> well, i am the system administrator and am not sure where to go next.
> i am able to install the printer if i have local admin privileges on the
> windows xp host, but this wont scale very well. i have created a
> print package using mkprintpkg.pl and the instructions at:
> http://us2.samba.org/samba/ftp/docs/htmldocs/printer_driver2.html
> but still have the same problem.
>
> maybe i've missed some documentation? or someone can help explain
> where/if i've gone wrong. the linux box can print fine to the printer
> and my smb.conf looks like this:
>
> [printers]
>   comment = CompassAI Printers
>   path = /var/spool/lpd/samba
>   browseable = no
>   public = yes
>   guest ok = yes
>   read only = yes
>   printable = yes
>   printer admin = root, jon
>
> [print$]
>   comment = Print Drivers
>   path = /etc/samba/drivers
>   browseable = yes
>   guest ok = no
>   read only = yes
>   write list = root, jon
>
> you help is greatly appreciated.
>
> daryl
>
> --
> 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] installing samba printer on windows xp

2003-08-04 Thread daryl
hello everyone. i am running into an issue where xp pro clients
must have local admin rights to be able to install a samba printer.
the actual error message is:
A policy is in effect on your computer which prevents you from
connecting to this print queue. Please contact your System Administrator.
well, i am the system administrator and am not sure where to go next.
i am able to install the printer if i have local admin privileges on the
windows xp host, but this wont scale very well. i have created a
print package using mkprintpkg.pl and the instructions at:
http://us2.samba.org/samba/ftp/docs/htmldocs/printer_driver2.html
but still have the same problem.
maybe i've missed some documentation? or someone can help explain
where/if i've gone wrong. the linux box can print fine to the printer
and my smb.conf looks like this:
[printers]
 comment = CompassAI Printers
 path = /var/spool/lpd/samba
 browseable = no
 public = yes
 guest ok = yes
 read only = yes
 printable = yes
 printer admin = root, jon
[print$]
 comment = Print Drivers
 path = /etc/samba/drivers
 browseable = yes
 guest ok = no
 read only = yes
 write list = root, jon
you help is greatly appreciated.

daryl

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


RE: [Samba] Installing Samba 2.2.8a on Solaris 2.6

2003-07-14 Thread Stefan Mansier
en to conftest
ld: fatal: Symbol referencing errors. No output written to conftest
ld: fatal: Symbol referencing errors. No output written to conftest
ld: fatal: library -lsecurity: not found
ld: fatal: File processing errors. No output written to conftest
ld: fatal: library -lsecurity: not found
ld: fatal: File processing errors. No output written to conftest
ld: fatal: Symbol referencing errors. No output written to conftest
ld: fatal: library -lsecurity: not found
ld: fatal: File processing errors. No output written to conftest
ld: fatal: Symbol referencing errors. No output written to conftest
ld: fatal: Symbol referencing errors. No output written to conftest
ld: fatal: Symbol referencing errors. No output written to conftest
ld: fatal: Symbol referencing errors. No output written to conftest
ld: fatal: Symbol referencing errors. No output written to conftest
ld: fatal: Symbol referencing errors. No output written to conftest


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
On Behalf Of Stefan Mansier
Sent: maandag 14 juli 2003 12:09
To: [EMAIL PROTECTED]
Subject: [Samba] Installing Samba 2.2.8a on Solaris 2.6


Hi,

I am trying to install Samba 2.2.8a on Solaris 2.6 using GCC 2.95 but
somewhere it seems to fail. I am not that experienced with compiling and
stuff but I took a look at config.log and see a few error messages but
its not clear to me where it went wrong. Attached to this message I have
the config.log (zipped) Hope anyone of you can help me out here.

Thanks!

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


[Samba] Installing Samba 2.2.8a on Solaris 2.6

2003-07-14 Thread Stefan Mansier
Hi,

I am trying to install Samba 2.2.8a on Solaris 2.6 using GCC 2.95 but
somewhere it seems to fail.
I am not that experienced with compiling and stuff but I took a look at
config.log and see a few error messages but its not clear to me where it
went wrong.
Attached to this message I have the config.log (zipped)
Hope anyone of you can help me out here.

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

RE: [Samba] Installing samba on Red Hat 8

2003-06-25 Thread Vizitiu, Ciprian
> I get a msg. like "flie blabla conflicting with file from 
> samba-2.2.7'' or something like that.

How about more details about that "blabla"? :-/

In principle there is a big difference between samba.rpm that you get from
samba.org and samba that comes with RedHat. RedHat splits the samba package
in several parts. Mount the RH CDROMs and see how many sambas you can find.
Most likely Redhat installed only a part of the samba suite like
samba-client or smth; the response in the "blabla" part. OTOH samba from
samba.org is a big gulp it gets you everything. You have to choose which
path you'll go. Oh, and if you're in search of one installed package do a
"rpm -qa | grep package"; rpm -q samba will just ask about samba but if all
you have is samba-client...
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Installing samba on Red Hat 8

2003-06-25 Thread admir
Yo All,

I am trying to install Samba 3 beta on my RH 8 machine.

At the installation of red hat I chosed not to install samba.
I downloaded beta rpm for Red Hat and when I try insatling it I get a msg.
like "flie blabla conflicting with file from
samba-2.2.7'' or something like that.

Now I try runing comand rpm -q samba end that tels me there is no rpm samba.
Not installed! Right?

Then I try this rpm -i --replacefiles samba-3.0.0beta1-1.i386.rpm

that seems to be working.

Now I look for smbpasswd in /etc/samba and I found it is not there and I
supose some other critical files are missing too or they are not where they
shoud be.

Next think I do is rpm -e samba-3.0.0beta1-1 and that works fine.

then I trye compiling the package my self by downloading tar ball and
running command tar -xvzf to unpack the tarrball.
Evrything gets unpacked.
then I run ./configure and then make, make install. Evrything is installed
but there is no swat file in my xinetd.d.

What do I do now? I am new at Linux and I am out of options. Please Help?

I wil be greatfull for the rest of my life.

Regards,

Admir







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


RE: [Samba] Installing Samba on AIX

2003-03-28 Thread Roylance, Stephen D.
> Hi,
>  
> I'm installing Samba version 2.2.7.0 using smit install.  
> Smit installs everything but doesn't create a 
> /usr/local/samba dir.  All the samba files are located in 
> /usr/local/bin.  But when I try to test my setup and so 
> smbpasswd, it wants to look for everything in /usr/local/samba dir.
>  
> Should I just create a /usr/local/samba dir and copy all the 
> samba files from bin to the respective samba dir?

Samba 2.2.8 compiles and installs pretty easily from source for me on AIX
5.1  You can get a gcc RPM from the IBM AIX toolbox,
http://www-1.ibm.com/servers/aix/products/aixos/linux/download.html.

> Thanks...Bobby

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


  1   2   >