AW: [Samba] SAMBA 3 as PDC - W2K/WXP Pro logon trouble

2004-03-03 Thread Stumpfl Markus
Oh, so you are using ldap..., well I'm still working with smbpasswd as
backend :-(

Anyway, I tried 'net getlocalsid' for the domain-sid -> ok
Next 'net usersidlist' which should show me the user-sids -> didn't
work: "[2004/03/04 06:40:05, 0, pid=31232, effective(0, 0), real(0, 0)]
utils/net_rpc.c:net_usersidlist(2158)
  Could not get the user/sid list"

So used 'net user' instead, which then gave me the user list!?

What am I missing here? And is there a way to see the machine sids too?
Or are they included in the users?

Thanks in advance,

Markus



> -Ursprüngliche Nachricht-
> Von: Scott Gross [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 03. März 2004 18:29
> An: Stumpfl Markus
> Betreff: RE: [Samba] SAMBA 3 as PDC - W2K/WXP Pro logon trouble
> Wichtigkeit: Hoch
> 
> I use a little windows gui program called LDAP browser to look at my
LDAP
> entries and I was just looking through the entries at the SID's since
> someone suggested it might be an SID problem and noticed the
discrepancy
> on
> the domain name entry.  I changed it to match all the others just to
see
> if
> it would have any effect and wallah it worked.
> 
> > -Original Message-
> > From: Stumpfl Markus [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, March 02, 2004 10:52 PM
> > To: 'Scott Gross'
> > Subject: AW: [Samba] SAMBA 3 as PDC - W2K/WXP Pro logon trouble
> >
> > Thx, but how did you find out? With what commands? Sry for the
stupid
> > questions, but I'm kinda knew to samba.
> >
> > Thanks in advance,
> >
> > Stumpfl Markus
> >
> >
> >
> > > -Ursprüngliche Nachricht-
> > > Von: Scott Gross [mailto:[EMAIL PROTECTED]
> > > Gesendet: Dienstag, 02. März 2004 18:14
> > > An: Stumpfl Markus; Scott Gross
> > > Betreff: RE: [Samba] SAMBA 3 as PDC - W2K/WXP Pro logon trouble
> > >
> > > I got mine working it was SID mismatch. The Domain name SID was
> > different
> > > from the server and the users.
> > >
> > >
> > > > -Original Message-
> > > > From: Stumpfl Markus [mailto:[EMAIL PROTECTED]
> > > > Sent: Monday, March 01, 2004 11:22 PM
> > > > To: 'Scott Gross'
> > > > Subject: AW: [Samba] SAMBA 3 as PDC - W2K/WXP Pro logon trouble
> > > >
> > > > Do you get the problem (when trying domain logon): "invalid
password
> > or
> > > > domain"?
> > > > I've got the same prob...
> > > >
> > > > I'll tell you, when it's working and vice versa, hopefully ;-)
> > > >
> > > > Stumpfl Markus
> > > >
> > > >
> > > >
> > > > > -Ursprüngliche Nachricht-
> > > > > Von: [EMAIL PROTECTED]
> > > > >
[mailto:[EMAIL PROTECTED]
> > Im
> > > > > Auftrag von Scott Gross
> > > > > Gesendet: Freitag, 27. Februar 2004 18:25
> > > > > An: [EMAIL PROTECTED]
> > > > > Betreff: [Samba] SAMBA 3 as PDC - W2K/WXP Pro logon trouble
> > > > >
> > > > > I have a Samba 3 PDC running with an LDAP backend on Red Hat
8.
> > All
> > > > > authentication appears to be working correctly but I can't
login
> > to
> > > > the
> > > > > domain from a W2K or WXP Pro workstation after I have
successfully
> > > > joined
> > > > > them to the domain.  If I login locally to the workstation I
can
> > > > browse
> > > > > the
> > > > > Samba shares just fine.  I have checked the schannel and sign
or
> > seal
> > > > > settings on both the workstations and the server and made sure
> > they
> > > > were
> > > > > set
> > > > > to disable but still no luck.  Can anyone give me any ideas on
how
> > to
> > > > > solve
> > > > > this problem.
> > > > >
> > > > >
> > > > >
> > > > > TIA
> > > > >
> > > > > Scott
> > > > >
> > > > >
> > > > >
> > > > > Smb.conf
> > > > >
> > > > > # Samba config file created using SWAT
> > > > >
> > > > > # from 0.0.0.0 (0.0.0.0)
> > > > >
> > > > > # Date: 2003/11/25 10:42:04
> > > > >
> > > > >
> > > > >
> > > > > # Global parameters
> > > > >
> > > > > [global]
> > > > >
> > > > > workgroup = FIFEDEV
> > > > >
> > > > > netbios name = Dev
> > > > >
> > > > > null passwords = Yes
> > > > >
> > > > > passdb backend = ldapsam
> > > > >
> > > > > passwd program = /usr/local/bin/smbldap-passwd.pl -o
%u
> > > > >
> > > > > passwd chat = *new*password* %n\n *new*password:* %n\
> > > > > *successfully*
> > > > >
> > > > > passwd chat debug = Yes
> > > > >
> > > > > log file = /var/log/samba/%m.log
> > > > >
> > > > > socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
> > > > >
> > > > > add user script = /usr/local/sbin/smbldap-useradd.pl
-a
> > "%u"
> > > > >
> > > > > delete user script =
/usr/local/sbin/smbldap-useradd.pl -d
> > > > "%u"
> > > > >
> > > > > add group script = /usr/local/sbin/smbldap-useradd.pl
-a
> > -g
> > > > "%g%
> > > > >
> > > > > delete group script =
/usr/local/sbin/smbldap-useradd.pl
> > -d -g
> > > > > "%g"
> > > > >
> > > > > add user to group script =
> > /usr/local/sbin/smbldap-useradd.pl
> > > > -j -
> > > > > u
> > > > > "%u" -g "%g"
> > > > >
> > > > > delete user from group

[Samba] Incorrect file size

2004-03-03 Thread pmasion
Hi All, 

  I'm having problem copying large files from other smb/windows server 
to a linux machine using smbclient. It seems the smbclient incorrectly 
report's sizes of large files. Is there some configuration that needs to 
be done? I've no problem with smaller sized files. 

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


Re: [Samba] Domain Admin with tdbsam on 3.0.2a

2004-03-03 Thread Gémes Géza
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,

Sorry for having to say that, but you have messed up your group mapping
(you have multiple Domain Admins and other groups, with different sids
and the same name! this would confuse your Windows clients).
Using tdbsam backend Samba already populates its group database with all
the groups which exists by default on a Windows PDC and thus you just
need to map them to existing UNIX groups with net groupmap modify.
What i would suggest is to remove your group mapping tdb, and restart
samba, and it would recreate it, and try out net groupmap modify
Cheers,

Geza
| Firstly I apologise for the length of this query but I am hoping that if I
| document everything I did someone might respond / be able to help.
|
| My Configuration is Samba 3.0.2a as a PDC on Redhat 8. I cannot for the
| life of me get the "Domain Admins" functionality to work
|
| I am hoping that another set of eyes  can shed some light on this problem
| as I have now spent 41 hrs googling / reading samba docs / configuring
| samba and linux.
|
|
| I am using the tdbsam backend
|
| [global]
| ---snip
| domain master = yes
| local master = yes
| preferred master = yes
| domain logons = yes
| passdb backend = tdbsam
| ---snip
|
| I have the following unix groups:
|
| GrpName   GID
|   
| ntadmins  702
| users 100
| mikey 700
| administrator 703
|
| I have the following users:
|
| UsrName GID  Primary Group  Groups
|       ===
| mikey   600  ntadmins   users,root,mikey
| administrator 603  ntadmins   users,root,admnistrator
|
| I have used Pdbedit to add user 'mike' and 'administrator' to the trivial
| database
|
| [EMAIL PROTECTED] root]# pdbedit -L -v -u mikey Unix username:mikey
| NT username:
| Account Flags:[U  ]
| User SID: S-1-5-21-4105664934-1074514724-3375437219-2200
| Primary Group SID:S-1-5-21-4105664934-1074514724-3375437219-1201
| Full Name:Mike Young
| Home Directory:   \\juan\mikey
| HomeDir Drive:H:
| Logon Script: logon.bat
| Profile Path: \\juan\profiles\mikey\0.0.0.0
| Domain:   E-MAGE
| ---snip
|
| [EMAIL PROTECTED] root]# pdbedit -L -v -u administrator Unix username:
| administrator
| NT username:
| Account Flags:[U  ]
| User SID: S-1-5-21-4105664934-1074514724-3375437219-2206
| Primary Group SID:S-1-5-21-4105664934-1074514724-3375437219-702
| Full Name:wrkgrp domain administrator
| Home Directory:   \\juan\administrator
| HomeDir Drive:H:
| Logon Script: logon.bat
| Profile Path: \\juan\profiles\administrator\0.0.0.0
| Domain:   E-MAGE
| ---snip
|
| I have used net groupmap to add the unix groups
| 'USERS','NOBODY','NTADMINS'
|
| net groupmap add unixgroup=nobody ntgroup="Domain Guests" net groupmap add
| unixgroup=ntadmins ntgroup="Domain Admins" net groupmap add
| unixgroup=users ntgroup="Domain Users"
|
| I have used net groupmap to MAP the unix groups
| 'USERS','NOBODY','NTADMINS' to the NT groups
|
| net groupmap modify ntgroup="Domain Guests" UNIXgroup=nobody net groupmap
| modify ntgroup="Domain Admins" UNIXgroup=nobody net groupmap modify
| ntgroup="Domain Users" UNIXgroup=nobody
|
| When I do a net groupmap list I get:- [EMAIL PROTECTED] root]# net groupmap list
| System Operators (S-1-5-32-549) -> -1 Replicators (S-1-5-32-552) -> -1
| Guests (S-1-5-32-546) -> -1
| Domain Admins (S-1-5-21-4105664934-1074514724-3375437219-2405) -> ntadmins
| Domain Users (S-1-5-21-4105664934-1074514724-3375437219-1201) -> users
| Domain Guests (S-1-5-21-4105664934-1074514724-3375437219-1199) -> nobody
| Domain Admins (S-1-5-21-4105664934-1074514724-3375437219-512) -> ntadmins
| Domain Guests (S-1-5-21-4105664934-1074514724-3375437219-514) -> nobody
| Domain Users (S-1-5-21-1097365102-1206842487-1930028900-513) -> users
| Power Users (S-1-5-32-547) -> -1
| Print Operators (S-1-5-32-550) -> -1
| Domain Admins (S-1-5-21-50666885-4256340010-4152097897-702) -> ntadmins
| Administrators (S-1-5-32-544) -> -1
| Account Operators (S-1-5-32-548) -> -1 Domain Admins
| (S-1-5-21-50666885-4256340010-4152097897-512) -> -1 Domain Admins
| (S-1-5-21-1097365102-1206842487-1930028900-512) -> -1 Backup Operators
| (S-1-5-32-551) -> -1 Users (S-1-5-32-545) -> -1
| Domain Guests (S-1-5-21-1097365102-1206842487-1930028900-514) -> -1 Domain
| Users (S-1-5-21-4105664934-1074514724-3375437219-513) -> -1
|
| I then created the appropriate machine accounts through unix
|
| I then log on to a win2k or XP workstation as a local administrator and
| join the domain as user 'ROOT' and using the user management tool I add my
| DomainName\Domain Admins group to the local administrators group.
|
| I then re-logon to the win2k or XP workstation as the domain user either
| (mike or administrator. These both logon successfuly but

Re: [Samba] Samba3.0.2a, MS Office (Excel), Save problem.

2004-03-03 Thread Pirkka Luukkonen
Hi!

 I had the same problem with wxp_sp1+officexp, but it went away after
patching with hotfixes. Check for DENY_WRITE or so from smbstatus -L. These
patches will be included in the next xp service pack to be released on the
first half of 2004.

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

--
Pirkka


 Dmitry Melekhov wrote:
> Hello!
>
> 
> Brief Description:
> This problem has now occured with a number of users, running
> different versions of Office (see below).
> When saving documents, Office seems to set the read-only bit. The
> problem is best shown with Excel, which when saving a spredsheet,
> reports the following error:
> "The Document was saved succesfully, but Excel cannot re-open it
> because of a sharing violation. Please Close the Document and try
> again."
>
> 
>
> We have the same problem! On 2.2.8a...
> Unfortunatley, we can't reproduce it :-(
> As I readed on news group, some people have the same problem on
> windows fileservers.
> May be this is Excel problem?
> After all we used dos filemode to allow not owners change read-only
> bit

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


[Samba] Re: Samba3.0.2a, MS Office (Excel), Save problem.

2004-03-03 Thread Tan Kee Wee
Not sure why my previous reply don't appear (ML newbie here).

But here's something to add on:

My problem was really with XFS and Excel files in shared
mode.  Back to the previous example, after Tom saves the file,
Tom becomes the owner of the file and Bob ends up in the ACL list.
John comes along and saves the file.  John becomes the owner and
now Tom and Bob are now on the ACL list.
XFS had a (random?) bug where the ACL list gets reset when
you reach around 20 or so ACL entries.  If this bug occurs when
John saves the file, Tom and Bob's ACL entries get deleted along with
the other entries.
	XFS was eventually replaced on my server with ReiserFS.

James wrote:
You are correct about this same problem on doze boxes.  Another thing
that also happens, is when the use closes the file, and reopens, it is
still marked as read only. I experience this with office xp. I know this
isn't much help, but at least you know you aren't alone :-D
Thanks, 
James 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Dmitry Melekhov
Sent: Wednesday, March 03, 2004 1:10 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Samba3.0.2a, MS Office (Excel), Save problem.
 Hello!


Brief Description:
This problem has now occured with a number of users, running different
versions of Office (see below).
When saving documents, Office seems to set the read-only bit. The
problem
is best shown with Excel, which when saving a spredsheet, reports the
following error:
"The Document was saved succesfully, but Excel cannot re-open it because
of a sharing violation. Please Close the Document and try again."


We have the same problem! On 2.2.8a...
Unfortunatley, we can't reproduce it :-(
As I readed on news group, some people have the same problem on windows
fileservers.
May be this is Excel problem?
After all we used dos filemode to allow not owners change read-only
bit
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Domain Admin with tdbsam on 3.0.2a

2004-03-03 Thread Mike Young
Firstly I apologise for the length of this query but I am hoping that if I
document everything I did someone might respond / be able to help.

My Configuration is Samba 3.0.2a as a PDC on Redhat 8. I cannot for the
life of me get the "Domain Admins" functionality to work

I am hoping that another set of eyes  can shed some light on this problem
as I have now spent 41 hrs googling / reading samba docs / configuring
samba and linux.


I am using the tdbsam backend

[global]
---snip
domain master = yes
local master = yes
preferred master = yes
domain logons = yes
passdb backend = tdbsam
---snip

I have the following unix groups:

GrpName   GID
  
ntadmins  702
users 100
mikey 700
administrator 703

I have the following users:

UsrName   GID  Primary Group  Groups
      === 
mikey 600  ntadmins   users,root,mikey
administrator 603  ntadmins   users,root,admnistrator

I have used Pdbedit to add user 'mike' and 'administrator' to the trivial
database

[EMAIL PROTECTED] root]# pdbedit -L -v -u mikey Unix username:mikey
NT username:
Account Flags:[U  ]
User SID: S-1-5-21-4105664934-1074514724-3375437219-2200
Primary Group SID:S-1-5-21-4105664934-1074514724-3375437219-1201
Full Name:Mike Young
Home Directory:   \\juan\mikey
HomeDir Drive:H:
Logon Script: logon.bat
Profile Path: \\juan\profiles\mikey\0.0.0.0
Domain:   E-MAGE
---snip

[EMAIL PROTECTED] root]# pdbedit -L -v -u administrator Unix username:   
administrator
NT username:
Account Flags:[U  ]
User SID: S-1-5-21-4105664934-1074514724-3375437219-2206
Primary Group SID:S-1-5-21-4105664934-1074514724-3375437219-702 
Full Name:wrkgrp domain administrator
Home Directory:   \\juan\administrator 
HomeDir Drive:H:
Logon Script: logon.bat
Profile Path: \\juan\profiles\administrator\0.0.0.0
Domain:   E-MAGE
---snip

I have used net groupmap to add the unix groups
'USERS','NOBODY','NTADMINS'

net groupmap add unixgroup=nobody ntgroup="Domain Guests" net groupmap add
unixgroup=ntadmins ntgroup="Domain Admins" net groupmap add
unixgroup=users ntgroup="Domain Users"

I have used net groupmap to MAP the unix groups
'USERS','NOBODY','NTADMINS' to the NT groups

net groupmap modify ntgroup="Domain Guests" UNIXgroup=nobody net groupmap
modify ntgroup="Domain Admins" UNIXgroup=nobody net groupmap modify
ntgroup="Domain Users" UNIXgroup=nobody

When I do a net groupmap list I get:- [EMAIL PROTECTED] root]# net groupmap list
System Operators (S-1-5-32-549) -> -1 Replicators (S-1-5-32-552) -> -1
Guests (S-1-5-32-546) -> -1
Domain Admins (S-1-5-21-4105664934-1074514724-3375437219-2405) -> ntadmins
Domain Users (S-1-5-21-4105664934-1074514724-3375437219-1201) -> users
Domain Guests (S-1-5-21-4105664934-1074514724-3375437219-1199) -> nobody
Domain Admins (S-1-5-21-4105664934-1074514724-3375437219-512) -> ntadmins
Domain Guests (S-1-5-21-4105664934-1074514724-3375437219-514) -> nobody
Domain Users (S-1-5-21-1097365102-1206842487-1930028900-513) -> users
Power Users (S-1-5-32-547) -> -1
Print Operators (S-1-5-32-550) -> -1
Domain Admins (S-1-5-21-50666885-4256340010-4152097897-702) -> ntadmins
Administrators (S-1-5-32-544) -> -1
Account Operators (S-1-5-32-548) -> -1 Domain Admins
(S-1-5-21-50666885-4256340010-4152097897-512) -> -1 Domain Admins
(S-1-5-21-1097365102-1206842487-1930028900-512) -> -1 Backup Operators
(S-1-5-32-551) -> -1 Users (S-1-5-32-545) -> -1
Domain Guests (S-1-5-21-1097365102-1206842487-1930028900-514) -> -1 Domain
Users (S-1-5-21-4105664934-1074514724-3375437219-513) -> -1

I then created the appropriate machine accounts through unix

I then log on to a win2k or XP workstation as a local administrator and
join the domain as user 'ROOT' and using the user management tool I add my
DomainName\Domain Admins group to the local administrators group.

I then re-logon to the win2k or XP workstation as the domain user either
(mike or administrator. These both logon successfuly but are NOT Domain
Admins or Administrators of the workstation -Why?


  

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


[Samba] Re: OS X

2004-03-03 Thread Thomas Mikl
I am having roughly 25 PCs connecting (Win2k, WinXP) that automount 4 
volumes from the server. So far no problems.

Also connecting 8 Macs using OS X, they also connect via smb. No 
problemo there.

And last but not least: 4 Linux Clients running debian. They also mount 
via smb and also no Problems.

Hope that helps
Tom
Curtis Vaughan wrote:
Yeh, I'm not worried about OS X server, but client computers accessing 
Samba shares.

Curtis Vaughan

On 02 Mar, 2004, at 23:43, Thomas Mikl wrote:

Curtis Vaughan wrote:

Are there any OS X users on this list, who are having real success 
with Apple's implementation of Samba?
I would like to start a discussion about several problems with Samba 
on OS 10.3.
Curtis Vaughan


Successfully set up OS X 10.3.2 Server as a Windows PDC, including 
several file shares, logon scripts  well everything there is and 
had not a single problem.

--
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] changing domain user passwd from linux box

2004-03-03 Thread Kashif Awan
Hello everyone
I have installed samba-3.0.2 on RH AS 2.1 and joined
it to active directory domain and also configured
winibind. I can access shares on box linux and windows
pc,s and my domain users are successfully loging on to
linux box but when I domain users wants to changes it
active directory passwd using passwd command this
erros is returned

passwd:Authentication token manipulation error

does anybody know what could be the possible reason
for this error.
Regards

__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Automounting Samba shares for Linux clients?

2004-03-03 Thread Craig White
On Wed, 2004-03-03 at 18:38, Travis L. Bean wrote:
> Is there a way to configure the latest version of Samba to automount
> shares when a Linux client logs into a Samba PDC?  I have searched high
> and low trying to find an answer to this and the only information I have
> found is using pam_mount (which I have yet to get working correctly) or
> NFS.  When searching for an answer, I came across comments such as "NFS
> is the best way to mount shares in a Unix to Unix environment".  Is this
> true and if so why? I would like to just have a Samba server for my
> Windows and Linux clients and not have to deal with a separate NFS
> server.  I would appreciate any information on how allow my Linux
> clients have their home directories and other Samba shares automounted
> every time they log in to the server (and have the authentication take
> place through LDAP).  
---
man mount (pay attention to 'user' options)

Windows clients should run logon scripts to mount directories on their
systems.

There is no reason to hold a debate on NFS vs. SMB mounts for Linux
clients. There are vast differences between file & group ownership, file
locks, and it's far better to know how to use both and be knowledgable
enough to draw your own conclusions - who better to understand your
needs and your setup than you?

Craig

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


[Samba] Automounting Samba shares for Linux clients?

2004-03-03 Thread Thomas Spuhler
It is kind of new that Linux boxes can log into a PDC? I know that they
can mount shares. There are different ways to do that including GIUs ,
but I have found that if that Samba or Windows share is always
available, when a Linux box boots, then put the mount into the rc.local
at the very end.
I don't exactly remember what the command is, but I can look at my
office box and let you know


On Wed, 2004-03-03 at 18:38, Travis L. Bean wrote:
> Is there a way to configure the latest version of Samba to automount
> shares when a Linux client logs into a Samba PDC?  I have searched high
> and low trying to find an answer to this and the only information I have
> found is using pam_mount (which I have yet to get working correctly) or
> NFS.  When searching for an answer, I came across comments such as "NFS
> is the best way to mount shares in a Unix to Unix environment".  Is this
> true and if so why? I would like to just have a Samba server for my
> Windows and Linux clients and not have to deal with a separate NFS
> server.  I would appreciate any information on how allow my Linux
> clients have their home directories and other Samba shares automounted
> every time they log in to the server (and have the authentication take
> place through LDAP).  
> 
> 
> Travis L. Bean
> Systems Administrator
> Bio-Logic Aqua Technologies
> Grants Pass, OR - United States
-- 

Best Regards

Thomas Spuhler

All e-mails from this location have been scanned for viruses
This e-mail has been digitally signed


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

RE: [Samba] latest version (3.0.2a) on AIX 5.2 ML2 segmentation fault and core dump

2004-03-03 Thread William Jojo


well, you can

export LANG=C

before starting the daemons


Bill


On Wed, 3 Mar 2004, Crosland, Jerel wrote:

> Yes, the LANG environment variable is LANG=en_US. I'm a LITTLE concerned about 
> changing this for the entire server though. Is there any way to get Samba to 
> understand "LANG=en_US"? Compilation or configuration options?
>
> Jerel Crosland
> Technical Specialist
>  818/704-3187
>
> Inside every small problem is a large problem struggling to get out.
>
>
> -Original Message-
> From: William Jojo [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 03, 2004 4:15 PM
> To: Crosland, Jerel
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Samba] latest version (3.0.2a) on AIX 5.2 ML2 segmentation
> fault and core dump
>
>
>
>
>
> Check your /etc/environment file and see if LANG=C if it reads anything
> other than LANG=C (like LANG=en_US) you will get this segfault. You will
> need root priv to change this.
>
>
> Regards,
>
> Bill
>
>
> On Wed, 3 Mar 2004, Crosland, Jerel wrote:
>
> > First off, let me state that I am not a C programmer at all. I am a programmer in 
> > other languages, so I understand the basic configure/make/make install procedure 
> > for most GNU packages, and have done it lots of times.
> >
> > I downloaded the GNU iconv libraries, compiled them and used 
> > --prefix=/usr/local/special to keep from replacing the standard AIX libraries. 
> > Then I downloaded the 3.0.2a source and compiled it with --prefix=/usr/local and 
> > --with-libiconv=/usr/local/special. It compiled with some warnings (see below) but 
> > no errors. I installed it, but when I run the net command, I get a segmentation 
> > fault and a core dump. I am using gcc 3.3.2 on AIX 5.2 ML2. I don't know if any of 
> > these matter, but here are the warnings I got:
> >
> > libsmb/clireadwrite.c:54: warning: right shift count >= width of type
> > libsmb/clireadwrite.c:54: warning: right shift count >= width of type
> > libsmb/clireadwrite.c: In function `cli_issue_write':
> > libsmb/clireadwrite.c:301: warning: right shift count >= width of type
> > libsmb/clireadwrite.c:301: warning: right shift count >= width of type
> > libsmb/clireadwrite.c:301: warning: right shift count >= width of type
> > libsmb/clireadwrite.c:301: warning: right shift count >= width of type
> > printing/pcap.c: In function `pcap_printername_ok':
> > printing/pcap.c:276: warning: passing arg 1 of `strlocate' discards qualifiers 
> > from pointer target type
> > printing/pcap.c:277: warning: passing arg 1 of `ScanQconfig' discards qualifiers 
> > from pointer target type
> > printing/pcap.c:277: warning: passing arg 2 of `ScanQconfig' discards qualifiers 
> > from pointer target type
> > lib/util_sock.c: In function `is_a_socket':
> > lib/util_sock.c:40: warning: passing arg 5 of `getsockopt' from incompatible 
> > pointer type
> > lib/util_sock.c: In function `print_socket_options':
> > lib/util_sock.c:102: warning: passing arg 5 of `getsockopt' from incompatible 
> > pointer type
> > lib/util_sock.c: In function `client_inaddr':
> > lib/util_sock.c:819: warning: passing arg 3 of `ngetpeername' from incompatible 
> > pointer type
> > lib/util_sock.c: In function `get_peer_addr':
> > lib/util_sock.c:951: warning: passing arg 3 of `ngetpeername' from incompatible 
> > pointer type
> > lib/util_sock.c: In function `get_socket_addr':
> > lib/util_sock.c:974: warning: passing arg 3 of `ngetsockname' from incompatible 
> > pointer type
> > tdb/tdbutil.c: In function `make_tdb_data':
> > tdb/tdbutil.c:45: warning: assignment discards qualifiers from pointer target type
> > nsswitch/winbindd_acct.c: In function `string2group':
> > nsswitch/winbindd_acct.c:225: warning: passing arg 1 of `next_token' from 
> > incompatible pointer type
> > client/client.c: In function `do_get':
> > client/client.c:695: warning: passing arg 4 of `cli_getattrE' from incompatible 
> > pointer type
> > client/client.c: In function `do_put':
> > client/client.c:1071: warning: passing arg 4 of `cli_getattrE' from incompatible 
> > pointer type
> > utils/smbcontrol.c: In function `do_printnotify':
> > utils/smbcontrol.c:423: warning: passing arg 3 of `notify_printer_byname' discards 
> > qualifiers from pointer target type
> > rpcclient/cmd_lsarpc.c: In function `cmd_lsa_query_info_policy':
> > rpcclient/cmd_lsarpc.c:131: warning: passing arg 1 of `print_guid' from 
> > incompatible pointer type
> > rpcclient/cmd_spoolss.c: In function `get_driver_3_param':
> > rpcclient/cmd_spoolss.c:1185: warning: passing arg 1 of `strtok' discards 
> > qualifiers from pointer target type
> > rpcclient/cmd_reg.c: In function `cmd_reg_shutdown':
> > rpcclient/cmd_reg.c:910: warning: passing arg 2 of `getopt' from incompatible 
> > pointer type
> > rpcclient/cmd_shutdown.c: In function `cmd_shutdown_init':
> > rpcclient/cmd_shutdown.c:43: warning: passing arg 2 of `getopt' from incompatible 
> > pointer type
> > libsmb/spnego.c: In function `read_negTokenInit':
> > libsmb/spnego.c:51: wa

[Samba] Automounting Samba shares for Linux clients?

2004-03-03 Thread Travis L. Bean
Is there a way to configure the latest version of Samba to automount
shares when a Linux client logs into a Samba PDC?  I have searched high
and low trying to find an answer to this and the only information I have
found is using pam_mount (which I have yet to get working correctly) or
NFS.  When searching for an answer, I came across comments such as "NFS
is the best way to mount shares in a Unix to Unix environment".  Is this
true and if so why? I would like to just have a Samba server for my
Windows and Linux clients and not have to deal with a separate NFS
server.  I would appreciate any information on how allow my Linux
clients have their home directories and other Samba shares automounted
every time they log in to the server (and have the authentication take
place through LDAP).  


Travis L. Bean
Systems Administrator
Bio-Logic Aqua Technologies
Grants Pass, OR - United States

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


[Samba] Re: Re: Hello

2004-03-03 Thread David Lechnyr
The e-mail address '[EMAIL PROTECTED]' has been deprecated(*).
Please send all future correspondence to:

 [EMAIL PROTECTED]

Please note that this is an automated response.

Thanks,
- David

(*) http://dictionary.reference.com/search?q=deprecated
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Trying to put a MS SQL 7.0 database on a samba share

2004-03-03 Thread Jerry Haltom
This seems like a VERY bad thing to do anyways.

Usually putting transactional databases of any kind... like bdb
database, or any of hte like, on a shared drive is a recipe for
disaster. I'd guess SQL falls into this same category, but don't know
it. Anyways this would be super slow? why put a db on a share?


On Wed, 2004-03-03 at 04:44, Warren Green wrote:
> Hi,
> 
> I have a linux box set up with Samba 3.0 and have configured my shared 
> drives. What I am trying to do is store a MS SQL data base on my Samba 
> share.
> I can see the drive from my SQL machine but when I try create the database 
> there I get errors like inconsistent file names etc.
> 
> Fist can this be done and if so how?
> 
> 
> Thanx
> Warren 
-- 
Jerry Haltom <[EMAIL PROTECTED]>
Feedback Plus, Inc.


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

RE: [Samba] latest version (3.0.2a) on AIX 5.2 ML2 segmentation fault and core dump

2004-03-03 Thread Crosland, Jerel
Yes, the LANG environment variable is LANG=en_US. I'm a LITTLE concerned about 
changing this for the entire server though. Is there any way to get Samba to 
understand "LANG=en_US"? Compilation or configuration options?

Jerel Crosland
Technical Specialist
 818/704-3187

Inside every small problem is a large problem struggling to get out.


-Original Message-
From: William Jojo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 4:15 PM
To: Crosland, Jerel
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] latest version (3.0.2a) on AIX 5.2 ML2 segmentation
fault and core dump





Check your /etc/environment file and see if LANG=C if it reads anything
other than LANG=C (like LANG=en_US) you will get this segfault. You will
need root priv to change this.


Regards,

Bill


On Wed, 3 Mar 2004, Crosland, Jerel wrote:

> First off, let me state that I am not a C programmer at all. I am a programmer in 
> other languages, so I understand the basic configure/make/make install procedure for 
> most GNU packages, and have done it lots of times.
>
> I downloaded the GNU iconv libraries, compiled them and used 
> --prefix=/usr/local/special to keep from replacing the standard AIX libraries. Then 
> I downloaded the 3.0.2a source and compiled it with --prefix=/usr/local and 
> --with-libiconv=/usr/local/special. It compiled with some warnings (see below) but 
> no errors. I installed it, but when I run the net command, I get a segmentation 
> fault and a core dump. I am using gcc 3.3.2 on AIX 5.2 ML2. I don't know if any of 
> these matter, but here are the warnings I got:
>
> libsmb/clireadwrite.c:54: warning: right shift count >= width of type
> libsmb/clireadwrite.c:54: warning: right shift count >= width of type
> libsmb/clireadwrite.c: In function `cli_issue_write':
> libsmb/clireadwrite.c:301: warning: right shift count >= width of type
> libsmb/clireadwrite.c:301: warning: right shift count >= width of type
> libsmb/clireadwrite.c:301: warning: right shift count >= width of type
> libsmb/clireadwrite.c:301: warning: right shift count >= width of type
> printing/pcap.c: In function `pcap_printername_ok':
> printing/pcap.c:276: warning: passing arg 1 of `strlocate' discards qualifiers from 
> pointer target type
> printing/pcap.c:277: warning: passing arg 1 of `ScanQconfig' discards qualifiers 
> from pointer target type
> printing/pcap.c:277: warning: passing arg 2 of `ScanQconfig' discards qualifiers 
> from pointer target type
> lib/util_sock.c: In function `is_a_socket':
> lib/util_sock.c:40: warning: passing arg 5 of `getsockopt' from incompatible pointer 
> type
> lib/util_sock.c: In function `print_socket_options':
> lib/util_sock.c:102: warning: passing arg 5 of `getsockopt' from incompatible 
> pointer type
> lib/util_sock.c: In function `client_inaddr':
> lib/util_sock.c:819: warning: passing arg 3 of `ngetpeername' from incompatible 
> pointer type
> lib/util_sock.c: In function `get_peer_addr':
> lib/util_sock.c:951: warning: passing arg 3 of `ngetpeername' from incompatible 
> pointer type
> lib/util_sock.c: In function `get_socket_addr':
> lib/util_sock.c:974: warning: passing arg 3 of `ngetsockname' from incompatible 
> pointer type
> tdb/tdbutil.c: In function `make_tdb_data':
> tdb/tdbutil.c:45: warning: assignment discards qualifiers from pointer target type
> nsswitch/winbindd_acct.c: In function `string2group':
> nsswitch/winbindd_acct.c:225: warning: passing arg 1 of `next_token' from 
> incompatible pointer type
> client/client.c: In function `do_get':
> client/client.c:695: warning: passing arg 4 of `cli_getattrE' from incompatible 
> pointer type
> client/client.c: In function `do_put':
> client/client.c:1071: warning: passing arg 4 of `cli_getattrE' from incompatible 
> pointer type
> utils/smbcontrol.c: In function `do_printnotify':
> utils/smbcontrol.c:423: warning: passing arg 3 of `notify_printer_byname' discards 
> qualifiers from pointer target type
> rpcclient/cmd_lsarpc.c: In function `cmd_lsa_query_info_policy':
> rpcclient/cmd_lsarpc.c:131: warning: passing arg 1 of `print_guid' from incompatible 
> pointer type
> rpcclient/cmd_spoolss.c: In function `get_driver_3_param':
> rpcclient/cmd_spoolss.c:1185: warning: passing arg 1 of `strtok' discards qualifiers 
> from pointer target type
> rpcclient/cmd_reg.c: In function `cmd_reg_shutdown':
> rpcclient/cmd_reg.c:910: warning: passing arg 2 of `getopt' from incompatible 
> pointer type
> rpcclient/cmd_shutdown.c: In function `cmd_shutdown_init':
> rpcclient/cmd_shutdown.c:43: warning: passing arg 2 of `getopt' from incompatible 
> pointer type
> libsmb/spnego.c: In function `read_negTokenInit':
> libsmb/spnego.c:51: warning: passing arg 2 of `asn1_read_OID' from incompatible 
> pointer type
> libsmb/spnego.c: In function `read_negTokenTarg':
> libsmb/spnego.c:186: warning: passing arg 2 of `asn1_read_OID' from incompatible 
> pointer type
> libsmb/spnego.c: In function `free_spnego_data':
> libsmb/spnego.c:321: warning: pa

Re: [Samba] latest version (3.0.2a) on AIX 5.2 ML2 segmentation fault and core dump

2004-03-03 Thread William Jojo



Check your /etc/environment file and see if LANG=C if it reads anything
other than LANG=C (like LANG=en_US) you will get this segfault. You will
need root priv to change this.


Regards,

Bill


On Wed, 3 Mar 2004, Crosland, Jerel wrote:

> First off, let me state that I am not a C programmer at all. I am a programmer in 
> other languages, so I understand the basic configure/make/make install procedure for 
> most GNU packages, and have done it lots of times.
>
> I downloaded the GNU iconv libraries, compiled them and used 
> --prefix=/usr/local/special to keep from replacing the standard AIX libraries. Then 
> I downloaded the 3.0.2a source and compiled it with --prefix=/usr/local and 
> --with-libiconv=/usr/local/special. It compiled with some warnings (see below) but 
> no errors. I installed it, but when I run the net command, I get a segmentation 
> fault and a core dump. I am using gcc 3.3.2 on AIX 5.2 ML2. I don't know if any of 
> these matter, but here are the warnings I got:
>
> libsmb/clireadwrite.c:54: warning: right shift count >= width of type
> libsmb/clireadwrite.c:54: warning: right shift count >= width of type
> libsmb/clireadwrite.c: In function `cli_issue_write':
> libsmb/clireadwrite.c:301: warning: right shift count >= width of type
> libsmb/clireadwrite.c:301: warning: right shift count >= width of type
> libsmb/clireadwrite.c:301: warning: right shift count >= width of type
> libsmb/clireadwrite.c:301: warning: right shift count >= width of type
> printing/pcap.c: In function `pcap_printername_ok':
> printing/pcap.c:276: warning: passing arg 1 of `strlocate' discards qualifiers from 
> pointer target type
> printing/pcap.c:277: warning: passing arg 1 of `ScanQconfig' discards qualifiers 
> from pointer target type
> printing/pcap.c:277: warning: passing arg 2 of `ScanQconfig' discards qualifiers 
> from pointer target type
> lib/util_sock.c: In function `is_a_socket':
> lib/util_sock.c:40: warning: passing arg 5 of `getsockopt' from incompatible pointer 
> type
> lib/util_sock.c: In function `print_socket_options':
> lib/util_sock.c:102: warning: passing arg 5 of `getsockopt' from incompatible 
> pointer type
> lib/util_sock.c: In function `client_inaddr':
> lib/util_sock.c:819: warning: passing arg 3 of `ngetpeername' from incompatible 
> pointer type
> lib/util_sock.c: In function `get_peer_addr':
> lib/util_sock.c:951: warning: passing arg 3 of `ngetpeername' from incompatible 
> pointer type
> lib/util_sock.c: In function `get_socket_addr':
> lib/util_sock.c:974: warning: passing arg 3 of `ngetsockname' from incompatible 
> pointer type
> tdb/tdbutil.c: In function `make_tdb_data':
> tdb/tdbutil.c:45: warning: assignment discards qualifiers from pointer target type
> nsswitch/winbindd_acct.c: In function `string2group':
> nsswitch/winbindd_acct.c:225: warning: passing arg 1 of `next_token' from 
> incompatible pointer type
> client/client.c: In function `do_get':
> client/client.c:695: warning: passing arg 4 of `cli_getattrE' from incompatible 
> pointer type
> client/client.c: In function `do_put':
> client/client.c:1071: warning: passing arg 4 of `cli_getattrE' from incompatible 
> pointer type
> utils/smbcontrol.c: In function `do_printnotify':
> utils/smbcontrol.c:423: warning: passing arg 3 of `notify_printer_byname' discards 
> qualifiers from pointer target type
> rpcclient/cmd_lsarpc.c: In function `cmd_lsa_query_info_policy':
> rpcclient/cmd_lsarpc.c:131: warning: passing arg 1 of `print_guid' from incompatible 
> pointer type
> rpcclient/cmd_spoolss.c: In function `get_driver_3_param':
> rpcclient/cmd_spoolss.c:1185: warning: passing arg 1 of `strtok' discards qualifiers 
> from pointer target type
> rpcclient/cmd_reg.c: In function `cmd_reg_shutdown':
> rpcclient/cmd_reg.c:910: warning: passing arg 2 of `getopt' from incompatible 
> pointer type
> rpcclient/cmd_shutdown.c: In function `cmd_shutdown_init':
> rpcclient/cmd_shutdown.c:43: warning: passing arg 2 of `getopt' from incompatible 
> pointer type
> libsmb/spnego.c: In function `read_negTokenInit':
> libsmb/spnego.c:51: warning: passing arg 2 of `asn1_read_OID' from incompatible 
> pointer type
> libsmb/spnego.c: In function `read_negTokenTarg':
> libsmb/spnego.c:186: warning: passing arg 2 of `asn1_read_OID' from incompatible 
> pointer type
> libsmb/spnego.c: In function `free_spnego_data':
> libsmb/spnego.c:321: warning: passing arg 1 of `free' discards qualifiers from 
> pointer target type
> libsmb/spnego.c:330: warning: passing arg 1 of `free' discards qualifiers from 
> pointer target type
>
> The segfault is core dump is of course fatal. I have no idea how to proceed from 
> here.
>
> Jerel Crosland
> Technical Specialist
>   818/704-3187
>
> The journey of a thousand miles begins with a broken fan belt and a leaky tire.
>
>
>
> ***
> This e-mail and any files transmitted with it are intended
> solely for the use of the addressee.  T

[Samba] Two WINS servers on different subnets

2004-03-03 Thread Loc Nguyen
In my opninion, You need to have one WINS only. In case of disconnected,
the Local Master Browser should take of name resolving.


BLOCKQUOTE { BORDER-LEFT:#1F4687 1px solid; padding-left:20px;
margin-left: 0px; }-Original Message-
From: Stefan D <[EMAIL PROTECTED]>
Sent: Wednesday, 3. Mar 2004 7:33 -0800
To: [EMAIL PROTECTED]
Subject: [Samba] Two WINS servers on different subnets

Hi


If I connect two LANs (on different subnets) and want to use windows 

filesharing, I need a WINS server right? Can I have one server on both 

subnets and make them "talk to each other" ? The problem is that the
two 

networks are connected through a VPN tunnel and I don't want to place a


WINS server on just one of them in case the VPN tunnel is lost. I want 

the subnets to work normal when they're not connected and when they got


connection they should work like one big network. Is this possible?


Thanks in advance

/Stefan


-- 

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] latest version (3.0.2a) on AIX 5.2 ML2 segmentation fault and core dump

2004-03-03 Thread Crosland, Jerel
First off, let me state that I am not a C programmer at all. I am a programmer in 
other languages, so I understand the basic configure/make/make install procedure for 
most GNU packages, and have done it lots of times.

I downloaded the GNU iconv libraries, compiled them and used 
--prefix=/usr/local/special to keep from replacing the standard AIX libraries. Then I 
downloaded the 3.0.2a source and compiled it with --prefix=/usr/local and 
--with-libiconv=/usr/local/special. It compiled with some warnings (see below) but no 
errors. I installed it, but when I run the net command, I get a segmentation fault and 
a core dump. I am using gcc 3.3.2 on AIX 5.2 ML2. I don't know if any of these matter, 
but here are the warnings I got:

libsmb/clireadwrite.c:54: warning: right shift count >= width of type
libsmb/clireadwrite.c:54: warning: right shift count >= width of type
libsmb/clireadwrite.c: In function `cli_issue_write':
libsmb/clireadwrite.c:301: warning: right shift count >= width of type
libsmb/clireadwrite.c:301: warning: right shift count >= width of type
libsmb/clireadwrite.c:301: warning: right shift count >= width of type
libsmb/clireadwrite.c:301: warning: right shift count >= width of type
printing/pcap.c: In function `pcap_printername_ok':
printing/pcap.c:276: warning: passing arg 1 of `strlocate' discards qualifiers from 
pointer target type
printing/pcap.c:277: warning: passing arg 1 of `ScanQconfig' discards qualifiers from 
pointer target type
printing/pcap.c:277: warning: passing arg 2 of `ScanQconfig' discards qualifiers from 
pointer target type
lib/util_sock.c: In function `is_a_socket':
lib/util_sock.c:40: warning: passing arg 5 of `getsockopt' from incompatible pointer 
type
lib/util_sock.c: In function `print_socket_options':
lib/util_sock.c:102: warning: passing arg 5 of `getsockopt' from incompatible pointer 
type
lib/util_sock.c: In function `client_inaddr':
lib/util_sock.c:819: warning: passing arg 3 of `ngetpeername' from incompatible 
pointer type
lib/util_sock.c: In function `get_peer_addr':
lib/util_sock.c:951: warning: passing arg 3 of `ngetpeername' from incompatible 
pointer type
lib/util_sock.c: In function `get_socket_addr':
lib/util_sock.c:974: warning: passing arg 3 of `ngetsockname' from incompatible 
pointer type
tdb/tdbutil.c: In function `make_tdb_data':
tdb/tdbutil.c:45: warning: assignment discards qualifiers from pointer target type
nsswitch/winbindd_acct.c: In function `string2group':
nsswitch/winbindd_acct.c:225: warning: passing arg 1 of `next_token' from incompatible 
pointer type
client/client.c: In function `do_get':
client/client.c:695: warning: passing arg 4 of `cli_getattrE' from incompatible 
pointer type
client/client.c: In function `do_put':
client/client.c:1071: warning: passing arg 4 of `cli_getattrE' from incompatible 
pointer type
utils/smbcontrol.c: In function `do_printnotify':
utils/smbcontrol.c:423: warning: passing arg 3 of `notify_printer_byname' discards 
qualifiers from pointer target type
rpcclient/cmd_lsarpc.c: In function `cmd_lsa_query_info_policy':
rpcclient/cmd_lsarpc.c:131: warning: passing arg 1 of `print_guid' from incompatible 
pointer type
rpcclient/cmd_spoolss.c: In function `get_driver_3_param':
rpcclient/cmd_spoolss.c:1185: warning: passing arg 1 of `strtok' discards qualifiers 
from pointer target type
rpcclient/cmd_reg.c: In function `cmd_reg_shutdown':
rpcclient/cmd_reg.c:910: warning: passing arg 2 of `getopt' from incompatible pointer 
type
rpcclient/cmd_shutdown.c: In function `cmd_shutdown_init':
rpcclient/cmd_shutdown.c:43: warning: passing arg 2 of `getopt' from incompatible 
pointer type
libsmb/spnego.c: In function `read_negTokenInit':
libsmb/spnego.c:51: warning: passing arg 2 of `asn1_read_OID' from incompatible 
pointer type
libsmb/spnego.c: In function `read_negTokenTarg':
libsmb/spnego.c:186: warning: passing arg 2 of `asn1_read_OID' from incompatible 
pointer type
libsmb/spnego.c: In function `free_spnego_data':
libsmb/spnego.c:321: warning: passing arg 1 of `free' discards qualifiers from pointer 
target type
libsmb/spnego.c:330: warning: passing arg 1 of `free' discards qualifiers from pointer 
target type

The segfault is core dump is of course fatal. I have no idea how to proceed from here.

Jerel Crosland
Technical Specialist
  818/704-3187

The journey of a thousand miles begins with a broken fan belt and a leaky tire.



***
This e-mail and any files transmitted with it are intended 
solely for the use of the addressee.  This e-mail may 
contain confidential and/or legally privileged information.  
Any review, transmission, disclosure, copying, or any action 
taken or not taken, by other than the intended recipient, in 
reliance on the information, is prohibited.  If you received 
this e-mail in error, notify the sender and delete this e-mail 
(and any accompanying material) from your computer and
network. In addition, please be advis

Re: [Samba] Re: OS X

2004-03-03 Thread Curtis Vaughan
Yeh, I'm not worried about OS X server, but client computers accessing 
Samba shares.

Curtis Vaughan

On 02 Mar, 2004, at 23:43, Thomas Mikl wrote:

Curtis Vaughan wrote:
Are there any OS X users on this list, who are having real success 
with Apple's implementation of Samba?
I would like to start a discussion about several problems with Samba 
on OS 10.3.
Curtis Vaughan
Successfully set up OS X 10.3.2 Server as a Windows PDC, including 
several file shares, logon scripts  well everything there is and 
had not a single problem.

--
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] A virus was detected $B!Z%&%$%k%9H/(B$B8+%a%C%;!<%8![(B

2004-03-03 Thread v_check

(BALERT!
(BA virus was detected in this message.
(BNAV(Norton Anti Virus)$B$O0J2<$N%a!<%k$K%&%$%k%9$rH/8+$7$^$7$?!#(J
(B
(BSubject:  Re: Your details
(BMessage-ID:  <[EMAIL PROTECTED]>
(BDate: 2004/03/04
(BFrom: [EMAIL PROTECTED]
(BTo: [EMAIL PROTECTED]
(B
(BA virus was deleted.
$B%&%$%k%9$N6n=|$K<:GT$7$?$?$a!"(J
$B%&%$%k%9$r4^$`ItJ,$r:o=|$7$FG[?.$7$^$7$?!#(J
(B(status = repaired $B!'=$I|@.8y(J
(B   deleted $B!':o=|(J)
(Bfile=your_details.pif,status=deleted,virus-id=15702,[EMAIL PROTECTED]
(B
(BThank you.
(B
(BPlala Networks
(B-- 
(BTo unsubscribe from this list go to the following URL and read the
(Binstructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] Samba-3 by Example book availability

2004-03-03 Thread Harry, Jill
Hi All,

I appreciate those who have written requesting clarification as to when John
Terpstra's latest book, "Samba-3 By Example: Practical Exercises to
Successful Deployment" will be available. In answer to your queries, it's on
schedule to be available in retail outlets (your local technical bookstore,
Barnes & Noble, Borders, Amazon) by the first week of April.  Or, it can be
pre-ordered now at Amazon:
http://www.amazon.com/exec/obidos/ASIN/0131472216/qid%3D1077225188/sr%3D11-1
/ref%3Dsr%5F11%5F1/102-2225595-6404924  

Given the level of interest, we're thinking of giving away a few copies-- as
soon as we've sorted out how to determine the winners, we'll follow up with
announcement. If anyone has a suggestion, please send them my way.

Thanks!

Jill

Jill Harry
Executive Editor
Prentice Hall PTR
5585 Bear Creek Drive
Cathey's Valley, CA 95306
209-374-3402
209-374-3406 fax
[EMAIL PROTECTED]
www.phptr.com




This email may contain confidential material.
If you were not an intended recipient, 
please notify the sender and delete all copies.
We may monitor email to and from our network.




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


RE: [Samba] Windows access to samba share

2004-03-03 Thread Toby Schaefer


-|-Original Message-
-|From: [EMAIL PROTECTED]
-|[mailto:[EMAIL PROTECTED] On
-|Behalf Of Mike Westkamper
-|Sent: Wednesday, March 03, 2004 4:41 PM
-|To: SAMBA
-|Subject: [Samba] Windows access to samba share
-|
-|
-|I am new to the list so my problem is likely redundant.
-|
-|I am using Samba on a remote Linux system to offer Windows clients access
-|to
-|data being collected by a real-time system. The real-time data collection
-|systems are built on the RH 8 Linux distribution. I also have one that was
-|built using the RH Fedora Core 1 distribution. The data collection
-|software
-|runs as root (yes I do know its not the best way but for a number of
-|reasons
-|it is most convenient and the system ONLY runs the one application).
-|
-|This system is an isolated subnet with only 6 boxes, 5 are Linux data
-|collection systems and the 6th is a Windows 2000 GUI box.
-|
-|The problem arises when Windows client try's to access the data. It gets
-|an
-|"Access Denied" message.
-|
-|>From the default smb.conf - the following are my changes from the
-|default...
-|
-|workgroup = WORKGROUP
-|
-|hosts allow = 192.168.1. 127.
-|
-|security = share
-|
-|[filestore]
-|comment = Digital Data Files
-|path = /filestore
-|public = yes
-|writable = yes
-|create mask = 0777
-|directory mode = 0777
-|
-|I am not a Linux guru, however is do have some experience with both Samba
-|and Linux.
-|
-|Any help will be greatly appreciated.
-|
-|Mike
-|
-|This message is private and contains confidential information intended
-|only
-|for the use of the recipient(s). If you have received this e-mail in error
-|and are not the intended recipient you must not disclose, copy or
-|distribute
-|it to anyone else. Please advise the sender immediately,
-|[EMAIL PROTECTED], and delete this email and all attachments.
-|
-|--
-|To unsubscribe from this list go to the following URL and read the
-|instructions:  http://lists.samba.org/mailman/listinfo/samba


Two things immediately come to mind:

1.  Make sure that you have created a user for the person logging in (both
in Linux and Samba)

2.  Make sure that the user that you created has linux access to the files.
(If the files are -rw-rw and that users doesn't belong to the same group
as the group on the file, samba will give an access denied.)

The big 'kicker' when learning the basics of samba/linux interaction is that
you always need to check the permissions on the base shared directory as
well -  I've found that linux permissions account for about 50% of the
'basic' samba problems that I've seen, and it's easy to overlook.

Cheers,

Toby Schaefer

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


[Samba] Windows access to samba share

2004-03-03 Thread Mike Westkamper

I am new to the list so my problem is likely redundant.

I am using Samba on a remote Linux system to offer Windows clients access to
data being collected by a real-time system. The real-time data collection
systems are built on the RH 8 Linux distribution. I also have one that was
built using the RH Fedora Core 1 distribution. The data collection software
runs as root (yes I do know its not the best way but for a number of reasons
it is most convenient and the system ONLY runs the one application).

This system is an isolated subnet with only 6 boxes, 5 are Linux data
collection systems and the 6th is a Windows 2000 GUI box.

The problem arises when Windows client try's to access the data. It gets an
"Access Denied" message.

>From the default smb.conf - the following are my changes from the default...

workgroup = WORKGROUP

hosts allow = 192.168.1. 127.

security = share

[filestore]
comment = Digital Data Files
path = /filestore
public = yes
writable = yes
create mask = 0777
directory mode = 0777

I am not a Linux guru, however is do have some experience with both Samba
and Linux.

Any help will be greatly appreciated.

Mike

This message is private and contains confidential information intended only
for the use of the recipient(s). If you have received this e-mail in error
and are not the intended recipient you must not disclose, copy or distribute
it to anyone else. Please advise the sender immediately,
[EMAIL PROTECTED], and delete this email and all attachments.

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


[Samba] Windows access to data created by Linux application

2004-03-03 Thread Mike Westkamper

I am using Samba on a remote Linux system to offer Windows clients access to
data being collected by a real-time system. The real-time data collection
systems are built on the RH 8 Linux distribution. I also have one that was
built using the RH Fedora Core 1 distribution. The data collection software
runs as root (yes I do know its not the best way but for a number of reasons
it is most convenient and the system ONLY runs the one application).

This system is an isolated subnet with only 6 boxes, 5 are Linux data
collection systems and the 6th is a Windows 2000 GUI box.

The problem arises when Windows client try's to access the data. It gets an
"Access Denied" message.

>From the default smb.conf - the following are my changes from the default...

workgroup = WORKGROUP

hosts allow = 192.168.1. 127.

security = share

[filestore]
comment = Digital Data Files
path = /filestore
public = yes
writable = yes
create mask = 0777
directory mode = 0777

I am not a Linux guru, however is do have some experience with both Samba
and Linux.

Any help will be greatly appreciated.

Mike

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


RE: [Samba] Re: wbinfo -u returns 0xc0000022

2004-03-03 Thread Salmons, Michael
 
I figured out what was going on and thought I'd share it. The account I was invoking 
with wbinfo -A has a special character in the password that coincides with the 
character I myself had designated in the winbind config as the separator between 
domain and username! Du-uhhh. So the PDC thought I was trying to send the domain name 
couched inside the user's password. Made for some entertaining entries in the PDC's 
security logs.

Thanks for your responses.

Michael 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 03, 2004 10:19 AM
To: Salmons, Michael
Subject: RE: [Samba] Re: wbinfo -u returns 0xc022


I also had the same problem when I first setup samba, I don't know if this will help 
but The samba server was on ethernet i.e with a frame size of 1500 and the NT domain 
controller it was talking to was on token ring with a frame size of 4096. I changed 
the token ring max frame size to 1500 and it solved the problem.
I have also seen the windows error 'path too deep' caused by this problem.
 
Hope this helps
Keith Allen



Unencrypted electronic mail is not secure and may not be authentic.
If you have any doubts as to the contents please telephone to confirm.
The information contained in this message is confidential and is intended for the 
addressee(s) only. If you have received this message in error or there are any 
problems, please notify the originator immediately. The unauthorised use, disclosure, 
copying or alteration of this message is strictly forbidden. Opinions, conclusions and 
other information expressed in this message are not given or endorsed by Safeway 
unless otherwise indicated by an authorised representative independent of this message.




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


Re: [Samba] Windows 2k SP4 Printing causes smbd to dump

2004-03-03 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Shane Drinkwater wrote:

I just upgraded to Samba 3.0.2a last week. about mid week I 
> started seeing problems like this in printing to one printer only.
Any Ideas what could be wrong??  The Client was Windows 2k sp 
> 4 the server is LINUX 7.3, samba-3.0.2a, lpr

Already fixed in CVS.  See this report for the patch.

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



cheers, jherry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 "If we're adding to the noise, turn off this song" --Switchfoot (2003)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFARkVZIR7qMdg1EfYRAqHVAKCazC+1JbPL4y1OjJSO/YDHvcIe2wCgzdeF
y30p5xF8O8Q+CV122L2IwWU=
=BSy1
-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] Samba with Sun's ldap

2004-03-03 Thread aarumuga arumugam
Hi,
 I am trying to compile Samba-3.0.2a with ldap,ads
and kerberos support. I am trying to use sun's ldap
instead of openldap.

Here is my config.log excerpt
.
checking for LDAP support... yes
checking ldap.h usability... yes
checking ldap.h presence... yes
checking for ldap.h... yes
checking lber.h usability... yes
checking lber.h presence... yes
checking for lber.h... yes
checking for ber_scanf in -llber... no
checking for ldap_init in -lldap... yes
checking for ldap_domain2hostlist... no
checking for ldap_set_rebind_proc... yes
checking whether ldap_set_rebind_proc takes 3
arguments... 3
checking for ldap_initialize... no

The compilation breaks with an error
"libldap is need for ldap support"

Is there any changes to be made to the configure
script for successful compilation.

Thanks in advance
aarumuga

__
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Windows 2k SP4 Printing causes smbd to dump

2004-03-03 Thread Stéphane Purnelle
Shane Drinkwater a écrit :

I just upgraded to Samba 3.0.2a last week. about mid week I started seeing
problems like this in printing to one printer only.
Any Ideas what could be wrong??  The Client was Windows 2k sp 4 the server
is LINUX 7.3, samba-3.0.2a, lpr
Shane
[2004/02/29 08:35:45, 0] lib/fault.c:fault_report(36)
 ===
[2004/02/29 08:35:45, 0] lib/fault.c:fault_report(37)
 INTERNAL ERROR: Signal 11 in pid 18547 (3.0.2a)
 Please read the appendix Bugs of the Samba HOWTO collection
[2004/02/29 08:35:45, 0] lib/fault.c:fault_report(39)
 ===
[2004/02/29 08:35:45, 0] lib/util.c:smb_panic(1400)
 PANIC: internal error
[2004/02/29 08:35:45, 0] lib/util.c:smb_panic(1407)
 BACKTRACE: 22 stack frames:
  #0 smbd(smb_panic+0x14e) [0x819055e]
  #1 smbd [0x81805c7]
  #2 smbd [0x42029188]
  #3 smbd(print_queue_status+0x146) [0x81aa706]
  #4 smbd(_spoolss_enumjobs+0xef) [0x810c56f]
  #5 smbd [0x80fdc5c]
  #6 smbd(api_rpcTNP+0x213) [0x812a333]
  #7 smbd(api_pipe_request+0xcf) [0x812a08f]
  #8 smbd [0x8124468]
  #9 smbd [0x812464f]
  #10 smbd [0x81248ec]
  #11 smbd [0x8124ac9]
  #12 smbd(write_to_pipe+0xe4) [0x8124a44]
  #13 smbd [0x8088011]
  #14 smbd(reply_trans+0x995) [0x8088c95]
  #15 smbd [0x80bc6e9]
  #16 smbd [0x80bc78e]
  #17 smbd(process_smb+0x1a7) [0x80bca97]
  #18 smbd(smbd_process+0x151) [0x80bd481]
  #19 smbd(main+0x6c3) [0x81ed5d3]
  #20 smbd(__libc_start_main+0x95) [0x42017589]
  #21 smbd(chroot+0x39) [0x8076ab1]
[2004/02/29 08:35:58, 0] passdb/pdb_smbpasswd.c:getsmbfilepwent(376)
 getsmbfilepwent: malformed password entry (no :)
[2004/02/29 08:47:58, 0] passdb/pdb_smbpasswd.c:getsmbfilepwent(376)
 getsmbfilepwent: malformed password entry (no :)
and 
[2004/02/29 09:33:29, 0] lib/fault.c:fault_report(36)
 ===
[2004/02/29 09:33:29, 0] lib/fault.c:fault_report(37)
 INTERNAL ERROR: Signal 11 in pid 1919 (3.0.2a)
 Please read the appendix Bugs of the Samba HOWTO collection
[2004/02/29 09:33:29, 0] lib/fault.c:fault_report(39)
 ===
[2004/02/29 09:33:29, 0] lib/util.c:smb_panic(1400)
 PANIC: internal error
[2004/02/29 09:33:29, 0] lib/util.c:smb_panic(1407)
 BACKTRACE: 22 stack frames:
  #0 smbd(smb_panic+0x14e) [0x819055e]
  #1 smbd [0x81805c7]
  #2 smbd [0x42029188]
  #3 smbd(print_queue_status+0x146) [0x81aa706]
  #4 smbd(_spoolss_enumjobs+0xef) [0x810c56f]
  #5 smbd [0x80fdc5c]
  #6 smbd(api_rpcTNP+0x213) [0x812a333]
  #7 smbd(api_pipe_request+0xcf) [0x812a08f]
  #8 smbd [0x8124468]
  #9 smbd [0x812464f]
  #10 smbd [0x81248ec]
  #11 smbd [0x8124ac9]
  #12 smbd(write_to_pipe+0xe4) [0x8124a44]
  #13 smbd [0x8088011]
  #14 smbd(reply_trans+0x995) [0x8088c95]
  #15 smbd [0x80bc6e9]
  #16 smbd [0x80bc78e]
  #17 smbd(process_smb+0x1a7) [0x80bca97]
  #18 smbd(smbd_process+0x151) [0x80bd481]
  #19 smbd(main+0x6c3) [0x81ed5d3]
  #20 smbd(__libc_start_main+0x95) [0x42017589]
  #21 smbd(chroot+0x39) [0x8076ab1]
[2004/02/29 09:36:01, 0] lib/fault.c:fault_report(36)
 ===
[2004/02/29 09:36:01, 0] lib/fault.c:fault_report(37)
 INTERNAL ERROR: Signal 11 in pid 1934 (3.0.2a)
 Please read the appendix Bugs of the Samba HOWTO collection
[2004/02/29 09:36:01, 0] lib/fault.c:fault_report(39)
 ===
[2004/02/29 09:36:01, 0] lib/util.c:smb_panic(1400)
 PANIC: internal error
[2004/02/29 09:36:01, 0] lib/util.c:smb_panic(1407)
 BACKTRACE: 22 stack frames:
  #0 smbd(smb_panic+0x14e) [0x819055e]
  #1 smbd [0x81805c7]
  #2 smbd [0x42029188]
  #3 smbd(print_queue_status+0x146) [0x81aa706]
  #4 smbd(_spoolss_enumjobs+0xef) [0x810c56f]
  #5 smbd [0x80fdc5c]
  #6 smbd(api_rpcTNP+0x213) [0x812a333]
  #7 smbd(api_pipe_request+0xcf) [0x812a08f]
  #8 smbd [0x8124468]
  #9 smbd [0x812464f]
  #10 smbd [0x81248ec]
  #11 smbd [0x8124ac9]
  #12 smbd(write_to_pipe+0xe4) [0x8124a44]
  #13 smbd [0x8088011]
  #14 smbd(reply_trans+0x995) [0x8088c95]
  #15 smbd [0x80bc6e9]
  #16 smbd [0x80bc78e]
  #17 smbd(process_smb+0x1a7) [0x80bca97]
  #18 smbd(smbd_process+0x151) [0x80bd481]
  #19 smbd(main+0x6c3) [0x81ed5d3]
  #20 smbd(__libc_start_main+0x95) [0x42017589]
  #21 smbd(chroot+0x39) [0x8076ab1]

 

I have this problem too

--
Stéphane Purnelle <[EMAIL PROTECTED]>
Site Web : http://www.linuxplusvalue.be
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] session user name

2004-03-03 Thread flinchlock
Quoting "Pieter Vanmeerbeek"

> This is our smb.conf file:
> 
> 
> ; The global setting for a RedHat default install
> ; Make sure and restart the server after making changes to this
> file, ex:
> 
> [global]
> ; Public name
> server string = aXs GUARD Server
> 
> exec = /ub/pkg/samba/bin/smbvars "%m" "%M" "%I" "%a" "%D"
> "%u" "%H" 
> "%g" "%U" "%G" "%S" "%P" "%p" "%h" "%L" "%N" "%v" "%d" "%R" "%T"
> > 
> /tmp/sambavar

You need to change the output file to use some variable.

Since the exec script is in the GLOBAL section, EVERY share
connection causes that script to run and overwrite each output from
each share... use /tmp/%S.sambavars

OR, use ">>" that will append all the outputs into one file that
will grow and grow and grow and grow and ...

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


[Samba] bogus file sizes from samba shares

2004-03-03 Thread Dexter Filmore

when I run du -sh or ls -s on a smb share, I get completely bogus file sizes,
512x as big as they should be. tried with samba 3.0.1 and 3.0.2a, both server
and client on 2.6, slackware 9.1.

example:

$ ls -1sh
302G 001.part*
327G 002.part*
355G 003.part*

but:

$ ls -lh
-rwxrwxr-x1 dexter   users603M 2004-01-19 19:32 001.part*
-rwxrwxr-x1 dexter   users653M 2004-01-19 19:32 002.part*
-rwxrwxr-x1 dexter   users710M 2004-01-19 19:32 003.part*


-- 
-BEGIN GEEK CODE BLOCK-
Version: 3.12
FGCS d--(+)@ s-:+ a- C+++() UL+> P+>++ L+++> E-- W++ N o? K-
w--(---) !O M+ V- PS++(+) PE(-) Y+ PGP(-) t++(---)@ 5 X+(++) R+(++) tv--(+)@ 
b+(+++) DI+++ D G++ e* h>++ r%>* y?
--END GEEK CODE BLOCK--

http://www.againsttcpa.com - nothing fights like the opposition
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Samba3.0.2a, MS Office (Excel), Save problem.

2004-03-03 Thread James
You are correct about this same problem on doze boxes.  Another thing
that also happens, is when the use closes the file, and reopens, it is
still marked as read only. I experience this with office xp. I know this
isn't much help, but at least you know you aren't alone :-D

Thanks, 
James 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Dmitry Melekhov
Sent: Wednesday, March 03, 2004 1:10 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Samba3.0.2a, MS Office (Excel), Save problem.

 Hello!


Brief Description:
This problem has now occured with a number of users, running different
versions of Office (see below).
When saving documents, Office seems to set the read-only bit. The
problem
is best shown with Excel, which when saving a spredsheet, reports the
following error:
"The Document was saved succesfully, but Excel cannot re-open it because
of a sharing violation. Please Close the Document and try again."



We have the same problem! On 2.2.8a...
Unfortunatley, we can't reproduce it :-(
As I readed on news group, some people have the same problem on windows
fileservers.
May be this is Excel problem?
After all we used dos filemode to allow not owners change read-only
bit

-- 
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] Windows 2k SP4 Printing causes smbd to dump

2004-03-03 Thread Shane Drinkwater
I just upgraded to Samba 3.0.2a last week. about mid week I started seeing
problems like this in printing to one printer only.
Any Ideas what could be wrong??  The Client was Windows 2k sp 4 the server
is LINUX 7.3, samba-3.0.2a, lpr
Shane
[2004/02/29 08:35:45, 0] lib/fault.c:fault_report(36)
  ===
[2004/02/29 08:35:45, 0] lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 11 in pid 18547 (3.0.2a)
  Please read the appendix Bugs of the Samba HOWTO collection
[2004/02/29 08:35:45, 0] lib/fault.c:fault_report(39)
  ===
[2004/02/29 08:35:45, 0] lib/util.c:smb_panic(1400)
  PANIC: internal error
[2004/02/29 08:35:45, 0] lib/util.c:smb_panic(1407)
  BACKTRACE: 22 stack frames:
   #0 smbd(smb_panic+0x14e) [0x819055e]
   #1 smbd [0x81805c7]
   #2 smbd [0x42029188]
   #3 smbd(print_queue_status+0x146) [0x81aa706]
   #4 smbd(_spoolss_enumjobs+0xef) [0x810c56f]
   #5 smbd [0x80fdc5c]
   #6 smbd(api_rpcTNP+0x213) [0x812a333]
   #7 smbd(api_pipe_request+0xcf) [0x812a08f]
   #8 smbd [0x8124468]
   #9 smbd [0x812464f]
   #10 smbd [0x81248ec]
   #11 smbd [0x8124ac9]
   #12 smbd(write_to_pipe+0xe4) [0x8124a44]
   #13 smbd [0x8088011]
   #14 smbd(reply_trans+0x995) [0x8088c95]
   #15 smbd [0x80bc6e9]
   #16 smbd [0x80bc78e]
   #17 smbd(process_smb+0x1a7) [0x80bca97]
   #18 smbd(smbd_process+0x151) [0x80bd481]
   #19 smbd(main+0x6c3) [0x81ed5d3]
   #20 smbd(__libc_start_main+0x95) [0x42017589]
   #21 smbd(chroot+0x39) [0x8076ab1]
[2004/02/29 08:35:58, 0] passdb/pdb_smbpasswd.c:getsmbfilepwent(376)
  getsmbfilepwent: malformed password entry (no :)
[2004/02/29 08:47:58, 0] passdb/pdb_smbpasswd.c:getsmbfilepwent(376)
  getsmbfilepwent: malformed password entry (no :)

and 
[2004/02/29 09:33:29, 0] lib/fault.c:fault_report(36)
  ===
[2004/02/29 09:33:29, 0] lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 11 in pid 1919 (3.0.2a)
  Please read the appendix Bugs of the Samba HOWTO collection
[2004/02/29 09:33:29, 0] lib/fault.c:fault_report(39)
  ===
[2004/02/29 09:33:29, 0] lib/util.c:smb_panic(1400)
  PANIC: internal error
[2004/02/29 09:33:29, 0] lib/util.c:smb_panic(1407)
  BACKTRACE: 22 stack frames:
   #0 smbd(smb_panic+0x14e) [0x819055e]
   #1 smbd [0x81805c7]
   #2 smbd [0x42029188]
   #3 smbd(print_queue_status+0x146) [0x81aa706]
   #4 smbd(_spoolss_enumjobs+0xef) [0x810c56f]
   #5 smbd [0x80fdc5c]
   #6 smbd(api_rpcTNP+0x213) [0x812a333]
   #7 smbd(api_pipe_request+0xcf) [0x812a08f]
   #8 smbd [0x8124468]
   #9 smbd [0x812464f]
   #10 smbd [0x81248ec]
   #11 smbd [0x8124ac9]
   #12 smbd(write_to_pipe+0xe4) [0x8124a44]
   #13 smbd [0x8088011]
   #14 smbd(reply_trans+0x995) [0x8088c95]
   #15 smbd [0x80bc6e9]
   #16 smbd [0x80bc78e]
   #17 smbd(process_smb+0x1a7) [0x80bca97]
   #18 smbd(smbd_process+0x151) [0x80bd481]
   #19 smbd(main+0x6c3) [0x81ed5d3]
   #20 smbd(__libc_start_main+0x95) [0x42017589]
   #21 smbd(chroot+0x39) [0x8076ab1]
[2004/02/29 09:36:01, 0] lib/fault.c:fault_report(36)
  ===
[2004/02/29 09:36:01, 0] lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 11 in pid 1934 (3.0.2a)
  Please read the appendix Bugs of the Samba HOWTO collection
[2004/02/29 09:36:01, 0] lib/fault.c:fault_report(39)
  ===
[2004/02/29 09:36:01, 0] lib/util.c:smb_panic(1400)
  PANIC: internal error
[2004/02/29 09:36:01, 0] lib/util.c:smb_panic(1407)
  BACKTRACE: 22 stack frames:
   #0 smbd(smb_panic+0x14e) [0x819055e]
   #1 smbd [0x81805c7]
   #2 smbd [0x42029188]
   #3 smbd(print_queue_status+0x146) [0x81aa706]
   #4 smbd(_spoolss_enumjobs+0xef) [0x810c56f]
   #5 smbd [0x80fdc5c]
   #6 smbd(api_rpcTNP+0x213) [0x812a333]
   #7 smbd(api_pipe_request+0xcf) [0x812a08f]
   #8 smbd [0x8124468]
   #9 smbd [0x812464f]
   #10 smbd [0x81248ec]
   #11 smbd [0x8124ac9]
   #12 smbd(write_to_pipe+0xe4) [0x8124a44]
   #13 smbd [0x8088011]
   #14 smbd(reply_trans+0x995) [0x8088c95]
   #15 smbd [0x80bc6e9]
   #16 smbd [0x80bc78e]
   #17 smbd(process_smb+0x1a7) [0x80bca97]
   #18 smbd(smbd_process+0x151) [0x80bd481]
   #19 smbd(main+0x6c3) [0x81ed5d3]
   #20 smbd(__libc_start_main+0x95) [0x42017589]
   #21 smbd(chroot+0x39) [0x8076ab1]


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


Re: [Samba] Samba3 tar.gz install ERROR

2004-03-03 Thread Victor Medina
do you have the pam devel packages installed?

Best Regards
On Wed, 2004-03-03 at 16:59, Leandro Takashi Hirano wrote:

> Please help me...
> 
> I´m trying to compile samba3 with mysql on Redhat9 and I get the following
> error with this command line:
> 
> ./configure --with-expsam=xml,mysql --with-pam --with-pam_smbpass
> configure: error: --with-pam specified but no PAM headers found
> 
> and
> 
> ./configure --with-expsam=xml,mysql --with-pam_smbpass
> configure: error: No security/pam_appl.h found
> 
> and
> 
> ./configure --with-expsam=xml,mysql
> checking configure summary... configure: error: summary failure. Aborting
> config
> 
> PLEASE SOMEONE HELP ME

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325 - Tél: +58-241-8507325   |
 ||geek by nature - linux by choice  |
 |...|




















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


[Samba] Samba3 tar.gz install ERROR

2004-03-03 Thread Leandro Takashi Hirano
Please help me...

I´m trying to compile samba3 with mysql on Redhat9 and I get the following
error with this command line:

./configure --with-expsam=xml,mysql --with-pam --with-pam_smbpass
configure: error: --with-pam specified but no PAM headers found

and

./configure --with-expsam=xml,mysql --with-pam_smbpass
configure: error: No security/pam_appl.h found

and

./configure --with-expsam=xml,mysql
checking configure summary... configure: error: summary failure. Aborting
config

PLEASE SOMEONE HELP ME



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


[Samba] rpcclient addprinter error

2004-03-03 Thread Rui Barata
Hi

I am trying to use rpcclient's addprinter to install a printer automatically in 
a large number of XP workstations (+100)

But I get the following:

1) connecting to a XP workstation works fine

rpcclient -U root sim31%
rpcclient $>

2) adddriver also works fine. Enumdrivers shows this:
rpcclient $> enumdrivers

[Windows NT x86]
Printer Driver Info 1:
Driver Name: [Generic / Text Only]

Printer Driver Info 1:
Driver Name: [Apple LaserWriter 12/640 PS]

Printer Driver Info 1:
Driver Name: [HP LaserJet 1220 Series PCL]

Printer Driver Info 1:
Driver Name: [Win2PDF]


[Windows NT x86]
Printer Driver Info 1:
Driver Name: [Generic / Text Only]

Printer Driver Info 1:
Driver Name: [Apple LaserWriter 12/640 PS]

Printer Driver Info 1:
Driver Name: [HP LaserJet 1220 Series PCL]

Printer Driver Info 1:
Driver Name: [Win2PDF]

result was WERR_INVALID_ENVIRONMENT


3) enumports also works:
rpcclient $> enumports
Port Name:  [PDFFILE:]
Port Name:  [COM1:]
Port Name:  [COM2:]
Port Name:  [COM3:]
Port Name:  [COM4:]
Port Name:  [FILE:]
Port Name:  [LPT1:]
Port Name:  [LPT2:]
Port Name:  [LPT3:]
Port Name:  [IR]
Port Name:  [http://ieplpr1:631/printers/lpsi4]
Port Name:  [http://ieplpr1:631/printers/prtsrv]
rpcclient $>


4) but addprinter fails, whatever parameters I use, always with the same 
message:
rpcclient $> addprinter test test Win2PDF LPT1:
result was DOS code 0x001f
rpcclient $>


Please help

TIA
Rui Barata
IEP





I'm running rpcclient from a Linux RedHat 9.3 with Samba 3.0.0.
This and the XP workstation are members of a Samba domain
The smb.conf of the PDC is as follows:



# Global parameters
[global]
workgroup = IESTRADAS.PT
server string = Servidor de seguranca
encrypt passwords = Yes
log file = /var/log/samba/log.%m
log level = 0
max log size = 50
name resolve order = wins lmhosts host bcast
time server = Yes
load printers = No
logon script = entry\logon_%U.bat
logon home = \\%N\profiles
logon path = \\%N\profiles
logon drive = H
domain logons = Yes
preferred master = Yes
domain master = Yes
wins support = Yes
nis homedir = yes
homedir map = auto.home
passwd program = /var/IEP/admtools/ntdomain/bin/chgpass.sh %u
unix password sync = yes
kernel oplocks = no
os level = 65
guest account = nobody
enhanced browsing = no
server schannel = no
unix charset = iso8859-15
add machine script = /var/IEP/admtools/ntdomain/bin/addmachine.sh %m

[netlogon]
path = /etc/netlogon
browseable = No



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


Re: [Samba] Re: Supplementary Group Issues

2004-03-03 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dmitry Monakhov wrote:


I have the same problem using samba 3.0.2a SUN Solaris-9 SUN One 
Directory Server 5.2

Supplementary groups are recognized quite correct under unix shell
environment, but samba can recognize them only from /etc/group file
ignoring content of /etc/nsswithch.conf
Is it bug or samba-3.* feature?


What are the clients you use ? If Win9X, there was a bug in Samba3 
before 3.0.1rc? where groups where compared in uppercase to the posix 
ones (mostly lowercase). It has been corrected in latests Samba 3.0.2 
and 3.0.2a.


I'm using Samba 3.0.2a & win2K clients.
All secondary groups are in LDAP and groupmapped i.e.
Each secondary group has
...
objectClass: sambaGroupMapping
sambaSID: S-1-5-21-...
...
The point is the secondary groups are not even requested
during login process according to the LDAP server log-file.
See bug 395 in bugzilla.samba.org and see if that applies to you.





cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 "If we're adding to the noise, turn off this song" --Switchfoot (2003)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFARjCnIR7qMdg1EfYRAs+RAKChZ3L6kfMDSwFATol0bW440JmgQwCgwp+9
WgU59T0Sb949bcltnvVfNLI=
=0z9u
-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] Samba on AIX

2004-03-03 Thread Ric Tibbetts
Has anyone gotten AIX 4.3.3 to authenticate against an NT PDC?
If so, how?

THanks!

-Ric






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


[Samba] Samba3.0.2a, MS Office (Excel), Save problem.

2004-03-03 Thread Dmitry Melekhov
 Hello!


Brief Description:
This problem has now occured with a number of users, running different
versions of Office (see below).
When saving documents, Office seems to set the read-only bit. The problem
is best shown with Excel, which when saving a spredsheet, reports the
following error:
"The Document was saved succesfully, but Excel cannot re-open it because
of a sharing violation. Please Close the Document and try again."



We have the same problem! On 2.2.8a...
Unfortunatley, we can't reproduce it :-(
As I readed on news group, some people have the same problem on windows
fileservers.
May be this is Excel problem?
After all we used dos filemode to allow not owners change read-only bit

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


Re: [Samba] NTFS file streams and Samba?

2004-03-03 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bjoern Jacke wrote:

Is  there  any way to keep file streams over Samba shares? I realize
that  Linux filesystems does not have something similar. However one
way  Samba could do it is to use additional files (hidden to users).
It could also be possible to use a plugin module for ReiserFS 4?
according to the 'fixed' status of 
https://bugzilla.samba.org/show_bug.cgi?id=228 i would expect streams to 
be working already. If they are not, this bug should probably be set to 
'later' instead.
Different issue.  We don't have stream, support.  The bug
is misleading.


- --
cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 "If we're adding to the noise, turn off this song" --Switchfoot (2003)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFARh75IR7qMdg1EfYRApmYAKDzJdOmDAUJJG3CEGzInRBkeLyaewCgkAl6
M2IAxjEKexAG2L6FaqiyAoU=
=NQHh
-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] NetAPP still noone done?

2004-03-03 Thread Jeremy Allison
On Wed, Mar 03, 2004 at 08:50:47AM +0100, Thomas Mikl wrote:
> Hi!
> 
> I have the following config:
> RedHat ES 3
> Samba 3.0.2a with OpenLDAP 2.0.27
> 
> Everything works fine having Samba setup as a PDC. But when trying to 
> join a (brand new) NetApp F810 to the domain I get an error: "Could not 
> create authentication pipe".

This should work, it's one of the things we did test very
recently with NetApp. What feedback are you getting from
NetApp support ?

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


[Samba] C000019B error on login

2004-03-03 Thread Eric Freed
Hi all, 

I tried to set up an Samba 3.0.2a PDC with an LDAP backend (on Fedora).
I can add a machine to the domain (both the NT machine thinks it joins,
and I can see the info in LDAP), but when I go to log on I get this
error:

The System Cannot Log You On (C19B)

According to the FAQ this happens when there is a SID mismatch, and can
be fixed by either getting back the old SID, or rejoining the domain. I
don't have an old SID, and I tried rejoining the domain, but I am still
stuck. 

One last clue; if I try to log on with a valid username but invalid
password, I get the normal response for an invalid username/password
combination. And I saw the PDC checking LDAP. 

Any ideas?

-- 
Eric Freed <[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] Re: NetAPP still noone done? The story continous (success!)

2004-03-03 Thread Gémes Géza
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sorry for this O.T. question, but what is this NetApp all about, why
does it need special treatment?
Thanks

Geza
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFARhsB/PxuIn+i1pIRAvoqAJwNcKLfUSkxwG+MiKhScgdIs8cahwCaAzqB
CY5ZqPiBVCrqQOjiVpvAqFg=
=l9qT
-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] PIPE\lsarpc initialisation failed !

2004-03-03 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lapin(c) wrote:
Hi all,

I encounter a problem when I try to connect a Samba3 
> server as a BDC on a ASU HP/9000 PDC server.

If you could send me a level 10 debug log and a raw network capture
file of the failure (off list), I'll try to take a look.




cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 "If we're adding to the noise, turn off this song" --Switchfoot (2003)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFARhsGIR7qMdg1EfYRAj9/AKCT49oDEPlfDi6njs+Is2hjJOCv8ACg741/
8OuYXECDoUxsELFCyCjb35Q=
=nqXZ
-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] NTFS file streams and Samba?

2004-03-03 Thread Bjoern Jacke
On 2004-03-03 at 09:54 -0600 Gerald (Jerry) Carter sent off:
On Thu, 26 Feb 2004, Spam wrote:
  Is  there  any way to keep file streams over Samba shares? I realize
  that  Linux filesystems does not have something similar. However one
  way  Samba could do it is to use additional files (hidden to users).
  It could also be possible to use a plugin module for ReiserFS 4?
according to the 'fixed' status of 
https://bugzilla.samba.org/show_bug.cgi?id=228 i would expect streams 
to be working already. If they are not, this bug should probably be 
set to 'later' instead.

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


Re: [Samba] question about AD authentication

2004-03-03 Thread Anne Ramey
Did this ever get answered?  I am having the identical problem.

Anne
On Feb 26, 2004, at 10:18 AM, Delagarza, Gilbert wrote:
what does this mean?

[2004/02/26 09:09:15, 0] lib/util_sock.c:get_peer_addr(952)
  getpeername failed. Error was Transport endpoint is not connected
[2004/02/26 09:09:15, 0] lib/util_sock.c:write_socket_data(388)
  write_socket_data: write failure. Error = Connection reset by peer
[2004/02/26 09:09:15, 0] lib/util_sock.c:write_socket(413)
  write_socket: Error writing 4 bytes to socket 5: ERRNO = Connection 
reset
by peer
[2004/02/26 09:09:15, 0] lib/util_sock.c:send_smb(605)

I see this in the logs from a W2K server in AD when I try to map a 
drive to.
I get challenged by a userid and password box.
Any ideas?

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


[SAMBA] PIPE\lsarpc initialisation failed !

2004-03-03 Thread Lapin(c)
Hi all,

I encounter a problem when I try to connect a Samba3 server as a BDC on a ASU
HP/9000 PDC server. 

We manage to start the communication between both computers, but it doesn't
achieve it. It failed when trying to bind to PIPE\lsarpc. Can anyone give some
help please ?

Let's note that I can get the SID from net getlocalsid command, and that I can
list all share with administrator account as well (smbclient -L SERVER -U
administrator). ASU also accepts the BDC role in his table (net computer BDC
/add /backup)...

Thank a lot 

here is the error in log level 4.

# net rpc join bdc -U administrator%secret -S SERVER -d 4
[...]
[2004/03/03 16:59:01, 3] lib/util_sock.c:open_socket_out(690)
  Connecting to 75.23.14.149 at port 139
[2004/03/03 16:59:01, 4] lib/time.c:get_serverzone(122)
  Serverzone is -3600
[2004/03/03 16:59:01, 2] rpc_client/cli_pipe.c:rpc_pipe_bind(1384)
  rpc_pipe_bind: check_bind_response failed.
[2004/03/03 16:59:01, 2] rpc_client/cli_pipe.c:cli_nt_session_open(1458)
  cli_nt_session_open: rpc bind to \PIPE\lsarpc failed
could not initialise lsa pipe
could not obtain sid for domain



A more complete loglevel :

[2004/03/03 16:58:26, 5] rpc_parse/parse_prs.c:prs_uint32(634)
  0034 version: 0002
[2004/03/03 16:58:26, 2] rpc_client/cli_pipe.c:rpc_pipe_bind(1384)
  rpc_pipe_bind: check_bind_response failed.
[2004/03/03 16:58:26, 2] rpc_client/cli_pipe.c:cli_nt_session_open(1458)
  cli_nt_session_open: rpc bind to \PIPE\lsarpc failed
[2004/03/03 16:58:26, 6] lib/util_sock.c:write_socket(407)
  write_socket(7,45)
[2004/03/03 16:58:26, 6] lib/util_sock.c:write_socket(410)
  write_socket(7,45) wrote 45
[2004/03/03 16:58:26, 10] lib/util_sock.c:read_smb_length_return_keepalive(463)
  got smb length of 35
[2004/03/03 16:58:26, 5] lib/util.c:show_msg(478)
[2004/03/03 16:58:26, 5] lib/util.c:show_msg(488)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51201
  smb_tid=1
  smb_pid=28861
  smb_uid=32775
could not initialise lsa pipe
could not obtain sid for domain




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


SV: [Samba] How to access HP 1125c printer and Hp designjet 330 plotterconnected in Win98 from RedHatLinux 8.0 and Mandrake 9.0

2004-03-03 Thread Anders Norrbring
> -Ursprungligt meddelande-
> 
> hi everybody,
> how to acccess HP 1125c and HP 330 pltter connected in win98 from RH
> 8.0 and Mandrake 9.0. Since it is a part of the network so it is not
> possible for me to connect the devices to Linux machine and access it from
> Win98.
> But there must be someway to access resources connected in win98 from
> linux . Plz tell me how can I do this.
> Thanks in advance.


Just share it from your windows box and then use CUPS to connect to it.

Anders.

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


RE: [Samba] Re: wbinfo -u returns 0xc0000022

2004-03-03 Thread Salmons, Michael
 Thanks for that info. No effect on the problem, though..



-Original Message-
From: Zylo [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 03, 2004 5:05 AM
To: [EMAIL PROTECTED]
Subject: [Samba] Re: wbinfo -u returns 0xc022

You should use wbinfo -A user%password
You need only a valid user, not an administrator user.

HTH.

"Salmons, Michael" <[EMAIL PROTECTED]> a écrit dans le message de news:[EMAIL 
PROTECTED]
Hello,

I am attempting to add a Redhat 9 box to our NT4 domain as a member server. I want to 
enumerate user and group info so I don't have to make two sets of user and group 
accounts. I've setup samba (version 2.2.7a) and pamd the way I think I'm supposed to, 
but wbinfo -u always returns 0xc022. I've found this particular error mentioned in 
a few articles, but applying the various remedies offered has resulted in no change.

wbinfo -t: the secret was good, but over the weekend (and after a reboot of the pdc 
and bdc) it's now bad. it returns 0xc0e5.

I've used wbinfo -a to authenticate to the domain as the domain admin- it 
authenticated successfully- no change in response of wbinfo -u. (also i noticed it was 
passing the password in cleartext, something i'd rather not do..)

in case this is an issue: RestrictAnonymous is set to 1 on the pdc.

I had no trouble adding the machine to the domain. I don't think I did, at least. I 
started in the Server Manager of the pdc, then ran smbpasswd. I can use smbmount to 
view shares in the domain on the redhat box, plus test shares I've setup on the redhat 
box are viewable by others if I've established a local account for them.

--various files, with a few things changed to protect privacy:

/etc/samba/smb.conf

NOTE: wins server is numeric ip and is correct; hosts allow does match our subnet; 
password server and remote announce are the netbios names of our pdc and bdc

[global]
 log file = /var/log/samba/%m.log
 smb passwd file = /etc/samba/smbpasswd
 load printers = yes
 passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192  obey pam restrictions = 
yes  wins server = xx.xx.xx.xx  encrypt passwords = yes  hosts allow = xx.xx  passwd 
program = /usr/bin/passwd %u  dns proxy = no  netbios name = netname  server string = 
serverstring  printing = cups  password server = pdc bdc  unix password sync = Yes  
local master = no  remote announce = pdc  workgroup = DOMAIN  os level = 2  printcap 
name = /etc/printcap  security = domain  preferred master = no  max log size = 0  pam 
password change = yes
username map = /etc/samba/smbusers
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
template homedir = /home/%U
winbind separator = +
winbind uid = 1-2
winbind gid = 1-2
winbind enum users = yes
winbind enum groups = yes
template shell = /bin/bash
add user script = /usr/sbin/adduser -d /home/%D/%U %u



/etc/pam.d/login

#%PAM-1.0
auth   required pam_securetty.so
auth   required pam_stack.so service=system-auth
auth   required pam_nologin.so
accountrequired pam_stack.so service=system-auth
password   required pam_stack.so service=system-auth
sessionrequired pam_stack.so service=system-auth
sessionoptional pam_console.so
accountsufficient  /lib/security/pam_winbind.so
sessionrequired/lib/security/pam_mkhomedir.so skel=/etc/skel
umask=0022


/etc/pam.d/samba

#%PAM-1.0
auth   required pam_nologin.so
auth   required pam_env.so
auth   required pam_stack.so service=system-auth
auth   sufficient   pam_ldap.so
auth   sufficient   pam_smb_auth.so use_first_pass
auth   sufficient   pam_unix.so likeauth nullok try_first_pass
auth   required pam_deny.so
accountrequired pam_stack.so service=system-auth
sessionrequired pam_stack.so service=system-auth
password   required pam_stack.so service=system-auth


/etc/pam.d/system-auth

#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
authrequired  /lib/security/$ISA/pam_env.so
authsufficient/lib/security/$ISA/pam_unix.so likeauth nullok
authrequired  /lib/security/$ISA/pam_deny.so

account required  /lib/security/$ISA/pam_unix.so

passwordrequired  /lib/security/$ISA/pam_cracklib.so retry=3
type=
passwordsufficient/lib/security/$ISA/pam_unix.so nullok
use_authtok md5 shadow
passwordrequired  /lib/security/$ISA/pam_deny.so

session required  /lib/security/$ISA/pam_limits.so
session required  /lib/security/$ISA/pam_unix.so



/etc/pam_smb.conf

DOMAIN
pdc
bdc

(substitute actual domain and netbios names of pdc and bdc)



What should I check next? Any help would be appreciated.

Michael Salmons
[EMAIL PROTECTED]











--
To unsubscribe from this list go to the fo

[Samba] Samba PDC + Win2K Terminal services + win2k clients

2004-03-03 Thread Nicolas Piganeau
Hello,

In our network, there is a Windows 2K running Terminal services server and a 
PDC which used to be NT4 and is now SAMBA. Everything worked fine before the 
change.

All the users on the worstations are logged on the 
domain controled by samba PDC. 

When we connect to the Win2K TSE server from either a WINNT4 
workstation or a WinXP(PRO) there is no problem 
at all, and it works.

However, when we connect from a Win2K pro box, it says 
"connection refused by peer" and in the Win2k TSE server event "log", 
it says something like "unable to deliver a licence to 
the client". 

However, when the user connects to the win2K workstation locally and then to 
the Win2K TSE it works!

Any ideas?

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


[Samba] How to access HP 1125c printer and Hp designjet 330 plotter connected in Win98 from RedHatLinux 8.0 and Mandrake 9.0

2004-03-03 Thread ritwik das
hi everybody,
how to acccess HP 1125c and HP 330 pltter connected in win98 from RH 8.0 and 
Mandrake 9.0. Since it is a part of the network so it is not possible for me to 
connect the devices to Linux machine and access it from  Win98.
But there must be someway to access resources connected in win98 from linux . Plz tell 
me how can I do this.
Thanks in advance.



-
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] NTFS file streams and Samba?

2004-03-03 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 26 Feb 2004, Spam wrote:

> 
>   Is  there  any way to keep file streams over Samba shares? I realize
>   that  Linux filesystems does not have something similar. However one
>   way  Samba could do it is to use additional files (hidden to users).
>   It could also be possible to use a plugin module for ReiserFS 4?

Streams are not currently in Samba (but we are looking into it).





cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 "If we're adding to the noise, turn off this song" --Switchfoot (2003)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQFARf/EIR7qMdg1EfYRArZ3AKDCX3g/HjH9M7hhSJZmjm9oEfsaBQCfdVSy
jvha7aDrGfpQnEnToSPYMNw=
=gBz8
-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] Printer Problem

2004-03-03 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 2 Mar 2004, Mike Samba wrote:

> I have been using Samba as a print server successfully for quite some 
> time.  I have one issue that I can't seem to solve.  We use a crappy 
> piece of accounting software that requires the printer be set up with 
> spool settings as:
> 
>Start printing after last page is spooled.
> 
> If start printing immediately is set, the checks do not print correctly.
> 
> On a Windows computer, if I go to \\printerserver and then go inside the
> printers folder, I can set the driver and default settings for the
> printer.  I can not get the "Start printing after last page is spooled"  
> setting to stick.  When I select it, close the dialog and then check the
> settings again, they go back to the default.  Is there a way to
> accomplish this?  I have tried this on just about every version of Samba
> 3.x up the the latest pre release.

This setings don't really mean anything on a Samba server from what I 
know.  That have to do with communication to the port.  What you might 
have to do is to map a local lpt1: port and install a local printer
(net use lpt1: \\server\printer).





cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 "If we're adding to the noise, turn off this song" --Switchfoot (2003)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQFARf8NIR7qMdg1EfYRAsycAKDUoY93qPlwHlnwOlbeoLqXJ3jc6gCfZZ6+
UemcbEiX52VljD+/AQpXdUg=
=G+j2
-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] Samba 2.2.x Group Mapping

2004-03-03 Thread BAO PHAN
Does anyone know how to do the group mapping in Samba
2.2? I know that in Samba 3.0.x, it had net groupmap
function. I need the group map so the Windows Client
can assign the ACL to the authenticated users. 

thanks, 

__
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] yet another inconsistent can not find domain question

2004-03-03 Thread jmendez
Hello.
I have set up samba as a pdc using debian and i have several windows xp
professional machines which log on to the domain just fines and some work
fine and other do not.  i am using samba version 3.0.2 i have not patched
any of the windows xp machines with registry patches as it looks like they
require static IP addresses.  I have tried including likes such as.
"netbios name = sambaserver" "wins support = yes"  I have tried disabling
dns on the windows boxes, flushing dns cache and then querying the domain
again, and it still fails to find the domain
The systems on my network need to use dhcp because we have a number of
laptops and such.  the machines which fail to see the samba server are
able to use the same machine for a squid proxy and also use it for dns, so
its not connectivity. Any help would be appreciated.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


[Samba] Access windows applications from Unix

2004-03-03 Thread Philip Varghese
Hi,

I have an HP-UX box with samba 2.2.5 installed and I have configued samba 
so that my windows XP can access some directoris on Unix . Now I need to 
run some windows applications from unix? How do I configure samba to 
accomplish that? Thanks in advance for the help.


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


[Samba] Two WINS servers on different subnets

2004-03-03 Thread Stefan D
Hi

If I connect two LANs (on different subnets) and want to use windows 
filesharing, I need a WINS server right? Can I have one server on both 
subnets and make them "talk to each other" ? The problem is that the two 
networks are connected through a VPN tunnel and I don't want to place a 
WINS server on just one of them in case the VPN tunnel is lost. I want 
the subnets to work normal when they're not connected and when they got 
connection they should work like one big network. Is this possible?

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


RE: [Samba] getent does not get remote users

2004-03-03 Thread Shannon Johnson
I'm not sure where you've gotten some of your configuration, but it
doesn't look right to me... I am, however, only comparing it to my
setup, which does work. I'll make notes on what differences I see,
although I wouldn't consider myself an expert on samba, winbind, or pam.

First, I never changed my /etc/pam.d/samba from the original. Mine looks
like:

#%PAM-1.0
auth   required pam_nologin.so
auth   required pam_stack.so service=system-auth
accountrequired pam_stack.so service=system-auth
sessionrequired pam_stack.so service=system-auth
password   required pam_stack.so service=system-auth


The other files in /etc/pam.d which I want to use the PDC for
authentication look like:

#%PAM-1.0
auth   required pam_securetty.so
auth   sufficient   pam_winbind.so
auth   sufficient   pam_unix.so service=system-auth
auth   required pam_stack.so service=system-auth
auth   required pam_nologin.so
accountsufficient   pam_winbind.so
accountrequired pam_stack.so service=system-auth
password   required pam_stack.so service=system-auth
sessionrequired pam_mkhomedir.so skel=/etc/skel umask=0222
sessionrequired pam_stack.so service=system-auth
sessionoptional pam_console.so


Your smb.conf file looks like it's lacking something, mostly concerning
winbind, although since I'm using an Active Directory domain, rather
than NT4, I'm not sure if the differences between yours and mine would
cause the problems you're seeing. I would assume you could cut out the
AD stuff from mine and substitute the non-AD settings for yours... but
I'm not sure. My smb.conf file (which I wrote out by hand, rather than
using samba's default template) looks like:

# General Options
workgroup = TEST
netbios name = linux-machine-name

# Winbind Configuration
winbind separator = _
idmap uid = 1-2
idmap gid = 1-2
winbind enum users = yes
winbind enum groups = yes
template homedir = /users/%U
template shell = /bin/bash
# following option automatically prepends the domain name
# to the username when a user tries to login
winbind use default domain = yes

# Active Directory Config
security = ads
encrypt passwords = yes
password server = 192.168.1.5# IP of the AD server
realm = TEST.DOMAIN.COM


I've probably managed to confuse more than I've helped... but I hope
not.

Shannon



 
Shannon Johnson
Network Support Specialist / Systems Administrator
Dept. of Mechanical and Nuclear Engineering
224 Reber Building
University Park, PA 16802
Phone: (814) 865-8267

 
> -Original Message-
> From: Arno Hahma [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 03, 2004 4:31 AM
> To: [EMAIL PROTECTED]
> Subject: [Samba] getent does not get remote users
> 
> I have a samba 3.0.2a -server running Linux, which I try to set up to
> authenticate users from a NT4 PDC using winbindd. Now, everything
works
> to the point, where I try to list users with "getent passwd". Getent
> only gets the local unix-users and has no clue about the NT4 -users.
> Also, home directories for the NT4 -users are not created and no logs
> whatsoever are left behind by the
> PAM module pam_mkhomedir, although I added the debug -switch to it.
> 
> Otherwise, the system works: the shared secret is ok, wbinfo -u shows
> all NT4 -users correctly,
> and the NT4 -users can even create a samba -mount, provided the
mounted
> directory has
> world rwx -permissions (such as the /tmp below in the smb.conf). This
> means the authentication works ok, but the unix box is just not aware
> of any winbindd users, even though samba is.
> 
> Any clues, where to look for the problem? And yes, I did search
through
> winbindd how-tos and
> this mailing list archives and tried all the tricks there. I also do
> not have any local users
> by the same names as the NT4 has them, thus, no conflicts here. Samba
> has been compiled
> with all necessary support (PAM, winbind etc. ) to support this
scheme.
> /etc/nsswitch.conf
> has been edited to include winbind. ldconfig has been run to include
> the winbind shared modules.  No nscd or any other NSS services are
> running. What can still be wrong?
> 
> PAM configuration file "samba":
> 
> #%PAM-1.0
> # pam_smbpass.so authenticates against the smbpasswd file
> auth   required pam_smbpass.so nodelay
> accountrequired /lib/security/pam_stack.so
> service=system-auth-winbind
> sessionrequired /lib/security/pam_stack.so
> service=system-auth-winbind
> password   required pam_smbpass.so nodelay
> smbconf=/etc/samba/smb.conf
> 
> The service -lines were edited according to the instructions in
> smb.conf comments
> to include system-auth-winbind:
> 
> #%PAM-1.0
> # $Header:
> /home/cvsroot/gentoo-x86/net-fs/samba/files/system-auth-winbind,v 1.1
>   2002/05/06 19:57:08 woodchip Exp $
> 
> authrequired  /lib/security/pam_env.so
> authsufficient/lib

Re: [Samba] Parameter 'dos filemode' - I'm giving up !

2004-03-03 Thread Mike Dawson
I have exactly the same issue on samba 3.0.2a - with parameter 'dos 
filemode=yes' still only the owner can set permissions on files and 
directories.

I'm also using ACL support and user accounts from winbind.

Mike

Joerg Redemann wrote:
Hi folks,
 
I'm trying to set up a share with samba 2.2.8a (SuSE SLES 8) with ACL
support and winbind where every user with write access to a file should
be able to change the permissions of that file.
 
According to the man page "dos filemode = yes" should do it - but not for
me. It seems that this param is doing nothing at all.
I'm I dump ?? What could be wrong here ??
 
Here's my config:
 
[testshare]
comment = Test share
path = /shares/test
writable = yes
create mode = 660
directory mode = 770
dos filemode = yes

And yes : the connected user is of course member of the group that had
read/write access.
Everything is working a expected - but not that "dos filemode" param.
 
Any clues ??
Joerg


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

[Samba] Error message when I try to join W2k to Samba domain

2004-03-03 Thread John Seo
Hi,

I'm trying to get a W2k client to join a samba domain and I get the
following error when I type in the username/password(root) from the
Windows client to join my Samba domain:

There is no user session key for the specified logon session

The following is the global section from my testparm dump:
[global]
coding system =
client code page = 850
code page directory = /usr/share/samba/codepages
workgroup = AMI-PRINT
netbios name = CRONUS3
netbios aliases =
netbios scope =
server string = Samba 2.2.7a-SuSE
interfaces = 137.131.204.71/255.255.255.0
bind interfaces only = No
security = USER
encrypt passwords = Yes
update encrypted = Yes
allow trusted domains = Yes
hosts equiv =
min passwd length = 5
map to guest = Never
null passwords = No
obey pam restrictions = No
password server =
smb passwd file = /etc/samba/smbpasswd
root directory =
pam password change = No
passwd program = /usr/bin/passwd
passwd chat = *new*password* %n\n *new*password* %n\n *changed*
passwd chat debug = No
username map =
password level = 0
username level = 0
unix password sync = No
restrict anonymous = No
lanman auth = Yes
use rhosts = No
admin log = No
log level = 6
syslog = 1
syslog only = No
log file = /var/log/samba/%m
max log size = 5000
timestamp logs = Yes
debug hires timestamp = No
debug pid = No
debug uid = No
protocol = NT1
large readwrite = Yes
max protocol = NT1
min protocol = CORE
read bmpx = No
read raw = Yes
write raw = Yes
nt smb support = Yes
nt pipe support = Yes
nt status support = Yes
announce version = 4.9
announce as = NT
max mux = 50
max xmit = 16644
name resolve order = lmhosts host wins bcast
max ttl = 259200
max wins ttl = 518400
min wins ttl = 21600
time server = No
unix extensions = No
change notify timeout = 60
deadtime = 0
getwd cache = Yes
keepalive = 300
lpq cache time = 10
max smbd processes = 0
max disk size = 0
max open files = 1
name cache timeout = 660
read size = 16384
socket options = TCP_NODELAY
stat cache size = 50
use mmap = Yes
total print jobs = 0
load printers = Yes
printcap name = /etc/printcap
disable spoolss = No
enumports command =
addprinter command =
deleteprinter command =
show add printer wizard = Yes
os2 driver map =
strip dot = No
mangling method = hash
character set = ISO8859-15
mangled stack = 50
stat cache = Yes
domain admin group = root
domain guest group =
machine password timeout = 604800
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s
/bin/false -M %u
delete user script =
logon script =
logon path = \\%L\profiles\%u\%m
logon drive = M:
logon home = \\%L\%u\.win_profile\%m
domain logons = Yes
os level = 64
lm announce = Auto
lm interval = 60
preferred master = Yes
local master = Yes
domain master = Yes
browse list = Yes
enhanced browsing = Yes
dns proxy = Yes
wins proxy = No
wins server =
wins support = No
wins hook =
kernel oplocks = Yes
lock spin count = 3
lock spin time = 10
oplock break wait time = 0
add share command =
change share command =
delete share command =
config file =
preload =
lock dir = /var/lib/samba
pid directory = /var/run/samba
utmp directory =
wtmp directory =
utmp = No
default service =
message command =
dfree command =
valid chars =
remote announce =
remote browse sync =
socket address = 0.0.0.0
homedir map = auto.home
time offset = 0
NIS homedir = No
source environment =
panic action =
hide local users = No
host msdfs = No
winbind uid =
winbind gid =
template homedir = /home/%D/%U
template shell = /bin/false
winbind separator = \
winbind cache time = 15
winbind enum users = Yes
winbind enum groups = Yes
winbind use default domain = No
acl compatibility =
comment =
path =
alternate permissions = No
username =
guest account = nobody
invalid users =
valid users =
admin users =
read

[Samba] Urgent Help on SAMBA

2004-03-03 Thread ww m-pubsyssamba
Dear All, 

  This is Parag here. I have configured SAMBA on Solaros 8/9. After creating proper 
sharer on smb.conf file , my windows client [ Win2k ] are in a position to use the 
sharer/shared folder lying on solaris. SAMBA is working fine. We would like to achive 
ACL [ Access Control List ] on same. Basically we have different windows users who are 
the part of various domain. Now we wanted the specific set of users only to aceess the 
shared solaris partition. Is it possible to achive same with SAMBA ? If ans is yes , 
then sombody can please guide me with small set of examples. & If it is not possible 
then what's a workaround for same. 

## Yes this is achieved in the same way as with a native windows share. You can either 
set UFS
## permissions to allow access to a group and disallow access by other. Or you can set 
permissions
## on the share itself, you'll either need to setup a group map between a UNIX group 
and Windows
## goup or use a group from winbind. Set the permissions by connected to your samba 
server using
## a native windows tool (for NT 4 server manager, for Win2000 computer management) 
and then set
## permissions as required. Samba-how-to guide should explain all this in detail,
## thanks Andy.

Basically i am new with SAMBA technology , so i am not aware abt the same. Urgent help 
is required. Regards Perry 

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


Re: [Samba] Multiple DB / fragmented information

2004-03-03 Thread Lapin(c)
Hi Fabien, 

actually it's a french ministry.
and I'm fighting against an ASU on HP/9000 instead of NT4...
I seem that the behaviour is not exactly the same !

If anybody knows about ASU...

Selon Fabien Chevalier <[EMAIL PROTECTED]>:

> Le Lundi 1 Mars 2004 14:13, Lapin(c) a écrit :
> > I was exploring a local LDAP solution, as it's for a very
> > large network (1000 sites / 10 users) we want a
> > disjunction between local administration for machines and
> > global administration for users.
> 
> Wow...that's a huge project... :-)
> Would it be a crime to ask the question of who will be the lucky company
> switching 
> it's NT4 domain to Samba?
> 
> Bye,
> 
> Fabien
> 
> 
> 
> 





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


Re: [Samba] Multiple DB / fragmented information

2004-03-03 Thread Fabien Chevalier
Le Lundi 1 Mars 2004 14:13, Lapin(c) a écrit :
> I was exploring a local LDAP solution, as it's for a very
> large network (1000 sites / 10 users) we want a
> disjunction between local administration for machines and
> global administration for users.

Wow...that's a huge project... :-)
Last time i spoke to a people from Linagora (was ~ 2 months ago), i've been told
Samba 3 was not mature enough, and that you prefered not to use it yet.

Would it be a crime to ask the question of who will be the lucky company switching 
it's NT4 domain to Samba?

Bye,

Fabien


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


Re: Re[2]: [Samba] 100% CPU eaten -- tdb_fetch failed

2004-03-03 Thread Fabien Chevalier

> The problem is that not all tdbs need to be backed up -
> indeed, the tdbs described as the problem here
> (connections/messages/sessionid in particular) should in fact
> be deleted at startup.

Happy to hear that! :-)
I found really odd that after a tdb issue, restarting Samba wasn't
repairing the issue... :-(


But for me it still doesn't work, after deleting all tdb's except:
account_policy.db
secrets.tdb
passdb.tdb
group_mapping.tdb

I still have the same thousands of the same error message and poor performance. :-(
How can i know which tdb is faulty?

Even more strange, tdbbackup doesn't seem to complain about corrupted
tdbs

>
> The tdb that *must* be backed up is probably
> winbindd_idmap.tdb, given the drastic consequences of loosing
> that file.
>
> tdbbackup is reasonably new tool, and I'm sure patches to the
> init scripts will be gratefully accepted.

Well, if you tell me what needs to be back'ed up and what needs not, i may
be able to write them...at least for Debian. :-)

Bye,

Fabien


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


[Samba] Roaming profile permissions questions

2004-03-03 Thread Will Saxon
Hello,

I would like to host our Terminal Services and Roaming Profiles on a Samba 3.0.2 
server. I am able to have profiles created correctly for any user except those who are 
listed as 'admin users' - currently our Domain Admins group as '@DOMAIN-Domain 
Admins'. What happens is that a profile is created with the actual owner as root and 
an ACL entry for the actual user. For whatever reason, Win2k does not know what to do 
about this and fails loading the profile.

I also have tried to set an ACL entry allowing Domain Admins control over the profiles 
directory on the samba server. I then checked 'inherit acls' and 'map acl inherit' for 
the samba share, thinking I could give the Domain Admins full control that way. 
However, new profile directories are not inheriting that ACL. 

Is this expected behavior? Is there a way for users listed as admin users to have 
Roaming profiles with Win2k and Samba 3, while maintaining administration capability 
through the Win2k permissions interface(s)?

_
Will Saxon
Systems Programmer - Network Services
Department of Housing and Residence Education
University of Florida
Email: [EMAIL PROTECTED]
Phone: (352) 392-2171 x10148
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] can silva from DOMAIN-A logon to a DOMAIN-B?

2004-03-03 Thread Andreas
Two sites, two different domains, two PDCs running samba-3.0.2a. They have a
two-way trust relationship.

Can "silva" from DOMAIN-A go to a windows desktop in DOMAIN-B (say, XP pro or
2k professional or some other capable of joining a domain) and logon?

Assuming the following at least, I think:
- DOMAIN-B's PDC has to be able to "see" silva (or DOMAIN-A\silva) as a regular 
  linux user (for which I could use ldap or winbind)
- "silva" has to type "DOMAIN-A" in his logon screen at the DOMAIN-B machine (does
  this work automagically?)
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Can't login to Samba PDC

2004-03-03 Thread Beast
* Scott Gross <[EMAIL PROTECTED]> nulis:
...
> button (from Win2K network identification screen).  The computer is being
> added to the _COMPUTERS_ container in my LDAP with the appropriate trailing
> $ (uid=fife3400sales02$,ou=_COMPUTERS_).  The domain portion of all SID's is
> the same (User-Group-Computer-sambaDomainName).  When the workstation tries
> to authenticate the user I can see the connection to IPC$ on the samba
> server.  'uid=root,ou=_USERS_' is a sambaSamAccount and is a member of
> 'cn=Domain Users,ou=_GROUPS_'.   

You put computer account under ou=_COMPUTER_ and users under ou=_USERS_ etc, any 
reason putting on funky ou name or is this just because of default value in 
smbldaptools?

Have you set pam/nss ldap correctly (/etc/ldap.conf), whats getent passwd /group tell? 


--beast

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


Re: [Samba] session user name

2004-03-03 Thread Pieter Vanmeerbeek
Sorry  , I made a mistake. Nothing is captured with the %U parameter. So 
is this a bug? Or did I configured something wrong?



This is the output of the script :

Client variables...
%m = 192.168.5.240 = Client's NetBIOS name
%M = 192.168.5.240 = Client's DNS name
%I = 192.168.5.240 = Client's IP address
%a = WinXP = Client's architecture
User variables...
%D =  = User's Windows NT Domain
%u = nobody = User's Unix username
%H = / = Home directory of %u
%g = nobody = Primary group of %u
%U =  = Requested username
%G = users = Primary group of %U
Share variables...
%S = IPC_ = Current share's name
%P = /tmp = Current share's root directory
%p =  = Current share's root directory (in an NIS
homedir map)
Server variables...
%h = axsguard = Samba server's DNS name
%L = axsguard = Samba server's NetBIOS name
%N = axsguard = NIS home directory server (without NIS, same as
%L)
%v = 3.0.0 = Samba version
%d = 358 = Current server's process ID
Miscellaneous variables...
%R = NT1 = SMB protocol level in use
%T = 2004/03/03 13:52:03 = Current date and time
This is our smb.conf file:

; The global setting for a RedHat default install
; Make sure and restart the server after making changes to this file, ex:
[global]
   ; Public name
   server string = aXs GUARD Server
   exec = /ub/pkg/samba/bin/smbvars "%m" "%M" "%I" "%a" "%D" "%u" "%H" 
"%g" "%U" "%G" "%S" "%P" "%p" "%h" "%L" "%N" "%v" "%d" "%R" "%T" > 
/tmp/sambavar

   ; Negotiate encrypted passwords (special program compilation needed !)
   encrypt passwords = yes
   ; CASE
   ; When new files are created, use the original case if possible
   preserve case = yes
   ; otherwise, use lower case
   default case = lower
   ; PRINTING
   ; bsd type, using /etc/printcap
   printing = bsd
   ; printcap name = /etc/printcap
   load printers = yes
   ; general parameters
   guest account = nobody
   log file = /var/log/samba-log.%m
   lock directory = /var/lock/samba
   share modes = yes
   workgroup = Office
   debuglevel = 0
   dns proxy = no
   ; Geen domain master !
   domain master = no
   local master = no
   ; auto disconnect after 15 minutes inactive
   dead time = 15
   os level = 5

   ; was yes till 14/07/98.
   ; setting to yes causes the aXs GUARD to Dial-out !
   wins support = no
   wins proxy = no
   ; default has changed since 2.0.0
   security = share
   ; test for NT4
   ; revalidate = no
   ; to prevent loading all printers for Browse
   ; load printers = no
[homes]
   browseable = no
   ; comment = Home Directories
   ; browseable = yes
   ; read only = no
   ; create mode = 0750
[printers]
   comment = All Printers
   printable = yes
   browseable = no
   public = no
   writable = no
; Fax systeem
[fax]
   comment = FAX Service
   print ok = yes
   browseable = yes
   printer driver = HP LaserJet 4/4M PS
   path = /ub/pkg/fax/spool/spool
   public = yes
   writable = no
   ; valid users = [EMAIL PROTECTED]
   ; user = [EMAIL PROTECTED]
   print command = /bin/sh /ub/scripts/fax-wrap S %s %p %j %U
   lpq command = /bin/sh /ub/scripts/fax-wrap L %s %p %j %U
   lprm command = /bin/sh /ub/scripts/fax-wrap R %s %p %j %U
; Trukken
;
; Voor NT:
;   printer driver = HP LaserJet 4L
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] session user name

2004-03-03 Thread Pieter Vanmeerbeek
I tried the script, but didn't get my session username with it ( suppose 
to be pv). Does anyone know another parameter that can be checked? Or 
does anybody know what could be wrong?  Both %U and %u give me the guest 
account name and I'm sure that the 'pv' session name is send by the WIN 
XP client as I can see it in a tcpdump of the connection.

This is the output of the script :

Client variables...
%m = 192.168.5.240 = Client's NetBIOS name
%M = 192.168.5.240 = Client's DNS name
%I = 192.168.5.240 = Client's IP address
%a = WinXP = Client's architecture
User variables...
%D =  = User's Windows NT Domain
%u = nobody = User's Unix username
%H = / = Home directory of %u
%g = nobody = Primary group of %u
%U =  = Requested username
%G = users = Primary group of %U
Share variables...
%S = IPC_ = Current share's name
%P = /tmp = Current share's root directory
%p =  = Current share's root directory (in an NIS
homedir map)
Server variables...
%h = axsguard = Samba server's DNS name
%L = axsguard = Samba server's NetBIOS name
%N = axsguard = NIS home directory server (without NIS, same as
%L)
%v = 3.0.0 = Samba version
%d = 358 = Current server's process ID
Miscellaneous variables...
%R = NT1 = SMB protocol level in use
%T = 2004/03/03 13:52:03 = Current date and time
flinchlock wrote:

Quoting "Pieter Vanmeerbeek"

 

Can anyone tell me how to fetch the session username of a request
in the smb.conf file?
   

Since I'm a newbie to Samba and I'm using Samba 2.2.8a, the
following information will probably not be of any help to you.
I put this in the Global section of my smb.conf:

exec = /home/samba/netlogon/smbvars "%m" "%M" "%I" "%a" "%D" "%u"
"%H" "%g" "%U" "%G" "%S" "%P" "%p" "%h" "%L" "%N" "%v" "%d" "%R"
"%T" > %H/%S.vars
 

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


[Samba] Non-primary group permissions

2004-03-03 Thread gibbs, simon
Hi,

I have a problem that if I set a file or directory group owner, users
that are members of this group cannot access it unless this is
their primary group.

This is using samba 3.0.2a - all user and group info is coming from
winbind.

I've tried using the setgid bit so users run with the permission of the
group that owns the directory but this only works if the permissions are set
to 2777 which is effectively  allowing any user access with the setgid group
permission.

I could use the 'force group' option on the share, but this still means that
only one group can be of any use for that share which isn't practical.

Is this expected behaviour or is something going wrong?

Thanks,

Simon

Here's my smb.conf:

# Global parameters
[global]
workgroup = DOMAINNAME
realm = KERBEROS.REALM
server string = data-cl2a samba server
security = DOMAIN
password server = kerberosserver.domain
idmap uid = 1-2
idmap gid = 1-2
template shell = /bin/bash
winbind separator = /

[Data]
comment = Test Data Dir
path = /Data
read only = No





The information contained in this email message may be confidential. If you are not 
the intended recipient, any use, interference with, disclosure or copying of this 
material is unauthorised and prohibited. Although this message and any attachments are 
believed to be free of viruses, no responsibility is accepted by Informa for any loss 
or damage arising in any way from receipt or use thereof.  Messages to and from the 
company are monitored for operational reasons and in accordance with lawful business 
practices. 
If you have received this message in error, please notify us by return and delete the 
message and any attachments.  Further enquiries/returns can be sent to [EMAIL 
PROTECTED]

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


[Samba] Migrating from Samba- LDAP-2.2.8a to Samba-LDAP-3.0.2a problem

2004-03-03 Thread zergio
1. Problem

Shot list that I’ve done:

  1. I dumped old ldap database to ldif file. 2.
  2. Converted it with convertSambaAccount script.
  3. Updated ldap server with new schema and indexes.
  4. Imported new ldif to ldap.
  5. Set necessary parameters in smb.conf
  6. Set test share and tried to connect to it with smbclient
 //host/test –u test
Test is old user. Connection failed and I got NT_STATUS_LOGON_FAILURE

Samba server with log level 3 gave me this:

[2004/03/03 13:11:03, 3] smbd/process.c:process_smb(890)

 Transaction 1 of length 168

[2004/03/03 13:11:03, 3] smbd/process.c:switch_message(685)

 switch message SMBnegprot (pid 11160)

[2004/03/03 13:11:03, 3] smbd/sec_ctx.c:set_sec_ctx(287)

 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0

[2004/03/03 13:11:03, 3] smbd/negprot.c:reply_negprot(455)

 Requested protocol [PC NETWORK PROGRAM 1.0]

[2004/03/03 13:11:03, 3] smbd/negprot.c:reply_negprot(455)

 Requested protocol [MICROSOFT NETWORKS 1.03]

[2004/03/03 13:11:03, 3] smbd/negprot.c:reply_negprot(455)

 Requested protocol [MICROSOFT NETWORKS 3.0]

[2004/03/03 13:11:03, 3] smbd/negprot.c:reply_negprot(455)

 Requested protocol [LANMAN1.0]

[2004/03/03 13:11:03, 3] smbd/negprot.c:reply_negprot(455)

 Requested protocol [LM1.2X002]

[2004/03/03 13:11:03, 3] smbd/negprot.c:reply_negprot(455)

 Requested protocol [Samba]

[2004/03/03 13:11:03, 3] smbd/negprot.c:reply_nt1(323)

 not using SPNEGO

[2004/03/03 13:11:03, 3] smbd/negprot.c:reply_negprot(532)

 Selected protocol NT LANMAN 1.0

[2004/03/03 13:11:06, 3] smbd/process.c:process_smb(890)

 Transaction 2 of length 160

[2004/03/03 13:11:06, 3] smbd/process.c:switch_message(685)

 switch message SMBsesssetupX (pid 11160)

[2004/03/03 13:11:06, 3] smbd/sec_ctx.c:set_sec_ctx(287)

 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0

[2004/03/03 13:11:06, 3] smbd/sesssetup.c:reply_sesssetup_and_X(638)

 wct=13 flg2=0xc001

[2004/03/03 13:11:06, 3] smbd/sesssetup.c:reply_sesssetup_and_X(771)

 Domain=[ISMA]  NativeOS=[Unix] NativeLanMan=[Samba] PrimaryDomain=[]

[2004/03/03 13:11:06, 3] smbd/sesssetup.c:reply_sesssetup_and_X(787)

 sesssetupX:[EMAIL PROTECTED]

[2004/03/03 13:11:06, 3] smbd/sec_ctx.c:push_sec_ctx(255)

 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1

[2004/03/03 13:11:06, 3] smbd/uid.c:push_conn_ctx(286)

 push_conn_ctx(0) : conn_ctx_stack_ndx = 0

[2004/03/03 13:11:06, 3] smbd/sec_ctx.c:set_sec_ctx(287)

 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1

[2004/03/03 13:11:06, 3] smbd/sec_ctx.c:pop_sec_ctx(385)

 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0

[2004/03/03 13:11:06, 3] auth/auth.c:check_ntlm_password(218)

 check_ntlm_password:  Checking password for unmapped user [EMAIL PROTECTED] with the new password interface

[2004/03/03 13:11:06, 3] auth/auth.c:check_ntlm_password(221)

 check_ntlm_password:  mapped user is: [EMAIL PROTECTED]

[2004/03/03 13:11:06, 3] smbd/sec_ctx.c:push_sec_ctx(255)

 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1

[2004/03/03 13:11:06, 3] smbd/uid.c:push_conn_ctx(286)

 push_conn_ctx(0) : conn_ctx_stack_ndx = 0

[2004/03/03 13:11:06, 3] smbd/sec_ctx.c:set_sec_ctx(287)

 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1

[2004/03/03 13:11:06, 2] passdb/pdb_ldap.c:init_sam_from_ldap(462)

 init_sam_from_ldap: Entry found for user: zergio

[2004/03/03 13:11:06, 3] smbd/sec_ctx.c:pop_sec_ctx(385)

 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0

[2004/03/03 13:11:06, 3] libsmb/ntlm_check.c:ntlm_password_check(181)

 ntlm_password_check: NO NT password stored for user zergio.

[2004/03/03 13:11:06, 3] libsmb/ntlm_check.c:ntlm_password_check(308)

 ntlm_password_check: NO LanMan password set for user zergio (and no NT password supplied)

[2004/03/03 13:11:06, 3] auth/auth_winbind.c:check_winbind_security(79)

 check_winbind_security: Not using winbind, requested domain [ISMA-TEST] was for this SAM.

[2004/03/03 13:11:06, 2] auth/auth.c:check_ntlm_password(310)

 check_ntlm_password:  Authentication for user [ZERGIO] -> [ZERGIO] FAILED with error NT_STATUS_WRONG_PASSWORD

[2004/03/03 13:11:06, 3] smbd/error.c:error_packet(114)

 error packet at smbd/sesssetup.c(870) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_FAILURE

[2004/03/03 13:11:06, 3] smbd/process.c:timeout_processing(1104)

 timeout_processing: End of file from client (client has disconnected).

[2004/03/03 13:11:06, 3] smbd/sec_ctx.c:set_sec_ctx(287)

 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0

[2004/03/03 13:11:06, 2] smbd/server.c:exit_server(558)

 Closing connections

[2004/03/03 13:11:06, 3] smbd/connection.c:yield_connection(69)

 Yielding connection to 

[2004/03/03 13:11:06, 3] smbd/server.c:exit_server(601)

 Server exit (normal exit)



Strange part is:

ntlm_password_check: NO NT password stored for user zergio.

 ntlm_password_check: NO LanMan password set for user zergio

because both of them are set in ldap.



If I add new user with smbldap-useradd.pl script, everything works fine. 
I analyzed differences between to records and found what 

[Samba] Urgent Help on SAMBA

2004-03-03 Thread Parag Mehta
Dear All,

This is Parag here. I have configured SAMBA on Solaros 8/9. After creating proper 
sharer on smb.conf file , my windows client [ Win2k ] are in a position to use the 
sharer/shared folder lying on solaris.SAMBA is working fine.

We would like to achive ACL [ Access Control List ] on same. Basically we have 
different windows users who are the part of various domain. Now we wanted the specific 
set of users only to aceess the shared solaris partition. Is it possible to achive 
same with SAMBA ? If ans is yes , then sombody can please guide me with small set of 
examples. & If it is not possible then what's a workaround for same.

Basically i am new with SAMBA technology , so i am not aware abt the same. 

Urgent help is required.

Regards
Perry


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


Re: [Samba] session user name

2004-03-03 Thread flinchlock
Quoting "Pieter Vanmeerbeek"

I forgot to mention, the simple script creates sharename.var files
in the Unix username home dir as each share is connected to.

There will even be a IPC_.vars created in /var/lib/nobody

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


[Samba] Aviso: Detectado vírus de e-mail

2004-03-03 Thread Sistema de Anti-Vírus
Nosso sistema de detecção de vírus foi acionado ao analisar uma mensagem que
você enviou:-
  To: [EMAIL PROTECTED]
  Subject: something for you
  Date: Wed Mar  3 08:32:15 2004
Qualquer parte do e-mail que estava infectada não pôde ser entregue.

Esta é apenas uma mensagem de aviso para que você verifique a possibilidade
de haver um vírus em seu sistema e para que você retire-o o mais breve possível.

Hoje, Wed Mar  3 08:32:15 2004, o anti-virus relatou o seguinte:
information.zip->information.txt.scr  Infection: W32/[EMAIL PROTECTED]

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


Re: [Samba] session user name

2004-03-03 Thread flinchlock
Quoting "Pieter Vanmeerbeek"

> Can anyone tell me how to fetch the session username of a request
> in the smb.conf file?

Since I'm a newbie to Samba and I'm using Samba 2.2.8a, the
following information will probably not be of any help to you.

I put this in the Global section of my smb.conf:

exec = /home/samba/netlogon/smbvars "%m" "%M" "%I" "%a" "%D" "%u"
"%H" "%g" "%U" "%G" "%S" "%P" "%p" "%h" "%L" "%N" "%v" "%d" "%R"
"%T" > %H/%S.vars

This is the VERY VERY SIMPLE 'smbvars' script:
-
echo Client variables...
echo %m = "$1" = "Client's NetBIOS name"
echo %M = "$2" = "Client's DNS name"
echo %I = "$3" = "Client's IP address"
echo %a = "$4" = "Client's architecture"
echo
echo User variables...
echo %D = "$5" = "User's Windows NT Domain"
echo %u = "$6" = "User's Unix username"
echo %H = "$7" = "Home directory of %u"
echo %g = "$8" = "Primary group of %u"
echo %U = "$9" = "Requested username"
echo %G = "${10}" = "Primary group of %U"
echo
echo Share variables...
echo %S = "${11}" = "Current share's name"
echo %P = "${12}" = "Current share's root directory"
echo %p = "${13}" = "Current share's root directory (in an NIS
homedir map)"
echo
echo Server variables...
echo %h = "${14}" = "Samba server's DNS name"
echo %L = "${15}" = "Samba server's NetBIOS name"
echo %N = "${16}" = "NIS home directory server (without NIS, same as
%L)"
echo %v = "${17}" = "Samba version"
echo %d = "${18}" = "Current server's process ID"
echo
echo Miscellaneous variables...
echo %R = "${19}" = "SMB protocol level in use"
echo %T = "${20}" = "Current date and time"
-

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


[Samba] xp pro & debian

2004-03-03 Thread steve downes
on Tue, Mar 02, 2004 at 08:48:28PM -0500, Greg Folkert wrote: 
> On Tue, 2004-03-02 at 17:26, steve downes wrote:
> > I've got a working samba setup on a debian linux server. Existing
> > windows boxes are win98 with unencripted passwords. They only need to
> > see the exported directories on the samba server. All the networking
> > is working. (dns, dhcp, ping, internet access, etc )
> > 
> > Anything I do on my new XP Pro box or in samba.conf gives the error
> > message:-
> > 
> > The folder you entered does not appear to be valid.please choose
> > another. 
> > 
> > When I try to set up a "network place" \\server\home\steve
> > 
> > The win98 & XP boxes are sharing & the win98 boxes are picking up the
> > samba shares.
> > 
> > The XP installation is pretty much default & nothing clever done with
> > it except running the win98_plainpassword.reg which seems OK as this
> > is what opened the win 98 shares.
> > 
> > Any gotchas I am missing?
> 
> You are not causing the XP and W2K machine to use plain text passwords.
> It is a completely different Registry Key.
> 
> Good Luck, it isn't to hard to find.
> 
> First couple of links should get you going:
> 
> http://www.google.com/search?q=EnablePlainTextPassword+Windows+XP
> 
> 
> -- 
> [EMAIL PROTECTED]
> REMEMBER ED CURRY! http://www.iwethey.org/ed_curry

Many thanks Greg, 

Yes the win98 de-encript password script hadn't worked, I was rather
thrown by the fact that it was immediateley after that that I started
seeing my win98 shares.

Now sorted the unencripted password & curiously it is now seeing the
linux server but rejecting the username/password.  

Any other ideas (anybody)

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


[Samba] Re: wbinfo -u returns 0xc0000022

2004-03-03 Thread Zylo
You should use wbinfo -A user%password
You need only a valid user, not an administrator user.

HTH.

"Salmons, Michael" <[EMAIL PROTECTED]> a écrit dans le message de
news:[EMAIL PROTECTED]
Hello,

I am attempting to add a Redhat 9 box to our NT4 domain as a member
server. I want to enumerate user and group info so I don't have to make
two sets of user and group accounts. I've setup samba (version 2.2.7a)
and pamd the way I think I'm supposed to, but wbinfo -u always returns
0xc022. I've found this particular error mentioned in a few
articles, but applying the various remedies offered has resulted in no
change.

wbinfo -t: the secret was good, but over the weekend (and after a reboot
of the pdc and bdc) it's now bad. it returns 0xc0e5.

I've used wbinfo -a to authenticate to the domain as the domain admin-
it authenticated successfully- no change in response of wbinfo -u. (also
i noticed it was passing the password in cleartext, something i'd rather
not do..)

in case this is an issue: RestrictAnonymous is set to 1 on the pdc.

I had no trouble adding the machine to the domain. I don't think I did,
at least. I started in the Server Manager of the pdc, then ran
smbpasswd. I can use smbmount to view shares in the domain on the redhat
box, plus test shares I've setup on the redhat box are viewable by
others if I've established a local account for them.

--various files, with a few things changed to protect privacy:

/etc/samba/smb.conf

NOTE: wins server is numeric ip and is correct; hosts allow does match
our subnet; password server and remote announce are the netbios names of
our pdc and bdc

[global]
 log file = /var/log/samba/%m.log
 smb passwd file = /etc/samba/smbpasswd
 load printers = yes
 passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 obey pam restrictions = yes
 wins server = xx.xx.xx.xx
 encrypt passwords = yes
 hosts allow = xx.xx
 passwd program = /usr/bin/passwd %u
 dns proxy = no
 netbios name = netname
 server string = serverstring
 printing = cups
 password server = pdc bdc
 unix password sync = Yes
 local master = no
 remote announce = pdc
 workgroup = DOMAIN
 os level = 2
 printcap name = /etc/printcap
 security = domain
 preferred master = no
 max log size = 0
 pam password change = yes
username map = /etc/samba/smbusers
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
template homedir = /home/%U
winbind separator = +
winbind uid = 1-2
winbind gid = 1-2
winbind enum users = yes
winbind enum groups = yes
template shell = /bin/bash
add user script = /usr/sbin/adduser -d /home/%D/%U %u



/etc/pam.d/login

#%PAM-1.0
auth   required pam_securetty.so
auth   required pam_stack.so service=system-auth
auth   required pam_nologin.so
accountrequired pam_stack.so service=system-auth
password   required pam_stack.so service=system-auth
sessionrequired pam_stack.so service=system-auth
sessionoptional pam_console.so
accountsufficient  /lib/security/pam_winbind.so
sessionrequired/lib/security/pam_mkhomedir.so skel=/etc/skel
umask=0022


/etc/pam.d/samba

#%PAM-1.0
auth   required pam_nologin.so
auth   required pam_env.so
auth   required pam_stack.so service=system-auth
auth   sufficient   pam_ldap.so
auth   sufficient   pam_smb_auth.so use_first_pass
auth   sufficient   pam_unix.so likeauth nullok try_first_pass
auth   required pam_deny.so
accountrequired pam_stack.so service=system-auth
sessionrequired pam_stack.so service=system-auth
password   required pam_stack.so service=system-auth


/etc/pam.d/system-auth

#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
authrequired  /lib/security/$ISA/pam_env.so
authsufficient/lib/security/$ISA/pam_unix.so likeauth nullok
authrequired  /lib/security/$ISA/pam_deny.so

account required  /lib/security/$ISA/pam_unix.so

passwordrequired  /lib/security/$ISA/pam_cracklib.so retry=3
type=
passwordsufficient/lib/security/$ISA/pam_unix.so nullok
use_authtok md5 shadow
passwordrequired  /lib/security/$ISA/pam_deny.so

session required  /lib/security/$ISA/pam_limits.so
session required  /lib/security/$ISA/pam_unix.so



/etc/pam_smb.conf

DOMAIN
pdc
bdc

(substitute actual domain and netbios names of pdc and bdc)



What should I check next? Any help would be appreciated.

Michael Salmons
[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] Trying to put a MS SQL 7.0 database on a samba share

2004-03-03 Thread Warren Green
Hi,

I have a linux box set up with Samba 3.0 and have configured my shared 
drives. What I am trying to do is store a MS SQL data base on my Samba 
share.
I can see the drive from my SQL machine but when I try create the database 
there I get errors like inconsistent file names etc.

Fist can this be done and if so how?


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


Re: [Samba] getent does not get remote users

2004-03-03 Thread Arno Hahma
On 3. Mar, 2004, at 11:52, Stefan Günther wrote:

Also, home directories for the NT4 -users are not created and no logs
whatsoever are left behind by the

As far as I know, the home directories for NT-Users aren't created 
automatically.
But they should - perhaps winbind isn't  working for you either. I 
could also live without
this property, but it _would_ be nice to have them owned by someone 
instead of just
seeing numeric UIDs and GIDs on the unix box.

I have written a small perl script which gets the NT -users vi wbinfo 
-u and creates the home directories.
IIf you are interested in it I could post it or send it.
At least you can send it and if people on the list don't object, please 
post it as well.

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


Re: [Samba] Samba Gigabit very very slow?

2004-03-03 Thread Hans Wilmer
Jonas Almquist wrote:

Hi!

I´m having trubbles with the speed on my samba server,
Realtek 8169 Gigabit NIC
Avoid Realtek NICs wherever you can.

GH
--
Fallende Schatten bedeuten nichts Gutes.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Help?

2004-03-03 Thread Hans Wilmer
Healy, James F wrote:

The scenario is this a single folder houses several files that are a common requirement of our development, when more than one developer (or one developer on multiple machines) launches a process that accesses this file tree sometimes (but not always) both instances of the process attempt to read the same file (any given file) at about the same instant. When this happens both clients hang, the server appears to still be able to read the file but the clients that attempt simultaneous access hang up.

Can any of you point me in a direction to further flush out a possible cause and solution? 

Any insight you can provide would be very much appreciated.
Maybe it helps to disable oplocks.

GH
--
Fallende Schatten bedeuten nichts Gutes.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: NetAPP still noone done? The story continous (success!)

2004-03-03 Thread Thomas Mikl
Hey!

We successfully joined the NetApp to the samba domain.
What we had to do:
create a computer account manually and fake the SAM account (add the 
computer by script to the domain). Then when joining the NetApp to the 
domain it just overwrites the Machine Password in LDAP and everything is 
fine.

Still one problem remains:
When trying to access the NetApp with the NT-computermanager it says 
access denied. I can access and control the Linux Server my Samba is on 
without any trouble and also all other computers in the network.

Has anyone an idea what that could be?
I tried to start the usermanager using root and Administrator, no 
success so far...



Thomas Mikl wrote:
Hi!

I have the following config:
RedHat ES 3
Samba 3.0.2a with OpenLDAP 2.0.27
Everything works fine having Samba setup as a PDC. But when trying to 
join a (brand new) NetApp F810 to the domain I get an error: "Could not 
create authentication pipe".

I really would need help asap ;)

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


[Samba] Re: Hello

2004-03-03 Thread ancien compte pour les moderateurs du site lamap
-#@ Ceci est un message automatique : Merci de ne pas repondre @#-

Bonjour,

Vous avez écrit un message aux modérateurs du site Internet La main à la pâte 
(http://www.inrp.fr/lamap), à l'adresse suivante : [EMAIL PROTECTED]

Cette boîte aux lettres est maintenant désactivée et nous vous invitons à contacter 
les modérateurs, soit par le biais du site Internet La main à la pâte, soit par 
courrier postal (adresse en bas de ce message).

A qui, et comment, envoyer votre message ?

Si vous souhaitez poser une question de nature scientifique, en relation avec 
l'enseignement des sciences à l'école primaire, rendez-vous à cette adresse : 
http://www.inrp.fr/lamapphp/questions/accueil_quest.php?type=sci

Si vous souhaitez poser une question de nature pédagogique, en relation avec 
l'enseignement primaire, rendez-vous à cette adresse : 
http://www.inrp.fr/lamapphp/questions/accueil_quest.php?type=for

Pour toute autre question, problème, suggestion ... les modérateurs du site sont à 
votre disposition, à cette adresse :
http://www.inrp.fr/lamapphp/questions/accueil_quest.php?type=gen

Cordialement,
Les modérateurs du site La main à la pâte.

--ooo000ooo--
Les modérateurs du site La main à la pâte
http://www.inrp.fr/lamap
1, rue Maurice Arnoux, 92120 Montrouge
Tel: 01.58.07.65.96
Fax: 01.58.07.65.91
--ooo000ooo--
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Problem with /home and winbind

2004-03-03 Thread John Simovic
Can anybody tell me why when i use pam_mkhomedir to create winbind users
home directories on the fly under /home/%D/%U it disallows access to users
when logged in under windows but works fine when I point their home drives
(as an experiment) to /tmp? How can I fix it so that it works the same under
/tmp as it does under /home? Using Samba 3.0.2 security = ads.
Kind regards in advance.

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


[Samba] Samba 3.02a roaming profiles tdbsam / smbpasswd

2004-03-03 Thread Mike Young
I seem to have found a discrepancy between using the backend tdbsam and
smbpasswd.

When using the backend  smbpasswd if i have 
logon path = \\$L\profiles\%u\%m

then profiles are read and created correctly.

If I then switch the backend to tdbsam I get errors on both win2k and
winxp stating that the profiles cannot be located. 

After some investigation I noticed that when I then logged out of win2k
and winxp the clients tried to save roaming profile on the samba server 
called "%u".

I then changed the logon path to  read :
logon path = \\$L\profiles\%U\%M ; i.e UPPERCASE 'U' and 'M'

and the roaming profiles get created and read correctly now.


 



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


[Samba] getent does not get remote users

2004-03-03 Thread Arno Hahma
I have a samba 3.0.2a -server running Linux, which I try to set up to 
authenticate users from a NT4 PDC using winbindd. Now, everything works 
to the point, where I try to list users with "getent passwd". Getent 
only gets the local unix-users and has no clue about the NT4 -users. 
Also, home directories for the NT4 -users are not created and no logs 
whatsoever are left behind by the
PAM module pam_mkhomedir, although I added the debug -switch to it.

Otherwise, the system works: the shared secret is ok, wbinfo -u shows 
all NT4 -users correctly,
and the NT4 -users can even create a samba -mount, provided the mounted 
directory has
world rwx -permissions (such as the /tmp below in the smb.conf). This 
means the authentication works ok, but the unix box is just not aware 
of any winbindd users, even though samba is.

Any clues, where to look for the problem? And yes, I did search through 
winbindd how-tos and
this mailing list archives and tried all the tricks there. I also do 
not have any local users
by the same names as the NT4 has them, thus, no conflicts here. Samba 
has been compiled
with all necessary support (PAM, winbind etc. ) to support this scheme. 
/etc/nsswitch.conf
has been edited to include winbind. ldconfig has been run to include 
the winbind shared modules.  No nscd or any other NSS services are 
running. What can still be wrong?

PAM configuration file "samba":

#%PAM-1.0
# pam_smbpass.so authenticates against the smbpasswd file
auth   required pam_smbpass.so nodelay
accountrequired /lib/security/pam_stack.so 
service=system-auth-winbind
sessionrequired /lib/security/pam_stack.so 
service=system-auth-winbind
password   required pam_smbpass.so nodelay 
smbconf=/etc/samba/smb.conf

The service -lines were edited according to the instructions in 
smb.conf comments
to include system-auth-winbind:

#%PAM-1.0
# $Header: 
/home/cvsroot/gentoo-x86/net-fs/samba/files/system-auth-winbind,v 1.1
 2002/05/06 19:57:08 woodchip Exp $

authrequired  /lib/security/pam_env.so
authsufficient/lib/security/pam_unix.so likeauth nullok 
use_first_pass
authsufficient/lib/security/pam_winbind.so
authrequired  /lib/security/pam_deny.so

account sufficient/lib/security/pam_winbind.so
account required  /lib/security/pam_unix.so
passwordrequired  /lib/security/pam_cracklib.so retry=3
passwordsufficient/lib/security/pam_unix.so nullok use_authtok 
md5 shadow
passwordrequired  /lib/security/pam_deny.so

session required  /lib/security/pam_mkhomedir.so 
skel=/etc/skel/ umask=0022 debug
session required  /lib/security/pam_limits.so
session required  /lib/security/pam_unix.so

My smb.conf looks like:

# Global parameters
[global]
dos charset = 850
unix charset = UTF8
workgroup = TESTWG
server string = %h Samba Server %v
interfaces = 192.168.1.1/23 192.168.3.1/23
security = DOMAIN
map to guest = Bad User
log level = 2
log file = /var/log/samba3/log.%m
max log size = 500
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
local master = No
dns proxy = No
remote announce = 192.168.2.255 192.168.3.255
remote browse sync = 192.168.2.255 192.168.3.255
idmap uid = 1-2
idmap gid = 1-2
winbind separator = _
printer admin = '@Domain Admins'
hosts allow = 192.168.1., 192.168.2., 192.168.3., 127.
hosts deny = ALL
map acl inherit = Yes
printing = cups
[homes]
comment = Home dirs
read only = No
browseable = No
[printers]
comment = Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p %s # using cups own drivers (use 
generic PostScript on clients).
browseable = No

[print$]
path = /var/lib/samba/printers
write list = @adm, root
guest ok = Yes
[tmp]
comment = temporary files
path = /tmp
guest ok = Yes
--
ArNO
2
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] * script parameter and BDC

2004-03-03 Thread Andrew Bartlett
On Wed, 2004-03-03 at 15:21, Beast wrote:
> * Andrew Bartlett <[EMAIL PROTECTED]> nulis:
> 
> > On Tue, 2004-03-02 at 23:36, Beast wrote:
> > > When BDC will not make any changes in ldap, is it safe to not set any *script 
> > > paramater in smb.conf?
> > 
> > If you can keep the scripts identical between PDC and BDC, this will
> > avoid supprises.
> > 
> > BDCs will not normally be asked to make changes, but if asked, Samba
> > BDCs will happily try.
> > 
> 
> Is there any (not normal) cases where BDC is asked to make any changes?

Machine accounts are the main case.  Machines will change their password
on *any* DC - basicly the one they are connected to.  That is why we
keep saying that 'smbpasswd+rsync != BDC'.

Also, I often suggest that multi-site domains split their netbios space
up, so that each site is a single netbios domain (with a 'PDC'), but the
DCs are backed onto the same ldap store. 
 
Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net


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

[Samba] Gerhard Schaller/HOL_DV/Kuester/DE ist außer Haus. ['Watchdog': checked]

2004-03-03 Thread gerhard . schaller
Ich bin außer Haus und für Sie leider nicht erreichbar in der Zeit vom
03.03.2004 bis 05.03.2004.

Much to my regret I'm not in the office in the time from 03.03.2004 to
05.03.2004.


Ich werde Ihre Nachricht nach meiner Rückkehr beantworten.

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


Re: [Samba] Help in "joining" Linux on AD domain.

2004-03-03 Thread Nic le Roux
***
No virus found in attachment no filename
No virus found in attachment no filename

Your mail has been scanned by InterScan for SMTP.
***-***


Hi there,

Does this actually work where you can access the server with DNS and IP.
I tried this setup, however whe trying to access machine with DNS / 
Hostname wit would not authenticate me.
When accessing with Ip it was fine. I read that it had something to do 
with the fact that when you access the macine with IP it uses NTLM.

All checks to make sure that AD join succesfull went through fine thoug.

Your insights would be greatly appreciated.

Thanks and Regards
Nic

> 
> 
> http://www.wlug.org.nz/ActiveDirectorySamba
> 
> 
> - Ori
ginal Message - 
> From: "Boniforti Flavio" <[EMAIL PROTECTED]>
> To: "John Simovic" <[EMAIL PROTECTED]>
> Cc: "Alberto Tablado" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Wednesday, March 03, 2004 7:56 PM
> Subject: Re: [Samba] Help in "joining" Linux on AD domain.
> 
> 
> >
> >
> > John Simovic wrote:
> >
> > > I followed the instructions at www.wlug.org.nz on Fedora Core and it
> worked
> > > just fine.
> >
> > May you tell me the exact document or page I should be reading?
> >
> > Thanks.
> >
> > -- 
> > ---
> > Boniforti Flavio
> > Provincia del Verbano-Cusio-Ossola
> > Ufficio Informatica
> >
> > Tecnoparco del Lago Maggiore
> > Via dell'Industria, 25
> > 28924 Verbania
> > ---
> >
> >
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 
> 
> 
---
> Disclaimer and Confidentiality Note
> 
> Please click on the link below:
> 
http://www.rohlig.co.za/RohligNew/DesktopDefault.aspx?tabindex=31&tabid=132
> http://www.pca.co.za/dis.htm
> 
http://www.kapele.co.za/KapeleNew/DesktopDefault.aspx?tabindex=19&tabid=112
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Alphablox and DM Review Invite You to an On-Demand Web Seminar

2004-03-03 Thread WebSeminar
Alphablox and DM Review present
"Extending Business Systems with InLine Analytics" 
On-Demand Web Seminar for ISVs and VARs 

Please join us for an insightful on-demand Web Seminar where IDC and other industry 
experts discuss the growing market opportunities in analytic applications, and how to 
maximize these opportunities immediately.  

 - Hear Henry Morris from IDC explain the essential analytic capabilities software 
companies will need to deliver in 2004 to establish competitive differentiation.
 - See how SymphonyRPM, a leading-edge ISV, embedded Alphablox as part of their 
real-time analytic application framework and achieved more than six months time to 
market advantage when delivering three analytic applications. 

Speakers: 

 - Henry Morris, Group VP, Applications and Information Access, IDC 
 - John Fors, VP Product Management, SymphonyRPM

To view this event visit: http://www.dmreview.com/eletters/clickReg.cfm?URLID=3673

To unsubscribe send a blank e-mail to [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] Help in "joining" Linux on AD domain.

2004-03-03 Thread John Simovic
http://www.wlug.org.nz/ActiveDirectorySamba


- Original Message - 
From: "Boniforti Flavio" <[EMAIL PROTECTED]>
To: "John Simovic" <[EMAIL PROTECTED]>
Cc: "Alberto Tablado" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, March 03, 2004 7:56 PM
Subject: Re: [Samba] Help in "joining" Linux on AD domain.


>
>
> John Simovic wrote:
>
> > I followed the instructions at www.wlug.org.nz on Fedora Core and it
worked
> > just fine.
>
> May you tell me the exact document or page I should be reading?
>
> Thanks.
>
> -- 
> ---
> Boniforti Flavio
> Provincia del Verbano-Cusio-Ossola
> Ufficio Informatica
>
> Tecnoparco del Lago Maggiore
> Via dell'Industria, 25
> 28924 Verbania
> ---
>
>

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


Re: [Samba] Help in "joining" Linux on AD domain.

2004-03-03 Thread Boniforti Flavio


John Simovic wrote:

I followed the instructions at www.wlug.org.nz on Fedora Core and it worked
just fine.
May you tell me the exact document or page I should be reading?

Thanks.

--
---
Boniforti Flavio
Provincia del Verbano-Cusio-Ossola
Ufficio Informatica
Tecnoparco del Lago Maggiore
Via dell'Industria, 25
28924 Verbania
---
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: Samba and non-ascii characters

2004-03-03 Thread Andrew Bartlett
On Wed, 2004-03-03 at 18:49, Martin C. Barlow wrote:
> I think unix charset is utf8 by default, so unless you have changed it, it
> should be ok.
> 
> I don't think the other charset options will affect it. I presume that the
> actual file server is configured correctly to handle exotic characters.
> 
> I think you should check that you have compiled other various charsets in
> the kernel for samba. iso8559-15 is good for western european countries and
> utf8 is needed as well.

The issue here (as I said in my own reply) is that smbfs does not handle
exotic characters well, because windows servers don't handle this well,
when in ASCII mode.  You can make it better by setting the right
smbmount options.

This has nothing to do with the 'unix charset' options for smbd, as it
refers to the smbfs kernel module's capabilities.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net


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

[Samba] session user name

2004-03-03 Thread Pieter Vanmeerbeek
Hi,

Can anyone tell me how to fetch the session username of a request in the 
smb.conf file? The %U doesn't seem to work anymore in version 3.0.2a. 
The %u option gives me the guest account name ( the share I want to 
cannect to is a fax share and is accessible by guest). If I put in our 
oulder samba version the %U option gives me the session name. The 
request from the client to the fax is not  done as guest because I can 
see the username in a tcpdump of the samba request. Is there a new 
option in the smb.conf file to fetch the session username?

greetings,

Pieter

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


[Samba] Re: Word file

2004-03-03 Thread redactie eht
Hartelijk dank voor je bericht! 
Gezien de hoeveelheid mail die wij dagelijks ontvangen, kunnen wij helaas niet 
iedereen een persoonlijk berichtje terugsturen. Wij zullen alle mail lezen en bewaren!

Wij hopen op je begrip hiervoor! 

Het Eigen Huis & Tuin team


Voor informatie over het programma kun je natuurlijk ook terecht op 
www.eigenhuisentuin.nl
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] winxp mounts share RAW instead of NTFS

2004-03-03 Thread Martin C. Barlow
I have a debian testing/2.6.3/samba 3.0.2

50% of the time when i mount a share from winxp to the debian, it mounts RAW
instead of NTFS. This can be found by viewing the properties of the drive.

When it mounts as RAW, winxp refuses to copy long filenames.

The fstype is NTFS by default and i have not changed it. Why is winxp
getting confused?

By the way, I have two shares which have exactly the same permissions.
Sometimes both, one or neither work.


#=== Global Settings ===
[global]
## Browsing/Identification ###
preferred master = yes
domain master = yes
workgroup = barlow
server string = %h server (Samba %v)
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d

### Authentication ###
bind interfaces only = yes
interfaces = eth0 lo 192.168.0.0/255.255.255.0 127.0.0.0/255.0.0.0
security = share
encrypt passwords = true
passdb backend = tdbsam guest
obey pam restrictions = yes
guest account = nobody
invalid users = root
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .
 Misc 
socket options = TCP_NODELAY
#=== Share Definitions ===
[software]
path = /mnt/d/software
guest only = yes
[software$]
path = /mnt/d/software
guest only = no
read only = no
browseable = no
[music]
path = /mnt/d/music
guest only = yes
[music$]
path = /mnt/d/music
guest only = no
read only = no
browseable = no



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


[Samba] Re: Samba and non-ascii characters

2004-03-03 Thread Martin C. Barlow
I think unix charset is utf8 by default, so unless you have changed it, it
should be ok.

I don't think the other charset options will affect it. I presume that the
actual file server is configured correctly to handle exotic characters.

I think you should check that you have compiled other various charsets in
the kernel for samba. iso8559-15 is good for western european countries and
utf8 is needed as well.

good luck

marty
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hello everyone,

I have a problem with smbmount. After I mount a certain share, I can not
view files with weird charaters in their name. This happends for example
with the copyright char.
After searching with Google I still didn't find an answer. I guess it has
something to do with a 'charset' command, but I can't figure out wich one,
and what character table I should use...

I'm using RedHat 9 and Samba 3.0.2a, and I connect to a Windows 2000 SBS
machine.

Thanks for your help,

-- 
Jurrie Overgoor




-- 
_
Zon Gratis ADSL. De voordelen van gratis internet met de snelheid van
ADSL. Zonder abonnementskosten en zonder vast contract. Je betaalt
alleen voor de tijd online. Nu zonder aansluitkosten en met gratis
modem. Bestel snel op zonnet.nl.

-- 
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] NetAPP still noone done?

2004-03-03 Thread Thomas Mikl
Hi!

I have the following config:
RedHat ES 3
Samba 3.0.2a with OpenLDAP 2.0.27
Everything works fine having Samba setup as a PDC. But when trying to 
join a (brand new) NetApp F810 to the domain I get an error: "Could not 
create authentication pipe".

I really would need help asap ;)

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