[Samba] Problem with printer drivers downloading

2007-05-25 Thread Karl Banasky

Hello everyone.

I am having a problem with my printer drivers getting loaded by users.  
I setup as domain admin user and am the only one who can add a printer 
and have it auto load the drivers.  i have everything setup the way 
multiple website say to set it up.  I have a user of the Domain Users 
group who has *SePrintOperatorPrivilege* for their user name.
When they double click the printer to connect/ install it, I get a 
message that the drivers cannot be found.  looking in the logs I see a 
permissions error but I cannot for the life of me see why I get that. I 
am setup as a PDC.


[printers]
  comment = SMB Print Spool
  path = /var/spool/samba
  guest ok = Yes
  printable = Yes
  use client driver = no
  default devmode = Yes
  browseable = no
  public = yes
  writable = no

[print$]
  comment = Printer Drivers
  path = /share/scripts/cups/drivers
  browseable = yes
  #Valid users = @Domain Users, @Domain Admins
  guest ok = yes
  read only = yes
  write list = karl, @Domain Admins

Any ideas on what to do?  Thanks.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Problem with printer drivers downloading

2007-05-25 Thread Karl Banasky

Marc Muehlfeld wrote:

Hi,

Karl Banasky schrieb:
  

... I get a message that the
drivers cannot be found.  looking in the logs I see a permissions error
but I cannot for the life of me see why I get that.

[print$]
comment = Printer Drivers
path = /share/scripts/cups/drivers
browseable = yes
#Valid users = @Domain Users, @Domain Admins
guest ok = yes
read only = yes
write list = karl, @Domain Admins



What are the permissions on /share/scripts/cups/drivers? The user must
have the change to read this files. Maybe there are some permission
problems with higher levels directories in your case, too.

These are the permissions on my Printer Driver share:

# ls -lad /shares/Printer/
drwxrwsr-x  4 root Print Operators 4096 2006-10-02 13:33 /shares/Printer/



  
I have it wide open, an 0777 on the chmod, all the way to the root 
directory.  Also what is the s for in that drwx... was that just a 
miss type? Or do I not know what that signifies?

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


[Samba] Problem with printer drivers downloading

2007-05-03 Thread Karl Banasky

Hello everyone.

I am having a problem with my printer drivers getting loaded by users.  
I setup as domain admin user and am the only one who can add a printer 
and have it autoload the drivers.  i have everything setup the way 
multipule website say to set it up.  I have a user of the Domain Users 
group who has *SePrintOperatorPrivilege* for thier user name.
When they double click the printer to connect/ install it, I get a 
message that the drivers cannot be found.  looking in the logs I see a 
permissions error but I cannot for the life of me see why I get that. 
I am setup as a PDC.


[printers]
   comment = SMB Print Spool
   path = /var/spool/samba
   guest ok = Yes
   printable = Yes
   use client driver = no
   default devmode = Yes
   browseable = no
   public = yes
   writable = no

[print$]
   comment = Printer Drivers
   path = /share/scripts/cups/drivers
   browseable = yes
   #Valid users = @Domain Users, @Domain Admins
   guest ok = yes
   read only = yes
   write list = karl, @Domain Admins

Any ideas on what to do?  Thanks.

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


Re: [Samba] Problems with XP clients and profiles

2006-01-02 Thread Karl Banasky




 I thought this had to do with the machine and user ID number (SID)
 related to the Domain server. If you do a pdbedit -Lv -u username you
 will see the SID numbers for that user. I would check and see that the
 first set of numbers related to the domain or workgroup (I think) match.
 I ran in to a similar problem before and I thought that is what I read
 was my problem.
 Hard subject to research if I remember correctly.
 Karl-



Martin Miethe wrote:
However, the problem arises when I try to get the existing clients 
setup for the new domain. I'm able to join the domain without a 
problem. However, when I reboot and try to login via a samba username 
/ password (we're using a first initial-last name convention), 
Windows creates a new profile in C:
\Documents and Settings\username.NEWDOMAIN, while all of the original 
data is in C:\Documents and Settings\username, and is essentially 
gone as far as the users are concerned. 


Try this:
1) create a new account with admin rights (maybe administrator 2)
2) go to local users and groups - right click on Administrators - 
Add to Group - Add... - Location - select your local computer name;

enter the account name from 1) in the white box (administrator2)
3) restart!
4) go to the icon my computer - righ click - properties - 
advanced - user profiles - settings
from here copy the content from the local profile (username) to the 
DOMAIN.username profile;
before you click OK, change the permitted to use to everyone (type 
Everyone in the whitebox)

5) click ok and wait ... you can delete the new administrator2 account

regards,



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


Re: [Samba] Problems with XP clients and profiles

2006-01-02 Thread Karl Banasky
It is installed with SAMBA 3.0  I am running CentOS and fedora, on both. 
 should be a man page on it.  Also did you mean to mis-spell it? It is 
pdbedit.  Could do a locate on it to see where it is, might not be 
path-ed correctly.
Here is a link to a man page on it: 
http://www.die.net/doc/linux/man/man8/pdbedit.8.html


It is good practice to say what version of Samba you are running along 
with the OS.


Karl-

Z B wrote:
Is pbedit a part of Samba or Windows? I'm not finding the command on the 
CentOS server or on an XP client...


ZB

Karl Banasky wrote:





 I thought this had to do with the machine and user ID number (SID)
 related to the Domain server. If you do a pdbedit -Lv -u username you
 will see the SID numbers for that user. I would check and see that the
 first set of numbers related to the domain or workgroup (I think) match.
 I ran in to a similar problem before and I thought that is what I read
 was my problem.
 Hard subject to research if I remember correctly.
 Karl-



Martin Miethe wrote:

However, the problem arises when I try to get the existing clients 
setup for the new domain. I'm able to join the domain without a 
problem. However, when I reboot and try to login via a samba 
username / password (we're using a first initial-last name 
convention), Windows creates a new profile in C:
\Documents and Settings\username.NEWDOMAIN, while all of the 
original data is in C:\Documents and Settings\username, and is 
essentially gone as far as the users are concerned. 



Try this:
1) create a new account with admin rights (maybe administrator 2)
2) go to local users and groups - right click on Administrators 
- Add to Group - Add... - Location - select your local computer 
name;

enter the account name from 1) in the white box (administrator2)
3) restart!
4) go to the icon my computer - righ click - properties - 
advanced - user profiles - settings
from here copy the content from the local profile (username) to the 
DOMAIN.username profile;
before you click OK, change the permitted to use to everyone (type 
Everyone in the whitebox)

5) click ok and wait ... you can delete the new administrator2 account

regards,







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


Re: [Samba] Trouble Connecting to Server

2006-01-02 Thread Karl Banasky
Did you put the WINS ipaddress in the windows client? if it don't no 
where to get the info I have found it to get the info. There is a way to 
put that in the DHCP Server setting, that is beyond me.

Also you can do a locate tdb files and do a tdbdump on the wins info.
Do you have user accounts, like any setup?
Also do you have host allow =  and host deny =  along with  the 
interfaces = setup correctly?

Some things to look at.
Karl


Craig White wrote:

On Mon, 2006-01-02 at 22:24 -0600, Eric Hines wrote:

At 01/02/06 21:37, Adam Nielsen wrote:

I'm having trouble connecting to my Samba server.  The immediate
symptom is that I cannot see my Samba server in my Windows Network
Neighborhood, and so I cannot connect to it to check my share
connections.


try 'wins support = yes' in smb.conf


You can still go Start | Run \\ip.address to connect to a 'hidden'
Samba server.
I get a network path not found error.  However, when I do the same 
thing for each of the two subnets, I get invited to log in (my Samba 
error, I think--I may have not yet put anything into my tdbsam.  I'm 
still trying to get the network itself to work.)



I can ping all by hostname, as well as by FQDN; although it appeared
that I could not ping sserver by hostname only until I added sserver
and its FQDN to the PC's host file (which it reads as though it were
an lmhosts file).  I say it appeared because it looked like the
forward and reverse look up files for sserver appeared in the PC's
resolver cache before I made this addition, but I got too fast with a
ping test and contaminated that datum.

It sounds like nmbd isn't running, or more likely, it's only running
on one subnet.  There are all sorts of issues using NetBIOS names
across different subnets, but Google will tell you all about that.
I do have only one instance of nmbd running, and two of smbd.  How do 
I get another nmbd instance to run?


not needed




If running \\samba.ip on a Windows box works, then this is definitely
the problem.
Additional data, from an error log I have named.conf generating, 
keeping in mind that I have dynamic dns turned on.  I'm getting 
messages to the effect that my test1 dot biz dot hosts dot jnl file 
(test1 dot biz dot hosts is the forward lookup file that, among other 
things, defines the points of contact for my two subnets) cannot be 
created due to a permission denied error.  My test1 dot biz dot hosts 
forward lookup table lives in /var/lib/named/master directory, with 
permissions rw-r--r--, and it's owned by root:root.  Further, even 
though I have ddns running, this test1 dot biz dot hosts file remains 
unchanged from the day I created it--not a thing has been added to 
it.  Should there have been by now, or am I exposing my ignorance 
here?  Further, my named and dhcpd are running in separate chroot 
jails.  Is this causing problems with updating this file--or any 
other of my forward lookup files?


on most systems, named runs as user named and thus cannot make changes
to files owned by root:root and cannot create journal files in folders
unless owned by named:named and chmod 775

Finally, what do the error messages mean, and what do I need to do to 
correct that?


probably follow some of the best documentation available and resist the
temptation to shortcut it.

http://samba.org/samba/docs/man/Samba3-ByExample/

this might be just the chapter you are looking for...
http://samba.org/samba/docs/man/Samba3-ByExample/Big500users.html

Craig


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


Re: [Samba] Trouble Connecting to Server

2006-01-02 Thread Karl Banasky

Sorry looked at the original email and this seemed to be in it.
How are your firewall setting? Also I thought you would need to have it 
this way :

interfaces = 192.168.2.2/24 192.168.3.1/24
Anyways this is more then I have done.
Karl-

Karl Banasky wrote:
Did you put the WINS ipaddress in the windows client? if it don't no 
where to get the info I have found it to get the info. There is a way to 
put that in the DHCP Server setting, that is beyond me.

Also you can do a locate tdb files and do a tdbdump on the wins info.
Do you have user accounts, like any setup?
Also do you have host allow =  and host deny =  along with  the 
interfaces = setup correctly?

Some things to look at.
Karl


Craig White wrote:

On Mon, 2006-01-02 at 22:24 -0600, Eric Hines wrote:

At 01/02/06 21:37, Adam Nielsen wrote:

I'm having trouble connecting to my Samba server.  The immediate
symptom is that I cannot see my Samba server in my Windows Network
Neighborhood, and so I cannot connect to it to check my share
connections.


try 'wins support = yes' in smb.conf


You can still go Start | Run \\ip.address to connect to a 'hidden'
Samba server.
I get a network path not found error.  However, when I do the same 
thing for each of the two subnets, I get invited to log in (my Samba 
error, I think--I may have not yet put anything into my tdbsam.  I'm 
still trying to get the network itself to work.)



I can ping all by hostname, as well as by FQDN; although it appeared
that I could not ping sserver by hostname only until I added sserver
and its FQDN to the PC's host file (which it reads as though it were
an lmhosts file).  I say it appeared because it looked like the
forward and reverse look up files for sserver appeared in the PC's
resolver cache before I made this addition, but I got too fast with a
ping test and contaminated that datum.

It sounds like nmbd isn't running, or more likely, it's only running
on one subnet.  There are all sorts of issues using NetBIOS names
across different subnets, but Google will tell you all about that.
I do have only one instance of nmbd running, and two of smbd.  How do 
I get another nmbd instance to run?


not needed




If running \\samba.ip on a Windows box works, then this is definitely
the problem.
Additional data, from an error log I have named.conf generating, 
keeping in mind that I have dynamic dns turned on.  I'm getting 
messages to the effect that my test1 dot biz dot hosts dot jnl file 
(test1 dot biz dot hosts is the forward lookup file that, among other 
things, defines the points of contact for my two subnets) cannot be 
created due to a permission denied error.  My test1 dot biz dot hosts 
forward lookup table lives in /var/lib/named/master directory, with 
permissions rw-r--r--, and it's owned by root:root.  Further, even 
though I have ddns running, this test1 dot biz dot hosts file remains 
unchanged from the day I created it--not a thing has been added to 
it.  Should there have been by now, or am I exposing my ignorance 
here?  Further, my named and dhcpd are running in separate chroot 
jails.  Is this causing problems with updating this file--or any 
other of my forward lookup files?


on most systems, named runs as user named and thus cannot make changes
to files owned by root:root and cannot create journal files in folders
unless owned by named:named and chmod 775

Finally, what do the error messages mean, and what do I need to do to 
correct that?


probably follow some of the best documentation available and resist the
temptation to shortcut it.

http://samba.org/samba/docs/man/Samba3-ByExample/

this might be just the chapter you are looking for...
http://samba.org/samba/docs/man/Samba3-ByExample/Big500users.html

Craig


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


[Samba] Samba recycle VFS: File date stamp

2005-08-05 Thread Karl Banasky
Hello everyone.   I have been looking and looking on the internet and this list 
for information on how to setup the recycle VFS setting so that the file 
deleted and then moved to the recycle directory is date stamped with the move 
date not the file's original date.

Can anyony assistme in getting the answer?  
Thanks. 

Karl Banasky
Linux user number 386571

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


[Samba] Samba recycle VFS: File date stamp

2005-08-05 Thread Karl Banasky
Hello everyone.   I have been looking and looking on the internet and this list 
for information on how to setup the recycle VFS setting so that the file 
deleted and then moved to the recycle directory is date stamped with the move 
date not the file's original date.

Can anyony assistme in getting the answer?  
Thanks. 

Karl Banasky
Linux user number 386571

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


[Samba] Recycle error - empty file

2005-03-29 Thread Karl Banasky
I set up a recycle VFS for my install of SAMBA and it work great except for one 
thing.  I seem to get empty files created. It creates file.doc with 0 bytes.  
Anyone know why this is? I have serched for this but I find the search alittle 
hard to narrow down.  
Any help would be greatly appreciated. 
Thanks
Karl-

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


[Samba] Recycle error - empty file

2005-03-29 Thread Karl Banasky
I set up a recycle VFS for my install of SAMBA and it work great except for one 
thing.  I seem to get empty files created. It creates file.doc with 0 bytes.  
Anyone know why this is? I have serched for this but I find the search alittle 
hard to narrow down.  
Any help would be greatly appreciated. 
Thanks
Karl-

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


Re: [Samba] Re: No vscan HOWTOs?

2005-03-27 Thread Karl Banasky
I have been installing it on my Centos 4 box.  Got it working on a 
quarentine bases. That way I can see if it is working correctly. There 
are some test Virus sites available to download a test virus to your 
share and see what happens.  Might be dangerous but useful.  I worked 
from src.rpms for all of it except samba-vscan.
My issues were:
1) Not having the Samba source (configured and make); Solved it by 
rpmbuild -bc samba-src.rpm(Source showed in the BUILD directory.
2) Not having the socket configured correctly in the clamd.conf and 
the vscan-clamav.conf; Solved it by enabling it in the clamd.conf 
file and verified same location in the vscan-clamav.conf file
3) Build issues with clamav-.src.rpm; solved by yum'ing in 
sendmail-devel and sendmail-cf

Other then that it was straight forward.
Jim C. wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[chuckle]
I think I've got it working.  Apparently one just has to add the clamav
user to the 'Domain Admins' group so that it can do it's job.  I've been
googleing around and it looks like a whole lot of people are missing
this, i.e. that clamav.
I could use some pointers on how to be sure it is working though. I'm
not seeing it in my logs, but I'm also not sure where to look.
Jim C.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCR1vV57L0B7uXm9oRAs+cAJ0RrLMa6Ou/RehR0dprQkK6Tjg7lgCfXz5j
/Mtirt+9h7H6w3joPTw22Dc=
=r98u
-END PGP SIGNATURE-

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


Re: [Samba] FC3 Binaries on Centos4 / RHEL4 ?

2005-03-24 Thread Karl Banasky
John Schmerold wrote:
Has anyone had problems using Samba FC3 binaries with Centos4 ?
Guess it would be interesting to know if RH9 binaries can be expected 
to work without problem on Centos3 / RHEL4

Everything seems to be working.
I used the src.rpms   Did a rpmbuild --rebuild and installed the built 
rpms.  Used the source rpms for fedora core 3.  Redhat 9 does not build 
the right rpms for centos 3 or 4. 

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


[Samba] Domain logon error

2004-08-11 Thread Karl Banasky
Hello.  This my first go at 3.0.5 samba. I am going off of chapter four in the 
examples.
I have set it all up and go to my System properties to join a domain when I am asked 
for a user.  In 2.2.x I was instructed to create a root user to be able to join a 
domain.  Is this who I use for 3.0?  
If it is...
When I go to create the root user ( pdbedit -a -u root) I get the following error:
[EMAIL PROTECTED] # pdbedit -a -u root
new password:
retype new password:
tdb_update_sam: Failing to store a SAM_ACCOUNT for [root] without a primary group RID
Unable to add user! (does it already exist?)

How do I join the domain? And is there better documentation on the pdbedit command? It 
seems so mysterious in both SAMBA guides. 

I am running -
samba 3.0.5 - from srpm (rpmbuild -bb samba.spec)
Fedora Core 2 with yum updates

Thanks. 

Karl Banasky

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


[Samba] Redhat build

2004-01-28 Thread Karl Banasky
I am looking to build SAMBA from source for Redhat 9.  What are the standard -with 
statements that I should use?  Like the ones for the RPM.  I am looking to use :
Samba 3.X
Cups 1.1.X
BitDefender  which is the vfs function in SAMBA (standard now with 3.X?)

Is there any info I need to be aware of that is of the learning curve area?
Thanks.

Karl Banasky
Computer Systems Administrator
Email [EMAIL PROTECTED]

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


[Samba] Samba 3.0 PDC tdbsam

2003-11-20 Thread Karl Banasky
Hello.  I am setting up a SAMBA 3.0 PDC as per the How To Guide doing the basic config 
with tdbsam as passdb backend.  I am getting the error that it can not access the 
database file.  Does anyone know why and what to do to solve this?  I even said told 
it where the file was; passdb backend = tdbsam /etc/samba/passdb.tdb.   I can not seem 
to find any info on this error.  If you need more info I can get it just let me know 
what you need.  
I also looked in the logs and it seems to not say anything as an error message.
Thanks.

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


re: [Samba] Samba 3.0 PDC tdbsam

2003-11-20 Thread Karl Banasky
as an adder:  here is the error message:
pdb_getsampwnam: unable to open TDB passwd (/etc/samba/passdb.tdb)!
Any ideas on how to fix or even what the problem is?  I changed the permissions to 
wide open and no change.
Thanks
Karl banasky

   Hello.  I am setting up a SAMBA 3.0 PDC as per the How To Guide doing the
   basic config with tdbsam as passdb backend.  I am getting the error that
   it can not access the database file.  Does anyone know why and what to do
   to solve this?  I even said told it where the file was; passdb backend =
   tdbsam /etc/samba/passdb.tdb.   I can not seem to find any info on this
   error.  If you need more info I can get it just let me know what you
   need.  
   I also looked in the logs and it seems to not say anything as an error
   message.
   Thanks.

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


[Samba] Testpram question

2003-09-29 Thread Karl Banasky
Hello.  I am looking at using SAMBA 3.0.0 on a RedHat 9 server.  Have a 2.2.8 working. 
 I am having trouble with documents about 3.0.0.  Any recommendations would be great, 
thanks.
Now the question.  I ran testpram on a 3.0.0 install and I get a Server role: 
ROLE_STANDALONE  What is this? I see no reference to this.
Thanks for the help.


Karl Banasky
Computer Systems Administrator
HEATCON®
Email [EMAIL PROTECTED]
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


re[2]: [Samba] Testpram question

2003-09-29 Thread Karl Banasky
Wow.  Thanks and what ignorance comes from me from time to time.  The documents are a 
blissful sight, I briefly looked through them (I will explore more detail soon) and 
what a work of art.  Thank you for pointing me to them, which I did look at earlier 
but not much conviction as to if they were up to date (looked at them from the SAMBA 
web sight).  Your words were all I needed to solidify its accuracy.  Thanks again for 
the great job you and the rest of the SAMBA team continue to do.  I look forward to 
learning more about 3.0.0 and answering some posts on this list myself.
Cheers!

Oh, you asked for contributions to the documents lay out or something of the like.  
This is a small and might not be greatly relevant suggestion:  On the title page put 
that it covers some 2.2.X and mostly 3.X as of date (differences in italics?).  I say 
this with my own confusion as to the differences between setting up a 2.2 server and a 
3.0 sever, Is it greatly different? I do not know: I will soon find out thou. Rhyme 
intentional:)
Thanks for listening.
Karl-

  On Mon, 29 Sep 2003, Karl Banasky wrote:

Hello.  I am looking at using SAMBA 3.0.0 on a RedHat 9 server.  Have a
2.2.8 working.  I am having trouble with documents about 3.0.0.  Any
recommendations would be great, thanks. Now the question.  I ran
testpram on a 3.0.0 install and I get a Server role: ROLE_STANDALONE
What is this? I see no reference to this. Thanks for the help.

   Karl,

   What problems are you having with the documentation for 3.0.0? I'd like to
   help, but your complaint is not clear.

   There is in the Samba-HOWTO-Collection.pdf that you will find in the
   ~samba/docs directory of the samba-3.0.0 tarball a chapter called Server
   Types and Security Modes and there is a chpater on Stand-Alone Server
   configuration. Please help me to understand what I should have put into
   the document that is not there. What did I get wrong? I am sure something
   is wrong with the documentation if you believe this to be the case. Just
   one request though, please help me to understand what I did wrong so it
   can be fixed.

   Cheers,
   John T.
   -- 
   John H Terpstra
   Email: [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] I get two diffrent errors now...:-(

2003-07-09 Thread Karl Banasky
My understanding of a PDC is limited and yet I remember it saying that a netlogon 
share is required for a Domain server.  Other then that I do not see very much that is 
wrong.  I found out that root has to have an account and root has to be the first user 
to join the domain on any client.  Hope this help get you going.  Cheers.
Karl


  Hi Team,
  For the last several days I have worked very hard in trying to get a
  Samba
  PDC up.
  I have now reinstalled RH9- running Samba 2.2.7a and everything is
  running.
  But now I can't even get it to comeup as workf group.
  One error i get SMIS DOMAIN - Network Path not found. This is what iget
  with current SMB.CONF
  The othe one is in the attachment.

  Here is the current SMB.CONF file. Now I have tried user, Domain, server
  as
  security none seem to like anything.



  [global]
  workgroup = SMIS
  netbios name = Linux_Server
  server string = Samba PDC running %v
  logon drive = H:
  security = server
  encrypt passwords = yes
  browsable = yes
  local master = yes
  domain master = yes
  os level = 64
  preferred master = yes
  domain logons = yes
  logon path = \\%L\profiles\%U
  add user script = /usr/sbin/adduser -n -g machines -c Machine -d
  /dev/null -s /bin/false %m$
  domain admin group = @ntadmins
  hosts allow =  192.168.1.100/50  127.0.0.1
  socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

  log file = /var/log/samba/%m.log
  max log size = 50


  printcap = /etc/printcap
  load printers = yes
  printing = lprng
  use client driver = yes

  #= Share Definitions 
  [printers]
  comment = All Printers
  path = /var/spool/samba
  browsable = no
  public = yes
  writable = no
  printable = yes

  [public]
  comment = A public share for vendor docs, etc.
  path = /usr/public
  public = yes
  create mask = 0755
  force directory mode = 0755
  writable = yes

  [temp]
  comment = A place to drop off temporary files
  path = /tmp
  public = yes
  create mask = 0755
  force directory mode = 0755
  writable = yes

  [docs]
  comment = Main Document Share for important Corporate Documents
  path = /doc
  public = yes
  create mask = 0755
  force directory mode = 0755
  writable = yes

  [home]
  comment = Home directory for %U
  path = /home/%U
  browsable = yes
  public = no
  hide dot files = yes
  writeable = yes
  create mask = 0755
  directory mask = 0755
  username = %U

  **

  Thanks for the help I think we are close here but I am unsure what to try
  next?

  -- 
  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] Minor problem with CUPS printing.

2003-07-08 Thread Karl Banasky
Try printcap name = lpstat in the Global settings.

Karl-


   I've got a Red hat 8.0 machine running the latest up2date version of
   Samba
   (2.2.7 with Red Hat's patches) acting as a print server using CUPS.

   The printing of documents is fine for the most part.  But I have noticed
   one
   thing that is really nothing more than an annoyance and was wondering if
   anyone else has seen the problem and possibly a cure.

   I have all Windows 2000 Pro clients, most of them have all 5 printers that
   this server controls installed. (The drivers are locally installed and not
   downloaded from the server - I'm still working on that.)  All of the
   printers installed show up as they should and all of the driver options
   are
   available.

   But the Printers control panel applet keep reporting these printers as
   Access is denied, unable to connect when you select one of the printers.
   In addition when you double-click on the one of the printers to see the
   queue, nothing ever shows up and the same Access is denied, unable to
   connect is displayed in the title bar of the dialogue box.

   Since the print jobs are flowing, I'm not *too* concerned about them, but
   I
   would like to remove this message and be able to the print queues if that
   is
   possible.

   --
   Kevin L. Collins, MCSE
   Systems Manager
   Nesbitt Engineering, Inc.
   -- 
   To unsubscribe from this list go to the following URL and read the
   instructions:  http://lists.samba.org/mailman/listinfo/samba
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


re: [Samba] Samba 2.2.8 + Printers (UFMG)

2003-07-07 Thread Karl Banasky
Are the files there? and if they are... are the permissions on the files correct, also 
the directory.  What the correct are I do not know off hand but to test you can use 
0777, wide open.  Also how did you get the drivers there and what printing are you 
using, I use CUPS and love it.  Hope that helps.
Karl

   Hi.

   I'm admin at a computer lab. Just started here, and I'm trying to set
   samba up. I'm having the following problem:

   The server (FreeBSD 4.7) has a HP LaserJet 6MP installed on it. So far so
   good, works great. When installing this printer on network computers, I
   have no problem, even printing, but someone installed the wrong driver
   (fortunatelly its a PS driver). 

   When I try to install the correct driver, i receive the error #53 when
   copying files, say it couldn't find share
   \\energia\print$\W32x86\(file_name). Energia is the server.

   []s,
   Daniel
   -- 
   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] (no subject)

2003-07-03 Thread Karl Banasky
Use the smbpasswd -a username to setup a new user password.  But without your setup 
and how you did it and what is going on in the logs it is hard to answer this 
question, it is very broad.  There are great and wonderful documents to learn all 
about SAMBA and how to set it up.  
(Thank you to everyone that created those works of art. 'sniff, sniff' Beautiful they 
are. Got me everywhere.)
See the link:
http://hr.uoregon.edu/davidrl/samba/
Also there are these archives to search too. Cheers.
Karl-

  Hi I have installed samba 2.2.8 on a box running Fresco as a router and
  Web server. On my Win2000 box I can see the router but when I try to get
  in and access the shared files it asks for a password I don't know what
  it is I never set that up. What password does it come with by default?
  I ran the command smbpasswd and get the following msg

  Failed to find entry for user Root
  Failed to modify password entry for user Root

  Can anyone pleas help?
  -- 
  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] RH9, Samba 2.2.8a and printing with CUPS

2003-06-26 Thread Karl Banasky
Some quick things to look at.
The [global] settings:

printing = cups (not bsd -My understanding is that you want to use cups)
No print comman needed with cups
add printcap name = lpstat

Under [printers]:

[printers]
   comment = Alle Printere
   path = /var/spool/samba
   read only = Yes
   create mask = 0700 (I do not use this in mine)
   guest ok = Yes
   public = Yes
   printable = Yes
   browseable = Yes

Use these setting and see the results.  Sorry for my hurry, admin'n for
the staff this morning.  Hope this helps, and look over the document links
the other posting sent.  Cheers
Karl-


 Hi there

 I just installed the above mentioned system and try to print from a W2k
 box to the Samba box but nothing happens. There's no problem in printing
 from the RH box or via Webmin but when I try to print from the W2k box
 nothing happens. I don't get an error or anything.

 I installed the printer by the help of the add printer tool in RH, and
 simply go to the Printer---Add Printer on the W2k box. I install the
 driver and try to print. I have two printers, a HPDeskJet710C and an
 Okipage8wLite. The Oki printer doesn't work at all though, I need the
 oki4drv daemon. Not sure what that is. But I'll get that to work later,
 right now I need the HP printer to work from the W2k machine.

 At this point I don't want to upload the drivers, just get it to print.
 I'll worry about the uploading of the drivers at a later point =) The
 thing is this worked great on an earlier system i had, RH 7.1 and an
 earlier version of Samba (can't remember which). No problems whatsoever.
 But I can't seem to get this one to work.

 My logs and conf files are listed below

 Thanks in advance
 Roy

 --
 smb.conf


 # Global parameters

 [global]

   workgroup = 

   netbios name = X

   server string = X

   encrypt passwords = Yes

   unix password sync = Yes

   security = User

   log file = /var/log/samba/samba-log.%m

   log level = 3

   max log size = 50

   name resolve order = wins lmhosts hosts bcast

   socket options = SO_KEEPALIVE TCP_NODELAY SO_SNDBUF=8192
 SO_RCVBUF=8192

   logon path = \\%N\profiles\%U

   logon script =  logon.bat

   add user script = /usr/sbin/useradd -d /dev/null -g 100 -s
 /bin/false -M %u

   time server = Yes

   domain logons = Yes

   os level = 4

   message command = csh -c 'xedit %s;rm %s' 

   preferred master = True

   domain master = True

   local master = Yes

   wins support = Yes

   lock dir = /var/lock/samba

   guest account = ftp

   guest ok = Yes

   show add printer wizard = Yes

   printer admin = XX

   load printers = Yes

   #printing = cups

   #printcap name = cups

   printing = bsd

   #default devmode = Yes

   print command = /usr/bin/lpr -P%p -r %s

   min print space = 2000

   case sensitive = Yes

   password level = 4

   passwd chat = *password* %n\n *password* %n\n *updated*

   smb passwd file = /usr/local/samba/private/smbpasswd

   passwd program = /usr/bin/passwd %u



 [profiles]

   path = /usr/local/samba/lib/profiles

   read only = No

   browseable = No

   writeable = Yes

   create mask = 0600

   directory mask = 0700



 [netlogon]

   path = /usr/local/samba/lib/netlogon

   guest ok = No

   browseable = No

   read only = Yes

   write list = X



 [homes]

   comment = Hjemmekatalogen til: %U

   read only = No

   browseable = No

   writeable = Yes



 [public]

   comment = Public katalog

   path = /public

   read only = No

   browseable = Yes

   writeable = Yes

   public = Yes

   guest ok = Yes

   create mask = 2770

   directory mask = 2770





 [print$]

   path = /usr/local/samba/print

   browseable = Yes

   guest ok = Yes

   read only = Yes

   writeable = Yes

   write list = X



 [printers]

   comment = Alle Printere

   path = /var/spool/samba

   read only = Yes

   create mask = 0700

   guest ok = Yes

   public = Yes

   printable = Yes

   writeable = Yes

   browseable = Yes

  --

 the first and last lines of the cups error_log


 I [23/Jun/2003:12:28:38 -0400] Listening to 7f01:631

 I [23/Jun/2003:12:28:38 -0400] Configured for up to 100 clients.

 I [23/Jun/2003:12:28:38 -0400] Allowing up to 10 client connections per
 host.

 I [23/Jun/2003:12:28:38 -0400] LoadPPDs: Wrote /etc/cups/ppds.dat, 13
 PPDs...

 E [23/Jun/2003:12:28:38 -0400] StartListening: Unable to find IP address
 for server name localhost.localdomain - Host name lookup failure

 E [23/Jun/2003:12:28:38 -0400] StartListening: Unable to bind socket -
 Cannot assign 

re[2]: [Samba] Trouble with CUPS/SAMBA - Solved

2003-06-23 Thread Karl Banasky
Not to add to the confusion but maybe I will.  :)  
If you still are having problems with cups and samba,  may I suggest that you get rid 
of a lot after the [printers] section.  Here is mine and it works great. Here it is:

[printers]
comment = All Printers
path = /var/spool/samba
guest ok = yes
browseable = no
public = yes
writable = no
printable = yes
printer admin = (user or @group name here)

You could repeat this for individual printers if you wanted with the allow user = 
user.  I personally have not done this but would be easy enough.  
By the way your [global] parameters look great, same as mine. I use Cups 1.1.8 and 
samba 2.2.8a along with CupsOmatic for the self loading drivers in SAMBA.  Sweet, love 
CUPS and SAMBA.
Hope that helps. 


   Yeah, it really helps me that you come
   after I managed to get ANYTHING out of
   that printer, and say that all I do is wrong.

   The versions are the the one installed by
   RedHat Linux 9 (shrike). I installed the
   printer using the redhat utility, and I
   configured samba using, first the redhat
   utility, and then fiddling with the smb.conf.

   Any drivers used by the Windows clients are
   their own (postscript). Dont ask me how
   cupsomatic got in there, 'cause I dont know.

   Until you can come up with a better idea of
   installing the printer, I'll manage with this
   one, thank you very much.

   And just how is getting this to work properly
   confusing to others?

   /Bo

   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf Of
   Kurt Pfeifle
   Sent: den 23 juni 2003 21:44
   To: [EMAIL PROTECTED]
   Subject: [Samba] Trouble with CUPS/SAMBA - Solved


SV: [Samba] Trouble with CUPS/SAMBA - Solved
Bo Mellberg bo.mellberg at jolife.se
Mon Jun 23 18:21:05 GMT 2003


I solved the problem by using:


   Which versions of CUPS and Samba are you using?

   And are you *really* still using the cupsomatic-PPD
   from Linuxprinting.org for that *PostScript*-printer??

[global]
printing = cups
printcap name = lpstat
load printers = yes

and in [printers]-section:

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = yes
writable = no
printable = yes
create mode = 0700
print command = lpr -P %p -o raw %s -r
lpq command = lpstat -o %p
lprm command = cancel %p-%j
printer admin = @users

With great help from: http://www.buberel.org/linux/cups-samba.php

Hope it helps someone...

   I fear it does more confuse than help -- unless
   your version info is forthcoming

   Cheers,
   Kurt

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

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


re: [Samba] 2.2.8a and printers

2003-06-23 Thread Karl Banasky
No clue as to why off this info.  Maybe a log or two would help or a resetup of CUPS 
after the update to SAMBA.  CUPS is on ver 1.1.18, using it here with great results. 
Might want to update that too. I don't know.
The upgrades are for you to choose.  The greatest resource for the choices you make 
might well be the change log at the samba.org sight saying what was added and 
patched/fixed.  I wonder why M$ uses patches/upgrade/updates where we uses fixes?  
Your choice. I say if it works dont fix it. :) But maybe you do want to.  Cheers.
Karl-

   I recent upgraded to 2.2.8, which went fine. When I checked smbclient -L
   firewall, I saw I Lost my printer share.
   I am using CUPS v1.1.3 for printing.   When I went back to 2.2.7a it
   reappeared. 2 questions:
   1 Why did it do this? I ./configured it --enable-cups- --with-pam_(smb)

   2 Is there and advantage of upgrading such a small step? Or are there a
   big
   enough issues to warrant this action?

   TIA
   Kev

   -- 
   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] Cups printing works but status is always Access Denied

2003-06-10 Thread Karl Banasky
I use Cups here and the install has been with out fail.  Some oddities with XP but I 
figure that is cause I am not forking the doe out, no worries thou, it all works 
fabulously well.  I have Caldera 3.1.1  with CUPS 1.1.19.   Also with the smb 
My suggestion is to use these settings:

[global] 
printer admin = karl
printing = cups
printcap name = lpstat (this is the proper one per some cups document I read)
load printers = yes

[printers]
comment = All Printers
path = /var/spool/samba
guest ok = yes
browseable = no
public = yes
writable = no
printable = yes
printer admin = (user or @group name)

If you would like to add drivers put this in:

[print$]
comment = Printer Drivers
path = /etc/samba.d/drivers (path were driver will be located)
guest ok = no
write list = (user or @group name)
writable = no
browsable = yes

Review this for the right directories to setup and the cool cups utility to add 
drivers.  A little time is required and so smooth when done.
http://us2.samba.org/samba/docs/man/Samba-HOWTO-Collection.html#CUPS

Hope that assists you.  
Karl-


  I have a RedHat 9 installation running XFS.
   Cups 1.1.17-13 is installed

   I have compiled and installed Samba 2.2.8a and everything appears to be
   working apart from a minor printing problem.
   After I have installed a printer on my Win2K workstation I can print via
   samba to the cups printer using the windows PCL print driver and it works
   fine.
   However the printer status is always 'Access denied, unable to connect'.

   I get the following entries in the log file for my machine :-

   [2003/06/10 12:28:24, 0] printing/print_cups.c:cups_printername_ok(388)
   Unable to get printer status for
   ::{2227a280-3aea-1069-a2de-08002b30309d} - client-error-not-found
   [2003/06/10 12:28:24, 0] smbd/service.c:make_connection(252)
   gb-desktop (192.168.1.250) couldn't find service
   ::{2227a280-3aea-1069-a2de-08002b30309d}

   My samba configuration :-

   [global]
   workgroup = ASCOT
   netbios name = DIBBLER
   server string = SAMBA-LDAP PDC Server
   encrypt passwords = Yes
   passwd program = /usr/local/sbin/smbldap-passwd.pl -o %u
   passwd chat = *new*password* %n\n *new*password* %n\n *successfully*
   unix password sync = Yes

   log file = /var/log/samba/%m.log
   log level = 5 ; remember to lower the log level in real life :-)
   max log size = 0


   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

   domain logons = Yes
   os level = 80
   preferred master = False
   domain master = True
   dns proxy = No
   wins support = Yes

   ; SAMBA-LDAP declarations
   ldap suffix = dc=ASCOT.WEBSCREEN-TECHNOLOGY,dc=COM
   ldap admin dn = cn=Manager,dc=ASCOT.WEBSCREEN-TECHNOLOGY,dc=COM
   ldap port = 389
   ldap server = 127.0.0.1
   ldap ssl = No

   load printers = yes
   printing = cups
   printcap name = cups

   ; Deactivate opportunistic locks (wised)
   ; opLocks = False
   ; encoding to french
   ; character set = iso8859-1

   ; using smbldap-tools to add machines
   add user script = /usr/local/sbin/smbldap-useradd.pl -w %u
   ; users and groups allowed to be 'Domain Admins'
   domain admin group =  @Domain Admins 

   [homes]
   comment = Home Directories
   valid users = %S
   read only = No
   create mask = 0664
   directory mask = 0775
   browseable = No

   [netlogon]
   comment = Network Logon Service
   path = /usr/local/samba/netlogon
   guest ok = Yes

   [profiles]
   path = /data/profiles
   writeable = yes
   browseable = no
   create mode = 0644
   directory mode = 0755
   guest ok = yes

   [samba]
   path=/data/samba
   writable= yes
   force create mode   = 660
   force directory mode= 770
   create mode = 660
   directory mode  = 770
   mangle case = yes
   case sensitive  = no
   default case= lower
   preserve case   = yes
   short preserve case = no
   valid users = @users
   force group = users

   [printers]
   comment = All Printers
   path = /var/spool/samba
   printable = Yes
   browseable = No
   public = yes
   guest ok = yes
   writable = no
   printer admin = root


   --
   Gareth Blades
   Webscreen Technology
   Index House
   St Georges Lane
   Ascot, Berkshire
   SL5 7EU, UK
   Tel +44 (0) 1344 636339
   http://www.webscreen-technology.com


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


[Samba] PDC error; can not open passdb database

2003-06-09 Thread Karl Banasky
I am looking to setup a domain server.  I have tried and tried and this is the closest 
I have gotten so far. 
The main problem I have is in the user authentication. I am getting an error that the 
user or password is wrong. Currently it looks like Samba can not access the passwd 
file.  What is this file?

My log for the client give this error:

[2003/06/05 15:35:35, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(670)
 api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
[2003/06/05 15:35:35, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1418)
 unable to open passdb database.

I am running Caldera 3.1.1 
I compiled samba with the makerpms for Caldera (I pray this will always work; as for 
the build with I have no Idea)

Any Ideas?  If there is any info you need please let me know.  
And SAMBA rock!
Thanks.
  
Karl Banasky
Email [EMAIL PROTECTED]

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


re[2]: [Samba] PDC error; can not open passdb database

2003-06-09 Thread Karl Banasky
I did not use the -a on originally.  I used it and same thing, access denied.  I 
have increased the log to 2 and here is the complete transaction. 

[2003/06/09 13:38:24, 2] smbd/server.c:exit_server(511)
  Closing connections
[2003/06/09 13:38:25, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2050)
  Returning domain sid for domain HCSTEST - S-1-5-21-4123070808-3853918392-2400374137
[2003/06/09 13:38:25, 2] rpc_parse/parse_samr.c:samr_io_userinfo_ctr(6285)
  samr_io_userinfo_ctr: unknown switch level 0x1a
[2003/06/09 13:38:25, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(670)
  api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
[2003/06/09 13:38:25, 2] passdb/pdb_smbpasswd.c:startsmbfilepwent(170)
  startsmbfilepwent_internal: unable to open file /etc/samba.d/smbpasswd. Error was 
Permission denied
[2003/06/09 13:38:25, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1418)
  unable to open passdb database.
[2003/06/09 13:38:25, 2] smbd/server.c:exit_server(511)
  Closing connections
~

I am using SAMBA 2.2.8a.  I will attach my smb.conf file at the end of this email.  I 
have done the signorseal patch too with a reboot with no results. Any further 
thoughts?  Thanks.

Karl-


   Karl,

   What version of samba are you running?

   Did you do (for each user)?

   smbpasswd -a 'username'

   - John T.


   On Mon, 9 Jun 2003, Karl Banasky wrote:

I am looking to setup a domain server.  I have tried and tried and this
   is the closest I have gotten so far.
The main problem I have is in the user authentication. I am getting an
   error that the user or password is wrong. Currently it looks like Samba
   can not access the passwd file.  What is this file?
   
My log for the client give this error:
   
[2003/06/05 15:35:35, 0]
   rpc_server/srv_samr.c:api_samr_set_userinfo(670)
 api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
[2003/06/05 15:35:35, 0]
   passdb/pdb_smbpasswd.c:pdb_getsampwrid(1418)
 unable to open passdb database.
   
I am running Caldera 3.1.1
I compiled samba with the makerpms for Caldera (I pray this will
   always work; as for the build with I have no Idea)
   
Any Ideas?  If there is any info you need please let me know.
And SAMBA rock!
Thanks.
   
Karl Banasky
Email [EMAIL PROTECTED]
   
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
   

   -- 
   John H Terpstra
   Email: [EMAIL PROTECTED]


smb.conf:

[global]
netbios name = HCTEST
workgroup = HCSTEST
server string = Test Samba Server
#hosts allow = 192.168.200. 127.
passdb backend = smbpasswd
encrypt passwords = Yes
obey pam restrictions = no
password level = 8
username level = 8
security = user
#lock directory = /share/test/lock
log file = /var/log/samba.d/smb.%m
max log size = 200
log level = 2
level2 oplocks = No
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
logon path = \\%L\Profiles\%U
logon home = \\%L\Profiles\%U
logon script = logon.bat
dns proxy = No
name resolve order = wins lmhosts bcast
domain master = yes
domain logons = yes
domain admin group = @admins
#wins support = yes
wins server = 192.168.200.2
printer admin = karl
printing = cups
printcap name = lpstat
load printers = yes
os level = 70
oplocks = No
level2 oplocks = No
dos filetimes = Yes
dos filetime resolution = Yes
#map to guest = Bad user

#add user script = /usr/sbin/useradd -s /bin/false %u  /usr/bin/smbpasswd -a 
%u
#add user script = /usr/sbin/useradd -d /dev/null  -g machines -s /bin/false 
-M %u  /usr/bin/smbpasswd -m -a %u
#unix password sync = yes
#passwd program = /usr/bin/passwd %u
#passwd chat = \
#*password* %n\n \
#*password* %n\n \
#*successful*

[MyHome]
comment = Home Directories
path = %H/Samba
username = %S
valid users = %S
read only = No
directory mode = 0700
create mode = 0600
only user = Yes
dos filetimes = yes

[sharedir]
comment = Public Stuff
path = /share/public
force group = users
read only = No
force create mode = 0770
force directory mode = 0770
level2 oplocks = no
dos filetimes = yes

[CD-ROM]
path = /mnt/cdrom
read only = yes
browseable = yes
root preexec = mount /mnt/cdrom
root postexec = umount /mnt/cdrom

[print$]
comment = Printer Drivers
path = /etc/samba.d/drivers
guest ok = no
write list = karl
writable = no
browsable = yes

[netlogon

re[3]: [Samba] PDC error; can not open passdb database

2003-06-09 Thread Karl Banasky
I checked the permissions and they are now what you said.  I remember reading that 
somewhere in one of the last tries at this PDC setup.  I tried it and still Access 
denied with the same error.  
I do not know if this is good or not but I am M$ illiterate.  I created a root/admin 
account and it joined.  It was that windows needed a admin account.  I am sure I would 
have been here looking for the answers you supplied later then sooner.  So... thanks 
John.

Karl-


   On Mon, 9 Jun 2003, Karl Banasky wrote:

I did not use the -a on originally.  I used it and same thing, access
   denied.  I have increased the log to 2 and here is the complete
   transaction.
   
[2003/06/09 13:38:24, 2] smbd/server.c:exit_server(511)
  Closing connections
[2003/06/09 13:38:25, 2]
   rpc_server/srv_samr_nt.c:_samr_lookup_domain(2050)
  Returning domain sid for domain HCSTEST -
   S-1-5-21-4123070808-3853918392-2400374137
[2003/06/09 13:38:25, 2]
   rpc_parse/parse_samr.c:samr_io_userinfo_ctr(6285)
  samr_io_userinfo_ctr: unknown switch level 0x1a
[2003/06/09 13:38:25, 0]
   rpc_server/srv_samr.c:api_samr_set_userinfo(670)
  api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
[2003/06/09 13:38:25, 2] passdb/pdb_smbpasswd.c:startsmbfilepwent(170)
  startsmbfilepwent_internal: unable to open file
   /etc/samba.d/smbpasswd. Error was Permission denied
[2003/06/09 13:38:25, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1418)
  unable to open passdb database.
[2003/06/09 13:38:25, 2] smbd/server.c:exit_server(511)
  Closing connections
~
   
I am using SAMBA 2.2.8a.  I will attach my smb.conf file at the end of
this email.  I have done the signorseal patch too with a reboot with no
results. Any further thoughts?  Thanks.

   Have you checked:

   1) That you have a file /etc/samba.d/smbpasswd?

   2) What are the permissions on it?
   - should be -rwxr

   3) What are the permissions on /etc/samba.d (directory)?
   - should be -rwxrwxr-x

   The error messaage says that smbpasswd was denied access to the file
   /etc/samba.d/smbpasswd. That is an issue of file system permissions, not a
   samba problem.

   Were you trying to access this as root or as some other user. Only root
   has the ability to modify this file.

   - John T.

   
Karl-
   
   
   Karl,
   
   What version of samba are you running?
   
   Did you do (for each user)?
   
   smbpasswd -a 'username'
   
   - John T.
   
   
   On Mon, 9 Jun 2003, Karl Banasky wrote:
   
I am looking to setup a domain server.  I have tried and tried
   and this
   is the closest I have gotten so far.
The main problem I have is in the user authentication. I am
   getting an
   error that the user or password is wrong. Currently it looks like
   Samba
   can not access the passwd file.  What is this file?
   
My log for the client give this error:
   
[2003/06/05 15:35:35, 0]
   rpc_server/srv_samr.c:api_samr_set_userinfo(670)
 api_samr_set_userinfo: Unable to unmarshall
   SAMR_Q_SET_USERINFO.
[2003/06/05 15:35:35, 0]
   passdb/pdb_smbpasswd.c:pdb_getsampwrid(1418)
 unable to open passdb database.
   
I am running Caldera 3.1.1
I compiled samba with the makerpms for Caldera (I pray this
   will
   always work; as for the build with I have no Idea)
   
Any Ideas?  If there is any info you need please let me know.
And SAMBA rock!
Thanks.
   
Karl Banasky
Email [EMAIL PROTECTED]
   
--
To unsubscribe from this list go to the following URL and read
   the
instructions:  http://lists.samba.org/mailman/listinfo/samba
   
   
   --
   John H Terpstra
   Email: [EMAIL PROTECTED]
   
   
smb.conf:
   
[global]
netbios name = HCTEST
workgroup = HCSTEST
server string = Test Samba Server
#hosts allow = 192.168.200. 127.
passdb backend = smbpasswd
encrypt passwords = Yes
obey pam restrictions = no
password level = 8
username level = 8
security = user
#lock directory = /share/test/lock
log file = /var/log/samba.d/smb.%m
max log size = 200
log level = 2
level2 oplocks = No
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
logon path = \\%L\Profiles\%U
logon home = \\%L\Profiles\%U
logon script = logon.bat
dns proxy = No
name resolve order = wins lmhosts bcast
domain master = yes
domain logons = yes
domain admin group = @admins
#wins support = yes
wins server = 192.168.200.2
printer admin = karl
printing

[Samba] PDC error

2003-06-06 Thread Karl Banasky
Hello.  I am looking to setup a domain server.  i have tried and tried.  This is the 
closest I have gotten so far. I am getting an error that I need some help with.

I am running Caldera 3.1.1 
I compiled samba with the makerpms for Caldera (I pray this will always work; as for 
the build with I have no Idea)

My log for the client give this error:

[2003/06/05 15:35:35, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(670)
  api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
[2003/06/05 15:35:35, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1418)
  unable to open passdb database.

Any Ideas?  If there is any info you need please let me know.  
And SAMBA rock!
Thanks.
   
Karl Banasky
Email [EMAIL PROTECTED]
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


re[2]: [Samba] WINS on Samba

2003-04-01 Thread Karl Banasky
I read that in order to have WINS work correctly, one need to have the guest account 
enabled for the SAMBA WINS server. Is this correct?  I currently have WINS enabled and 
no guest account.  When I go to the Hood it shows a blank page.  I have checked, 
rechecked, checked and rechecked my settings.  Any ideas?
Thanks.
KArl


  Am Die, 2003-04-01 um 16.29 schrieb Marco Calabi - T Plan S.r.l.:
Dear Sirs,
i'm trying to set up my samba server as WINS server

in /etc/lmhosts i've defined:
   Most likely you won't need a lmhosts if you have wins working properly.

In the tcp/ip setting, under wins server, i put the samba server address
   
192.168.1.1
   Configure all servers to use this wins server EXCEPT the wins server
   itself!
   This is on 192.168.1.1 you have
   wins support = yes
   and no wins server entry.

   On all other machines samba and NT/2k you configure
   wins server = 192.168.1.1
   (in smb.conf or the Windows network setup)

   Regards
   Uli

   -- 
   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] Compiling Samba For OPENLinux 3.1.1

2003-03-24 Thread Karl Banasky
That seems to be great.  Thanks for the tip John.  When i run the
makerpms.sh I get this error:
checking whether or not getgroups returns EGID too many times... yes
checking whether struct passwd has pw_comment... no
checking whether struct passwd has pw_age... no
checking for poptGetContext in -lpopt... no
checking whether to use included popt... ./popt
checking configure summary... configure: error: summary failure. Aborting
config
Bad exit status from /var/tmp/rpm-tmp.11664 (%build)
[EMAIL PROTECTED] OpenLinux]#

Any ideas on what the error is and how to fix it?
Thanks
Karl



 On Fri, 21 Mar 2003, Karl Banasky wrote:

 Hello.  I am looking to get the parameters that the Caldera RPM was
 made with.  I have noticed that it is not being updated and would like
 to get the current ver. on my system, but need to have the same links
 to various files.  Can anyone help me to find the parameters?  I would
 be interested in making the RPMs but need to know how to make them
 first, maybe some direction to info on making RPMs.  Thank you.

 1. Untar the samba-2.2.8.tar.gz file
 2. cd samba-2.2.8/packagin/Caldera/OpenLinux
 3. sh makerpms.sh

 Wait until building finishes ...
 4. cd /usr/src/OpenLinux/RPMS/i386

 ls -al

 You should have all your binary RPMS ready to roll. I have not been able
 to validate this since I left Caldera I no longer run OpenLinux 3.1.1.

 - John T.
 --
 John H Terpstra
 Email: [EMAIL PROTECTED]


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


[Samba] Compiling Samba For OPENLinux 3.1.1

2003-03-21 Thread Karl Banasky
Hello.  I am looking to get the parameters that the Caldera RPM was made with.  I have 
noticed that it is not being updated and would like to get the current ver. on my 
system,  but need to have the same links to various files.  Can anyone help me to find 
the parameters? 
I would be interested in making the RPMs but need to know how to make them first,  
maybe some direction to info on making RPMs.  Thank you. 


Karl Banasky

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


[Samba] Compiling For OPENLinux 3.1.1

2003-03-19 Thread Karl Banasky
Hello.  I am looking to get the parameters that the RPM was made for.  I have noticed 
that it is not being updated and would like to get the current ver. on my system.  I 
would be interested in making the RPMs but need to know how to make them first,  maybe 
some direction to info on making RPMs.  Thank you. 


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


re[2]: [Samba] help Error with Cli_spoolss_notify.c in CUPS

2003-02-10 Thread Karl Banasky
Jerry,
First my apology,  I am still learning SAMBA, Windows and computers. I am not sure if 
it can look up CFO.  I do not quite know how to check that.  I think I read that 
Windows XP, which are the machines that have this problem,  looks for authentication 
of the printers.  If this is then right know I have non and how do I turn the 
authentication off?
Or how do I look and see if SAMBA can see the CFO computer?
Thank you.

Karl Banasky


 -BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 29 Jan 2003, Karl Banasky wrote:

 Hello, I am getting this error when Win XP machines print to my SAMBA
 server. I think it is a compile issue, if so how do I recompile or get
 it in place. I used RPM to 'install' SAMBA. Anyone have any suggestions?  
 I am using SAMBA 2.2.6a with CUPS 1.1.8 on Caldera OpenLINUX 3.1.1

 Error: 
 connect_to_client: unable to connect to SMB server on machine CFO. 
Error was : SUCCESS - 0.

Can smbd resolve the name CFO0x20?  Is teh File and Printer service for 
MS networks installed on the client?  This is all for the prnit change 
notify code.




cheers, jerry
--
Hewlett-Packard- http://www.hp.com
SAMBA Team -- http://www.samba.org
GnuPG Key   http://www.plainjoe.org/gpg_public.asc
You can never go home again, Oatman, but I guess you can shop there.  
  --John Cusack - Grosse Point Blank (1997)

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE+OqERIR7qMdg1EfYRAnDOAJ9IOSbyB1ipyKAKBHOJj8adiQ/34gCeNF7J
4qckSzaodwSuhaJCqZhCVOw=
=en4E
-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] help Error with Cli_spoolss_notify.c in CUPS

2003-01-29 Thread Karl Banasky
Hello,
I am getting this error when Win XP machines print to my SAMBA server. I think it is a 
compile issue, if so how do I recompile or get it in place. I used RPM to 'install' 
SAMBA. Anyone have any suggestions? 
I am using SAMBA 2.2.6a with CUPS 1.1.8 on Caldera OpenLINUX 3.1.1 
Error: 
Jan 24 11:15:34 heatconlinux smbd[4787]: [2003/01/24 11:15:34, 0] 
rpc_client/cli_spoolss_notify.c:spoolss_connect_to_client(91) 
Jan 24 11:15:34 heatconlinux smbd[4787]: connect_to_client: unable to connect to SMB 
server on machine CFO. Error was : SUCCESS - 0. 
Jan 24 11:45:18 heatconlinux smbd[4637]: [2003/01/24 11:45:18, 0] 
lib/util_sock.c:read_data(436) 
Jan 24 11:45:18 heatconlinux smbd[4637]: read_data: read failure for 4. Error = No 
route to host 


Karl Banasky
HEATCON®
600 Andover Park East
Seattle, WA 98188
USA

Tel (206) 575-0815
Fax (206) 575-0856
Email [EMAIL PROTECTED]












Karl Banasky
HEATCON®
600 Andover Park East
Seattle, WA 98188
USA

Tel (206) 575-0815
Fax (206) 575-0856
Email [EMAIL PROTECTED]












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