[Samba] OS/2 ibm linker creates files with 1.135638 GB length

2002-10-11 Thread Udo
Hello,

I recently changed to samba 2.2.5 and now the ibm OS/2 linker (Version
03.06.PPK1981104) creates files with a length of more than 1 GB, while
the file length is about 200 KB under Samba 2.2.1a.

Does anyone know about this or has a solution?

Regards

Udo


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



[Samba] XP Pro - Domain Login ... great trauma and sorrow

2002-10-11 Thread Lew Aubrey



I really think this is a Windows problem, but since 
my very good friend Bill refuses to return my calls ...


The client is WinXP Professional

The server is RedHat 7.1 with SAMBA 
2.2.2-8

I have rtfm several times both the ENCRYPTION and 
PDC-Howto, and I think I have implemented all of the requisite registry and 
passwd/smbpasswd/smb.conf settings.

The client will happily JOIN the domain, but my 
efforts to LOGIN to the domain fail because someone/thing is unable to open 
passwd database.


If you know what I am missing (please be gentle), I 
would greatly appreciate a response.


Thanks


**
Samba Log for the client
**

[2002/10/09 08:14:09, 1] 
smbd/password.c:pass_check_smb(546) Couldn't find user 'user longname' 
in passdb.[2002/10/09 08:14:09, 1] 
smbd/password.c:pass_check_smb(546) Couldn't find user 'user longname' 
in passdb.[2002/10/09 08:14:09, 1] 
smbd/reply.c:reply_sesssetup_and_X(995) Rejecting user 'user 
longname': authentication failed

  
  
***
  
  The messages above are generated when the 
client is started.

  
  The messages below are generated when 
attempting to login to the NT Domain
  
  
***

[2002/10/09 08:15:21, 0] 
rpc_server/srv_samr.c:api_samr_set_userinfo(672) 
api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.[2002/10/09 
08:15:21, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(171) 
startsmbfilepwent_internal: unable to open file 
/etc/samba/private/smbpasswd.Error was Permission denied[2002/10/09 
08:15:21, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1459) unable to 
open passdb database.


Re: [Samba] XP Pro - Domain Login ... great trauma and sorrow

2002-10-11 Thread Frank Matthieß
On Fri, Oct 11, 2002 at 06:14:49AM -0400, Lew Aubrey wrote:
 I really think this is a Windows problem, but since my very good friend Bill refuses 
to return my calls ...
 
 
 The client is WinXP Professional
 
 The server is RedHat 7.1 with SAMBA 2.2.2-8
 
 I have rtfm several times both the ENCRYPTION and PDC-Howto, and I
 think I have implemented all of the requisite registry and
 passwd/smbpasswd/smb.conf settings.
 
 The client will happily JOIN the domain, but my efforts to LOGIN to
 the domain fail because someone/thing is unable to open passwd
 database.


Yout need smbpasswd account and the _same_ user in unix passwd.
If you want to use typical windows user names like Hein Blöd, than you
have to use the username map (G) to map those windows username to an
_existing_ unix user.

See manual page man smb.conf, hjow to configure this.


 
 
 If you know what I am missing (please be gentle), I would greatly
 appreciate a response.
 
 
 Thanks
 
 
 
**
 
 Samba Log for the client
 
**
 
 [2002/10/09 08:14:09, 1] smbd/password.c:pass_check_smb(546)
   Couldn't find user 'user longname' in passdb.
 [2002/10/09 08:14:09, 1] smbd/password.c:pass_check_smb(546)
   Couldn't find user 'user longname' in passdb.
 [2002/10/09 08:14:09, 1] smbd/reply.c:reply_sesssetup_and_X(995)
   Rejecting user 'user longname': authentication failed
 
 
***
 The messages above are generated when the client is started.
 
 The messages below are generated when attempting to login to the NT 
Domain
 
***
 
 [2002/10/09 08:15:21, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(672)
   api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
 [2002/10/09 08:15:21, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(171)
   startsmbfilepwent_internal: unable to open file /etc/samba/private/smbpasswd.
 Error was Permission denied
  ^^^

What tell's ls -l /etc/samba/private/smbpasswd ?

This file must be exist and readable by the unix user, who runs the
samba daemon (normaly root).


 [2002/10/09 08:15:21, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1459)
   unable to open passdb database.
 

Hope this helps.

Frank.
-- 
Frank Matthieß[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] winbind /etc/pam.d/system-auth

2002-10-11 Thread Buchan Milne
Message: 8
Reply-To: Norman Zhang [EMAIL PROTECTED]
From: Norman Zhang [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Thu, 10 Oct 2002 18:44:51 -0700
Subject: [Samba] winbind /etc/pam.d/system-auth

Hi,

I have setup /etc/pam.d/system-auth as below. But when I login to the Linux
Box from KDE3, I get a prompt saying I don't have write access to the HOME.


pam_mkhomedir doesn't make deep directories, so you need to make the 
parent directory of your user's homes. So if you use 'template homedir = 
/home/%D/%u', then you need to make /home/%D where %D is each domain you 
are supporting.

Then got kicked out. In NT Domain, when I double click on the Samba machine,
I get network path not found. What am I doing wrong? Please help.



If you still get this with samba when connecting to it, and the home 
directory didn't exist before, you need to add the option 'obey pam 
restrictions = yes' to the global section of your smb.conf.

Regards,
Buchan

--
|Registered Linux User #182071-|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7

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


[Samba] XP-Problem - suddenly XP canot connect to samba

2002-10-11 Thread Dr. Bernd Zimmermann
Hi,

we had an XP computer running and connection to our
Samba -Server (Debian Version, 2.2.3 ) was working very fine.

Suddenly - the person who is working on that computer
changed something, but could not remember what -
the XP computer cannot see the samba server anymore.

In the windows network there is no samba server visible
Also searching for the computer does not work either
via netbios name and ip adress
The samba computer is still invisible

Tcpdumping on the samba computer shows no port 137,138,139
connections. Only connection from the xp computer to 224.0.1.22
(srvloc.mcast.net) we can see.

What happend to the XP computer ?

We tried everything. Checking TCP/IP , Registry, nearly everything,
but no way.

What could happend to the XP computer ??

We also deinstalled XP SRV Pack 1 ...

Please Help.

Thanks a lot.

Bernd

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



Re: [Samba] Re: [GLUG] Samba password changes?

2002-10-11 Thread Andrew Bartlett
Buchan Milne wrote:
 
 [EMAIL PROTECTED] wrote:
  hi,
 
  i've setup a LDAP server with account information,
  and compiled samba with ldap support.
 
  everything works great, except for the password changes
  i still have to run two seprate commands ( passwd, smbpasswd )
  to change a users password.
 
  i've tried to put the pam_smbpasswd.so module into
  system-auth, but that does work?
 
 
 No, pam_smbpasswd is meant for modifying the smbpasswd file, it doesn't
 do anything else.
 
 I found the best solution was to use:
 
 unix password sync = yes
 pam password change = yes
 passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n
 *LDAP*passwd:*all*authentication*tokens*updated*successfully*
 
 (not sure if the passwd chat is necessary)
 
 and then modify your /etc/pam.d/passwd to do password changes via LDAP.
 This ensures that password changes from samba apply the same rules that
 any other password change would apply.
 
 Only problem I have now is if a user does a unix password change, it
 currently won't change their windows password, but I believe there is a
 hacked pam_ldap which will do that too.
 
 (I have some issues with the idealx stuff, but it should all work out
 the box on recent Mandrake RPMs).

You seem to be in a bit of a mess here...

pam_smbpass uses Samba's passdb backend to communicate with smbpasswd,
or Samba's LDAP backend.  It allows the full range of operations
normally available on /etc/shadow:  checking and changing passwords,
both as root and a normal user.

This should allow you to keep just one password database, and not use
/etc/shadow.  Or you can keep then both in sync, by listing both in your
PAM configuration.

The other thing mentationed here (unix password sync) is a way to sync
incoming remote password changes with 2 sources, the smbpasswd file/LDAP
equiv and some 'unix' password system.  This only matters if you keep
the unix password file - you may be better to use pam_smbpass and just
use one.


A third option is with Samba 3.0, we have 'ldap password sync', this
sets the userPassword attriubute in LDAP via an extended operation, and
lets you aim pam_ldap at your LDAP DB.

A forth option (again 3.0) is to run winbindd on your PDC, set 'winbind
use default domain and use pam_winbind.  

In any case, there is certainly plenty of solutions here...

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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Samba CVS

2002-10-11 Thread James Brechtel
Ok, I've compiled samba from cvs and have it installed and running fine.  I'm 
trying to get winbindd setup so I can log in using windows login accounts.  
Now, my machine is joined to the domain properly (wbinfo can -a authenticate 
names and password...  secret check succeeded... wbinfo -u wbinfo -g 
works...getent passwd and getent group both work fine..).  /etc/nsswitch conf 
has lines

passwd: files winbind nisplus nis
shadow: files nisplus nis
group:  files winbind nisplus nis


/etc/pam.d/login has

auth   required /lib/security/pam_securetty.so
auth   required /lib/security/pam_winbind.so
auth   required /lib/security/pam_stack.so service=system-auth
auth   required /lib/security/pam_nologin.so
accountsufficient   /lib/security/pam_winbind.so
accountrequired /lib/security/pam_stack.so service=system-auth
password   required /lib/security/pam_stack.so service=system-auth
sessionrequired /lib/security/pam_stack.so service=system-auth
sessionoptional /lib/security/pam_console.so

.

Now when all the samba daemons (smbd, nmbd and winbindd) are running...login 
doesn't work at all.  I can su (to root or local accounts) from existing 
terminals but logging in from vty doesn't work at all (using local or windows 
accounts).  Su'ing to a windows account doesn't work however.

I ran winbindd in debug and watched it whenever I tried to su to a windows 
account...and it doesn't say the password was wrong...but it doesn't say it 
was successful either (like it does when I authenticate with wbinfo -a).

Anyone have any idea or is this just how the current cvs code acts?

Thanks in advance,


-- 
James Brechtel
Programmer, Harrison County Schools
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Integrating Samba Active Directory

2002-10-11 Thread Sougat S Ghosh

I have Linux with 1000 users in /etc/password  another Linux server with
200 users in LDAP. Recently, I have configured an Active Directory on
Windows 2000. I would like to have following:
Whenever users log into the domain, it should find out whether these users
exist in the domain controller and if not, should search both of these
Linux servers and authenticate them. Can someone suggest how to do and
which version of samba should be used.
.
Thanks in advance
Sougat Ghosh

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



Re: [Samba] mount_smbfs can't get server address

2002-10-11 Thread Frank Matthieß
On Thu, Oct 10, 2002 at 06:50:32PM -0700, ben wrote:
 i am running freebsd 4.6.2 
 i am using this command to mount a windows share from windows xp
 mount_smbfs //user@server/share_name /path/to/mount_point
^^
This seems to be incorrect for smbfs

Try 
/server/share /path/to/mount_point \
username=WindowsUsername,\
password=WindowsPassword

or 
credentials=YourCredentialFile

Take a look at man smbmount.


The uid and gid parameters for the 'local' view aka unix view.


 and everytime i get this message
 mount_smbfs: can't get server address: ssyerr = operation timed out
 i have also tried this command 
 mount -t smbfs //user@server/share_name /path/to/mount_point
 and get the same message

-- 
Frank Matthieß[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] Problem with oplock

2002-10-11 Thread Jean-Rene Cormier
Well I don't really understand all these file lock/oplock stuff but I'll
try it to see if it makes a difference...

Jean-Rene Cormier

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:samba-admin;lists.samba.org] De
la part de Joel Hammer
Envoyé : 10 octobre, 2002 16:46
À : Jean-Rene Cormier; [EMAIL PROTECTED]
Objet : Re: [Samba] Problem with oplock

Would you consider disabling oplocks?
Joel
-- 
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] Pb Samba: Double Click

2002-10-11 Thread Lafdal, Zidane
Hi
Can somebody help me to solve the following problem
I have installed samba 2.2.5 on an hp9000 hpux 11.0 server. I have win2K as the client.
I made on my PC a link to a samba directory.
When I try to open a document on my PC ( a word document for example) I have the 
following message:
It is given in the attached file. It is in french.
The translation to english gives the follwing message:

An error has occured during the reconnexion to H:\\aor3d1\docsap
Microsoft Network Windows : The local peripheral name is already used.
This connexion is not restored.



However when I open this document, by using the right button of my mouse, and choosing 
a prgram ( Example word), I can open the document with no problem.


Thank you for your help.





 SambaDouble Click.doc 
Cordialement

_
Zidane LAFDAL
Atos Origin
Activité Entreprise services
ERP OutSourcing /Ingénierie Unix
24 quai Galliéni  /  B.P. 309  /  92156 Suresnes cedex
*   (33) 1 73 29 32 41
 *  (33) 1 73 29 36 76
*   [EMAIL PROTECTED]

This electronic transmission and any files attached to it are strictly confidential 
and intended solely for the addressee.   If you are not the intended addressee, you 
must not disclose, copy or take any action in reliance of this transmission.  If you 
have received this transmission in error, please notify us by return and delete the 
same.  The views expressed in this electronic transmission do not necessarily reflect 
those of Atos Origin or any of its subsidiary companies. Although the sender 
endeavours to maintain a computer virus free network, the sender does not warrant that 
this transmission is virus-free and will not be liable for any damages resulting from 
any virus transmitted.





SambaDouble Click.doc
Description: SambaDouble Click.doc


[Samba] (no subject)

2002-10-11 Thread BONHERBE, Laurent








unsubscribe







* 

  This mail is confidential and is adressed only to the ordinary user of the mailbox it has been send to.

  It has been checked for all known viruses before being sent to you.

  If you feel you received it by mistake, please do contact us and proceed to its destruction immediately. 

  


Re: [Samba] Samba CVS

2002-10-11 Thread Gareth Davies
 Original Message -
From: James Brechtel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 11, 2002 10:25 AM
Subject: [Samba] Samba CVS


 Ok, I've compiled samba from cvs and have it installed and running fine.
I'm
 trying to get winbindd setup so I can log in using windows login accounts.
 Now, my machine is joined to the domain properly (wbinfo can -a
authenticate
 names and password...  secret check succeeded... wbinfo -u wbinfo -g
 works...getent passwd and getent group both work fine..).  /etc/nsswitch
conf
 has lines

snip

Try it like this?

Also I presume you have compiled -with-pam and copied the .so to the
/lib/security directory and made the ln- s to so.2 and you've given winbind
a password to use? wbinfo -A Administrator%password

The /etc/pam.d/login

auth   required /lib/security/pam_securetty.so
auth   sufficient   /lib/security/pam_winbind.so
auth   sufficient   /lib/security/pam_unix.so use_first_pass
auth   required /lib/security/pam_stack.so service=system-auth
auth   required /lib/security/pam_nologin.so
accountsufficient   /lib/security/pam_winbind.so
accountrequired /lib/security/pam_stack.so service=system-auth
password   required /lib/security/pam_stack.so service=system-auth
sessionrequired /lib/security/pam_stack.so service=system-auth
sessionoptional /lib/security/pam_console.so

HTH
 Shaolin - IT Systems
 WB Ltd.
.: http://www.security-forums.com :.

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



Re: [Samba] Re: [GLUG] Samba password changes?

2002-10-11 Thread Buchan Milne
Andrew Bartlett wrote:

Buchan Milne wrote:


[EMAIL PROTECTED] wrote:


hi,

i've setup a LDAP server with account information,
and compiled samba with ldap support.

everything works great, except for the password changes
i still have to run two seprate commands ( passwd, smbpasswd )
to change a users password.

i've tried to put the pam_smbpasswd.so module into
system-auth, but that does work?


The funny thing about this thread is that pam_smbpasswd shouldn't really 
affect what happens when a user changes their password via samba ...

Adriaan, if you haven't sorted this out, what are you aiming at doing? 
Just keeping the unix and samba password in LDAP in sync from a password 
change via samba, or is it more complex than that?





No, pam_smbpasswd is meant for modifying the smbpasswd file, it doesn't
do anything else.

I found the best solution was to use:

unix password sync = yes
pam password change = yes
passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n
*LDAP*passwd:*all*authentication*tokens*updated*successfully*

(not sure if the passwd chat is necessary)

and then modify your /etc/pam.d/passwd to do password changes via LDAP.
This ensures that password changes from samba apply the same rules that
any other password change would apply.

Only problem I have now is if a user does a unix password change, it
currently won't change their windows password, but I believe there is a
hacked pam_ldap which will do that too.

(I have some issues with the idealx stuff, but it should all work out
the box on recent Mandrake RPMs).



You seem to be in a bit of a mess here...

pam_smbpass uses Samba's passdb backend to communicate with smbpasswd,
or Samba's LDAP backend.  It allows the full range of operations
normally available on /etc/shadow:  checking and changing passwords,
both as root and a normal user.


The documentation doesn't reflect that, unless you make assumptions 
about what smbpasswd means ... and previous comments on [EMAIL PROTECTED] 
on it implied it only worked with the smbpasswd file backend.

And (AFAIK) it only solves password changes which occur on a/the DC, the 
 problem remains with users changing passwords from unix client 
machines, only their unix password will be changed, they will have to 
manually change their windows password.

Or am I missing something?


This should allow you to keep just one password database, and not use
/etc/shadow.  Or you can keep then both in sync, by listing both in your
PAM configuration.

The other thing mentationed here (unix password sync) is a way to sync
incoming remote password changes with 2 sources, the smbpasswd file/LDAP
equiv and some 'unix' password system.  This only matters if you keep
the unix password file - you may be better to use pam_smbpass and just
use one.


Well, 'pam password change' with pam_ldap allows you to keep LDAP 
passwords in sync, and there are some things (phpgroupware for one) 
which can authenticate by LDAP but not by pam (so pam_smb is out of the 
question).



A third option is with Samba 3.0, we have 'ldap password sync', this
sets the userPassword attriubute in LDAP via an extended operation, and
lets you aim pam_ldap at your LDAP DB.

A forth option (again 3.0) is to run winbindd on your PDC, set 'winbind
use default domain and use pam_winbind.


Do you mean running winbind on the unix clients?

Then you have uid mismatches, so you can't use NFS? Or is there a way to
keep the winbind rid/uid/gid mapping consistent between machines?



In any case, there is certainly plenty of solutions here...



But the only way to address users on unix clients changing their 
password is with a hacked up pam_ldap that will change ntPassword and 
lmPassword.

Regards,
Buchan

--
|Registered Linux User #182071-|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7

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


Re: [Samba] Memory Leak in 2.2.6rc2??

2002-10-11 Thread jra
On Fri, Oct 11, 2002 at 12:53:52PM -0700, [EMAIL PROTECTED] wrote:
 It's winbindd.
 
 We had been running ok then noticed that winbindd wasn't running. We started
 it up then sometime later noticed the server slowing down.
 
 Meminfo showed free had dropped from 80+MB to 4.  Restaring Samba didn't
 change things much (Free went to 7MB), restarting winbindd put it back up to
 80MB.
 
 Has anything changed in winbindd between pre2 and rc2?  We were running with
 pre2 for a couple of days without problems.

H. Can you do a ps on the winbindd and let me know what the SIZE and RSS
figures are ? Also, can you let me know more about your domain environment
(how many trusted domains etc.).

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



RE: [Samba] Samba+MYOB

2002-10-11 Thread Tony Nichols
I'm using it at a tax business (along with tax wise) and it has been
working fine  however there are only 2 people logged in at the same
time.
Config is 
RedHat 7.3
Samba 2.2.4-3 (installed via rpm)
Config for share: 
public = yes
   writable = yes
   guest ok = yes
   printable = no
   dos filetimes = yes
Clients are:
Win2k sp2
win98
winme

I expect the biggest improvement would be to go to Samba 2.2.5 
I plan to upgrade it next month to the newest version (2.2.6 I hope!)

Hope that helps!

t o n y

A.G. (Tony) Nichols
I.S. Manager
Appalachian Log Structures Inc.
www.applog.com 
[EMAIL PROTECTED] 
888-999-2574 x124
-Original Message-
From: [EMAIL PROTECTED] [mailto:samba-admin;lists.samba.org]
On Behalf Of Ramzi S. Abdallah
Sent: Wednesday, October 09, 2002 10:13 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Samba+MYOB


Hello all,

We are experiencing problems using MYOB Premier V6.0.2 on Windows 2000
computers SP3, with the data file residing on shared drive on Linux
(Redhat 7.2) file server running Samba Version 2.2.1a and kernel
2.4.9-34. 
 
The MYOB Tech support have told me that it is a problem with our network
but could not give me any hints where the problem might be.

The MYOB database has been corrupted at least 8 times over the last 4
days and every time we have to go back to our backups thereby losing all
of the transactions entered in the interim.
 
Has anyone had any experience with a similar problem and could give me
any suggestions?
 
Following is the smb.conf configuration related to the MYOB share
 
[myob]
comment = MYOB Directory
path = /data/MYOB
read only = No
admin users = @myob
Any Help would be highly appreciated.
 

Thanks,
 
Ramzi
 

-- 
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.4 Printing Not Liking WinXP

2002-10-11 Thread Adam Cormany
I have Samba 2.2.4 installed on Redhat 7.3. I was
trying to set up printers through it and everything
works great on from a Windows 2000 Professional
Client, but a Windows XP Client dies a miserable death
when trying to view the properties of a printer. On
the Windows XP Client side, I get:
Properties clould not be displayed, procedure could
not be finished

On the Redhat 7.3 side, I'm seeing:
[2002/10/11 15:49:58, 0]
rpc_client/cli_pipe.c:rpc_api_pipe(359)
  cli_pipe: return critical error. Error was
NT_STATUS_INVALID_PIPE_STATE
[2002/10/11 15:49:58, 0]
rpc_server/srv_spoolss_nt.c:srv_spoolss_replycloseprinter(176)
  srv_spoolss_replycloseprinter: reply_close_printer
failed [DOS code 0x001f].

Is this a known issue and is there a fix for it?
Thanks in advance,
Adam

__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos  More
http://faith.yahoo.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Samba Crashes on High load ?

2002-10-11 Thread Andrew Bartlett
Marco Rebsamen wrote:
 
 Hi,
 
 Iv'e got a SuSE 8.0 box with Samba 2.2..3a-64 on it. I tried to copy 4.1GB of
 MPG/AVI Videos (103 particula files) to a Windows98 SE box. But i din't take
 long and the Linux box crashes. It don't respond to anything!
 I tried to copy them by 4file groups. It worked bether but it still crashes
 once.
 Where's the bug here ???

Which is the client, and which is the server?  If the client is smbfs,
then this could be a bug there, otherwise it's a generic kernel bug -
Samba should not be able to crash an entire machine.

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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Memory Leak in 2.2.6rc2??

2002-10-11 Thread Gerald (Jerry) Carter
On Fri, 11 Oct 2002 [EMAIL PROTECTED] wrote:

 Has anything changed in winbindd between pre2 and rc2?  We were running
 with pre2 for a couple of days without problems.

Jeremy merged a lot of winbind code from APP_HEAD.  I'll have to 
look at a diff to be sure what the exact changes were.

Is anyone else seeing this?




cheers, jerry
 -
 Hewlett-Packard http://www.hp.com
 SAMBA Team   http://www.samba.org
 --http://www.plainjoe.org
 SAMS Teach Yourself Samba in 24 Hours 2ed.   ISBN 0-672-32269-2
 --I never saved anything for the swim back. Ethan Hawk in Gattaca--

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



[Samba] SAMBA with mounted ISO images

2002-10-11 Thread Jon Monroe
Hey all,

I'm using Samba to share *mounted* ISO images w/ windows workstations. In 
other words, I create a share w/ default write access. Then, I create a 
several folders. Some are for files, while others are read-only and used 
for mount points for iso9660 ISO image files (so the user sees the contents 
of the iso files, not the file itself).

I can mount and share the ISO file contents fine. But I can't umount the 
image (to say, switch to a newer version of the same named ISO file). Even 
though nobody is using the server (windows stations switched OFF), Samba 
seems to maintain a lock on the shared ISO mount point (the folder) and 
won't let the resource be released

If I do a force umount (-f) it doesn't help
If I do a lazy umount (-l), it does work, but it doesn't release the loop 
device.
If I do a losetup -d /dev/loop_device it can't release it.

But, if I shutdown Samba, it unmounts/releases fine.

So, is there something I can configure or compile into Samba that will 
cause it to not-lock/cache mounted folders so that one can umount the ISO? 
I tried disabling all the known cache settings in the smb.conf -- didn't help.

Thanks a bunch!

Jon
Jon Monroe
Systems Administrator
ImageBuilder Software
(503) 684-5151
(503) 639-6334 FAX

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


Re: [Samba] Samba 2.2.4 Printing Not Liking WinXP

2002-10-11 Thread Gerald (Jerry) Carter
On Fri, 11 Oct 2002, Adam Cormany wrote:

 I have Samba 2.2.4 installed on Redhat 7.3. I was
 trying to set up printers through it and everything
 works great on from a Windows 2000 Professional
 Client, but a Windows XP Client dies a miserable death
 when trying to view the properties of a printer. On
 the Windows XP Client side, I get:
 Properties clould not be displayed, procedure could
 not be finished

Please retest with 2.2.6rc3 (just released).  Thanks.







cheers, jerry
 -
 Hewlett-Packard http://www.hp.com
 SAMBA Team   http://www.samba.org
 --http://www.plainjoe.org
 SAMS Teach Yourself Samba in 24 Hours 2ed.   ISBN 0-672-32269-2
 --I never saved anything for the swim back. Ethan Hawk in Gattaca--

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



RE: [Samba] Memory Leak in 2.2.6rc2??

2002-10-11 Thread gsmith
Its at it again.  Does rc3 address this?  The only thing being done on this
server right now is printing by one user.

Screen capture of top:


  PID USER PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
 3826 root  25   0  3096 2832  1540 R88.0  0.8   9:05 winbindd
 3134 root  15   0  3272 2816  2000 S 3.1  0.8   0:01 smbd
 3905 root  15   0  2732 2312  1456 S 2.9  0.7   0:01 smbd
 3841 root  15   0 24440  23M  1456 S 2.7  7.4   0:43 smbd
 3868 root  15   0 14628  13M  1456 S 2.5  4.4   0:24 smbd
 3908 root  15   0  1036 1036   848 R 0.3  0.3   0:00 top

-Original Message-
From: [EMAIL PROTECTED] [mailto:jra;dp.samba.org]
Sent: Friday, October 11, 2002 1:54 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] Memory Leak in 2.2.6rc2??


On Fri, Oct 11, 2002 at 12:53:52PM -0700, [EMAIL PROTECTED] wrote:
 It's winbindd.
 
 We had been running ok then noticed that winbindd wasn't running. We
started
 it up then sometime later noticed the server slowing down.
 
 Meminfo showed free had dropped from 80+MB to 4.  Restaring Samba didn't
 change things much (Free went to 7MB), restarting winbindd put it back up
to
 80MB.
 
 Has anything changed in winbindd between pre2 and rc2?  We were running
with
 pre2 for a couple of days without problems.

H. Can you do a ps on the winbindd and let me know what the SIZE and RSS
figures are ? Also, can you let me know more about your domain environment
(how many trusted domains etc.).

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



RE: [Samba] Memory Leak in 2.2.6rc2??

2002-10-11 Thread gsmith
Same thing with rc3.  Browse to a share on the Samba server and winbindd and
smbd go nuts.

Winbindd takes 90% cpu and an smb daemon take upwards of 12MB.

We'll backtrack to pre2 and see how things go.

greg

-Original Message-
From: Gerald (Jerry) Carter [mailto:jerry;samba.org]
Sent: Friday, October 11, 2002 3:11 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [Samba] Memory Leak in 2.2.6rc2??


On Fri, 11 Oct 2002 [EMAIL PROTECTED] wrote:

 Has anything changed in winbindd between pre2 and rc2?  We were running
 with pre2 for a couple of days without problems.

Jeremy merged a lot of winbind code from APP_HEAD.  I'll have to 
look at a diff to be sure what the exact changes were.

Is anyone else seeing this?




cheers, jerry
 -
 Hewlett-Packard http://www.hp.com
 SAMBA Team   http://www.samba.org
 --http://www.plainjoe.org
 SAMS Teach Yourself Samba in 24 Hours 2ed.   ISBN 0-672-32269-2
 --I never saved anything for the swim back. Ethan Hawk in Gattaca--
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Memory Leak in 2.2.6rc2??

2002-10-11 Thread jra
On Fri, Oct 11, 2002 at 04:35:52PM -0700, [EMAIL PROTECTED] wrote:
 Same thing with rc3.  Browse to a share on the Samba server and winbindd and
 smbd go nuts.
 
 Winbindd takes 90% cpu and an smb daemon take upwards of 12MB.

Can you get me a debug level 10 log of this occurring please ?

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



[Samba] Roaming Profiles

2002-10-11 Thread Kevin Smith




I have a RH 6.0 (don't laugh) server I've set up. 
Hooked to the test machine its fine, but when I put in on the 3 machine network 
it did a few weird things:

1: Changed my Main User Profile on Machine #1 to 
what looks like a default profile. and When I login there no previous username 
in the Logon Box. (no windows Policies)

2: Crashes when Machine #2 of the machines 
logs in and is copying its roaming profiles to or from the server with 
thiserror:

Kernel Panic: SKput:over:c2820b30:27855:dev 
eth0:In Swapper Task not 
syncing

I seems to be doing this with just the one machine. 
a Win 98se box with an IntelPro/100B ibis the culprit.
I tried disabling the  roaming profiles, but that 
didn't seem to work and it still crashed.

My RH Server uses Samba 2.2.5 and theNIC 
usesthe Tulip driver that came with the distro. It's all connected 
through a Linksys Hub.
The Machine that DOES work, uses a linksys 10/100 
came with the hub

Anyone even get this error? Or have and 
Ideawhyits being triggered? and more importantly how to fix the darn 
thing?
The System is:
AMD 233Mhz w/ 32 megs 
RH 6.0 kernel 
2.2.5-15
Tulip .89H
PPP 2.3.3

the system that is crashes with is: 
Pentium 300 64 megs 
Win 98 SE 
IntelPro/100B NIC w/ the newest 
drivers


Connected thru a LinkSys 10/100 5 port 
hub




K Smith

---Outgoing mail is certified Virus 
Free.Checked by AVG anti-virus system (http://www.grisoft.com).Version: 6.0.394 / 
Virus Database: 224 - Release Date: 10/3/02


Re: [Samba] Cant find uid=0

2002-10-11 Thread Andrew Bartlett
Philip Burrow wrote:
 
 Im having a problem adding machines to a domain. All has been fine until
 today. This is the output when I try to add a machine (WinXP). It appears to
 be looking for a root user in my LDAP directory but isnt finding it (because
 there isnt a user 'root' there). User 'Administrator' exists.
 
 Must there be an instance of 'root' in Samba LDAP backends? I've ploughed
 through the idealx HOWTO for this, but Messrs Lemaire don't explicitly
 create a root user. Can someone help?

Don't make the user you use to join the domain an 'admin user', either
use root, or a member of the 'domain admins group'.  Yes, this is
confusing, and is fixed in 3.0

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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Quota problem (soft=hardlimit?)

2002-10-11 Thread Andrew Bartlett
Peter Grießl wrote:
 
 Hello all,
 
 after upgrading from 2.2.3a to 2.2.5 we experience strange quota behaviour.
 When logging out from Windows 2000 and writing the user profiles back to the
 server the user gets a disk full warning - below soft and hardlimit.
 
 Tests showed that the warning comes up when
 
 Userfiles + (2 * Profiles)  soft limit.
 
 In all our tests, the grace period and the hardlimit were never reached and
 are not the limiting factors.
 
 I read about Windows 2000 duplicating the profiles before writing back
 to the server, therefore (2 * Profiles). Ok, we can live with that.
 But treating the soft limit like hard limit is not fair, I think.
 
 The only thing changed on the server was the upgrade to Samba 2.2.5
 (RPM from ftp://ftp.suse.com/pub/people/lmuelle, we use SuSE 7.3).

Samba does not enforce quotas, only reports back what the OS tell us. 
Try and do a similar operation on the server only, and see what
happens.  It might be that the 'space free' that Samba reports is
causing problems, as that is set to the soft quota.

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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Samba CVS

2002-10-11 Thread Andrew Bartlett
James Brechtel wrote:
 
 I tried that (the winbind lines were the same...do the others affect winbind?)
 and still didn't work.

The others do affect winbind.  Read the PAM docs.  Unless all the
winbind lines are 'sufficient', control will pass on to the next module,
which won't recognise the winbind username/password.  

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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] dose any one know? using samba3_alpha20

2002-10-11 Thread Andrew Bartlett
Eli Kleinman - IT Dept. wrote:
 
 Hi all
 
 using samba3_alpha20
 
 dose any know what this error in the samba log file is
 
 [2002/10/11 13:46:20, 0] profile/profile.c:profile_setup(140)
   ERROR: we did not create the shmem (owned by another user)
 [2002/10/11 13:46:20, 0] smbd/server.c:main(813)
   ERROR: failed to setup profiling

You compiled --with-profile-data and (I'll guess) apache randomly picked
our magic number for it's scoreboard.  Don't compile --with-profile-data
or (quick fix) restart apache.  This configure option is for performance
testing, and is not generally useful.

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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] smbclient -M

2002-10-11 Thread Andrew Bartlett
Martin Sarajervi wrote:
 
 Im trying to send Winpopup messages to my XP computer from my linux
 server (running samba),
 
 smbclient -M void
 
 added interface ip=212.33.141.45 bcast=212.33.141.63 nmask=255.255.255.192
 added interface ip=212.33.147.58 bcast=212.33.147.63 nmask=255.255.255.248
 added interface ip=212.33.147.59 bcast=212.33.147.63 nmask=255.255.255.248
 Got a positive name query response from 212.33.147.58 ( 212.33.147.59 )
 message start: ERRSRV - ERRmsgoff (Not receiving messages.)
 
 Why am I getting this error message?
 
 Tried searching google and looking in faq, but no answers :-)

One might assume that messaging is turned off on the WinXP machine?

Andrew,  

-- 
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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Trusted domains between NT PDC and Samba PDC

2002-10-11 Thread Andrew Bartlett
[EMAIL PROTECTED] wrote:
 
 Hello,
 
 Is it possible to trust domains between NT PDC and samba PDC ?

Samba 3.0 has initial support for this, but needs testing.  I've heard
mixed reports, and have not had a chance to chase it up.

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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Problem since upgrade to Novell Client 4.8

2002-10-11 Thread Steve Meyler
I would be grateful if you could offer me some advice. I have a copy of
samba 2.0.7 on my UNIX Solaris 2.6 (OS 5.6) and it has been working
perfectly and transferring data between UNIX and NT. We were running
Novell Client 4.7 on the NT side and have recently upgrade to client
4.8, however since the upgrade I have been having problems (please see
the attached).

Do you know if this is a known problem? Do you suggest I update samba
to current version?

Look forward to hearing from you, thank you.

Steve Meyler
tel: 020 7944 4044





*
This E-mail and any files transmitted with it are private and
intended solely for the use of the individual or entity to whom
they are addressed.  If you are not the intended recipient,
the E-mail and any files have been transmitted to you in error
and any copying, distribution or other use of the information
contained in them is strictly prohibited.

Nothing in this E-mail message amounts to a contractual
or other legal commitment on the part of the Government
unless confirmed by a communication signed on behalf of
the Secretary of State.

The Department's computer systems may be monitored 
and communications carried on them recorded, to secure 
the effective operation of the system and for other lawful
purposes.
*




Novell Client update.doc
Description: MS-Word document


Re: [Samba] Change samba name other than hostname?

2002-10-11 Thread Andrew Bartlett
 Chris wrote:
 
 Just wondering how i change the samba name other than the hostname.

'netbios name' in your smb.conf

-- 
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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Help - Moutning XP Drives on Linux box using.

2002-10-11 Thread Chris Berry
From: Malcolm Jack [EMAIL PROTECTED]
Hi Chris, Thanks for the response.
Can you point me in the direction of where to make such a change?  Also, I 
thought that windows 2000 used NTLMv2, and the w2K box seems to work ok. 
any ideas?

On win2k its not the default.

If you use AD then its in your domain group policy, otherwise goto 
start:programs:admin tools:local security policy:local policies:security 
options:Lan Manager Authentication level

I recommend setting to Send NTLMv2 response only, refuse LM which is one 
setting below the highest and will allow NTLM authentication.

Also if you haven't looked at this before you should google for the registry 
tweak to make sure LM hashes aren't stored for backwards compatibility.  LC4 
can break a weak password LM hash in under a second.

Chris Berry
[EMAIL PROTECTED]
Systems Administrator
JM Associates

I have found the way, and the way is Perl.


_
Chat with friends online, try MSN Messenger: http://messenger.msn.com

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


FW: [Samba] 2.2.5 LDAP/smbpasswd -L problem help.

2002-10-11 Thread Michael Nenishkis - List ID
Sorry, still stuck with this problem. 
It is a repost, please kindly shed me light.
-Original Message-
From: [EMAIL PROTECTED] [mailto:samba-admin;lists.samba.org]
On Behalf Of Michael Joseph Nenishkis
Sent: Saturday, September 28, 2002 1:03 AM
To: [EMAIL PROTECTED]
Subject: [Samba] 2.2.5 LDAP/smbpasswd -L problem help.


Guru's, I humbly ask you for help.
I ran into a problem in which I cannot find the reason/fix.

System:
redhat 7.3
samba 2.2.5 --withldapsam
nss_ldap configured to route the Unix UID/GID from same LDAP server.

It is running well and am able to authenticate off the LDAP servers. One
problem I am having right now is that I would like non-root
administrators to be able to use smbpasswd -L option to reset user
passwords.

the /etc/samba/secrets.tdb is
-rw-rw-r--1 root ADMIN  8192 Sep 27 18:19
/etc/samba/secrets.tdb
*changed group rights so that user in ADMIN group of unix has write
access -- as pointed out on the samba readme files.

username, for example, on unix is joedoe.
telnet to unix host as joedoe, type id -G shows 5 groups, for example.
uid=510(joedoe) gid=100(users)
groups=100(users),300(Group1),200(ADMIN),201(Group2),302(Group3)

So joedoe is a member of the ADMIN group.
 
SMB.conf is configured as follows:
domain admin group = @ADMIN

I am able to join NTworkstation into the domain as user joedoe, so samba
understands domain admin = @admin = joedoe is a member.

But, when I login to unix host as joedoe, and type
smbpasswd -L maryjoe -D256 (enter)
New SMB password: xx
Retype SMB password: xx
--cut cut---
ldap_open_connection: starting...
user_in_list: checking user joedoe in list @ADMIN
user_in_list: checking user |joedoe| against |@ADMIN|
Unable to get default yp domain
user_in_unix_group_list: checking user joedoe in group ADMIN
user_in_unix_group_list: no such group ADMIN
ldap_open_connection: cannot access LDAP when not root or a member of
domain admin group.. Failed to find entry for user maryjoe. Failed to
modify password entry for user maryjoe
---
Seems Samba is not able to get the full group list for user joedoe. (?)

I have looked into user_in_unix_group_list in the source and found
there is a handle in lib/username.c but I have not clue what to do.

Please kindly give me a pointer on this 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



Re: [Samba] winbind /etc/pam.d/system-auth

2002-10-11 Thread Norman Zhang
:  I have setup /etc/pam.d/system-auth as below. But when I login to the
Linux
:  Box from KDE3, I get a prompt saying I don't have write access to the
HOME.
:
: pam_mkhomedir doesn't make deep directories, so you need to make the
: parent directory of your user's homes. So if you use 'template homedir =
: /home/%D/%u', then you need to make /home/%D where %D is each domain you
: are supporting.

/home/%D is created (i.e., /home/My_DOMAIN) and obey pam restriction = yes
is set. But still cannot login from both KDE3 and Network Neighborhood. I
took out winbind.so from /etc/pam.d/KDE3. But system-auth is the same as
before. Users are no longer listed as My_DOMAIN\%u.

When I tried,

wbinfo -u only %u are listed
wbinfo -g gives the groups from My_DOMAIN
wbinfo -t says Secret is bad 0x0c5

Please help.

Regards,
Norman

[global]
workgroup = My_DOMAIN
netbios name = 2139-1-19
server string = %L running Samba Server %v
security = DOMAIN
encrypt passwords = Yes
obey pam restrictions = Yes
password server = PDC_Server
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
character set = ISO8859-15
os level = 18
preferred master = False
local master = No
domain master = False
dns proxy = No
winbind uid = 1-2
winbind gid = 1-2
template shell = /bin/bash
winbind use default domain = Yes

[homes]
comment = Home Directories
path = %H
valid users = %S
read only = No
create mask = 0700
browseable = No

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



[Samba] Required Group Entries for 3.0 LDAP backend

2002-10-11 Thread Ray Raszka
What are the required group entries that must be put into the LDAP backend
for use with 3.0?
Do all the default entries in group-mapping.tdb need to be added to LDAP as
well?

Thanks
Ray

-- 
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.6rc3 released

2002-10-11 Thread Gerald (Jerry) Carter
Folks,

We have two bugs fixed since 2.2.6rc2 went out two days ago.  
Please continue to test (especially Win9x batch file users).
See change log below 

( Changes since 2.2.6rc2 )

81) Fix memory leak in smbspool
82) Fix bug in mangling code that resulted in Win9x clients not being
able to execute batch files in deep, non 8.3  directory paths


Tarball and patch file against 2.2.6rc2 at 

  http://download.samba.org/samba/ftp/pre/

RedHat 6.2  7.3 RPMS at 
 
  http://download.samba.org/samba/ftp/Binary_Packages/redhat/

Please allow a little bit for the mirrors to update.



  --Enjoy
The Samba Team


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



Re: [Samba] changing smb passwords from non smb machines

2002-10-11 Thread Andrew Bartlett
Bradley W. Langhorst wrote:
 
 In the interest of not having password divergence between NT and unix
 I've got everything authenticating against and ldap database.
 
 samba password updates are not a problem - i just
 use the unix password syncing features.
 
 however the other direction is proving to be a problem.
 I can rig pam to update both passwords with pam_ldap and pam_smbpass
 on machines that run samba. On some machines I don't want to run samba
 but i still want to provide passwd updates.
 
 I've considered and rejected pam_smb and pam_ntdom
 since they don't seem to have the password updating features (just auth
 features).

pam_winbind does password changes.

 I'd rather have the samba stuff updated by an exop on the ldap server
 but i don't think that is possible since the ldap server would have to
 know how to generate NT and LM hashes

If you are into this kind of thing, I think it would be very nice.  I've
recectly added the support to pdb_ldap to call such a routine - which
would allow Samba to do only one password set, allowing the ldap server
to deal with the rest.

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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] simple setup for 2 pcs

2002-10-11 Thread linux power

Hi Rob.
Can u ping the windoze?
What did u get when typing smbclient -Llocalhost
and smbclient -L(windoze).If u see the shares what did
u see on the windoze when u go to dos prompt and type
net use \\(lindoze). 



--- Rob Benton [EMAIL PROTECTED] skrev: 
I'm having lots of trouble getting connected to
 samba on my little 2 
 computer network at home.  One is a RedHat machine
 and the other is 
 Windows 2000.  Trying to access my just the IP of
 the RedHat machine 
 from my Windows machines gives me the Cannot find
 the file or item 
 '\\192.168.20.2' error.
 
 I've got 2 NICs in my RedHat machine so I did use
 the interface =  tag 
 in my smb.conf file.  I think it's workgroup related
 but I'm not sure. 
  Anyone have any prior experience with this?
 
 Thanks,
 Rob
 
 -- 
 To unsubscribe from this list go to the following
 URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba

=
http://home.no.net/~knutove/knut_ove_hauge_kuren.htm

__
Se den nye Yahoo! Mail på http://no.yahoo.com/
Nytt design, enklere å bruke, alltid tilgang til Adressebok, Kalender og Notisbok
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] mount_smbfs can't get server address

2002-10-11 Thread linux power

Yes I can give u 2 ideas. First try
adding uid=(your user id) and gid=(your group id)
at the end of your mount line.
Second and this I've just tried on my maschine:
mount -t smbfs -o rw userserver\\share
'/path/to/mountpoint' 
Remark the ticks.
Make sure the shares excists and have the right
permissions.You are then prompted for the windoze
passwd and u give that.


--- ben [EMAIL PROTECTED] skrev:  i am running
freebsd 4.6.2 
 i am using this command to mount a windows share
 from windows xp
 mount_smbfs //user@server/share_name
 /path/to/mount_point
 and everytime i get this message
 mount_smbfs: can't get server address: ssyerr =
 operation timed out
 i have also tried this command 
 mount -t smbfs //user@server/share_name
 /path/to/mount_point
 and get the same message
 
 can any one give me some ideas to try
 thanks alot 
 Ben
   
 -- 
 To unsubscribe from this list go to the following
 URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba

=
http://home.no.net/~knutove/knut_ove_hauge_kuren.htm

__
Se den nye Yahoo! Mail på http://no.yahoo.com/
Nytt design, enklere å bruke, alltid tilgang til Adressebok, Kalender og Notisbok
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Inquiry

2002-10-11 Thread Andrew Bartlett

Tom Riley wrote:
 
 Samba Team,
 
 I'm running a large Sun environment in which I have access to almost a
 terabyte of SCSI attached storage. I would like to capitolize on this space
 with as much diversity as I can. We have a primarly Win2K PC environment,
 and I am interested in knowing if there is a method to have Samba offer up
 file services with quota enforcement, without populating my sun machines
 with machine logins.

Machine logons are only required on a PDC.  And even then we have some
hacks to get around this (the _nua - Non Unix Account hack, putting the
machines only in smbpasswd etc, not /etc/passwd).

 Ideally I'd like to have the following environment.
 
 Sun Server
 ---
 Storage array
 Samba w/ quota enforcement (preferrable from within AD)

Quota's are not read from AD at present - but I would be interested to
know how AD stores such information.  (If at all).

 Win2K Server
 ---
 Active Directory
 User Authentication
 
 Win2K Workstations
 --
 Login
 Map to Sun Server via Samba.
 
 Is this a doable architecture?

Looks fine to me.

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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Re: Please assist with Winbind issues!

2002-10-11 Thread Andrew Bartlett

[EMAIL PROTECTED] wrote:
 
 Hello,
 
 I think my typo may have been the problem after all.  Doh!
 
 It seems to be working properly now.
 
 A couple of additional things I've noticed:
 
 'obey pam restrictions' must be set to yes to get the pam_mkhomedir module to do its 
job.

Yes - otherwise we don't execute that code.  If people don't have PAM
setup, it would fail :-(

 The homes share must have /home/%D as the path.  /home/%D/%U, and blank does not 
work.  This connects the user to a share named after the login ID, but 
double-clicking that share shows all of the folders in the /home/%D path rather than 
just the contents of the user's folder.  Which makes sense, but why doesn't 
/home/%D/%U or a blank entry work?
 
 Thanks to everyone for your assistance.

A blank entry should work - in what way does it 'not work'?  Try
2.2.6rc2 - a stat() check has been removed that might have caused the
problem.  Samba 3.0 has even more advanced logic here.

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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] RE: Please assist with Winbind issues!

2002-10-11 Thread Andrew Bartlett

Buchan Milne wrote:
 
  Message: 20
  From: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Date: Thu, 10 Oct 2002 11:56:51 -0400
  Subject: [Samba] RE: Please assist with Winbind issues!
 
  Thanks Andrew.
 
  I was actually under the (faulty) impression that --with-ssl was meant for SWAT.
 
 SWAT does not have SSL support (AFAIK). Use webmin instead (and it also
 won't trash comments in your smb.conf).

Swat uses SSL only via an stunnel wrapper, there is an FAQ on Samba.org

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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] NTLM version?

2002-10-11 Thread Andrew Bartlett

Gerald (Jerry) Carter wrote:
 
 On Wed, 9 Oct 2002, Chere Zhou wrote:
 
  Hi,
 
  Anybody can tell me what version of NTLM do we support in 2.2.5, 3.0a20 and
  after 3.0 is out?  If not version numbers, what features?
 
 2.2 branches support MTLMv1
 3.0a20 supports NTLMv2  kerberos (please let us know how ntlmv2 goes for
you since it is a new feature).

I'm worried that NTLMv2 might have been broken by the last lot of
NTLMSSP code.  It's a failure in the actual password check - so it's
probably a simple matter of fixing what we put into our hash code.

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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] multiple alternative LDAP backends

2002-10-11 Thread Andrew Bartlett

Massimiliano Mirra wrote:
 
 I'm using Samba marked 2.999+3.0cvs20020723 from Debian `sid'.
 
 In smb.conf, I've got:
 
passdb backend = ldapsam:ldaps://master.ldap.server 
ldapsam:ldaps://backup.ldap.server tdbsam
 
 All works fine when both ldap servers are up, or when at least the
 first is up.  When the first is down, though, samba tries to connect
 to it, doesn't manage to, and gives up instead of trying the next
 one(s).
 
 This is the log output:
 
 Oct 10 14:31:23 newton smbd[13549]: [2002/10/10 14:31:23, 0] 
passdb/pdb_ldap.c:ldapsam_connect_system(322)
 Oct 10 14:31:23 newton smbd[13549]:   Bind failed: Can't contact LDAP server
 Oct 10 14:31:23 newton smbd[13549]: [2002/10/10 14:31:23, 0] 
passdb/pdb_ldap.c:ldapsam_getsampwnam(1206)
 Oct 10 14:31:23 newton smbd[13549]:   ldapsam_getsampwnam: init_sam_from_ldap failed!
 
 Is this by design?  Can samba still be forced to try next backends if
 the current one can't be accessed?

Hmm, while the current code wan't quite intended to work like that, I'll
need more details as to why this doesn't actually function.  Better
still, we should probably make ldapsam take more than one URL.  

Are you up to writing some patches?  This is probably best done while
adding 'cached connections' to LDAP - make the transparent rebind try
the slave if the master goes down.

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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] session request to *SMBSERVER failed (Called name not present).

2002-10-11 Thread linux power

It could be a firewall question.Have you open up
the samba ports?



 --- Matthew Gavin [EMAIL PROTECTED] skrev:  Hi
all, I have a Solaris 2.7 host with a recent
 install of samba-2.2.2.
 I am using an smb.conf from a simmilar host that
 works perfectly. I
 can't seem to connect to the host with Samba. I am
 getting:
 
 ##
 
 //g4syd/usr/local/samba/bin 634 # smbclient -d 4 -L
 g4syd
 added interface ip=10.1.5.7 bcast=10.1.5.255
 nmask=255.255.255.0
 Client started (version 2.2.2).
 resolve_hosts: Attempting host lookup for name
 g4syd0x20
 Connecting to 10.1.5.7 at port 139
 session request to G4SYD failed (Called name not
 present)
 resolve_hosts: Attempting host lookup for name
 g4syd0x20
 Connecting to 10.1.5.7 at port 139
 session request to *SMBSERVER failed (Called name
 not present)
 
 ##
 
 All I need to do is create a simple /tmp share with
 no security
 whatsoever. I have checked the FAQ's, searched the
 web, re-installed a
 number of Samba packages and no matter what happens
 the error is the
 same. What gets me is that it works with localhost:
 
 ##
 
 //g4syd/usr/local/samba/lib 579 # smbclient -d4 -L
 localhost
 added interface ip=10.1.5.7 bcast=10.1.5.255
 nmask=255.255.255.0
 Client started (version 2.2.2).
 resolve_hosts: Attempting host lookup for name
 localhost0x20
 Connecting to 127.0.0.1 at port 139
  session request ok
 Password:
 Anonymous login successful
 Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.2.2]
  session setup ok
  tconx ok
 
 ##
 
 [GLobal]
workgroup = workgroup
netbios name = g4syd
server string = g4syd
hosts allow = 10. 127.
 
 /etc/hosts:
 
 127.0.0.1  localhost
 10.1.5.7g4syd g4syd.tempo-services.com.au
 10.1.5.7g4syd
 10.1.5.7G4SYD
 
 /etc/nsswitch.conf:
 
 hosts:  files dns
 
 /etc/resolv.conf:
 
 domain tempo-services.com.au
 nameserver 10.1.1.2
 nameserver 10.1.1.10
 
 Any ideas on where I go from here?
 
 Matthew Gavin
 Tempo Services Limited
 http://www.tempo.com.au
 mailto:[EMAIL PROTECTED]
 
 -- 
 To unsubscribe from this list go to the following
 URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba

=
http://home.no.net/~knutove/knut_ove_hauge_kuren.htm

__
Se den nye Yahoo! Mail på http://no.yahoo.com/
Nytt design, enklere å bruke, alltid tilgang til Adressebok, Kalender og Notisbok
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] who's on

2002-10-11 Thread Dylan Jones

Hi everyone,

Probably a dumb one too, but simply I cannot put my finger on what command
to use in order to see who's locally logged on; let me be more accurate in
my description:
we run win98 PC all accessing shares on the linux boxes via samba. Several
users  shares. When I use finger or who to see who's logged on I only get
to see who's logged on directly through ssh or telnet, but can't see who's
on through samba.

If anyone could help then I'd be glad... of course.

Thanx in advance

D Jones


attachment: winmail.dat

Re: [Samba] Samba CVS

2002-10-11 Thread James Brechtel

I tried that (the winbind lines were the same...do the others affect winbind?) 
and still didn't work.

Yes though, I compiled samba with --with-pam and copied the libnss_winbind.so 
to /lib and made the ln to .so.2  and the pam module to /lib/security.  I 
provided wbinfo with a login as well.  


On Friday 11 October 2002 9:30 am, you wrote:
  Original Message -
 From: James Brechtel [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, October 11, 2002 10:25 AM
 Subject: [Samba] Samba CVS

  Ok, I've compiled samba from cvs and have it installed and running fine.

 I'm

  trying to get winbindd setup so I can log in using windows login
  accounts. Now, my machine is joined to the domain properly (wbinfo can -a

 authenticate

  names and password...  secret check succeeded... wbinfo -u wbinfo -g
  works...getent passwd and getent group both work fine..).  /etc/nsswitch

 conf

  has lines

 snip

 Try it like this?

 Also I presume you have compiled -with-pam and copied the .so to the
 /lib/security directory and made the ln- s to so.2 and you've given winbind
 a password to use? wbinfo -A Administrator%password

 The /etc/pam.d/login

 auth   required /lib/security/pam_securetty.so
 auth   sufficient   /lib/security/pam_winbind.so
 auth   sufficient   /lib/security/pam_unix.so use_first_pass
 auth   required /lib/security/pam_stack.so service=system-auth
 auth   required /lib/security/pam_nologin.so
 accountsufficient   /lib/security/pam_winbind.so
 accountrequired /lib/security/pam_stack.so service=system-auth
 password   required /lib/security/pam_stack.so service=system-auth
 sessionrequired /lib/security/pam_stack.so service=system-auth
 sessionoptional /lib/security/pam_console.so

 HTH
  Shaolin - IT Systems
  WB Ltd.

 : http://www.security-forums.com :.

-- 
James Brechtel
Programmer, Harrison County Schools
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] who's on

2002-10-11 Thread Nathan Ehresman

smbstatus should do the trick.  shows you who's connected to which 
shares at least, and if you have auto mapping of the user's home 
directory at login time set up, then you can also know who is logged in.  :)

Nathan

Dylan Jones wrote:
 Hi everyone,
 
 Probably a dumb one too, but simply I cannot put my finger on what command
 to use in order to see who's locally logged on; let me be more accurate in
 my description:
 we run win98 PC all accessing shares on the linux boxes via samba. Several
 users  shares. When I use finger or who to see who's logged on I only get
 to see who's logged on directly through ssh or telnet, but can't see who's
 on through samba.
 
 If anyone could help then I'd be glad... of course.
 
 Thanx in advance
 
 D Jones
 


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



Re: [Samba] who's on

2002-10-11 Thread Deryk Robosson

On Fri, 11 Oct 2002 09:57 pm, Dylan Jones wrote:
 we run win98 PC all accessing shares on the linux boxes via samba. Several
 users  shares. When I use finger or who to see who's logged on I only get
 to see who's logged on directly through ssh or telnet, but can't see who's
 on through samba.

smbstatus is probably what you're after.

--
Regards,
Deryk Robosson

Robosson Business Services
22 Flemington Street
Albany, WA  6330
ABN: 56 728 377 499
Phone: +61 4 0842 9835 Email: [EMAIL PROTECTED]

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



Re: [Samba] who's on

2002-10-11 Thread Gareth Davies
Title: [Samba] who's on



smbstatus
 
Shaolin - IT 
Systems 
WB Ltd..: http://www.security-forums.com 
:.



  - Original Message - 
  From: 
  Dylan Jones 
  To: [EMAIL PROTECTED] 
  Sent: Friday, October 11, 2002 2:57 
  PM
  Subject: [Samba] who's on
  
  Hi everyone, 
  Probably a dumb one too, but simply I cannot put my 
  finger on what command to use in order to see who's locally logged on; let me 
  be more accurate in my description:
  we run win98 PC all accessing shares on the linux 
  boxes via samba. Several users  shares. When I use finger or who to see 
  who's logged on I only get to see who's logged on directly through ssh or 
  telnet, but can't see who's on through samba.
  If anyone could help then I'd be glad... of 
  course. 
  Thanx in advance 
  D Jones 


Fwd: [Samba] XP-Problem - suddenly XP canot connect to samba

2002-10-11 Thread linux power

He could have changed the firewall setting in XP.


 --- Dr. Bernd Zimmermann
[EMAIL PROTECTED] skrev:  Fra: Dr.
Bernd Zimmermann
 [EMAIL PROTECTED]
 Til: [EMAIL PROTECTED]
 Tema: [Samba] XP-Problem - suddenly XP canot connect
 to samba
 Dato: Fri, 11 Oct 2002 14:48:11 +0200
 
 Hi,
 
 we had an XP computer running and connection to our
 Samba -Server (Debian Version, 2.2.3 ) was working
 very fine.
 
 Suddenly - the person who is working on that
 computer
 changed something, but could not remember what -
 the XP computer cannot see the samba server anymore.
 
 In the windows network there is no samba server
 visible
 Also searching for the computer does not work
 either
 via netbios name and ip adress
 The samba computer is still invisible
 
 Tcpdumping on the samba computer shows no port
 137,138,139
 connections. Only connection from the xp computer to
 224.0.1.22
 (srvloc.mcast.net) we can see.
 
 What happend to the XP computer ?
 
 We tried everything. Checking TCP/IP , Registry,
 nearly everything,
 but no way.
 
 What could happend to the XP computer ??
 
 We also deinstalled XP SRV Pack 1 ...
 
 Please Help.
 
 Thanks a lot.
 
 Bernd
 
 -- 
 To unsubscribe from this list go to the following
 URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba

=
http://home.no.net/~knutove/knut_ove_hauge_kuren.htm

__
Se den nye Yahoo! Mail på http://no.yahoo.com/
Nytt design, enklere å bruke, alltid tilgang til Adressebok, Kalender og Notisbok
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Specific directory permissions

2002-10-11 Thread Thom Paine

On Thu, 2002-10-10 at 15:06, Michael Heironimus wrote:

 
 On the UNIX side, set the group of the entire directory tree to blswin32
 (chgrp -R). Set all the file permissions to 664 (or 660) so they're r/w
 by group and owner, and all the directory permissions to 2775 (or 2770).
 
 I recommend GNU find+xargs for setting the permissions, something like
 find /directory -type f -print0 | xargs -0 chmod 664. That will allow
 for spaces in names.

Thanks Michael.

Who should own the files in the directory? Nobody? Or root?

-- 
-=/Thom
Red Hat Linux release 8.0 (Psyche) running Linux Kernel 2.4.18-14
Uptime: 11:03am  up 5 days, 20:34,  1 user,  load average: 1.19, 1.72,
2.25
Registered Linux User #214499 http://counter.li.org

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



[Samba] Same configs, different results

2002-10-11 Thread Massimiliano Mirra

I am configuring two identical PDCs so that, if one goes down, the
other can start to serve logins.

The first PDC, a Debian 3.0 with Samba 2.999+3.0cvs20020723-1, works
fine.

The second PDC, that I bring up after killing manually smbd and nmbd
on the first one, is a Red Hat 7.3 with Samba compiled from the same
sources (but with gcc2.96 instead of 2.95) and the same smb.conf,
except for the interfaces parameter.  It serves logins to XP clients
well.  It does not with W2k.

Both get account data from the same LDAP server.

In log.smbd, after a failed login from a W2k host, I cannot find what
goes wrong (the Domain Group warning appears when clients successfully
log with the other PDC, too):


[2002/10/11 16:58:55, 3] rpc_server/srv_pipe.c:api_pipe_request(1136)
  Doing \PIPE\NETLOGON
[2002/10/11 16:58:55, 3] rpc_server/srv_pipe.c:api_rpcTNP(1168)
  api_rpcTNP: rpc command: NET_SAMLOGON
[2002/10/11 16:58:55, 3]
rpc_server/srv_netlog_nt.c:_net_sam_logon(547)
  SAM Logon (Interactive). Domain:[DEBIAN].  User:[foo@HAL9000]
  Requested Domain:[DEBIAN]
[2002/10/11 16:58:55, 3] auth/auth.c:check_ntlm_password(190)
  check_password:  Checking password for unmapped user
  [DEBIAN]\[foo]@[HAL9000] with the new password interface
[2002/10/11 16:58:55, 3] auth/auth.c:check_ntlm_password(193)
  check_password:  mapped user is: [DEBIAN]\[foo]@[HAL9000]
[2002/10/11 16:58:55, 3] smbd/sec_ctx.c:push_sec_ctx(255)
  push_sec_ctx(99, 99) : sec_ctx_stack_ndx = 1
[2002/10/11 16:58:55, 3] smbd/uid.c:push_conn_ctx(278)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2002/10/11 16:58:55, 3] smbd/sec_ctx.c:set_sec_ctx(287)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2002/10/11 16:58:55, 2]
passdb/pdb_ldap.c:ldapsam_open_connection(249)
  ldap_open_connection: connection opened
[2002/10/11 16:58:55, 2] passdb/pdb_ldap.c:ldapsam_connect_system(326)
  ldap_connect_system: succesful connection to the LDAP server
[2002/10/11 16:58:55, 2]
passdb/pdb_ldap.c:ldapsam_search_one_user(338)
  ldapsam_search_one_user: searching
  for:[((uid=foo)(objectclass=sambaAccount))]
[2002/10/11 16:58:55, 2] passdb/pdb_ldap.c:init_sam_from_ldap(584)
  Entry found for user: foo
[2002/10/11 16:58:55, 3] smbd/sec_ctx.c:pop_sec_ctx(394)
  pop_sec_ctx (99, 99) - sec_ctx_stack_ndx = 0
[2002/10/11 16:58:55, 3] auth/auth.c:check_ntlm_password(222)
  check_password: sam authentication for user [foo] suceeded
[2002/10/11 16:58:55, 3] smbd/sec_ctx.c:push_sec_ctx(255)
  push_sec_ctx(99, 99) : sec_ctx_stack_ndx = 1
[2002/10/11 16:58:55, 3] smbd/uid.c:push_conn_ctx(278)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2002/10/11 16:58:55, 3] smbd/sec_ctx.c:set_sec_ctx(287)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2002/10/11 16:58:55, 3] smbd/sec_ctx.c:pop_sec_ctx(394)
  pop_sec_ctx (99, 99) - sec_ctx_stack_ndx = 0
[2002/10/11 16:58:55, 2] auth/auth.c:check_ntlm_password(261)
  check_password:  authentication for user [foo] - [foo] - [foo]
  suceeded
[2002/10/11 16:58:55, 0]
rpc_server/srv_util.c:get_domain_user_groups(346)
  get_domain_user_groups: primary gid of user [foo] is not a Domain
  group !
  get_domain_user_groups: You should fix it, NT doesn't like that
[2002/10/11 16:58:55, 3]
rpc_server/srv_pipe_hnd.c:free_pipe_context(548)
  free_pipe_context: destroying talloc pool of size 4742
[2002/10/11 16:58:55, 3] smbd/pipes.c:reply_pipe_write_and_X(198)
  writeX-IPC pnum=74d7 nwritten=272
[2002/10/11 16:58:55, 3] smbd/process.c:process_smb(868)
  Transaction 33 of length 63
[2002/10/11 16:58:55, 3] smbd/process.c:switch_message(679)
  switch message SMBreadX (pid 6689)
[2002/10/11 16:58:55, 3] smbd/pipes.c:reply_pipe_read_and_X(241)
  readX-IPC pnum=74d7 min=1024 max=1024 nread=524


The message on the W2k host says (translated):

``Access denied.  Make sure username and password are correct...''

This is the smb.conf on both machines:


[global]
workgroup = DEBIAN
server string = Debian Samba Server
encrypt passwords = true
interfaces = 192.168.65.222/24

domain logons = yes
os level = 34
preferred master = yes
local master = yes
domain master = yes

# providing fqdn of ldap server when using ssl is CRITICAL
passdb backend = ldapsam:ldaps://my.ldap.server tdbsam
log level = 3
# remove root from the following prior to adding a new machine 
invalid users = root daemon bin sys sync games man lp mail news uucp proxy 
postgres www-data backup operator list irc gnats identd sshd postfix dictd bard
security = user
browseable = no
writeable = no
guest ok = no

use spnego = no
ldap suffix = dc=rcost,dc=unisannio,dc=it
ldap machine suffix = ou=Computers,dc=rcost,dc=unisannio,dc=it
ldap user suffix = ou=Users,dc=rcost,dc=unisannio,dc=it
ldap admin dn = cn=admin,dc=rcost,dc=unisannio,dc=it
ldap ssl = yes
#add user script = 

Re: [Samba] who's on

2002-10-11 Thread Frank Matthieß

On Fri, Oct 11, 2002 at 03:57:46PM +0200, Dylan Jones wrote:
 Hi everyone,
 
 Probably a dumb one too, but simply I cannot put my finger on what command
 to use in order to see who's locally logged on; let me be more accurate in
 my description:
 we run win98 PC all accessing shares on the linux boxes via samba. Several
 users  shares. When I use finger or who to see who's logged on I only get
 to see who's logged on directly through ssh or telnet, but can't see who's
 on through samba.

This bash commandline will give you a list of sambalogons:

(smbstatus -S | grep -v ^Samba\|^Service\|^-\|^$ | \
while read SHARE USR GRP PID MACH IP ABR MONTH DAY TIME YEAR; \
do echo $USR; \
done;) | uniq

If you use a configurable fingerdaemon, than you are able to solve your problem.
Take a search on freshmeat with the keyword finger. I konw there a
configurable finger daemons..

Frank.
-- 
Frank Matthieß[EMAIL PROTECTED]

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



[Samba] xp pro + excel xp + samba 2.2.3a

2002-10-11 Thread Luca Massarenti



I installed my redhat 7.3 as pdc and I configure 
each client to access the domain.

both windows 9x and xp pro work correctly but when 
I try to exit excel xp on my win xp pc, I've to wait about 1 
minute.

the other os work without any problem

Luca


[Samba] Looking for some older printer drivers for some HP printers

2002-10-11 Thread Glenn Sieb

I am finding myself in need of some printer drivers for two HP printers 
(HP4550N, HP8150DN) that do NOT have the nifty pretty interface? The ones 
where it was pretty barebones, no form storage or anything.

I'm running 2.2.6rc2 and users still can't seem to change any settings for 
printers, and if I can run the older ( 5e versions) drivers, then people 
can change settings for paper trays and paper types, etc. If anyone can 
point me in a good direction (HP's site is being less-than-useful here..) 
I'd be greatly appreciative!

Thanks!
Glenn

---
Glenn E. Sieb
System Administrator
Lumeta Corporation
+1 732 357-3514 (V)
+1 732 564-0731 (Fax)

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



Re: [Samba] [Fwd: samba client problems???]

2002-10-11 Thread Joel Thompson

Hello Folks,

Can someone please help... I am sure there has to be a solution to
this problem...

-Joel

Joel Thompson wrote:

 Hello,

 I have scoured the samba archives, and have found a few suggestions to 
 this
 problem, like setting registry setting on the Windows machine to allow 
 clear
 text passwords, and making sure permissions are setup correctly in the 
 smb.conf
 and with the directory to share... but to no avail...
 Can someone shed some further light on this topic. None of the prior 
 posting's
 actually had a solution noted down.

 Thanks,
 Joel

  Original Message 
 From: - Tue Oct 08 14:04:22 2002
 X-Mozilla-Status: 0001
 X-Mozilla-Status2: 
 Message-ID: [EMAIL PROTECTED]
 Date: Tue, 08 Oct 2002 14:04:21 -0700
 From: Joel Thompson [EMAIL PROTECTED]
 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; 
 rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3
 X-Accept-Language: en-us
 MIME-Version: 1.0
 To: [EMAIL PROTECTED]
 Subject: samba client problems???
 Content-Type: text/plain; charset=us-ascii; format=flowed
 Content-Transfer-Encoding: 7bit



 Hi,

 When I use smbclient from the linux (redhat 7.2) machine, with the 
 following
 command, I get connected OK, but when I attempt a MAP from a Windoz 2k 
 box
 (with \\10.1.1.77\ethan - and I changed the user and password),
 it doesn't work - it just hangs for a while and says
 network path \\10.1.1.77\ethan  could not be found

 Any suggestions?

 smbclient //10.1.1.77/ethan -U joel
 (THIS WORKS GREAT WHEN I RUN FROM THE LINUX MACHINE).

 Thanks,
 Joel






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



[Samba] Quota problem (soft=hardlimit?)

2002-10-11 Thread Peter Grießl


Hello all,

after upgrading from 2.2.3a to 2.2.5 we experience strange quota behaviour.
When logging out from Windows 2000 and writing the user profiles back to the
server the user gets a disk full warning - below soft and hardlimit.

Tests showed that the warning comes up when

Userfiles + (2 * Profiles)  soft limit.

In all our tests, the grace period and the hardlimit were never reached and
are not the limiting factors.

I read about Windows 2000 duplicating the profiles before writing back
to the server, therefore (2 * Profiles). Ok, we can live with that.
But treating the soft limit like hard limit is not fair, I think.

The only thing changed on the server was the upgrade to Samba 2.2.5
(RPM from ftp://ftp.suse.com/pub/people/lmuelle, we use SuSE 7.3).


Greetings and thanks for any hints,
Peter Griessl ([EMAIL PROTECTED])


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



[Samba] Memory Leak in 2.2.6rc2??

2002-10-11 Thread gsmith

We upgraded to 2.2.6rc2 yesterday to continue our resolving of the printer
driver problems.  (Thanks Jerry  Rohin)  For unrelated reasons I wanted to
log into the machine late last night and found Putty couldn't connect.

When I get in this morning the server was completely hooped with Out of
Memory errors on the screen with SMBD as the offending process.  Trying to
log into any console resulted in an instant lockup with the same error so I
was forced to hard reboot.

Anyone had any similar experience?

Some relevant info:

The server was not rebooted after upgrading to 2.2.6rc2 from Pre2, just the
Samba services where re-started.

HP's WebJetAdmin Daemon was running with over 20 instances. (Was 2 before).
We've taken it off for now as we're not big enough to warrant that level of
control.

Greg

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



[Samba] Domain Admins

2002-10-11 Thread Irving Carrion








Hello All!



Im trying to troubleshoot a domain admin problem and
Im stuck at a log error msg. The log says the following:



 get_domain_user_groups: primary gid
of user [root] is not a Domain group !

 get_domain_user_groups: You should fix it, NT doesn't like
that





My goal is so that anyone in the Domain Admins group (by default) have
administrative access to all member pcs of the
domain. Currently, the pcs dont recognize any of the domain admins Ive set according to man smbgroupedit. 



Anyone out there have a clue.



Mucho Thanks!

IRV



FYI: My version
of Samba is 2.999+3.0.alpha20-2












Re: [Samba] XP Pro - Domain Login ... great trauma and sorrow

2002-10-11 Thread Chris Berry

From: Lew Aubrey [EMAIL PROTECTED]
startsmbfilepwent_internal: unable to open file 
/etc/samba/private/smbpasswd.
Error was Permission denied
unable to open passdb database.

I'm not a guru on samba yet, but this seems to be the relevant problem here. 
  You need to check the permissions and user setup so that the smbpasswd 
file can be accessed.


Chris Berry
[EMAIL PROTECTED]
Systems Administrator
JM Associates

I have found the way, and the way is Perl.


_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx

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



Re: Fwd: [Samba] XP-Problem - suddenly XP canot connect to samba

2002-10-11 Thread Dr. Bernd Zimmermann

Hi,

Message: 5
Date: Fri, 11 Oct 2002 16:46:35 +0200 (CEST)
From: =?iso-8859-1?q?linux=20power?= [EMAIL PROTECTED]
Subject: Fwd: [Samba] XP-Problem - suddenly XP canot connect to samba
To: [EMAIL PROTECTED]

He could have changed the firewall setting in XP.

  

No thats not the problem. I checked it, and the security settings are 
not activated.
All ports and all protocols are open. All other NT and Win98 Bixes can 
connect.

As I written below, I started a tcpdump on the linux box an I saw that when
bowsing the network on the XP box, I can see packets going from the
XP box to 224.0.1.22 (srvloc.mcast.net), but no packets to the
usual port 137-139.
In the XP network neighborhood I also can see other Workgroups and
other Windows-PC but not the samba server.

I also remeber a case, where somebody told me, that he was playing with
a new XP installation - at the beginning everything worked fine an he also
could connect to his samba server, but then he klicked the option to
install the xp home network in the network assistant. From that point on
he also had the problem that the samba server disappeared and he wasnt
able to get it back to work. So he decided to swaitch back to Win98 ...

Isnt there anybody out there having the same problems ?
If its so easy to destroy the working samba connection with XP pressing
the worng button, the must be hundreds of people havin the sam problem.

As I told below, I alreday tried all registry hacks, disabling 
certificates, signing
and so on, but nothing worked.

Please help.

Regards,
Bernd

 --- Dr. Bernd Zimmermann
[EMAIL PROTECTED] skrev:  Fra: Dr.
Bernd Zimmermann
  

[EMAIL PROTECTED]
Til: [EMAIL PROTECTED]
Tema: [Samba] XP-Problem - suddenly XP canot connect
to samba
Dato: Fri, 11 Oct 2002 14:48:11 +0200

Hi,

we had an XP computer running and connection to our
Samba -Server (Debian Version, 2.2.3 ) was working
very fine.

Suddenly - the person who is working on that
computer
changed something, but could not remember what -
the XP computer cannot see the samba server anymore.

In the windows network there is no samba server
visible
Also searching for the computer does not work
either
via netbios name and ip adress
The samba computer is still invisible

Tcpdumping on the samba computer shows no port
137,138,139
connections. Only connection from the xp computer to
224.0.1.22
(srvloc.mcast.net) we can see.

What happend to the XP computer ?

We tried everything. Checking TCP/IP , Registry,
nearly everything,
but no way.

What could happend to the XP computer ??

We also deinstalled XP SRV Pack 1 ...

Please Help.

Thanks a lot.

Bernd

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



=
http://home.no.net/~knutove/knut_ove_hauge_kuren.htm

__
Se den nye Yahoo! Mail på http://no.yahoo.com/
Nytt design, enklere å bruke, alltid tilgang til Adressebok, Kalender og Notisbok
  


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



[Samba] Erhalten Sie Langsam Reich - Get paid to surf

2002-10-11 Thread Jay
Title: Surfpay - Make Money





  
 
  
  
  


  
Erhalten 
  Sie Langsam Reich  
Möchten Sie 
  für Zeitihr zahlend erhalten angeschlossen dem Internet
Wenn ja dann
Überprüfung 
  diese Liste der Bezahlung, zum von von Programmen hier zu
surfen



  
  
  

 
  
  
  

 
  
  
  

 
   

  Get Rich Slowly
  

 
   

  Do you want to get paid for the time your connected to the
internet
  
  If yes then check this list of pay to surf programs. here
  

  





Re: Fwd: [Samba] XP-Problem - suddenly XP canot connect to samba

2002-10-11 Thread Chris Berry

Did he activate the network bridging feature?


From: Dr. Bernd Zimmermann [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Fwd: [Samba] XP-Problem - suddenly XP canot connect to samba
Date: Fri, 11 Oct 2002 19:18:13 +0200

Hi,

Message: 5
Date: Fri, 11 Oct 2002 16:46:35 +0200 (CEST)
From: =?iso-8859-1?q?linux=20power?= [EMAIL PROTECTED]
Subject: Fwd: [Samba] XP-Problem - suddenly XP canot connect to samba
To: [EMAIL PROTECTED]

He could have changed the firewall setting in XP.



No thats not the problem. I checked it, and the security settings are not 
activated.
All ports and all protocols are open. All other NT and Win98 Bixes can 
connect.

As I written below, I started a tcpdump on the linux box an I saw that when
bowsing the network on the XP box, I can see packets going from the
XP box to 224.0.1.22 (srvloc.mcast.net), but no packets to the
usual port 137-139.
In the XP network neighborhood I also can see other Workgroups and
other Windows-PC but not the samba server.

I also remeber a case, where somebody told me, that he was playing with
a new XP installation - at the beginning everything worked fine an he also
could connect to his samba server, but then he klicked the option to
install the xp home network in the network assistant. From that point on
he also had the problem that the samba server disappeared and he wasnt
able to get it back to work. So he decided to swaitch back to Win98 ...

Isnt there anybody out there having the same problems ?
If its so easy to destroy the working samba connection with XP pressing
the worng button, the must be hundreds of people havin the sam problem.

As I told below, I alreday tried all registry hacks, disabling 
certificates, signing
and so on, but nothing worked.

Please help.

Regards,
Bernd

--- Dr. Bernd Zimmermann
[EMAIL PROTECTED] skrev:  Fra: Dr.
Bernd Zimmermann


[EMAIL PROTECTED]
Til: [EMAIL PROTECTED]
Tema: [Samba] XP-Problem - suddenly XP canot connect
to samba
Dato: Fri, 11 Oct 2002 14:48:11 +0200

Hi,

we had an XP computer running and connection to our
Samba -Server (Debian Version, 2.2.3 ) was working
very fine.

Suddenly - the person who is working on that
computer
changed something, but could not remember what -
the XP computer cannot see the samba server anymore.

In the windows network there is no samba server
visible
Also searching for the computer does not work
either
via netbios name and ip adress
The samba computer is still invisible

Tcpdumping on the samba computer shows no port
137,138,139
connections. Only connection from the xp computer to
224.0.1.22
(srvloc.mcast.net) we can see.

What happend to the XP computer ?

We tried everything. Checking TCP/IP , Registry,
nearly everything,
but no way.

What could happend to the XP computer ??

We also deinstalled XP SRV Pack 1 ...

Please Help.

Thanks a lot.

Bernd

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



=
http://home.no.net/~knutove/knut_ove_hauge_kuren.htm

__
Se den nye Yahoo! Mail på http://no.yahoo.com/
Nytt design, enklere å bruke, alltid tilgang til Adressebok, Kalender og 
Notisbok



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




Chris Berry
[EMAIL PROTECTED]
Systems Administrator
JM Associates

I have found the way, and the way is Perl.


_
Send and receive Hotmail on your mobile device: http://mobile.msn.com

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



RE: [Samba] Domain Admins

2002-10-11 Thread Irving Carrion








Update:



When I run smbgroupedit
l the Domain Admins group shows
the following:



Domain Admins


SID
: S-1-5-21-2879687004-3117605197-2714178016-512

 Unix group: domainadmins


Group type: Unknown type


Comment :

 Privilege : SaAddUsers SeMachineAccountPrivilege SaPrintOp





Why is Group type listed as Unknown
type.
Could this be the source of my problem?



Any help much appreciated!

IRV







-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On
Behalf Of Irving Carrion
Sent: Friday, October 11, 2002 12:41 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Domain Admins



Hello All!



Im trying to troubleshoot a
domain admin problem and Im stuck at a log error msg. The log says the following:



 get_domain_user_groups: primary gid of
user [root] is not a Domain group !

 get_domain_user_groups: You should fix
it, NT doesn't like that





My goal is so that anyone in the
Domain Admins group (by default) have administrative access to
all member pcs of the domain.
Currently, the pcs dont recognize any of the domain admins
Ive set according to man smbgroupedit. 



Anyone out there have a clue.



Mucho Thanks!

IRV



FYI: My version of Samba is
2.999+3.0.alpha20-2












[Samba] Printer issue: Any Ideas?

2002-10-11 Thread Ted Wisniewski

Hello,

Anyone have an idea why this is not working.  I have about 140 printers
(they all print ok).  I am running samba-2.2.5 with the printing patch
(the patch was added after I had 2.2.5 running for a while).  I have
a similar setup (with fewer printers) on anoher box which works fine.

Can anyone point me in the right direction to fix it?

Ted

rpcclient $ enumprinters
rpc_api_pipe: cmd 26 on pipe 7692 failed to return data.
result was NT_STATUS_UNSUCCESSFUL
rpcclient $ 


The enumdrivers works..

rpcclient $ enumdrivers

 [Windows 4.0]
Printer Driver Info 1:
Driver Name: [HP C LaserJet 4500-PS]

Printer Driver Info 1:
Driver Name: [HP LaserJet 5P/5MP PostScript]
.
.
.




-- 
|   Ted Wisniewski   INET:  [EMAIL PROTECTED]|
|   Information Technology Services [EMAIL PROTECTED] |
|   Plymouth State College   |
|   Plymouth NH, 03264   HTTP:  http://oz.plymouth.edu/~ted/ |
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Win95 Issue

2002-10-11 Thread jra

On Thu, Oct 10, 2002 at 04:21:02PM -0400, Dege, Robert C. (AMHERST) wrote:
 
 For some reason I'm getting Access denied errors when I try to execute a
 .bat file that resides on a samba share (from a Win95 command prompt).  The
 drive is mapped as x:\  for the sake of testing, the directory has been
 recursively set to 777 (chmod).
 
 Command prompt output:
 
 x:\ x:\r235\src\ntprpst\sharc\mta\src\build_sharc_fta.bat
 Access denied - x:\r235\src\ntprpst\sharc\mta\src\build~XM.bat
 X:\
 X:\ x:\r235\src\ntprpst\sharc\mta\src\no_such_file.bat
 No file of directory - x:\r235\src\ntprpst\sharc\mta\src\no_such_file.bat
 X:\
 
 Normally, I would assume this is some 8.3 filename quirk, but what's odd is
 where that ~xm.bat comes from.  Why no ~1.bat, like standard Win9x format?
 
 I was able to move the r235 directory over to the localhard drive with no
 problem.  And the Access denied went away when I re-executed the batch file.
 
 Any suggestions?

It was a bug in the smbd/filename.c code - I've reproduced and fixed it.
It will be fixed for 2.2.6.

Thanks a *lot* for reporting this !

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



[Samba] Help - Moutning XP Drives on Linux box using.

2002-10-11 Thread Malcolm Jack








Hey all.



I've got four computers in a small network (Actually
more, but keeping it simple to get to the point)



1
Linux Server (RH7.3) Running Samba (Default version
with RH7.3) 

2
Windows 2000 Workstation

3
Windows XP Pro.

4
Windows 98SE



All of the windows boxes can connect, without problems, to
the SAMBA server, and all the shares. No problems whatsoever. All boxes
(with the exception of the 98 Box) have user accounts that match in user name
and password, making everything work pretty smoothly. The 2000 and the XP
box also have shares on them. All of the windows boxes can see each other,
connect to the shares, no problem. 



Here is where it gets interesting;



The Linux box can mount a share on the Windows 2000 box
without problem. ( i.e. I can mount the \\w2Kbox\c$
to \mnt\net1 on the Linux box) However, I can't mount to the XP box
in the same manner. It seems like M$ has built in some kind of noncompatability
for Samba (Wouldn't surprise me there), or at least noncompatability with
SMBMount (or 'mount -t smbfs' )



Here is a screenshot of what I am getting;





[root@hoc etc]# mount -t smbfs -o username=malc,password=***
//bytelair/c$

/mnt/net1

5356: tree connect failed: ERRDOS - ERRnoaccess (Access
denied.)

SMB connection failed

[root@hoc etc]#





Note: The XP box does have an account malc that is an
administrator, and I can connect using the same account and password to the c$
share from the windows 2000 box.



Any help would be appreciated!



Malcolm Jack

Manager 

Systems Infrastructure / Telecom

Let's Roll. . .










[Samba] dose any one know? using samba3_alpha20

2002-10-11 Thread Eli Kleinman - IT Dept.

Hi all

using samba3_alpha20

dose any know what this error in the samba log file is

[2002/10/11 13:46:20, 0] profile/profile.c:profile_setup(140)
  ERROR: we did not create the shmem (owned by another user)
[2002/10/11 13:46:20, 0] smbd/server.c:main(813)
  ERROR: failed to setup profiling

thanks for any help
Eli

===
Eli Kleinman
BH Photo - Video Pro Audio
420 9th Ave.
New York, NY 10001
Tel:   (212) 239-7500 Ext. 2154
Fax:   (212) 239-7770
Email: [EMAIL PROTECTED]
===

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



Re: Fwd: [Samba] XP-Problem - suddenly XP canot connect to samba

2002-10-11 Thread Dr. Bernd Zimmermann

No I dont think so.

I looked at the box and could not see something like that,
but I also did not know who to activate bridging under XP.
Never saw that.

Regards,
Bernd

Chris Berry wrote:

 Did he activate the network bridging feature?


 From: Dr. Bernd Zimmermann [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: Fwd: [Samba] XP-Problem - suddenly XP canot connect to 
 samba
 Date: Fri, 11 Oct 2002 19:18:13 +0200

 Hi,

 Message: 5
 Date: Fri, 11 Oct 2002 16:46:35 +0200 (CEST)
 From: =?iso-8859-1?q?linux=20power?= [EMAIL PROTECTED]
 Subject: Fwd: [Samba] XP-Problem - suddenly XP canot connect to samba
 To: [EMAIL PROTECTED]

 He could have changed the firewall setting in XP.



 No thats not the problem. I checked it, and the security settings are 
 not activated.
 All ports and all protocols are open. All other NT and Win98 Bixes 
 can connect.

 As I written below, I started a tcpdump on the linux box an I saw 
 that when
 bowsing the network on the XP box, I can see packets going from the
 XP box to 224.0.1.22 (srvloc.mcast.net), but no packets to the
 usual port 137-139.
 In the XP network neighborhood I also can see other Workgroups and
 other Windows-PC but not the samba server.

 I also remeber a case, where somebody told me, that he was playing with
 a new XP installation - at the beginning everything worked fine an he 
 also
 could connect to his samba server, but then he klicked the option to
 install the xp home network in the network assistant. From that point on
 he also had the problem that the samba server disappeared and he wasnt
 able to get it back to work. So he decided to swaitch back to Win98 ...

 Isnt there anybody out there having the same problems ?
 If its so easy to destroy the working samba connection with XP pressing
 the worng button, the must be hundreds of people havin the sam problem.

 As I told below, I alreday tried all registry hacks, disabling 
 certificates, signing
 and so on, but nothing worked.

 Please help.

 Regards,
 Bernd

 --- Dr. Bernd Zimmermann
 [EMAIL PROTECTED] skrev:  Fra: Dr.
 Bernd Zimmermann


 [EMAIL PROTECTED]
 Til: [EMAIL PROTECTED]
 Tema: [Samba] XP-Problem - suddenly XP canot connect
 to samba
 Dato: Fri, 11 Oct 2002 14:48:11 +0200

 Hi,

 we had an XP computer running and connection to our
 Samba -Server (Debian Version, 2.2.3 ) was working
 very fine.

 Suddenly - the person who is working on that
 computer
 changed something, but could not remember what -
 the XP computer cannot see the samba server anymore.

 In the windows network there is no samba server
 visible
 Also searching for the computer does not work
 either
 via netbios name and ip adress
 The samba computer is still invisible

 Tcpdumping on the samba computer shows no port
 137,138,139
 connections. Only connection from the xp computer to
 224.0.1.22
 (srvloc.mcast.net) we can see.

 What happend to the XP computer ?

 We tried everything. Checking TCP/IP , Registry,
 nearly everything,
 but no way.

 What could happend to the XP computer ??

 We also deinstalled XP SRV Pack 1 ...

 Please Help.

 Thanks a lot.

 Bernd

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



 =
 http://home.no.net/~knutove/knut_ove_hauge_kuren.htm

 __
 Se den nye Yahoo! Mail på http://no.yahoo.com/
 Nytt design, enklere å bruke, alltid tilgang til Adressebok, 
 Kalender og Notisbok



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





 Chris Berry
 [EMAIL PROTECTED]
 Systems Administrator
 JM Associates

 I have found the way, and the way is Perl.


 _
 Send and receive Hotmail on your mobile device: http://mobile.msn.com



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



[Samba] browsing and mapping a drive using Samba 2.2.5 and Winbind

2002-10-11 Thread Lynn
Currently, I am running Samba 2.2.5 and Winbind, I got to the point where I could issue the command /usr/local/samba/bin/wbinfo -u and it would list correctly all users.
WEBOFFICE+AdministratorWEBOFFICE+GuestWEBOFFICE+IUSR_WIN-2000-SERVERWEBOFFICE+IWAM_WIN-2000-SERVERWEBOFFICE+krbtgtWEBOFFICE+linhWEBOFFICE+NetShowServices
I am on my Windows 2000 server; I click on the "MyNetwork Places" icon and click on the Linux computer icon (home),and an error message appeared "\\home file://\\home is not accessible. The network path was not found"I also mapped a drive to home \\10.77.77.1\administrator file://\\10.77.77.1\administrator, and a dialog box appeared. I put in the Windows domain user name and password, but an error message said "Incorrect password or unknown user name for: \\10.77.77.1\administrator file://\\10.77.77.1\administrator". Home has an ip address of 10.77.77.1. The computer WIN-2000-SERVER is connected behind home and obtain a DHCP address from home.
Please tell me what parameter to set in smb.conf so that browse and map to a drive would work. Thank you for your help.
LinhDo you Yahoo!?
Faith Hill - Exclusive Performances, Videos, & more
faith.yahoo.com

Re: [Samba] [Fwd: samba client problems???]

2002-10-11 Thread linux power

 
Looks like a firewall problem in the windoze.

--- Joel Thompson [EMAIL PROTECTED] skrev: 
Hello Folks,
 
 Can someone please help... I am sure there has to be
 a solution to
 this problem...
 
 -Joel
 
 Joel Thompson wrote:
 
  Hello,
 
  I have scoured the samba archives, and have found
 a few suggestions to 
  this
  problem, like setting registry setting on the
 Windows machine to allow 
  clear
  text passwords, and making sure permissions are
 setup correctly in the 
  smb.conf
  and with the directory to share... but to no
 avail...
  Can someone shed some further light on this topic.
 None of the prior 
  posting's
  actually had a solution noted down.
 
  Thanks,
  Joel
 
   Original Message 
  From: - Tue Oct 08 14:04:22 2002
  X-Mozilla-Status: 0001
  X-Mozilla-Status2: 
  Message-ID: [EMAIL PROTECTED]
  Date: Tue, 08 Oct 2002 14:04:21 -0700
  From: Joel Thompson [EMAIL PROTECTED]
  User-Agent: Mozilla/5.0 (Windows; U; Windows NT
 5.1; en-US; 
  rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3
  X-Accept-Language: en-us
  MIME-Version: 1.0
  To: [EMAIL PROTECTED]
  Subject: samba client problems???
  Content-Type: text/plain; charset=us-ascii;
 format=flowed
  Content-Transfer-Encoding: 7bit
 
 
 
  Hi,
 
  When I use smbclient from the linux (redhat 7.2)
 machine, with the 
  following
  command, I get connected OK, but when I attempt a
 MAP from a Windoz 2k 
  box
  (with \\10.1.1.77\ethan - and I changed the user
 and password),
  it doesn't work - it just hangs for a while and
 says
  network path \\10.1.1.77\ethan  could not be
 found
 
  Any suggestions?
 
  smbclient //10.1.1.77/ethan -U joel
  (THIS WORKS GREAT WHEN I RUN FROM THE LINUX
 MACHINE).
 
  Thanks,
  Joel
 
 
 
 
 
 
 -- 
 To unsubscribe from this list go to the following
 URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba

=
http://home.no.net/~knutove/knut_ove_hauge_kuren.htm

__
Se den nye Yahoo! Mail på http://no.yahoo.com/
Nytt design, enklere å bruke, alltid tilgang til Adressebok, Kalender og Notisbok
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: Fwd: [Samba] XP-Problem - suddenly XP canot connect to samba

2002-10-11 Thread linux power

I still claim to the firewall theory. Another reader
had the same problem a week ago. And he find out it
was not enough to change the firewall policy.
M$ had made it difficult to connect to other systems.
You must quit the XP firewall completely.
Unfortunely I cant remember how he did it, but he said
it was not enogh to change the policity.


 --- Dr. Bernd Zimmermann
[EMAIL PROTECTED] skrev:  No I dont
think so.
 
 I looked at the box and could not see something like
 that,
 but I also did not know who to activate bridging
 under XP.
 Never saw that.
 
 Regards,
 Bernd
 
 Chris Berry wrote:
 
  Did he activate the network bridging feature?
 
 
  From: Dr. Bernd Zimmermann
 [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Re: Fwd: [Samba] XP-Problem - suddenly
 XP canot connect to 
  samba
  Date: Fri, 11 Oct 2002 19:18:13 +0200
 
  Hi,
 
  Message: 5
  Date: Fri, 11 Oct 2002 16:46:35 +0200 (CEST)
  From: =?iso-8859-1?q?linux=20power?=
 [EMAIL PROTECTED]
  Subject: Fwd: [Samba] XP-Problem - suddenly XP
 canot connect to samba
  To: [EMAIL PROTECTED]
 
  He could have changed the firewall setting in
 XP.
 
 
 
  No thats not the problem. I checked it, and the
 security settings are 
  not activated.
  All ports and all protocols are open. All other
 NT and Win98 Bixes 
  can connect.
 
  As I written below, I started a tcpdump on the
 linux box an I saw 
  that when
  bowsing the network on the XP box, I can see
 packets going from the
  XP box to 224.0.1.22 (srvloc.mcast.net), but no
 packets to the
  usual port 137-139.
  In the XP network neighborhood I also can see
 other Workgroups and
  other Windows-PC but not the samba server.
 
  I also remeber a case, where somebody told me,
 that he was playing with
  a new XP installation - at the beginning
 everything worked fine an he 
  also
  could connect to his samba server, but then he
 klicked the option to
  install the xp home network in the network
 assistant. From that point on
  he also had the problem that the samba server
 disappeared and he wasnt
  able to get it back to work. So he decided to
 swaitch back to Win98 ...
 
  Isnt there anybody out there having the same
 problems ?
  If its so easy to destroy the working samba
 connection with XP pressing
  the worng button, the must be hundreds of people
 havin the sam problem.
 
  As I told below, I alreday tried all registry
 hacks, disabling 
  certificates, signing
  and so on, but nothing worked.
 
  Please help.
 
  Regards,
  Bernd
 
  --- Dr. Bernd Zimmermann
  [EMAIL PROTECTED] skrev:  Fra:
 Dr.
  Bernd Zimmermann
 
 
  [EMAIL PROTECTED]
  Til: [EMAIL PROTECTED]
  Tema: [Samba] XP-Problem - suddenly XP canot
 connect
  to samba
  Dato: Fri, 11 Oct 2002 14:48:11 +0200
 
  Hi,
 
  we had an XP computer running and connection to
 our
  Samba -Server (Debian Version, 2.2.3 ) was
 working
  very fine.
 
  Suddenly - the person who is working on that
  computer
  changed something, but could not remember what
 -
  the XP computer cannot see the samba server
 anymore.
 
  In the windows network there is no samba server
  visible
  Also searching for the computer does not work
  either
  via netbios name and ip adress
  The samba computer is still invisible
 
  Tcpdumping on the samba computer shows no port
  137,138,139
  connections. Only connection from the xp
 computer to
  224.0.1.22
  (srvloc.mcast.net) we can see.
 
  What happend to the XP computer ?
 
  We tried everything. Checking TCP/IP ,
 Registry,
  nearly everything,
  but no way.
 
  What could happend to the XP computer ??
 
  We also deinstalled XP SRV Pack 1 ...
 
  Please Help.
 
  Thanks a lot.
 
  Bernd
 
  -- 
  To unsubscribe from this list go to the
 following
  URL and read the
  instructions: 
 http://lists.samba.org/mailman/listinfo/samba
 
 
 
  =
 
 http://home.no.net/~knutove/knut_ove_hauge_kuren.htm
 
 

__
  Se den nye Yahoo! Mail på http://no.yahoo.com/
  Nytt design, enklere å bruke, alltid tilgang til
 Adressebok, 
  Kalender og Notisbok
 
 
 
  -- 
  To unsubscribe from this list go to the following
 URL and read the
  instructions: 
 http://lists.samba.org/mailman/listinfo/samba
 
 
 
 
 
  Chris Berry
  [EMAIL PROTECTED]
  Systems Administrator
  JM Associates
 
  I have found the way, and the way is Perl.
 
 
 

_
  Send and receive Hotmail on your mobile device:
 http://mobile.msn.com
 
 
 
 -- 
 To unsubscribe from this list go to the following
 URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba

=
http://home.no.net/~knutove/knut_ove_hauge_kuren.htm

__
Se den nye Yahoo! Mail på http://no.yahoo.com/
Nytt design, enklere å bruke, alltid tilgang til Adressebok, Kalender og Notisbok
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  

Re: [Samba] xp pro + excel xp + samba 2.2.3a

2002-10-11 Thread David W. Chapman Jr.

On Fri, Oct 11, 2002 at 05:11:14PM +0200, Luca Massarenti wrote:
 I installed my redhat 7.3 as pdc and I configure each client to access the domain.
 
 both windows 9x and xp pro work correctly but when I try to exit excel xp on my win 
xp pc, I've to wait about 1 minute.
 
 the other os work without any problem

Could you try to upgrade to samba 2.2.5 or 2.2.6rc2?

-- 
David W. Chapman Jr.
[EMAIL PROTECTED]   Raintree Network Services, Inc. www.inethouston.net
[EMAIL PROTECTED]   FreeBSD Committer www.FreeBSD.org
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Samba group error Can anyone fix it?

2002-10-11 Thread Edward Mann

My post last month.
http://lists.samba.org/pipermail/samba/2002-September/079651.html

Okay i posted this about a month ago, but i did not receive any replies.
Is samba/winbind windows domain group access something that i am only
having problems with? I am getting kinda frustrated with this error, as
more and more people start to use our ftp server, this problem is
starting to become more and more noticeable. If you need more
clarification on the specific problem, i will answer all questions to
the best of my ability. I cannot talk them into putting another server
into production until i get this show stopper fixed.

Thanks for all the help, and great software.

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



[Samba] Solicito información técnica

2002-10-11 Thread Ernesto Conde Gutierrez






Samba.doc
Description: MS-Word document


[Samba] Solicito información técnica

2002-10-11 Thread Ernesto Conde Gutierrez






Samba.doc
Description: MS-Word document


[Samba] Can't manipulate files on Samba server after installing W2K SP3

2002-10-11 Thread Eric Clark



We have a 
Redhat 7.2 server running(we think) samba 2.2. We updated 3 
Win2Kmachines from SP2 to SP3 and now we have some problems. While 
they all canbrowse, read and write to samba shared directories, they cannot 
manipulateany open files in them. We do have one other Win2K machine 
that works withno problems but I cannot find any differences in its setup 
and the otherthree.I checked the log file for one of the pc's and it 
is filled with errors:...PANIC: internal error[(time/date)] 
smbd/nttrans.c:call_nt_transact_inctl(1798) call_nt_transact_ioctl: 
Currently not implemented.[(time/date)] 
lib/fault.c:fault_report(40)...We've tried uninstalling SP3 to no 
avail. Anyone have any guesses?


Re: [Samba] File validation errors?

2002-10-11 Thread Urban Widmark

On Wed, 9 Oct 2002, Kris Kelley wrote:

 Two days ago I got a whole slew of smbfs errors in my system logs, all
 stemming from an apparent inability to read two files.  Here are some
 samples:
 
Oct  7 14:36:41 server kernel: smb_file_read:
   cur/1033577524.16219.server.iatdev.com,S=230098@2,T
   validation failed, error=4294967294

4294967294 is really -2, which is also -ENOENT. So the file is gone.
(the printout is set to print as unsigned for some unknown reason)

 Currently there are two servers that access the same SMB share (hosted
 by a Windows 2000 Server machine), and it is entirely possible the other
 server was accessing or even deleting these files while this server was
 trying to read them.  Could this have caused the error messages?  It
 seems strange that the server would try multiple thousands (!) of times
 to access the files if this were the case.

The -2 error code should make it back to the application. But if it
doesn't check the returnvalue, or doesn't expect a ENOENT, it may
continue trying.

From what I can tell, this isn't smbfs retrying it's the application. Any
idea which application that may be?

Normal unix behaviour is of course that you'd still be able to read the
file after it was gone.

/Urban

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



Re: [Samba] tail -f the missing data:2.2.5, 2.2.19-6.2.16,

2002-10-11 Thread Urban Widmark

On Wed, 9 Oct 2002, Sean Cullen wrote:

 [Background]
 Redhat 6.2 2.2.19-6.2.16

Any chance of testing this on a 2.4.19 kernel?

/Urban

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



Re: [Samba] Help - Moutning XP Drives on Linux box using.

2002-10-11 Thread Urban Widmark

On Fri, 11 Oct 2002, Malcolm Jack wrote:

 [root@hoc etc]# mount -t smbfs -o username=malc,password=***
 //bytelair/c$
 
 /mnt/net1
 
 5356: tree connect failed: ERRDOS - ERRnoaccess (Access denied.)

I agree with the other reply to check what the XP is set for. Also look
for other differences such as workgroup settings.

Can you connect with smbclient?
Can you connect with smbclient from the samba 3.0 alpha releases?

/Urban

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



[Samba] Samba Connection Sharing

2002-10-11 Thread Clyde McKelvey








I have Mandrake 9.0 on a server that
has 2 network cards. After I installed Mandrake on the Server, I configured
Samba to work. And it worked perfect. I configured a DSL connection, and used
the Connection share configuration tool in the Mandrake Control Center to share
the internet with the network. After I configured the internet share, Samba
stopped working. I can ping the Samba
server using a Windows 2000 machine by either the IP address or the Samba
server name. But I can not browse or search the network to find it. Samba is
configured to be the master browser. And I have samba configured to use the
internal net card. But like I said, Samba worked perfect before the connection
share was configured. Does anyone have an idea as to what the problem is? TIA












Re: [Samba] smbfs

2002-10-11 Thread Urban Widmark

On 10 Oct 2002, Stas Firstov wrote:

 Hi
 I have mounted W2K share to the Linux box (RH 7.0 kernel 2.2.19-7.0.16,
 samba-2.2.5-1). Here is part of /etc/fstab:
 
 //machine/share /u/smb/machinesmbfs  
 username=smbusername,workgroup=smbworkgroup,uid=675,fmask=440  0 0
 
 If I do ls |wc in that mounted directory, then I get different results
 every time I try to count files.
 [root@cipsftp Persons]# ls |wc
   26926   26926  340100
 [root@cipsftp Persons]# ls |wc
   26933   26933  340191

Known problem with win2k. It doesn't always return all the files / smbfs
isn't asking in the way win2k wants.

Please try this patch for a 2.4.19 kernel:
http://www.hojdpunkten.ac.se/054/samba/smbfs-2.4.19-rc1-ALL.patch.gz

If you are using NT4 I have one report of this change breaking listings vs 
that, so I am interested in reports on that too.

If you use smbclient to connect can you repeat the problem then?
If it's the same problem, you should be able to.

/Urban

-- 
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.5 in Tru64 unix v4.0e

2002-10-11 Thread Helen Wang

Dear Samba Support:

I was trying to install samba-2.2.5 on our Tru64 Unix Version 4.0E,
during compilation, it  gave me error message like this:

Using FLAGS =  -O  -I./popt -Iinclude -I./include -I./ubiqx
-I./smbwrapper  -DLOGFILEBASE=/usr/local/samba/var
-DCONFIGFILE=/usr/local/samba/lib/smb.conf
-DLMHOSTSFILE=/usr/local/samba/lib/lmhosts
-DSWATDIR=/usr/local/samba/swat -DSBINDIR=/usr/local/samba/bin
-DLOCKDIR=/usr/local/samba/var/locks
-DCODEPAGEDIR=/usr/local/samba/lib/codepages
-DDRIVERFILE=/usr/local/samba/lib/printers.def
-DBINDIR=/usr/local/samba/bin -DPIDDIR=/usr/local/samba/var/locks
-DLIBDIR=/usr/local/samba/lib -DHAVE_INCLUDES_H
-DPASSWD_PROGRAM=/usr/ucb/passwd
-DSMB_PASSWD_FILE=/usr/local/samba/private/smbpasswd
-DTDB_PASSWD_FILE=/usr/local/samba/private/smbpasswd.tdb
Using FLAGS32 =  -O  -I./popt -Iinclude -I./include -I./ubiqx
-I./smbwrapper  -DLOGFILEBASE=/usr/local/samba/var
-DCONFIGFILE=/usr/local/samba/lib/smb.conf
-DLMHOSTSFILE=/usr/local/samba/lib/lmhosts
-DSWATDIR=/usr/local/samba/swat -DSBINDIR=/usr/local/samba/bin
-DLOCKDIR=/usr/local/samba/var/locks
-DCODEPAGEDIR=/usr/local/samba/lib/codepages
-DDRIVERFILE=/usr/local/samba/lib/printers.def
-DBINDIR=/usr/local/samba/bin -DPIDDIR=/usr/local/samba/var/locks
-DLIBDIR=/usr/local/samba/lib -DHAVE_INCLUDES_H
-DPASSWD_PROGRAM=/usr/ucb/passwd
-DSMB_PASSWD_FILE=/usr/local/samba/private/smbpasswd
-DTDB_PASSWD_FILE=/usr/local/samba/private/smbpasswd.tdb
Using LIBS = -lsecurity
Compiling smbd/dir.c
smbd/dir.c:630: macro `stat' used with too many (3) args
smbd/dir.c:698: macro `stat' used with too many (3) args
*** Exit 1
Stop.



=
I am using gcc-2.95.3 and samba-2.2.2. Attached is my script for the
configuration and detailed error message.

Thanks a lot for your help!!!

Helen





Script started on Fri Oct 11 16:25:46 2002
]0;aroma:/home/huanaroma exit

exit

script done on Fri Oct 11 16:25:50 2002



[Samba] [Fwd: samba-2.2.5 in Tru64 unix v4.0e]

2002-10-11 Thread Helen Wang

Sorry, the typescript file I attached in last email was wrong, here is
the right one :))

Helen

---BeginMessage---

Dear Samba Support:

I was trying to install samba-2.2.5 on our Tru64 Unix Version 4.0E,
during compilation, it  gave me error message like this:

Using FLAGS =  -O  -I./popt -Iinclude -I./include -I./ubiqx
-I./smbwrapper  -DLOGFILEBASE=/usr/local/samba/var
-DCONFIGFILE=/usr/local/samba/lib/smb.conf
-DLMHOSTSFILE=/usr/local/samba/lib/lmhosts
-DSWATDIR=/usr/local/samba/swat -DSBINDIR=/usr/local/samba/bin
-DLOCKDIR=/usr/local/samba/var/locks
-DCODEPAGEDIR=/usr/local/samba/lib/codepages
-DDRIVERFILE=/usr/local/samba/lib/printers.def
-DBINDIR=/usr/local/samba/bin -DPIDDIR=/usr/local/samba/var/locks
-DLIBDIR=/usr/local/samba/lib -DHAVE_INCLUDES_H
-DPASSWD_PROGRAM=/usr/ucb/passwd
-DSMB_PASSWD_FILE=/usr/local/samba/private/smbpasswd
-DTDB_PASSWD_FILE=/usr/local/samba/private/smbpasswd.tdb
Using FLAGS32 =  -O  -I./popt -Iinclude -I./include -I./ubiqx
-I./smbwrapper  -DLOGFILEBASE=/usr/local/samba/var
-DCONFIGFILE=/usr/local/samba/lib/smb.conf
-DLMHOSTSFILE=/usr/local/samba/lib/lmhosts
-DSWATDIR=/usr/local/samba/swat -DSBINDIR=/usr/local/samba/bin
-DLOCKDIR=/usr/local/samba/var/locks
-DCODEPAGEDIR=/usr/local/samba/lib/codepages
-DDRIVERFILE=/usr/local/samba/lib/printers.def
-DBINDIR=/usr/local/samba/bin -DPIDDIR=/usr/local/samba/var/locks
-DLIBDIR=/usr/local/samba/lib -DHAVE_INCLUDES_H
-DPASSWD_PROGRAM=/usr/ucb/passwd
-DSMB_PASSWD_FILE=/usr/local/samba/private/smbpasswd
-DTDB_PASSWD_FILE=/usr/local/samba/private/smbpasswd.tdb
Using LIBS = -lsecurity
Compiling smbd/dir.c
smbd/dir.c:630: macro `stat' used with too many (3) args
smbd/dir.c:698: macro `stat' used with too many (3) args
*** Exit 1
Stop.



=
I am using gcc-2.95.3 and samba-2.2.2. Attached is my script for the
configuration and detailed error message.

Thanks a lot for your help!!!

Helen





Script started on Fri Oct 11 16:25:46 2002
]0;aroma:/home/huanaroma exit

exit

script done on Fri Oct 11 16:25:50 2002

---End Message---

Script started on Fri Oct 11 16:28:55 2002
]0;aroma:/home/huan/samba-2.2.5/sourcearoma ./cosudo tcsh

]0;aroma:/home/huan/samba-2.2.5/sourcearoma# ./configure

loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -O  ) works... yes
checking whether the C compiler (gcc -O  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... ./install-sh -c
checking for gawk... (cached) nawk
checking if the linker (ld) is GNU ld... (cached) no
checking for passwd... (cached) /usr/ucb/passwd
checking whether gcc and cc understand -c and -o together... (cached) yes
checking that the C compiler understands volatile... (cached) yes
checking host system type... alphaev67-dec-osf5.0
checking target system type... alphaev67-dec-osf5.0
checking build system type... alphaev67-dec-osf5.0
checking config.cache system type... same
checking for inline... (cached) inline
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for arpa/inet.h... (cached) yes
checking for sys/fcntl.h... (cached) yes
checking for sys/select.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/unistd.h... (cached) no
checking for unistd.h... (cached) yes
checking for utime.h... (cached) yes
checking for grp.h... (cached) yes
checking for sys/id.h... (cached) yes
checking for limits.h... (cached) yes
checking for memory.h... (cached) yes
checking for net/if.h... (cached) yes
checking for compat.h... (cached) no
checking for rpc/rpc.h... (cached) yes
checking for rpcsvc/nis.h... (cached) no
checking for rpcsvc/yp_prot.h... (cached) yes
checking for rpcsvc/ypclnt.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for syslog.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for ctype.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for sys/ipc.h... (cached) yes
checking for sys/mode.h... (cached) yes
checking for sys/mman.h... (cached) yes
checking for sys/filio.h... (cached) no
checking for sys/priv.h... (cached) no
checking for sys/shm.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for syslog.h... (cached) yes
checking for sys/syslog.h... (cached) yes
checking for sys/mount.h... (cached) yes
checking for sys/vfs.h... (cached) no

Re: smbpasswd replication

2002-10-11 Thread Andrew Bartlett

richard wrote:
 
 Can't see how Steve? Unless you mean sharing usernames across multiple
 pcs in different offices. To clarify:
 our network consists of 4 offices linked by vpns through the internet.
 At present we auth to an Nt4 pdc in main office which works fine until
 telstra our isp goes down...hence my need for a bdc type of backup
 authentication.
 For us the chance of the same user/password being modified on two
 different servers at the same time is negligible. and if we only
 replicate the individual user/passwords that change the whole database
 should remain in a consistent stateunless I've missed something?
 Richard.

So why don't you use a real BDC setup (either NT-NT or Samba-Samba)? 
Authenticaion works fine while the PDC is unreachable, and involves no
link traffic.  Only changes go from PDC - BDC, and you can use a proven
setup like LDAP to do it.  Clients 'know' to contact the PDC when they
want to chase somthing.  You *really* don't want changes on the
indiviual servers.

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



Re: unicode

2002-10-11 Thread Andrew Bartlett

Pupeno wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I'm running Samba 2.2.3a on Mandrake 8.2 and I have some files with unicode
 chars in their file names (in fact, I'm moving all my file names to unicode,
 utf8).
 And now, I notice, that in windows, the names appeared scrambled and the files
 are not accesible, is there any way to solve this ?
 Thank you.

Samba 3.0 has 'proper' support for this.  By default it uses utf8 for
the disk, and unicode ucs2 to/from the clients.  This works *much*
better than the 'dos codepage' system, which is how 2.2 works (and I'm
not sure what the unix side of that is meant to be in).

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



Erhalten Sie Langsam Reich - Get paid to surf

2002-10-11 Thread Jay
Title: Surfpay - Make Money





  
 
  
  
  


  
Erhalten 
  Sie Langsam Reich  
Möchten Sie 
  für Zeitihr zahlend erhalten angeschlossen dem Internet
Wenn ja dann
Überprüfung 
  diese Liste der Bezahlung, zum von von Programmen hier zu
surfen



  
  
  

 
  
  
  

 
  
  
  

 
   

  Get Rich Slowly
  

 
   

  Do you want to get paid for the time your connected to the
internet
  
  If yes then check this list of pay to surf programs. here
  

  





[patch] making SO_???TIMEO work on linux

2002-10-11 Thread Jindrich Makovicka
Hello,

This patch modifies util_sock.c/set_socket_options to pass timeval 
argument instead of integer to setsockopt which is necessary to make it 
work under linux, at least the 2.4 kernel.

--
Jindrich Makovicka
--- util_sock.c.origFri May  3 03:03:12 2002
+++ util_sock.c Fri Aug  2 22:02:42 2002
 -47,7 +47,7 
return(getsockopt(fd, SOL_SOCKET, SO_TYPE, (char *)v, l) == 0);
 }
 
-enum SOCK_OPT_TYPES {OPT_BOOL,OPT_INT,OPT_ON};
+enum SOCK_OPT_TYPES {OPT_BOOL,OPT_INT,OPT_ON,OPT_TIMEVAL};
 
 typedef struct smb_socket_option {
char *name;
 -86,10 +86,10 
   {SO_RCVLOWAT,   SOL_SOCKET,SO_RCVLOWAT, 0, OPT_INT},
 #endif
 #ifdef SO_SNDTIMEO
-  {SO_SNDTIMEO,   SOL_SOCKET,SO_SNDTIMEO, 0, OPT_INT},
+  {SO_SNDTIMEO,   SOL_SOCKET,SO_SNDTIMEO, 0, 
+OPT_TIMEVAL},
 #endif
 #ifdef SO_RCVTIMEO
-  {SO_RCVTIMEO,   SOL_SOCKET,SO_RCVTIMEO, 0, OPT_INT},
+  {SO_RCVTIMEO,   SOL_SOCKET,SO_RCVTIMEO, 0, 
+OPT_TIMEVAL},
 #endif
   {NULL,0,0,0,0}};
 
 -117,6 +117,7 
 
 void set_socket_options(int fd, char *options)
 {
+   struct timeval tv;
fstring tok;
 
while (next_token(options,tok, \t,, sizeof(tok))) {
 -145,6 +146,12 
case OPT_INT:
ret = setsockopt(fd,socket_options[i].level,
socket_options[i].option,(char 
*)value,sizeof(int));
+   break;
+   case OPT_TIMEVAL:
+   tv.tv_sec = value;
+   tv.tv_usec = 0;
+   ret = setsockopt(fd,socket_options[i].level,
+   
+socket_options[i].option,tv,sizeof(tv));
break;
 
case OPT_ON:



auth.c Error

2002-10-11 Thread Dennis Lattka
I can successfully join a domain using an LDAP backend however upon 
trying to log on I receive and error saying that either the account in 
the domain does not exist or the password is incorrect. Below is a 
snipet form the logfile.


[2002/10/11 14:59:59, 2] passdb/pdb_ldap.c:ldapsam_update_sam_account(1578)
 successfully modified uid = itlaptop$ in the LDAP database
[2002/10/11 15:00:02, 2] passdb/pdb_ldap.c:ldapsam_open_connection(267)
 ldap_open_connection: connection opened
[2002/10/11 15:00:02, 2] passdb/pdb_ldap.c:ldapsam_connect_system(419)
 ldap_connect_system: succesful connection to the LDAP server
[2002/10/11 15:00:02, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(431)
 ldapsam_search_one_user: searching for:[rid=501]
[2002/10/11 15:00:02, 2] passdb/pdb_ldap.c:ldapsam_open_connection(267)
 ldap_open_connection: connection opened
[2002/10/11 15:00:02, 2] passdb/pdb_ldap.c:ldapsam_connect_system(419)
 ldap_connect_system: succesful connection to the LDAP server
[2002/10/11 15:00:02, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(431)
 ldapsam_search_one_user: searching 
for:[((uid=)(objectclass=sambaAccount))]
[2002/10/11 15:00:02, 2] *auth/auth.c:check_ntlm_password(271)
 check_password:  Authentication for user [] - [] FAILED with error 
NT_STATUS_NO_SUCH_USER*






Samba 2.2.6rc3 released

2002-10-11 Thread Gerald (Jerry) Carter
Folks,

We have two bugs fixed since 2.2.6rc2 went out two days ago.  
Please continue to test (especially Win9x batch file users).
See change log below 

( Changes since 2.2.6rc2 )

81) Fix memory leak in smbspool
82) Fix bug in mangling code that resulted in Win9x clients not being
able to execute batch files in deep, non 8.3  directory paths


Tarball and patch file against 2.2.6rc2 at 

  http://download.samba.org/samba/ftp/pre/

RedHat 6.2  7.3 RPMS at 
 
  http://download.samba.org/samba/ftp/Binary_Packages/redhat/

Please allow a little bit for the mirrors to update.



  --Enjoy
The Samba Team





Re: [PATCH] pdb_set_* ready?

2002-10-11 Thread Andrew Bartlett
Stefan (metze) Metzmacher wrote:
 
 Hi Andrew,
 
 here's thet latest version of my pdb_set_* patch
 
 this patch needs some testing, but it look good:
 I have tested smbpasswd
 I have tested pdbedit
 I have tested usrmgr.exe
 
 with pdb_ldap, pdb_tdb, pdb_smbpasswd
 
 can you test domain joins...?
 
 every pdb_set function gets a enum pdb_value_state flag (PDB_DEFAULT |
 PDB_SET | PDV_CHANGED)
 
 then the backends can decide to only store changed values...
 
 pdb_ldap now only updates changed values.

I had to fix 'adding' accounts, but other than that it looks OK.  I've
applied it.

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



'Production' improvements to pdb_ldap

2002-10-11 Thread Andrew Bartlett
Samba 3.0 is starting to be used in a lot of places, and I'm starting to
look into how we can best ensure we don't get bottlenecks in our
performance.

Metze has raised a number of issues with pdb_ldap:

 - We do a Get_Pwnam() on every user - even in enums.

 - We hit the LDAP server for a new connection each time

Both of these we have known about for a while - but it turns out that
usrmgr asks for a list of all users (enum), then asks for each user by
RID.  In his (quite large) setup, this can take so long that usrmgr
times out!

For the first problem, I am proposing that we use the uidNumber
gidNumber etc in the user's ldap record directly - rather than going a
Get_Pwnam() for that information.  Naturally, if that information is not
present, we can do a Get_Pwnam anyway.

However, the question is:  Should we make this the default?  It's fine
for sites running nss_ldap, but it does change behavior.  Or should we
add 'yet another smb.conf option', that admins would have to turn on if
they are running such large domains?

I would propose 'ldap trust uids' as the name, unless somebody comes up
with a better one :-).

For the second issue, we will just have to start caching connections -
it doesn't look too hard, just a wrapper around the actual calls, but
I've not had a chance to implement it.

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



CVS update: samba-supportdb

2002-10-11 Thread mbp


Date:   Fri Oct 11 17:41:07 2002
Author: mbp

Update of /data/cvs/samba-supportdb
In directory dp.samba.org:/tmp/cvs-serv16309

Modified Files:
design.txt 
Log Message:
More notes


Revisions:
design.txt  1.2 = 1.3
http://www.samba.org/cgi-bin/cvsweb/samba-supportdb/design.txt?r1=1.2r2=1.3



CVS update: samba

2002-10-11 Thread jerry

Date:   Fri Oct 11 21:00:33 2002
Author: jerry

Update of /data/cvs/samba
In directory dp.samba.org:/tmp/cvs-serv27735

Modified Files:
  Tag: SAMBA_2_2
WHATSNEW.txt 
Log Message:
add changes for rc3

Revisions:
WHATSNEW.txt1.34.6.35 = 1.34.6.36

http://www.samba.org/cgi-bin/cvsweb/samba/WHATSNEW.txt?r1=1.34.6.35r2=1.34.6.36



CVS update: samba

2002-10-11 Thread jerry

Date:   Fri Oct 11 21:01:46 2002
Author: jerry

Update of /data/cvs/samba
In directory dp.samba.org:/tmp/cvs-serv27964

Modified Files:
  Tag: SAMBA_2_2_RELEASE
WHATSNEW.txt 
Log Message:
sync with SAMBA_2_2 for 2.2.6rc3


Revisions:
WHATSNEW.txt1.34.6.10.2.36 = 1.34.6.10.2.37

http://www.samba.org/cgi-bin/cvsweb/samba/WHATSNEW.txt?r1=1.34.6.10.2.36r2=1.34.6.10.2.37



CVS update: samba/source/client

2002-10-11 Thread jerry

Date:   Fri Oct 11 21:01:46 2002
Author: jerry

Update of /data/cvs/samba/source/client
In directory dp.samba.org:/tmp/cvs-serv27964/source/client

Modified Files:
  Tag: SAMBA_2_2_RELEASE
smbspool.c 
Log Message:
sync with SAMBA_2_2 for 2.2.6rc3


Revisions:
smbspool.c  1.4.4.2.2.2 = 1.4.4.2.2.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/client/smbspool.c?r1=1.4.4.2.2.2r2=1.4.4.2.2.3



CVS update: samba

2002-10-11 Thread samba-bugs

Date:   Fri Oct 11 21:07:13 2002
Author: samba-bugs

Update of /data/cvs/samba
In directory dp.samba.org:/home/samba-bugs/samba

Modified Files:
  Tag: SAMBA_2_2_RELEASE
WHATSNEW.txt 
Log Message:
preparing for release of 2.2.6rc3

Revisions:
WHATSNEW.txt1.34.6.10.2.37 = 1.34.6.10.2.38

http://www.samba.org/cgi-bin/cvsweb/samba/WHATSNEW.txt?r1=1.34.6.10.2.37r2=1.34.6.10.2.38



  1   2   >