[Samba] Samba 3.0.2 and LDAP

2004-06-08 Thread Joshua Schmidlkofer
I am getting the following problem when I try to add new machines to the 
LDAP server.

snip
[2004/06/07 13:49:12, 2] passdb/pdb_ldap.c:init_sam_from_ldap(462)
  init_sam_from_ldap: Entry found for user: administrator
[2004/06/07 13:49:13, 2] passdb/pdb_ldap.c:init_group_from_ldap(1697)
  init_group_from_ldap: Entry found for group: 512
[2004/06/07 13:49:13, 2] passdb/pdb_ldap.c:init_group_from_ldap(1697)
  init_group_from_ldap: Entry found for group: 513
[2004/06/07 13:49:13, 2] auth/auth.c:check_ntlm_password(305)
  check_ntlm_password:  authentication for user [administrator] -
[administrator] - [administrator] succeeded
[2004/06/07 13:49:14, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2461)
  Returning domain sid for domain MYDOM -
S-1-5-21-2872XX-X-XX
[2004/06/07 13:49:14, 2]
rpc_server/srv_samr_nt.c:access_check_samr_object(93)
  _samr_open_domain: ACCESS DENIED  (requested: 0x0211)
[2004/06/07 13:49:14, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2461)
  Returning domain sid for domain MYDOM -
S-1-5-21-2872XX-X-XX
[2004/06/07 13:49:14, 2]
rpc_server/srv_samr_nt.c:access_check_samr_function(115)
  _samr_create_user: ACCESS DENIED (granted: 0x0201;  required:
0x0010)
[2004/06/07 13:49:19, 2] smbd/sesssetup.c:setup_new_vc_session(591)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
all old resources.
[2004/06/07 13:49:19, 2] smbd/sesssetup.c:setup_new_vc_session(591)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
all old resources.
[2004/06/07 13:49:19, 2] passdb/pdb_ldap.c:init_sam_from_ldap(462)
  init_sam_from_ldap: Entry found for user: administrator
[2004/06/07 13:49:20, 2] auth/auth.c:check_ntlm_password(305)
  check_ntlm_password:  authentication for user [administrator] -
[administrator] - [administrator] succeeded
/snip
I am very confused on how to proceed.  net groupmap reveals that Domain 
Admins is mapped to the domadm Ldap Group. [gid=512].   Administrators 
primary group is 512, and that seems to be fine.  We tried several 
people, all w/ the same results.

Why am I getting ACCESS DENIED on the _samr_open_domain_ ?  I don't 
understand that.

Also, the create user fails.   This seems to ignore my add machine 
script entirely.  Did I miss anything in samba setup?

I have searched and searched the archives with the only possible 
explanation found being that my ldap admin had insufficient rights, or 
my user had insufficient rights.Please help.

AFAIK this worked prior to the last updates.  I am using Fedora Core 1, 
with Samba-3.0.2-6.3 (Actually, now I am not sure about the 6.3).  There 
is an update available, and I am planning on trying that.  However I am 
very beleaguered by this problem.

smb.conf:
[global]
   debug level   = 2
   workgroup = MYDOM
   server string = SVR1
   netbios name  = SVR1
   add machine script = /usr/sbin/ldapaddmachine.save %m
   printcap name = /etc/printcap
   load printers = yes
   log file  = /var/log/samba/%m.log
   max log size  = 50
   security  = user
  encrypt passwords = yes
  ldap suffix = o=Myou,c=US
  ldap user suffix= ou=Users
  ldap group suffix   = ou=Groups
  ;; Work-around re: number failures, and numerous online notes.
  ;; Which is this supposed to be?
  ldap machine suffix = ou=Computers
  ;;ldap machine suffix = ou=Users
  ldap delete dn  = no
  ldap filter = ((uid=%u)(objectclass=sambaSamAccount))
  ldap admin dn   = cn=Manager,o=Myou,c=US
  ldap ssl= off
  ldap passwd sync= yes
  passdb backend  = ldapsam:ldap://localhost
  idmap backend   = ldap:ldap://localhost
  ;; OS-Level incremented from 33 on 2004-06-4 by IMR.
  os level  = 65
  local master  = yes
  domain master = yes
  domain logons = yes
  logon script  = logon.bat
  logon path= \\%L\Profiles\%U
  preserve case = yes
  short preserve case = yes
  default case = lower
  case sensitive = no
  dns proxy = no
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   wins server = 192.168.10.240
shares removed





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

[Samba] Keep existing domain afterinstalling a new server?

2004-06-08 Thread Nicole Hähnel
Hi,
I have still a RedHat 8.0 server with samba-2.2.7-5.8.0 as PDC.
We have about 60 users and workstations.
Now I have to install a new server with RedHat ES 3 and samba3.
How can I port the domain to the new server, so that I don't have to add 
every user and workstation again?
And we also have roaming profiles, which I have to keep.

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


Re: [Samba] Excluded profile folders sync'd on logout

2004-06-08 Thread Simon Hobson
[EMAIL PROTECTED] wrote:
But I do want the Desktop folder on the server.  I want Windows to 
use it instead of copying the Desktop folder in the roaming profile 
back and forth between the server and client to save time.  I have 
some people on our network that have very large image files and 
what-not on their Desktop, so logging out tends to take a VERY long 
time.  I thought using folder redirection was the answer to this, 
but with this syncing on logout it's pretty much just the same thing 
except with a status bar.  What exactly is Windows syncing?  It 
takes so long it seems like it's copying the files, but the files 
are already on the server and aren't on the Desktop.  So how can I 
stop the syncing that's going on?
We just went through the pain of finding this out yesterday.
As it was explained to me (I'm not directly handling this), when you 
first copy the folder to the server, XP sets the flag to treat it as 
'offlinable' (or something like that), meaning that it will copy any 
files down to the local machine and sync them on logout.

According to info from the MS website, turning off the offline 
files option in the properties of the hard disk (root) should stop 
it - or failing that, turn it off on the folder.

Simon
--
Simon Hobson, Technology Specialist
Colony Gift Corporation Limited
Lindal in Furness, Ulverston, Cumbria, LA12 0LD
Tel 01229 461100, Fax 01229 461101
Registered in England No. 1499611
Regd. Office : 100 New Bridge Street, London, EC4V 6JA.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Request patch for samba 2.2.2

2004-06-08 Thread Udomchai Srisuk (LAD:1Logic)
Dear Sir/Madam,


I'm request patch for samba 2.2.2  on Sun Server (Solaris)

If you require futher information, Please let me know.


Regards.
Udomchai S.

===
PKGINST:  samba
  NAME:  SMB based file/printer sharing
  CATEGORY:  system
  ARCH:  sparc
   VERSION:  2.2.2
   BASEDIR:  /usr/local
VENDOR:  Samba Team
  DESC:  File and printer sharing for Windows workstations
PSTAMP:  nose20011019112615
  INSTDATE:  Nov 21 2001 06:03
   HOTLINE:  Please contact your local UNIX support group
 EMAIL:  [EMAIL PROTECTED]
STATUS:  completely installed
 FILES:432 installed pathnames
 9 shared pathnames
26 directories
40 executables
 42471 blocks used (approx)


---
Please be informed that we have changed our email address to @g-able.com
Best Regards.

¡ÃسÒá¡éä¢ÍÕàÁÅì 㹡ÒõԴµè͡ѺàÃÒ à»ç¹ @g-able.com ´éǤÃѺ
¢ÍáÊ´§¤ÇÒÁ¹Ñº¶×Í
---
Copyright @ 2004 G-ABLE Co.,Ltd.
Powered by Software Solution Dept. First Logic Co.,Ltd. 

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


[Samba] Samba and W2K domain

2004-06-08 Thread Bruno GUERPILLON
Hello,

 

I've set up a samba serve rand it's member of a W2K domain.

The problem I've got now is how to modify my smb.conf so domain accounts can
access folder on samba ?

 

I created a folder and set up permission : chown
'domain\account:domain\group' folder

 

I'm not sure what to put in my smb.conf now, tks for the help

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


[Samba] samba-3.0.4 compile issues on AIX 4.3.3

2004-06-08 Thread Stefan Rodenstein
Hi!

I just downloaded samba-3.0.4 and tried to compile it on AIX 4.3.3
with gcc 2.95.2 using

LDFLAGS=-Wl,-bbigtoc ./configure --prefix=/bag/samba \
   --mandir=/bag/samba/man \
   --localstatedir=/usr/local/samba/var \
   --with-configdir=/usr/local/samba \
   --with-privatedir=/usr/local/samba/private \
   --with-lockdir=/usr/local/samba/var/locks \
   --with-piddir=/usr/local/samba/var/locks \
   --with-ssl --disable-swat \
   --with-sslinc=/bag/openssl/include --with-ssllib=/bag/openssl

This used to work well in the past, the last time with
samba-3.0.2a.

Now, running make in the 3.0.4 tree first gives some problems with
aud_rec in nsswitch/winbind_nss_aix.c, however, this could be fixed
with an #include sys/audit.h.

But when I run make then, I get the following error that I couldn't fix:

[EMAIL PROTECTED]:/scratch/samba-3.0.4/source$ make
Using FLAGS =  -O -I./popt -Iinclude -I/scratch/samba-3.0.4/source/include 
-I/scratch/samba-3.0.4/source/ubiqx -I/scratch/samba-3.0.4/source/smbwrapper  -I. 
-D_LARGE_FILES -I/scratch/samba-3.0.4/source
  LIBS = 
  LDSHFLAGS = -Wl,-bexpall,-bM:SRE,-bnoentry,-berok  -Wl,-bbigtoc
  LDFLAGS = -Wl,-bbigtoc
Compiling nsswitch/winbind_nss_aix.c with -O2
nsswitch/winbind_nss_aix.c:748: parse error before `*'
nsswitch/winbind_nss_aix.c: In function `wb_aix_attrlist':
nsswitch/winbind_nss_aix.c:750: `attrlist_t' undeclared (first use in this function)
nsswitch/winbind_nss_aix.c:750: (Each undeclared identifier is reported only once
nsswitch/winbind_nss_aix.c:750: for each function it appears in.)
nsswitch/winbind_nss_aix.c:750: `ret' undeclared (first use in this function)
nsswitch/winbind_nss_aix.c:752: parse error before `)'
nsswitch/winbind_nss_aix.c:758: parse error before `)'
nsswitch/winbind_nss_aix.c:762: `AL_USERATTR' undeclared (first use in this function)
nsswitch/winbind_nss_aix.c: In function `wb_aix_init':
nsswitch/winbind_nss_aix.c:981: structure has no member named `method_version'
nsswitch/winbind_nss_aix.c:981: `SECMETHOD_VERSION_520' undeclared (first use in this 
function)
nsswitch/winbind_nss_aix.c:990: warning: assignment from incompatible pointer type
nsswitch/winbind_nss_aix.c:994: warning: assignment from incompatible pointer type
nsswitch/winbind_nss_aix.c:999: warning: assignment from incompatible pointer type
nsswitch/winbind_nss_aix.c:1001: structure has no member named `method_attrlist'
make: *** [nsswitch/winbind_nss_aix.po] Error 1
[EMAIL PROTECTED]:/scratch/samba-3.0.4/source$ 



attrlist_t seems to be undeclared and I can't find it anyhwere,
neither in the source nor elsewhere on the AIX machine.

Did anybody encounter the same problem? What am I missing and how can
it be fixed?

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


[Samba] NT4 Samba 3.0.2 and LDAP

2004-06-08 Thread Cristian van Ee
Hi,

We're using a Samba domain with about 50 Windows 2000/XP clients.
We don't have any problems adding XP or 2000 clients to the domain.

Now we have one NT4 server that needs to be migrated to the samba domain
and this causes problems.
When adding the server to the domain with the option add machine account,
the system tells me he can't find the domain.
If i browse the network from the NT4 server i can access the domain
controller without any problems.
So i went for the manual way, using smbldap-password -w machine.
I see the account in my LDAP, but SIDs!!!
When trying to add the machine without creatinga new machine account it
reports me it can't find the machine account on the domain.
When i look in my LDAP the machine account is gone!!!

So i've googled a bit around en checked the samba mailinglists and i found
a prblem with clear text passwords.
So i applied the registry patch mentioned, but no succes.

Does anyone else ever had this problem and solved it?
Please help me...

We're using Samba 3.0.2(Red Hat has not updated their packages yet)on Red
Hat Enterprise V3.0 Server Edition with OpenLDAP 2.0.17-11.

Thanx in advance,

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


[Samba] Overriding printer settings

2004-06-08 Thread Tom Alsberg
A question here - when using Samba with LPRng, Samba can get printer
information and settings from the printcap.  How can I then override
the settings (e.g. print command, or comment, or something else) of
one printer without having to specify all other settings too?

If I just specify a share for it, then it will ignore everything from
printcap, and I have to specify everything (even 'printable = yes').

  Thanks,
  -- Tom

-- 
  Tom Alsberg - hacker (being the best description fitting this space)
  Web page: http://www.cs.huji.ac.il/~alsbergt/
DISCLAIMER:  The above message does not even necessarily represent what
my fingers have typed on the keyboard, save anything further.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Winbind problem

2004-06-08 Thread Nick Thorley
I have setup winbind and samba as instructed in the instructions but 
keep getting error looking up domain users

Can anyone advise on where to look please
Thanks
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] config question

2004-06-08 Thread boka
Hi !
I have to run my openldap server on non standard port - 390. Is this 
expression correct (from smb.conf - samba 3.0.4):

passdb backend = ldapsam:ldap://localhost:390
If not, how to setup samba to bind different port when connecting to 
ldap server.

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


Re: [Samba] not working : valid users = @DOM+USER

2004-06-08 Thread Charles Bueche
Hi again,

I tested again, and I found that winbind return Windows groups up to the
OS limit (16 by default in Solaris 9). The group I wanted to check
against was mapped as 22nd in the list, so the check failed.

One solution would be to rise the limit to 32 on Solaris (using set
ngroups_max = 32 in /etc/system), but that would only shift the problem
until someone has 33 groups.

This is a very basic problem : one would assume winbind is needed for
large organizations. My customer is large (55'000 users), so people are
usually in a lot of groups (I have found 30-60 is not unusual, one had
84 memberships). So we have a dead-lock : you should use winbind when
you don't want to manage large user lists, but can't due to group
limitations. And no, recompiling Solaris (or Linux) with a larger
limit is not an option.

I'm now investigating another solution (calling it a kludge would be
more appropriate) :
 
- set preexec check_ldap $u %S on the share
- pass user and group as parameter
- check valid group membership using LDAP to AD
- return true|false so preexec close deny|allow access

If it works, I will post check_ldap here. I plan to use Perl and
Net::LDAP for this job.

Charles

On Mon, 7 Jun 2004 20:26:18 +0200
Charles Bueche [EMAIL PROTECTED] wrote:

 Hi Steve,
 
 strange... so it just fallback to Win groups if it doesn't find local
 groups ?
 
 I ahve studied the source, mainly lib/username.c and friends. I have
 seen that it try to look up the name without the domain prefix, which
 fail (same effect as in wbinfo).
 
 I'm now away from this customer site, I will have to wait tomorrow to
 test again. I will report my results.
 
 Am I right to assume that I don't need pam for this ? My goal is to
 use AD for Samba, but local passwd/groups for the logins.
 
 Charles
 
 On Mon, 07 Jun 2004 15:47:40 +0100
 Spaceboy [EMAIL PROTECTED] wrote:
 
  Charles,
  I've just done this here on Solaris 8.
  
  I have found slightly odd behaviour in that wbinfo -u and wbinfo -g
  only return the actual usernames and groups rather than
  DOMAIN+Username and DOMAIN+Groupname.
  
  So in my smb.conf file I needed:-
  valid users = @Groupname
  
  without the DOMAIN+ part.
  
  And yes I've set winbind seperator = + as well.
  
  Just a thought.
  Steve
  
  Charles Bueche wrote:
  
  Hi,
  
  I have Samba 3.0.4 on Solaris 9, recent patches applied. Samba is
  integrated in domain (security = domain). I have compiled and
  configured winbind, but not pam and no ldap. Ncsd is stopped.
  
  Winbind works OK, I can connect to share and users get mapped
  on-the-fly to UNIX uids and gids in the ranges specified in
  smb.conf. My config is included below with some tweaks to protect
  the innocent.
  
  ---
  
  My goal : I want to create a share and restrict its access based on
  the membership of a Windows group.
  
  I have successfuly used :
  
 valid users = DOM+user1 DOM+user2 DOM+user3
  
  but when I try :
  
 valid users = @DOM+wingroup
  
  or :
  
 valid users = +DOM+wingroup
  
  It refuses me access to the share, even if I'm member of the
  Windows group.
  
  What do I do wrong ? How should I write the groupnames ? Help
  wanted...
  
  
  

  
  
  -- 
  To unsubscribe from this list go to the following URL and read the
  instructions:  http://lists.samba.org/mailman/listinfo/samba
 
 
 -- 
 Charles Bueche [EMAIL PROTECTED]
 sand, snow, wave, wind and net -surfer
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba


-- 
Charles Bueche [EMAIL PROTECTED]
sand, snow, wave, wind and net -surfer
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] can´t see shares from 98 to XP

2004-06-08 Thread Jorge Kramer
I have a samba server (3.0.4) as a domain controller
for windows clients. Users can log on to my domain
from Win 98 and XP, from server I can see and connect
to shares I have on windows, server shares are also
accessible to win clients. The only problem is that
from 98 I can see XP computer but when I try to
connect to shares I get an error message \\x is not
accessible. this device does not exist on the
network. I can ping XP  by name and ip, no problem
with this. From XP to 98 it works, I can see and
access shares. Between 2 XP boxes it works, I can see
computers and access shares from one to another. I use
encrypted passwords on samba server and also windows. 

If you have any ideea what might be the problem,
please let me know it.

10x,
Jorge




__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.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 with acl support as member auf a samba controlled domain?

2004-06-08 Thread Hansjoerg Maurer
Hi
we got it working.
There were two poblems.
-we had to update the samba PDC to 3.0.4 (formerly 3.0.1), because an error.
-we had to use winbindwithout a uid and gid range
some tests for winbind
[EMAIL PROTECTED] root]# wbinfo -t
checking the trust secret via RPC calls succeeded
This message I get after installing 3.0,4 on the pdc.
Without samba 3.01 on ther PDC there was an error
[EMAIL PROTECTED] root]# wbinfo -g
...
Management
itsdgroup
[EMAIL PROTECTED] root]# wbinfo -u
[EMAIL PROTECTED] root]# wbinfo -u
Administrator
itsd
krocka
maurer
trinkl

Find attched my smb.conf for the client
Greetings
Hansjörg

[global]
log file = /var/log/samba/log.%m
#log level = 3 passdb:5 auth:10 winbind:5
log level =0
security = domain
workgroup = ITSYSTEMS
encrypt passwords = yes
netbios name = chardonnay
server string = Install-Server
password server =  192.168.0.1
machine password timeout = 60480
winbind trusted domains only = yes
winbind use default domain = yes
winbind nested groups = yes
idmap uid = 1-1
idmap gid = 1-1

guest account = gast
os level=25
wins support = no
wins server = 192.168.0.1
dns proxy = no
username map = /etc/samba/smbusers
#preferred master = no
#domain master = no
#local master = no
name resolve order = wins hosts
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
hosts allow = 192.168.0.
bind interfaces only  = Yes
interfaces = 127.0.0.1, bond0
deadtime=180
keepalive = 3600
unix charset = iso8859-15
display charset = iso8859-15
[install]
  comment = Install Verzeichnis
  path = /install
  read only = no
#   security mask = 0770
#   force group = itsdgroup
#   force user = itsd
#   force create mode = 0664
#   create mask = 0664
#   directory mask = 0777
[backup]
  comment = Backup von Kunden
  path = /backup
  read only = no
  force group = itsdgroup
  force user = itsd
  force create mode = 0664
  create mask = 0664
  directory mask = 0777

Guillaume Anfroy wrote:
Guten tag,
I am trying to make the acl working on a domain with a single samba
server(as a PDC). I've checked the docs, the newsgroup and I haven't found
any information about anyone who did in any other way that with a
Windows(tm) PDC.
I will try to get a confirmation on that information and I will keep you
informed.
Unless you already get the confirmation that it is impossible to make samba
works with acl withtout a Windows PDS or AD server ?
Regards,
Guillaume
- Original Message - 
From: Dr. Hansjörg Maurer [EMAIL PROTECTED]
Newsgroups: linux.samba
Sent: Friday, June 04, 2004 10:30 PM
Subject: [Samba] samba with acl support as member auf a samba controlled
domain?

 

Hi
I am running a Samba PDC and a Samba member server in his domain.
The member server acts as a file server with unix acl's working.
Is it possible to get these acl's working under samba to?
The docs seem to say, that acl's are only possible if samba is a
memberserver in an NT-Domain using winbind.
In my case the PDC acts as a LDAP Server and the Member server is gets
the unix account information from Ldap.
I am running samba 3.0.4 and had no sucesse with this setup.
The windows client shows acls not as for the domain\user but for the
memberserver\user
Here is my smb.conf
[global]
log file = /var/log/samba/log.%m
log level =2
security = domain
workgroup = ITSYSTEMS
encrypt passwords = yes
netbios name = chardonnay
server string = Install-Server
password server =  192.168.0.1
machine password timeout = 60480
guest account = gast
os level=25
wins support = no
wins server = 192.168.0.1
dns proxy = no
username map = /etc/smbusers
preferred master = no
domain master = no
local master = no
name resolve order = wins hosts
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
hosts allow = 192.168.0.
bind interfaces only  = Yes
deadtime=180
keepalive = 3600
unix charset = iso8859-15
display charset = iso8859-15
[install]
  comment = Install Verzeichnis
  path = /install
  read only = no
  public = yes
Thank you very much
Hansjörg Maurer
--
Dr. Hansjörg Maurer
itsystems Deutschland AG
Linprunstr. 10
D-80335 München
Ph/Fax +49 89 52 04 68-41/-59

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


 

--
_
Dr.  Hansjoerg Maurer   | LAN-  System-Manager
   |
Deutsches Zentrum   | DLR Oberpfaffenhofen
 f. Luft- und Raumfahrt e.V.   |
Institut f. Robotik |
Postfach 1116   | Muenchner Strasse 20
82230 Wessling  | 82234 Wessling
Germany |
   |
Tel: 08153/28-2431  | E-mail: [EMAIL PROTECTED]
Fax: 08153/28-1134  | WWW: http://www.robotic.dlr.de/
__
There are 10 types of people in this world, 
those who understand binary and those who don't.

--
To unsubscribe 

[Samba] Samba and openldap trouble

2004-06-08 Thread Peter Nyberg
I have separated samba-3.0.2a and openldap-2.1 on two different computers with
self made openssl certificate. Openldap seams to work on both computers. I can
make accounts and they appear in the openldap account data base. When I do a
“net groupmap list” I get:

[EMAIL PROTECTED]:/usr/local/samba/bin# ./net groupmap list
[2004/06/08 13:24:12, 0] lib/smbldap.c:smbldap_open_connection(611)
  Failed to issue the StartTLS instruction: Operations error
[2004/06/08 13:24:12, 0] lib/smbldap.c:smbldap_search_suffix(1113)
  smbldap_search_suffix: Problem during the LDAP search: TLS already started
(Operations error)
Domain Admins (S-1-5-21-1027936538-659792286-2162639956-512) - wheel
Domain Users (S-1-5-21-1027936538-659792286-2162639956-513) - smbusers
Domain Guests (S-1-5-21-1027936538-659792286-2162639956-514) - smbguests
Administrators (S-1-5-21-1027936538-659792286-2162639956-544) - 544
users (S-1-5-21-1027936538-659792286-2162639956-545) - 545
Guests (S-1-5-21-1027936538-659792286-2162639956-546) - 546
Power Users (S-1-5-21-1027936538-659792286-2162639956-547) - 547
Account Operators (S-1-5-21-1027936538-659792286-2162639956-548) - 548
Server Operators (S-1-5-21-1027936538-659792286-2162639956-549) - 549
Print Operators (S-1-5-21-1027936538-659792286-2162639956-550) - 550
Backup Operators (S-1-5-21-1027936538-659792286-2162639956-551) - 551
Replicator (S-1-5-21-1027936538-659792286-2162639956-552) - 552
Domain Computers (S-1-5-21-1027936538-659792286-2162639956-553) - 553

What does TLS already started mean? Is there already an open session somewhere?

If I do a:
[EMAIL PROTECTED]:/usr/local/samba/bin# ./net rpc group LIST global -U administrator
Password: “My secret.tdb password”
The username or password was not correct.

If I log it through –d 127 I get in the end:

[2004/06/08 13:34:43, 3] libsmb/cliconnect.c:cli_session_setup(820)
  SPENGO login failed: Logon failure
[2004/06/08 13:34:43, 1] libsmb/cliconnect.c:cli_full_connection(1425)
  failed session setup with NT_STATUS_LOGON_FAILURE
[2004/06/08 13:34:43, 1] utils/net.c:connect_to_ipc(150)
  Cannot connect to server.  Error was NT_STATUS_LOGON_FAILURE
[2004/06/08 13:34:43, 10] intl/lang_tdb.c:lang_tdb_init(135)
  lang_tdb_init: /usr/local/samba/lib/C.msg: No such file or directory
The username or password was not correct.
[2004/06/08 13:34:44, 2] utils/net.c:main(767)
  return code = -1

It looks like samba is unable to communicate with ldap the right way

When I made the smbldap_populate.pl it couldn’t use the hashed password. I had
to type it in clear text. Is this correct?
Do I need to have some PAM support in the openldap end?
In short turns. What is the differences in configurations between having
openldap on the same computer and a different one accept for adding the name of
the ldap-server on the samba-server



Peter Nyberg
Institutionen för Biokemi och Biofysik (DBB)
Sv.Arrhenius vägen 12
106 91 Stockholm
Tel: 08-16 24 69
Mobil: 070 339 24 69
Fax 08 153679





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


Re: [Samba] XP Joining domain

2004-06-08 Thread Derek Harkness
How does pdbedit help me join a Windows XP client to my Samba domain?
I've read through all the howto section on domain membership.  
Unfortunately the online howto section doesn't have page numbers. :(  
According to the docs I can either add passwd backend = smbpasswd or 
just delete the option from the config file, if the option doesn't 
exist 3.0 falls back to smbpasswd used in 2.2.

The ultimate goal is to move to ldap.  But I can't do that until I get 
samba 3 working.  But why should the back prevent XP from properly 
setting the machine password?  NT 4 and 2K both happily join the domain 
set their password and play VERY nice.  On the client side XP tells me 
it joined the domain, but when I try and login it gives me a machine 
account error messages (see below).  If I login as the local 
Administrator I can even map a drive to the samba server.

Logon error
Windows cannot connect to the domain, either because the domain 
controller is down or otherwise unavailable, or because your computer 
account was not found.  Please try again later.

Thanks for the help!
Derek
On Jun 7, 2004, at 3:31 PM, Jason Gray wrote:
Have you tried pdbedit?  Also, If you read the pages 123 - 138 in the
Samba-How-to Collection you will get a great trouble-shooting section 
and
methods to get your machines and users to connect to your PDC.  You 
will
also need to add the passwd backend = smbpasswd to your smb.conf
file...among other things.  You might want to think about migrating to 
the
tdb password backend instead.  It's more reliable.

Jason
-Original Message-
From: Derek Harkness [mailto:[EMAIL PROTECTED]
Sent: Monday, June 07, 2004 12:00 PM
To: Jason Gray
Subject: Re: [Samba] XP Joining domain
More details...
I'm not using ldap, currently using the smbpasswd backend.  I'm
exploring the migration path from a samba 2.2 installation to samba
3.0.  I'm using the add machine script which is creating an account in
the unix password file, then an account is created in the smbpasswd
file but the account is disabled.
/etc/samba/smbpasswd:xptest$:27652::
:[DW ]:LCT-:
/etc/passwd:xptest$:x:27652:968:NTMachine:/dev/null:/bin/false
My samba configure is more or less default.  Changed things like
workgroup, load printers = no, and added the needed domain options.
Thanks,
Derek
On Jun 7, 2004, at 2:40 PM, Jason Gray wrote:
There is a machine account and user account needed to login.  It
sounds like
you are using LDAP.  If this is the case you need to make sure that a
password is set for the user using smbpasswd username.  It would be
helpful to see your smb.conf file as well.  There are various tools
that you
can use to add both machine and user accounts in the LDAP backend.  If
you
are using something else as your password backend then let em know
what that
is too.
Jason
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Behalf Of Derek Harkness
Sent: Monday, June 07, 2004 11:20 AM
To: [EMAIL PROTECTED]
Subject: [Samba] XP Joining domain
I'm attempting to join a Samba 3.0.4 domain on a Debian linux box, 
with
a Windows XP client.

Problems
1) Can only get the join to work if I use the root account.  On Win2k 
I
can use any account in the Domain Admins group.
2) The join succeeds, the unix account and the smb account are created
but the smb account is disabled, and the password contains all s.
Joining the domain works fine from Win2k.

I've tried adjusting the Signing entries.  I tried manually creating
the machine accounts, and I get a can't access machine account error 
on
login.

Any thoughts?
Thanks!
Derek
This world is a comedy to those who think and a tragedy to those who
feel.

My lack of knowledge is only exceeded by my lack of concern.
--Anonymous GE Engineer

Isn't sanity just a one-trick pony anyway? I mean, all you get is that 
one trick, rational thinking, but when you're good and crazy, well, the 
sky's the limit!
The Tick (comic book)


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

RE: [Samba] Re: Apostrophes in Windows usernames (again)

2004-06-08 Thread EXT-Auleta, Michael
We tried that also.  It didn't work either.  But since I was pointed to bug
1221, I removed the matching of an apostrophe in util_str.c (fell back to
2.2 behaviour) and that looks like it works.  My user is able to map his
shares again.

Thanks for all who helped.

Mike

-Original Message-
From: David Brodbeck [mailto:[EMAIL PROTECTED]
Sent: Monday, June 07, 2004 4:23 PM
To: EXT-Auleta, Michael; [EMAIL PROTECTED]
Subject: RE: [Samba] Re: Apostrophes in Windows usernames (again)


 -Original Message-
 From: EXT-Auleta, Michael [mailto:[EMAIL PROTECTED]

 I think I've narrowed down my problem, but I still don't know 
 where to fix it.  It appears that scanning the
 users.map file strips out the apostrophes and the Windows ID 
 never matches:

 The entry in the users.map file is:
 
 unixid = o'brienta
 
 so it should map.  I've tried enclosing the Windows name in 
 double quotes, but that didn't help.

What happens if you escape the apostrophe with a backslash, like this:

unixid = o\'brienta
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] dotless i problem samba3 - win98

2004-06-08 Thread osman
Hello,
I try samba 3.0.2a with Mandrake 10 Official release.
It works pretty well but one exception, dotless i, a Turkish 
character. The other Turkish characters works.
If any filename contains dotless i, this file/directory is inaccessible 
from win98 clients.
I setup with Turkish locale. And i run samba with export LC_ALL=C. 
Otherwise it runs, but doesn't share anything.

Can anyone help?
Thanks
Osman
in smb.conf i have
---
dos charset = 857
preserve case = yes
at loglevel 3 some error log; (the directory name is 8 times dotless i)
-
[2004/06/08 16:21:30, 3] smbd/process.c:process_smb(890)
 Transaction 80 of length 60
[2004/06/08 16:21:30, 3] smbd/process.c:switch_message(685)
 switch message SMBgetatr (pid 4973)
[2004/06/08 16:21:30, 3] smbd/sec_ctx.c:set_sec_ctx(288)
 setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2004/06/08 16:21:30, 3] lib/util.c:unix_clean_name(580)
 unix_clean_name [/]
[2004/06/08 16:21:30, 3] lib/util.c:unix_clean_name(580)
 unix_clean_name []
[2004/06/08 16:21:30, 3] smbd/reply.c:reply_getatr(523)
 stat of  failed (No such file or directory)
[2004/06/08 16:21:30, 3] smbd/error.c:error_packet(94)
 error string = No such file or directory
[2004/06/08 16:21:30, 3] smbd/error.c:error_packet(134)
 error packet at smbd/trans2.c(1808) cmd=8 (SMBgetatr) eclass=1 ecode=2
[2004/06/08 16:21:30, 3] smbd/process.c:process_smb(890)
 Transaction 81 of length 68
[2004/06/08 16:21:30, 3] smbd/process.c:switch_message(685)
 switch message SMBtconX (pid 4973)
[2004/06/08 16:21:30, 3] smbd/sec_ctx.c:set_sec_ctx(288)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/06/08 16:21:30, 3] smbd/service.c:make_connection_snum(543)
 Connect path is '/var/tmp' for service [IPC$]
[2004/06/08 16:21:30, 3] lib/util_seaccess.c:se_access_check(251)
[2004/06/08 16:21:30, 3] lib/util_seaccess.c:se_access_check(252)
 se_access_check: user sid is S-1-5-21-701436314-180843404-3022834476-501
 se_access_check: also S-1-5-21-701436314-180843404-3022834476-514
 se_access_check: also S-1-1-0
 se_access_check: also S-1-5-2
 se_access_check: also S-1-5-32-546
 se_access_check: also S-1-5-21-701436314-180843404-3022834476-132069
[2004/06/08 16:21:30, 3] smbd/vfs.c:vfs_init_default(203)
 Initialising default vfs hooks
[2004/06/08 16:21:30, 3] lib/util_seaccess.c:se_access_check(251)
[2004/06/08 16:21:30, 3] lib/util_seaccess.c:se_access_check(252)
 se_access_check: user sid is S-1-5-21-701436314-180843404-3022834476-501
 se_access_check: also S-1-5-21-701436314-180843404-3022834476-514
 se_access_check: also S-1-1-0
 se_access_check: also S-1-5-2
 se_access_check: also S-1-5-32-546
 se_access_check: also S-1-5-21-701436314-180843404-3022834476-132069
[2004/06/08 16:21:30, 3] smbd/sec_ctx.c:set_sec_ctx(288)
 setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2004/06/08 16:21:30, 3] smbd/service.c:make_connection_snum(705)
 denden (192.168.10.250) connect to service IPC$ initially as user 
nobody (uid=65534, gid=65534) (pid 4973)
[2004/06/08 16:21:30, 3] smbd/sec_ctx.c:set_sec_ctx(288)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/06/08 16:21:30, 3] smbd/reply.c:reply_tcon_and_X(326)
 tconX service=IPC$
[2004/06/08 16:21:30, 3] smbd/process.c:process_smb(890)
 Transaction 82 of length 113
[2004/06/08 16:21:30, 3] smbd/process.c:switch_message(685)
 switch message SMBtrans (pid 4973)
[2004/06/08 16:21:30, 3] smbd/sec_ctx.c:set_sec_ctx(288)
 setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2004/06/08 16:21:30, 3] smbd/ipc.c:reply_trans(538)
 trans \PIPE\LANMAN data=0 params=19 setup=0
[2004/06/08 16:21:30, 3] smbd/ipc.c:named_pipe(334)
 named pipe command on LANMAN name
[2004/06/08 16:21:30, 3] smbd/lanman.c:api_reply(3547)
 Got API command 0 of form WrLeh B13BWz 
(tdscnt=0,tpscnt=19,mdrcnt=4096,mprcnt=8)
[2004/06/08 16:21:30, 3] smbd/lanman.c:api_reply(3551)
 Doing RNetShareEnum
[2004/06/08 16:21:30, 3] smbd/lanman.c:api_RNetShareEnum(1528)
 RNetShareEnum gave 5 entries of 5 (1 4096 203 4096)
[2004/06/08 16:21:30, 3] smbd/process.c:process_smb(890)
 Transaction 83 of length 60
[2004/06/08 16:21:30, 3] smbd/process.c:switch_message(685)
 switch message SMBgetatr (pid 4973)
[2004/06/08 16:21:30, 3] smbd/sec_ctx.c:set_sec_ctx(288)
 setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2004/06/08 16:21:30, 3] lib/util.c:unix_clean_name(580)
 unix_clean_name [/]
[2004/06/08 16:21:30, 3] lib/util.c:unix_clean_name(580)
 unix_clean_name []
[2004/06/08 16:21:30, 3] smbd/reply.c:reply_getatr(523)
 stat of  failed (No such file or directory)
[2004/06/08 16:21:30, 3] smbd/error.c:error_packet(94)
 error string = No such file or directory
[2004/06/08 16:21:30, 3] smbd/error.c:error_packet(134)
 error packet at smbd/trans2.c(1808) cmd=8 (SMBgetatr) eclass=1 ecode=2
[2004/06/08 16:21:30, 3] smbd/process.c:process_smb(890)
 Transaction 84 of length 113
[2004/06/08 16:21:30, 3] 

[Samba] Re: Windows 2003 accessing samba

2004-06-08 Thread David Kennel
I am having a similar problem with Windows 2000 and 2003 machines.
I have multiple Samba servers. Those based on RH or Mandrake with samba 2.2
work fine with 2K and 2K3. A new gentoo box with 3.0.2 does not. NT4
machines can connect fine but 2K and 2K3 cannot. 

2000 gives the following errors: 

Using NET VIEW - System error 64 has occurred. The specified network name is
no longer available.

Using Map Network Drive - The mapped network drive could not be created
because the following error has occurred: The specified network name is no
longer available. 

When attempts to connect are made the following entry is made in the system
log: 

Source: MRxSmb  Event ID: 3036
The redirector detected a security signature mismatch. The connection has
been disconnected. 

Anybody have any ideas as to what is happening here? I spent some quality
time with Google and couldn't turn up anything useful.

Thanks

Dave K.

Ramon Berger wrote:
 
 All of the machines can access the Samba shares, but I can not access the
 shares from the Domain Controller. I even just added a Windows Server
 2003 machine as a client, no Active Directory, but this machine can not
 access the Samba shares.
 
 The error I get is: \\samba server is not accessible...

 Thanks...
 
 Ramon Berger
 


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


[Samba] Authentification in windows ads 2003

2004-06-08 Thread Benoit Moeremans
Hello,

I installed Samba 3 + kerberos + winbind to make the debian server joining
the Active directory service.

Everything seems to be ok, except the authentification. If i try to go to
the share of the linux server, it asks me the password. And of course, no
way to log in. B

Here is the config:

*samba*

[global]


   workgroup = TEST
   realm = CARDS.BE.TEST.COM.LOCAL
   server string = %h server (Samba %v)
;  wins support = no
;  wins server = w.x.y.z
   dns proxy = no
;  name resolve order = lmhosts host wins bcast
   use spnego = yes
   log file = /var/log/samba/log.%m
   max log size = 1000
;  syslog only = no
   syslog = 0
   panic action = /usr/share/samba/panic-action %d

# separate domain and username with '+', like DOMAIN+username
winbind separator = +
# use uids from 1 to 2 for domain users
idmap uid = 1-2
# use gids from 1 to 2 for domain groups
idmap gid = 1-2
# allow enumeration of winbind users and groups
winbind enum users = yes
winbind enum groups = yes

   security = ADS
   encrypt passwords = yes
   passdb backend = tdbsam guest
   obey pam restrictions = yes
   password server = zscards-pdc
   netbios name = rantanplan
;  guest account = nobody
   invalid users = root
;  unix password sync = no
;  passwd program = /usr/bin/passwd %u#   passwd chat =
*Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
;  pam password change = no
;  load printers = yes
;  preserve case = yes
;  short preserve case = yes
;  include = /home/samba/etc/smb.conf.%m
# SO_RCVBUF=8192 SO_SNDBUF=8192
   socket options = TCP_NODELAY
;  message command = /bin/sh -c '/usr/bin/linpopup %f %m %s; rm %s' 

;  domain master = auto
   idmap uid = 1-2
   idmap gid = 1-2
;   template shell = /bin/bash
[admin]
comment = Administration Directory
path = /home/benoit
admin users =  bmo
browseable = yes
public = no
writable = yes
guest only = no
valid users = bmo

*kerberos*
[libdefaults]
default_realm = CAR.BE.TESTCOM

[realms]
CAR.BE.TEST.COM = {
kdc = car-pdc.cards.be.test.com
default_domain = car.be.test.com
}
#[domain_realms]
#.kerberos.server=CAR.BE.TEST.COM

# The following krb5.conf variables are only for MIT Kerberos.
default_tgs_enctypes = des3-hmac-sha1 des-cbc-crc des-cbc-md5
default_tkt_enctypes = des3-hmac-sha1 des-cbc-crc des-cbc-md5
permitted_enctypes = des3-hmac-sha1 des-cbc-crc des-cbc-md5
krb4_config = /etc/krb.conf
krb4_realms = /etc/krb.realms
kdc_timesync = 1
ccache_type = 4
forwardable = true
proxiable = true


v4_instance_resolve = false
v4_name_convert = {
host = {
rcmd = host
ftp = ftp
}
plain = {
something = something-else
}
}


[login]
krb4_convert = true
krb4_get_tickets = true


*winbind* (logs)

2004/06/07 13:38:57, 1] nsswitch/winbindd_util.c:add_trusted_domain(180)
  Added domain CAR CAR.BE.TEST.COM.LOCAL S-0-0
[2004/06/07 13:38:57, 1] libsmb/clikrb5.c:ads_krb5_mk_req(306)
  krb5_cc_get_principal failed (No credentials cache found)
[2004/06/07 13:38:57, 1] nsswitch/winbindd_util.c:add_trusted_domain(180)
  Added domain BUILTIN  S-1-5-32
[2004/06/07 13:38:57, 1] nsswitch/winbindd_util.c:add_trusted_domain(180)
  Added domain RANTANPLAN  S-1-5-21-837388855-3362161430-1770541169






All commands like kinit, net ads join, wbinfo -u (-g), getent etc works.
From the linux server, no problem to go to the shares of the domain
controller (wich is a windows 2003 server).

Any help would be helpful

Regards,

Benoit


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


Re: [Samba] Samba just Slow with AutoCad?

2004-06-08 Thread Brian Merrell
No good.  It's still amazingly slow.  It seems to perform just fine until
the user tries to print.  There is a huge delay before the print dialog
comes up, and when the user tries to save there is another huge delay.  The
problem seems to be only with AutoCad.

- Original Message - 
From: Jeremy Allison [EMAIL PROTECTED]
To: Brian Merrell [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, June 07, 2004 4:33 PM
Subject: Re: [Samba] Samba just Slow with AutoCad?


 On Mon, Jun 07, 2004 at 08:59:34AM -0600, Brian Merrell wrote:
 
  Here are some smb.conf's I have tried:
  (I have tried SO_SNDBUF=8192, and 4096)

 Remove these two parameters.

  read prediction = true
  strict sync = yes

 Hope this helps,

 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 3.0.4 authorisation issues

2004-06-08 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Austin, Ben wrote:
|   User guest in passdb, but getpwnam() fails!
'guest account' is not set to a valid unix account.


cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- http://www.samba.org
GnuPG Key   http://www.plainjoe.org/gpg_public.asc
...a hundred billion castaways looking for a home. --- Sting
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAxcifIR7qMdg1EfYRAofOAKDdoiTET5/rHZeolLksFU0h9B2RLACgtTnP
9zDPT2iHbyvxpxuv4/c/IBE=
=Zkhx
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba just Slow with AutoCad?

2004-06-08 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brian Merrell wrote:
| No good.  It's still amazingly slow.  It seems to perform
| just fine until the user tries to print.  There is a huge
| delay before the print dialog comes up, and when the user
| tries to save there is another huge delay.  The
| problem seems to be only with AutoCad.
Sorry I'm late on this thread.
Are these XP clients?  Do the clients have a
active firewall installed.  If the delay is only
when printing, it is probabl either
(a) a very chatty printer driver, or
(b) timeouts when the client tries to
~open a print change notify handle.

cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- http://www.samba.org
GnuPG Key   http://www.plainjoe.org/gpg_public.asc
...a hundred billion castaways looking for a home. --- Sting
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAxcznIR7qMdg1EfYRAicSAKDPzwf0vrIpsTgrln1hFnUlZ/VVOgCfXjs8
XYq6cwr7pC7oqkM0DHab0eU=
=I89Z
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Q: Samba 2.2.8a as a domain member

2004-06-08 Thread Holger Eitzenberger
Hi,

I have a problem using Samba 2.2.8a on Linux (Debian) as a
domain member.

smbpasswd told me that the host successfully joined our local
domain, but acsessing a shares Security Settings through
Windows' network neighbourhood sais

HOSTNAME\user

instead of

DOMAIN\user

which is the case on our domain controllers.

I am using an OpenLDAP repository four user management.

Below is my smb.conf.

Thx in advance.

/Holger

# smb.conf
#
# $Id$

[global]
workgroup = MYDOMAIN

interfaces = 192.168.0.3

security = domain
encrypt passwords = yes
password server = pdc.mydomain.de

os level = 20

domain master = no
local master = no

map to guest = Bad User

socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY

veto files = /*.eml/*.nws/riched20.dll/*.{*}/

ldap ssl = no
ldap server = pdc.mydomain.de
ldap port = 389
ldap suffix = ou=people,dc=mydomain,dc=de
ldap admin dn = cn=admin,dc=mydomain,dc=de
ldap filter = ((objectClass=sambaAccount)(uid=%u))

load printers = no

[Office]
comment = Office-Daten
path = /var/data/office
write list = @office
force group = office
create mask = 0664
directory mask = 0775
guest ok = yes


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

Re: [Samba] Samba just Slow with AutoCad?

2004-06-08 Thread Brian Merrell
Thanks for your response Jerry.

Yes.  These are all windows XP machines.  We have about four printers here
in the office (all HP hehe).  Only two computers have McAfee Firewalls
installed, the rest do not have firewalls.  We are on a 100 mbps ethernet
with a 16 port hub.  Nothing too fancy.

AutoCad is a strange beast.  No matter what printer you have set up as your
default printer, when you click the print icon or give the print command,
AutoCad comes up with no printer selected in the print dialog, and the user
selects the plotter each time (although you can save your print selections
for each drawing).  I have even tried setting the default printer to the
PDF distiller and it still takes the same ammount of time for the print
dialog to come up.

However, I was just tinkering with the print settings and noticed that the
print dialog comes up normally some times.  i.e. If you click cancel on the
print dialog and then hit the print icon again quickly, it seems to come up
normally.

The other mysterious problem is the time it takes to save.  I just saw a guy
behind me try to save a drawing and it took about 20 seconds.  Something
that never happened before when the files were hosted on an older windows XP
machine with a heavier load.

I'm all out of ideas and really don't want to go back to windows.

brian.





- Original Message - 
From: Gerald (Jerry) Carter [EMAIL PROTECTED]
To: Brian Merrell [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, June 08, 2004 8:27 AM
Subject: Re: [Samba] Samba just Slow with AutoCad?


 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Brian Merrell wrote:
 | No good.  It's still amazingly slow.  It seems to perform
 | just fine until the user tries to print.  There is a huge
 | delay before the print dialog comes up, and when the user
 | tries to save there is another huge delay.  The
 | problem seems to be only with AutoCad.

 Sorry I'm late on this thread.

 Are these XP clients?  Do the clients have a
 active firewall installed.  If the delay is only
 when printing, it is probabl either

 (a) a very chatty printer driver, or
 (b) timeouts when the client tries to
 ~open a print change notify handle.




 cheers, jerry
 - --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 ...a hundred billion castaways looking for a home. --- Sting
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.4 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iD8DBQFAxcznIR7qMdg1EfYRAicSAKDPzwf0vrIpsTgrln1hFnUlZ/VVOgCfXjs8
 XYq6cwr7pC7oqkM0DHab0eU=
 =I89Z
 -END PGP SIGNATURE-


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


Re: [Samba] Samba just Slow with AutoCad?

2004-06-08 Thread Paul Gienger
Do you have any dns service running?  Even if you're running some files 
based stuff (/etc/hosts) make sure that your address match names.  I've 
had issues where they didn't match up before. 

Follow me here...  a machine running dhcp registered itself in dns with 
a particular address.  That user then was given a static address with a 
different name.  The user didn't change his computer name to match dns 
when he went to static, and his machine didn't change its dns 
registration, so it was reporting itself as a name which matched a black 
hole IP address (because it wasn't sitting there any more).  You could 
see in the logs where the samba spooler service would time out trying to 
access the dead address/name combo, and eventually windows would just 
time out and give you the printer box.

Brian Merrell wrote:
Thanks for your response Jerry.
Yes.  These are all windows XP machines.  We have about four printers here
in the office (all HP hehe).  Only two computers have McAfee Firewalls
installed, the rest do not have firewalls.  We are on a 100 mbps ethernet
with a 16 port hub.  Nothing too fancy.
AutoCad is a strange beast.  No matter what printer you have set up as your
default printer, when you click the print icon or give the print command,
AutoCad comes up with no printer selected in the print dialog, and the user
selects the plotter each time (although you can save your print selections
for each drawing).  I have even tried setting the default printer to the
PDF distiller and it still takes the same ammount of time for the print
dialog to come up.
However, I was just tinkering with the print settings and noticed that the
print dialog comes up normally some times.  i.e. If you click cancel on the
print dialog and then hit the print icon again quickly, it seems to come up
normally.
The other mysterious problem is the time it takes to save.  I just saw a guy
behind me try to save a drawing and it took about 20 seconds.  Something
that never happened before when the files were hosted on an older windows XP
machine with a heavier load.
I'm all out of ideas and really don't want to go back to windows.
brian.


- Original Message - 
From: Gerald (Jerry) Carter [EMAIL PROTECTED]
To: Brian Merrell [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, June 08, 2004 8:27 AM
Subject: Re: [Samba] Samba just Slow with AutoCad?

 

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brian Merrell wrote:
| No good.  It's still amazingly slow.  It seems to perform
| just fine until the user tries to print.  There is a huge
| delay before the print dialog comes up, and when the user
| tries to save there is another huge delay.  The
| problem seems to be only with AutoCad.
Sorry I'm late on this thread.
Are these XP clients?  Do the clients have a
active firewall installed.  If the delay is only
when printing, it is probabl either
(a) a very chatty printer driver, or
(b) timeouts when the client tries to
~open a print change notify handle.

cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- http://www.samba.org
GnuPG Key   http://www.plainjoe.org/gpg_public.asc
...a hundred billion castaways looking for a home. --- Sting
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAxcznIR7qMdg1EfYRAicSAKDPzwf0vrIpsTgrln1hFnUlZ/VVOgCfXjs8
XYq6cwr7pC7oqkM0DHab0eU=
=I89Z
-END PGP SIGNATURE-
   

 

--
Paul Gienger Office:701-281-1884
Applied Engineering Inc. Cell:  701-306-6254
Information Systems Consultant   Fax:   701-281-1322
URL: www.ae-solutions.commailto:[EMAIL PROTECTED]
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba WINS fails to resolve isolated name

2004-06-08 Thread Leon Stringer
Hi,

We've got Samba acting as our WINS server. All appears to be operating
correctly except for a single NT 4 server which the WINS server won't
resolve.

- The server is NT4 Server with Exchange.
- It does have the address specified in the network settings and is
using the WINS server for its own resolutions.
- There are wins.dat entries for this server.

So why do I get:

$nmblookup -U 10.0.0.1 -R server1
querying server1 on 10.0.0.1
name_query failed to find name server1

Thanks in advance,

Leon...
Fedora Core 2 2.6.5-1.358/Samba 3.0.4


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


Re: [Samba] Samba just Slow with AutoCad?

2004-06-08 Thread Brian Merrell
I am not using Samba's print service.  All of the individual workstations
have shared printers.  We simply use those.


- Original Message - 
From: Paul Gienger [EMAIL PROTECTED]
To: Brian Merrell [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, June 08, 2004 8:59 AM
Subject: Re: [Samba] Samba just Slow with AutoCad?


 Do you have any dns service running?  Even if you're running some files
 based stuff (/etc/hosts) make sure that your address match names.  I've
 had issues where they didn't match up before.

 Follow me here...  a machine running dhcp registered itself in dns with
 a particular address.  That user then was given a static address with a
 different name.  The user didn't change his computer name to match dns
 when he went to static, and his machine didn't change its dns
 registration, so it was reporting itself as a name which matched a black
 hole IP address (because it wasn't sitting there any more).  You could
 see in the logs where the samba spooler service would time out trying to
 access the dead address/name combo, and eventually windows would just
 time out and give you the printer box.

 Brian Merrell wrote:

 Thanks for your response Jerry.
 
 Yes.  These are all windows XP machines.  We have about four printers
here
 in the office (all HP hehe).  Only two computers have McAfee Firewalls
 installed, the rest do not have firewalls.  We are on a 100 mbps ethernet
 with a 16 port hub.  Nothing too fancy.
 
 AutoCad is a strange beast.  No matter what printer you have set up as
your
 default printer, when you click the print icon or give the print command,
 AutoCad comes up with no printer selected in the print dialog, and the
user
 selects the plotter each time (although you can save your print
selections
 for each drawing).  I have even tried setting the default printer to the
 PDF distiller and it still takes the same ammount of time for the print
 dialog to come up.
 
 However, I was just tinkering with the print settings and noticed that
the
 print dialog comes up normally some times.  i.e. If you click cancel on
the
 print dialog and then hit the print icon again quickly, it seems to come
up
 normally.
 
 The other mysterious problem is the time it takes to save.  I just saw a
guy
 behind me try to save a drawing and it took about 20 seconds.  Something
 that never happened before when the files were hosted on an older windows
XP
 machine with a heavier load.
 
 I'm all out of ideas and really don't want to go back to windows.
 
 brian.
 
 
 
 
 
 - Original Message - 
 From: Gerald (Jerry) Carter [EMAIL PROTECTED]
 To: Brian Merrell [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Tuesday, June 08, 2004 8:27 AM
 Subject: Re: [Samba] Samba just Slow with AutoCad?
 
 
 
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Brian Merrell wrote:
 | No good.  It's still amazingly slow.  It seems to perform
 | just fine until the user tries to print.  There is a huge
 | delay before the print dialog comes up, and when the user
 | tries to save there is another huge delay.  The
 | problem seems to be only with AutoCad.
 
 Sorry I'm late on this thread.
 
 Are these XP clients?  Do the clients have a
 active firewall installed.  If the delay is only
 when printing, it is probabl either
 
 (a) a very chatty printer driver, or
 (b) timeouts when the client tries to
 ~open a print change notify handle.
 
 
 
 
 cheers, jerry
 - --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 ...a hundred billion castaways looking for a home. --- Sting
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.4 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iD8DBQFAxcznIR7qMdg1EfYRAicSAKDPzwf0vrIpsTgrln1hFnUlZ/VVOgCfXjs8
 XYq6cwr7pC7oqkM0DHab0eU=
 =I89Z
 -END PGP SIGNATURE-
 
 
 
 
 
 

 -- 
 Paul Gienger Office: 701-281-1884
 Applied Engineering Inc. Cell: 701-306-6254
 Information Systems Consultant   Fax: 701-281-1322
 URL: www.ae-solutions.commailto:[EMAIL PROTECTED]




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


[Samba] Weird Domain listings

2004-06-08 Thread Paul Espinosa
I'm having an issue with my samba Domains.  When I browse to Microsoft
Windows Network with either Windows 2000 or WinXP I see two copies of the
Domain.  I see the proper domain (I'm using Matrix for testing) Matrix and
I see another Matrix   that appears to have 5 or 6 spaces or a tab
appended onto the end.  The domain w/o the spaces is the proper one, the one
with the spaces doesn't contain any servers or workstation.

This seems to have started after upgrading to samba 3.0.4.

Has anyone seen this before?  And if so what's the solution to this, I don't
want my users to get confused.

Thanks,

Paul Espinosa

I'm using samba 3.0.4-1 and here is the relevant portion of my smb.conf:

#=== Global Settings

[global]

   #== Services 
   wins support = no
   wins server = 10.10.10.10
   time server = yes
   #== Logging 
   log file = /var/log/samba/%m.log
   max log size = 0
   loglevel=0
   syslog=0
   #== Server Definitions ==
   workgroup = MATRIX
   server string =
   netbios name = zion
   security = user
   encrypt passwords = yes
   dns proxy = no
   preserve case = yes
   short preserve case = yes
   case sensitive = no
   username map = /etc/samba/smbusers

   Dos charset = 850
   Unix charset = ISO8859-1

   passdb backend = tdbsam

   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

   local master = yes
   domain master = yes
   preferred master = yes
   domain logons = yes

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


[Samba] uid and gid problems with linux as client and server

2004-06-08 Thread Laurence Rowe
Hi,
I'm using samba 3.0.4 (stock debian packages) as a client and a server. 
The problem is I have a different uid on server (1001) to my client 
(1000) so when I try and access a file I appear to the client as not 
being the owner. I have tried the uid and gid options in smbmount, but 
they do not seem to have any affect (I assume the unix cifs extensions 
are overiding them).

On the server side I have a create mask and a directory mask of 775 but 
this also has no affect.

This is driving me spare! Is there any way to disable the unix cifs 
extensions or to map between uids?

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


RE: [Samba] Samba just Slow with AutoCad?

2004-06-08 Thread Bob Turner
Brian

I might suggest a couple of setting changes on your XP machines:

1) Open services and stop/disable Web Client
2) Open windows explorer, go to toolsfolder options, click the View tab,
and uncheck the Automatically search for network folders and printers

(I'm assuming Windows XP Professional on these settings)

Restart and try your printers again.

Bob



-Original Message-
From: Brian Merrell [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 08, 2004 9:50 AM
To: [EMAIL PROTECTED]
Subject: Re: [Samba] Samba just Slow with AutoCad?

Thanks for your response Jerry.

Yes.  These are all windows XP machines.  We have about four printers here
in the office (all HP hehe).  Only two computers have McAfee Firewalls
installed, the rest do not have firewalls.  We are on a 100 mbps ethernet
with a 16 port hub.  Nothing too fancy.

AutoCad is a strange beast.  No matter what printer you have set up as your
default printer, when you click the print icon or give the print command,
AutoCad comes up with no printer selected in the print dialog, and the user
selects the plotter each time (although you can save your print selections
for each drawing).  I have even tried setting the default printer to the
PDF distiller and it still takes the same ammount of time for the print
dialog to come up.

However, I was just tinkering with the print settings and noticed that the
print dialog comes up normally some times.  i.e. If you click cancel on the
print dialog and then hit the print icon again quickly, it seems to come up
normally.

The other mysterious problem is the time it takes to save.  I just saw a guy
behind me try to save a drawing and it took about 20 seconds.  Something
that never happened before when the files were hosted on an older windows XP
machine with a heavier load.

I'm all out of ideas and really don't want to go back to windows.

brian.





- Original Message - 
From: Gerald (Jerry) Carter [EMAIL PROTECTED]
To: Brian Merrell [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, June 08, 2004 8:27 AM
Subject: Re: [Samba] Samba just Slow with AutoCad?


 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Brian Merrell wrote:
 | No good.  It's still amazingly slow.  It seems to perform
 | just fine until the user tries to print.  There is a huge
 | delay before the print dialog comes up, and when the user
 | tries to save there is another huge delay.  The
 | problem seems to be only with AutoCad.

 Sorry I'm late on this thread.

 Are these XP clients?  Do the clients have a
 active firewall installed.  If the delay is only
 when printing, it is probabl either

 (a) a very chatty printer driver, or
 (b) timeouts when the client tries to
 ~open a print change notify handle.




 cheers, jerry
 - --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 ...a hundred billion castaways looking for a home. --- Sting
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.4 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iD8DBQFAxcznIR7qMdg1EfYRAicSAKDPzwf0vrIpsTgrln1hFnUlZ/VVOgCfXjs8
 XYq6cwr7pC7oqkM0DHab0eU=
 =I89Z
 -END PGP SIGNATURE-


-- 
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] uid and gid problems with linux as client and server

2004-06-08 Thread Paul Espinosa
Laurence,

This is how I mount a samba share on my Linux workstation(all on one line):

sudo mount -t smbfs -o uid=username, ip=10.10.10.10, username=username,
password=password//server/share /home/mydir/dir

This works for me just fine.

-- 
Paul Espinosa
[EMAIL PROTECTED]
IT Supervisor
The World Company
785/312-6912


.[ Laurence Rowe wrote ]
|  
|  
|  Hi,
|  
|  I'm using samba 3.0.4 (stock debian packages) as a client and a server. 
|  The problem is I have a different uid on server (1001) to my client 
|  (1000) so when I try and access a file I appear to the client as not 
|  being the owner. I have tried the uid and gid options in smbmount, but 
|  they do not seem to have any affect (I assume the unix cifs extensions 
|  are overiding them).
|  
|  On the server side I have a create mask and a directory mask of 775 but 
|  this also has no affect.
|  
|  This is driving me spare! Is there any way to disable the unix cifs 
|  extensions or to map between uids?
|  
|  Thanks,
|  
|  Laurence
|  
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Weird Domain listings

2004-06-08 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paul Espinosa wrote:
| I'm having an issue with my samba Domains.  When I
| browse to Microsoft Windows Network with either Windows
| 2000 or WinXP I see two copies of the Domain.  I see the
| proper domain (I'm using Matrix for testing) Matrix and
| I see another Matrix   that appears to have 5 or 6
| spaces or a tab appended onto the end.  The domain w/o
| the spaces is the proper one, the one with the spaces doesn't
| contain any servers or workstation.
|
| This seems to have started after upgrading to samba 3.0.4.
Our bug.  This was fixed post 3.0.5pre1


cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- http://www.samba.org
GnuPG Key   http://www.plainjoe.org/gpg_public.asc
...a hundred billion castaways looking for a home. --- Sting
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAxeCwIR7qMdg1EfYRAv8DAJwPlx0xz665d0JV+wWhEMsfJXhAHACgmBAi
Cbv4Elnj8g8dEIUp2mHt8ko=
=lzzu
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Share trash can?

2004-06-08 Thread Robert Sossomon
Is there a trash can, or a way to add one, so that if a user deletes a
file off the share it just goes away until a nightly purge is done?

Thanks,
Robert

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


Re: [Samba] uid and gid problems with linux as client and server

2004-06-08 Thread Lapin(c)
Hi Paul,

with the same request and Samba 3.0.4, it works fine only for the mount point,
there is no recursive propagation of uid/gid.

# ll /home/mydir/dir
drwxr-xr-x1 lapinlapin4096 2004-06-08 14:15 dir

# ll /home/mydir/dir/file
-rwxrwx---1  1004  100 2901504 1940-10-24 04:26 file


Selon Paul Espinosa [EMAIL PROTECTED]:

 Laurence,
 
 This is how I mount a samba share on my Linux workstation(all on one line):
 
 sudo mount -t smbfs -o uid=username, ip=10.10.10.10, username=username,
 password=password//server/share /home/mydir/dir
 
 This works for me just fine.
 
 -- 
 Paul Espinosa
 [EMAIL PROTECTED]
 IT Supervisor
 The World Company
 785/312-6912
 
 
 .[ Laurence Rowe wrote ]
 |  
 |  
 |  Hi,
 |  
 |  I'm using samba 3.0.4 (stock debian packages) as a client and a server. 
 |  The problem is I have a different uid on server (1001) to my client 
 |  (1000) so when I try and access a file I appear to the client as not 
 |  being the owner. I have tried the uid and gid options in smbmount, but 
 |  they do not seem to have any affect (I assume the unix cifs extensions 
 |  are overiding them).
 |  
 |  On the server side I have a create mask and a directory mask of 775 but 
 |  this also has no affect.
 |  
 |  This is driving me spare! Is there any way to disable the unix cifs 
 |  extensions or to map between uids?
 |  
 |  Thanks,
 |  
 |  Laurence
 |  
 -- 
 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] XP Joining domain

2004-06-08 Thread Derek Harkness
Okay more information...
XP can join my Samba 2.2 domain without any trouble.  But with my Samba 
3.0.4 PDC it join but it puts all Xs in the password file and the 
account is disabled.  I've turned the log level up but don't see any 
blatant error messages.

I'm not sure if this is a related problem but when I copied the 
smbpasswd file from my Samba 2.2 PDC to the 3.0.4 PDC, samba started 
disabling accounts when users logged in.  Again all Xs in the password 
file and a D flag to disable the account.  Why would it be disabling 
accounts?

Thanks,
Derek
On Jun 8, 2004, at 8:13 AM, Derek Harkness wrote:
How does pdbedit help me join a Windows XP client to my Samba domain?
I've read through all the howto section on domain membership.  
Unfortunately the online howto section doesn't have page numbers. :(  
According to the docs I can either add passwd backend = smbpasswd or 
just delete the option from the config file, if the option doesn't 
exist 3.0 falls back to smbpasswd used in 2.2.

The ultimate goal is to move to ldap.  But I can't do that until I get 
samba 3 working.  But why should the back prevent XP from properly 
setting the machine password?  NT 4 and 2K both happily join the 
domain set their password and play VERY nice.  On the client side XP 
tells me it joined the domain, but when I try and login it gives me a 
machine account error messages (see below).  If I login as the local 
Administrator I can even map a drive to the samba server.

Logon error
Windows cannot connect to the domain, either because the domain 
controller is down or otherwise unavailable, or because your computer 
account was not found.  Please try again later.

Thanks for the help!
Derek
On Jun 7, 2004, at 3:31 PM, Jason Gray wrote:
Have you tried pdbedit?  Also, If you read the pages 123 - 138 in the
Samba-How-to Collection you will get a great trouble-shooting section 
and
methods to get your machines and users to connect to your PDC.  You 
will
also need to add the passwd backend = smbpasswd to your smb.conf
file...among other things.  You might want to think about migrating 
to the
tdb password backend instead.  It's more reliable.

Jason
-Original Message-
From: Derek Harkness [mailto:[EMAIL PROTECTED]
Sent: Monday, June 07, 2004 12:00 PM
To: Jason Gray
Subject: Re: [Samba] XP Joining domain
More details...
I'm not using ldap, currently using the smbpasswd backend.  I'm
exploring the migration path from a samba 2.2 installation to samba
3.0.  I'm using the add machine script which is creating an account in
the unix password file, then an account is created in the smbpasswd
file but the account is disabled.
/etc/samba/smbpasswd:xptest$:27652::
:[DW ]:LCT-:
/etc/passwd:xptest$:x:27652:968:NTMachine:/dev/null:/bin/false
My samba configure is more or less default.  Changed things like
workgroup, load printers = no, and added the needed domain options.
Thanks,
Derek
On Jun 7, 2004, at 2:40 PM, Jason Gray wrote:
There is a machine account and user account needed to login.  It
sounds like
you are using LDAP.  If this is the case you need to make sure that a
password is set for the user using smbpasswd username.  It would be
helpful to see your smb.conf file as well.  There are various tools
that you
can use to add both machine and user accounts in the LDAP backend.  
If
you
are using something else as your password backend then let em know
what that
is too.

Jason
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Behalf Of Derek Harkness
Sent: Monday, June 07, 2004 11:20 AM
To: [EMAIL PROTECTED]
Subject: [Samba] XP Joining domain
I'm attempting to join a Samba 3.0.4 domain on a Debian linux box, 
with
a Windows XP client.

Problems
1) Can only get the join to work if I use the root account.  On 
Win2k I
can use any account in the Domain Admins group.
2) The join succeeds, the unix account and the smb account are 
created
but the smb account is disabled, and the password contains all s.
Joining the domain works fine from Win2k.

I've tried adjusting the Signing entries.  I tried manually creating
the machine accounts, and I get a can't access machine account error 
on
login.

Any thoughts?
Thanks!
Derek
This world is a comedy to those who think and a tragedy to those who
feel.

My lack of knowledge is only exceeded by my lack of concern.
--Anonymous GE Engineer

Isn't sanity just a one-trick pony anyway? I mean, all you get is that 
one trick, rational thinking, but when you're good and crazy, well, 
the sky's the limit!
The Tick (comic book)
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
0 and 1. Now what could be so hard about that?


PGP.sig
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  

Re: [Samba] Re: Apostrophes in Windows usernames (again)

2004-06-08 Thread Jeremy Allison
On Tue, Jun 08, 2004 at 08:32:10AM -0400, EXT-Auleta, Michael wrote:
 We tried that also.  It didn't work either.  But since I was pointed to bug
 1221, I removed the matching of an apostrophe in util_str.c (fell back to
 2.2 behaviour) and that looks like it works.  My user is able to map his
 shares again.

Thanks for pointing that one out, I'm going to merge that for 3.0.5.

Cheers,

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


Re: [Samba] Share trash can?

2004-06-08 Thread McKeever Chris


On Tue, 8 Jun 2004 11:55 , Robert Sossomon [EMAIL PROTECTED] sent:

Is there a trash can, or a way to add one, so that if a user deletes a
file off the share it just goes away until a nightly purge is done?



kind of - you can make a morning mirror to a different direcory using pointers

/samba = data directory
/mirror = mirror directory

cp -al /samba/* /mirror/*

if someone deletes something it still exists in the mirror till you delete the mirror 
for the next day's mirror - but in essesce, this technique uses 
so little space that you can have weeks and weeks of DELTA changes files..it is harder 
to explain than view..for example, I have 6 months of 
backups tkaing up less than 5% more diskspace than the actual files themselves (this 
of course is use determined)

Thanks,
Robert

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


---
Chris McKeever
If you want to reply directly to me, please use cgmckeever--at--prupref---dot---com
A href=http://www.prupref.com;www.prupref.com/A
Prudential Preferred Properties
A href=http://www.prupref.com;Chicago and Illinois NorthShore Real Estate 
Experts/A



 Prudential Preferred Properties   www.prupref.com
Success Driven By Results
   Results Driven By Commitment
  Commitment Driven By Integrity
 We Are Prudential Preferred Properties
   
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] hide unreadable

2004-06-08 Thread Marcel de Riedmaten
??
 Hello everyone
 I am trying to use hide unreadable = yes in my [global] section and 
 having some problems - I make a share and then add valid users = 
 @MYDOMAIN+group - this works to protect access, but it is still visible 
 to non-priveleged users (even though they cant get in) - is there 
 something I need to do to make these shares hidden?

Hi

This is not supposed to work with share. It works with files and
directory. For share you could try  browseable = No in the share
definition.

-- 
Marcel de Riedmatten


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


Re: [Samba] Re: Apostrophes in Windows usernames (again)

2004-06-08 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jeremy Allison wrote:
|
| We tried that also.  It didn't work either.  But since
| I was pointed to bug1221, I removed the matching of an
| apostrophe in util_str.c (fell back to2.2 behaviour) and that
| looks like it works.  My user is able to map his
| shares again.
|
|
| Thanks for pointing that one out, I'm going to
| merge that for 3.0.5.
please don't.  The change was done to fix SWAT and I
haven't figured out how to fix one without breaking the
other.  I just need some time to think and code up a workable
solution.

cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- http://www.samba.org
GnuPG Key   http://www.plainjoe.org/gpg_public.asc
...a hundred billion castaways looking for a home. --- Sting
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAxfKtIR7qMdg1EfYRAt+DAKDBboEEOgpsGrn9bOkvmnYgf4hxdQCffpnL
RA44/BxyimK0QIcKpz5eWO8=
=WsjG
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Samba just Slow with AutoCad?

2004-06-08 Thread Terry L. Eleiott
Brian,


1.   Which release of AutoCAD are you using?

2.   Are the support files for AutoCAD on the client or the server?

3.   Are you using cups?

4.   Is it true that your plotter settings are not being saved with the
drawing?  Was this true when you were using a windows server?

5.   Normally when AutoCAD is opening the print dialog box in an existing
drawing, it is trying to find the printer that was used by the last session
of Autocad. If it can't find that printer, it produces the printer none.
Are you loading your printers from the server such that each client has the
identical printer name?

6.   Are the network directories being used by AutoCAD the same as being
used by the other programs that don't exhibit the long save times?

We use AutoCAD 2000, 2002,  2004 with RH E3.0 and Samba 3.0.2-6.3E with no
delays in saving or printing and have achieved better performance than the
previous W2k server.  With a little more information we might be able to
assist in finding the bottleneck.

Terry

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Bob Turner
Sent: Tuesday, June 08, 2004 10:45 AM
To: 'Brian Merrell'; [EMAIL PROTECTED]
Subject: RE: [Samba] Samba just Slow with AutoCad?

Brian

I might suggest a couple of setting changes on your XP machines:

1) Open services and stop/disable Web Client
2) Open windows explorer, go to toolsfolder options, click the View tab,
and uncheck the Automatically search for network folders and printers

(I'm assuming Windows XP Professional on these settings)

Restart and try your printers again.

Bob



-Original Message-
From: Brian Merrell [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 08, 2004 9:50 AM
To: [EMAIL PROTECTED]
Subject: Re: [Samba] Samba just Slow with AutoCad?

Thanks for your response Jerry.

Yes.  These are all windows XP machines.  We have about four printers here
in the office (all HP hehe).  Only two computers have McAfee Firewalls
installed, the rest do not have firewalls.  We are on a 100 mbps ethernet
with a 16 port hub.  Nothing too fancy.

AutoCad is a strange beast.  No matter what printer you have set up as your
default printer, when you click the print icon or give the print command,
AutoCad comes up with no printer selected in the print dialog, and the user
selects the plotter each time (although you can save your print selections
for each drawing).  I have even tried setting the default printer to the
PDF distiller and it still takes the same ammount of time for the print
dialog to come up.

However, I was just tinkering with the print settings and noticed that the
print dialog comes up normally some times.  i.e. If you click cancel on the
print dialog and then hit the print icon again quickly, it seems to come up
normally.

The other mysterious problem is the time it takes to save.  I just saw a guy
behind me try to save a drawing and it took about 20 seconds.  Something
that never happened before when the files were hosted on an older windows XP
machine with a heavier load.

I'm all out of ideas and really don't want to go back to windows.

brian.





- Original Message - 
From: Gerald (Jerry) Carter [EMAIL PROTECTED]
To: Brian Merrell [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, June 08, 2004 8:27 AM
Subject: Re: [Samba] Samba just Slow with AutoCad?


 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Brian Merrell wrote:
 | No good.  It's still amazingly slow.  It seems to perform
 | just fine until the user tries to print.  There is a huge
 | delay before the print dialog comes up, and when the user
 | tries to save there is another huge delay.  The
 | problem seems to be only with AutoCad.

 Sorry I'm late on this thread.

 Are these XP clients?  Do the clients have a
 active firewall installed.  If the delay is only
 when printing, it is probabl either

 (a) a very chatty printer driver, or
 (b) timeouts when the client tries to
 ~open a print change notify handle.




 cheers, jerry
 - --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 ...a hundred billion castaways looking for a home. --- Sting
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.4 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iD8DBQFAxcznIR7qMdg1EfYRAicSAKDPzwf0vrIpsTgrln1hFnUlZ/VVOgCfXjs8
 XYq6cwr7pC7oqkM0DHab0eU=
 =I89Z
 -END PGP SIGNATURE-


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


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  

Re: [Samba] Samba just Slow with AutoCad?

2004-06-08 Thread Brian Merrell
Terry, Thanks a lot for your reply.  We're really trying to solve this
problem.


 Brian,


 1.   Which release of AutoCAD are you using?

Autodesk Land Desktop 2004
2004.0.0
Service Pack 1


 2.   Are the support files for AutoCAD on the client or the server?


On the clients.

 3.   Are you using cups?


No.

 4.   Is it true that your plotter settings are not being saved with the
 drawing?  Was this true when you were using a windows server?


They are being saved with the drawings.  They were also being saved with
the drawings on the windows server.  (the windows server was actually just
another client that shared it's HD).

 5.   Normally when AutoCAD is opening the print dialog box in an existing
 drawing, it is trying to find the printer that was used by the last
session
 of Autocad. If it can't find that printer, it produces the printer none.
 Are you loading your printers from the server such that each client has
the
 identical printer name?


First of all, you're right.  The print dialog only produces the printer
none when it's a new drawing.
Otherwise, it saves the print settings.  But we still experience a delay
independant of whether we
are printing from a new drawing or an existing one.  The printers aren't on
the server, and we do
not have identical printer name.

 6.   Are the network directories being used by AutoCAD the same as being
 used by the other programs that don't exhibit the long save times?


No.  AutoCad drawings are stored on a seperate harddrive and a different
directory.  However,
after reading this e-mail I moved a TIF image to the autocad directory and
opened them from
Adobe Photoshop.  I then modified and saved the drawing and there was no
delay.  There was also no
delay for opening a print dialog.  The problem continues to be only with
AutoCad.


 We use AutoCAD 2000, 2002,  2004 with RH E3.0 and Samba 3.0.2-6.3E with
no
 delays in saving or printing and have achieved better performance than the
 previous W2k server.  With a little more information we might be able to
 assist in finding the bottleneck.

 Terry

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On
Behalf
 Of Bob Turner
 Sent: Tuesday, June 08, 2004 10:45 AM
 To: 'Brian Merrell'; [EMAIL PROTECTED]
 Subject: RE: [Samba] Samba just Slow with AutoCad?

 Brian

 I might suggest a couple of setting changes on your XP machines:

 1) Open services and stop/disable Web Client
 2) Open windows explorer, go to toolsfolder options, click the View tab,
 and uncheck the Automatically search for network folders and printers

 (I'm assuming Windows XP Professional on these settings)

 Restart and try your printers again.

 Bob



 -Original Message-
 From: Brian Merrell [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, June 08, 2004 9:50 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [Samba] Samba just Slow with AutoCad?

 Thanks for your response Jerry.

 Yes.  These are all windows XP machines.  We have about four printers here
 in the office (all HP hehe).  Only two computers have McAfee Firewalls
 installed, the rest do not have firewalls.  We are on a 100 mbps ethernet
 with a 16 port hub.  Nothing too fancy.

 AutoCad is a strange beast.  No matter what printer you have set up as
your
 default printer, when you click the print icon or give the print command,
 AutoCad comes up with no printer selected in the print dialog, and the
user
 selects the plotter each time (although you can save your print selections
 for each drawing).  I have even tried setting the default printer to the
 PDF distiller and it still takes the same ammount of time for the print
 dialog to come up.

 However, I was just tinkering with the print settings and noticed that the
 print dialog comes up normally some times.  i.e. If you click cancel on
the
 print dialog and then hit the print icon again quickly, it seems to come
up
 normally.

 The other mysterious problem is the time it takes to save.  I just saw a
guy
 behind me try to save a drawing and it took about 20 seconds.  Something
 that never happened before when the files were hosted on an older windows
XP
 machine with a heavier load.

 I'm all out of ideas and really don't want to go back to windows.

 brian.





 - Original Message - 
 From: Gerald (Jerry) Carter [EMAIL PROTECTED]
 To: Brian Merrell [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Tuesday, June 08, 2004 8:27 AM
 Subject: Re: [Samba] Samba just Slow with AutoCad?


  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  Brian Merrell wrote:
  | No good.  It's still amazingly slow.  It seems to perform
  | just fine until the user tries to print.  There is a huge
  | delay before the print dialog comes up, and when the user
  | tries to save there is another huge delay.  The
  | problem seems to be only with AutoCad.
 
  Sorry I'm late on this thread.
 
  Are these XP clients?  Do the clients have a
  active firewall installed.  If the delay is only
  when printing, it is probabl either
 

[Samba] example trash can

2004-06-08 Thread brian
Hi,

I've the Samba howto but am a bit confused on how to 
implement vfs to use the desktop trash can for Samba shares.

Would anyone mind giving me an example?

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


[Samba] Identical machine name problem

2004-06-08 Thread Michael Padilla
hello

im trying to rejoin one machine which i scratch-installed on my domain and
when i boot up my pc it says Machine has same name on the network or
something like that

how can i remove the name in my samba server and rejoin this pc successfully
on my domain  i tried deleting it in smbpasswd and deluser on my debian
linux box but still the message appears

thanks a lot

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


[Samba] samba 3.0.4 and AD

2004-06-08 Thread vmsamba
Hi,
Has any of you successfully configured Samba 3.0.4 to work with AD? I am
not sure that works at all or I should use version 3.0.0.
Thanks,
Vahid.

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


RE: [Samba] Samba just Slow with AutoCad?

2004-06-08 Thread David Brodbeck
Make sure your network doesn't have any problems with mismatched duplex
settings, excessive collisions, etc.  I had this problem once and it
crippled anything that tried to copy a large file to the server.  It showed
up worst with AutoCAD because it generated the most network traffic.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: AW: [Samba] why doesn't Samba Server want my password?

2004-06-08 Thread Stéphane Purnelle
I just want to see the security level (user, share, ad, , server, domain)
The testparm output show all param, could you send this output ?
wuelf a écrit :
Testparm says revalidate is an unknown command and is ignored.
I erased the revalidate lines but nothing changed
wuelf
-Ursprüngliche Nachricht-
Von: Stéphane Purnelle [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 8. Juni 2004 22:07
An: wuelf
Betreff: Re: [Samba] why doesn't Samba Server want my password?

wuelf a écrit :
 

hello,
I've got a strange problem here. i set up a samba server on a trustix
linux system, everything works fine except for 

the fact that a user on a windows machine can log on to his account on
the server without having to give a password. 

He's logged on on the Winxp pc with his username(same as on the server)
but without a password. 

i don't understand what's going on, I guess it's something quite
   

trivial
 

but so far neither google nor the howtos I've read have given me an
answer, hope someone can help me.

here's my smb.conf:
# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2004/06/06 17:22:14
# Global parameters
[global]
  workgroup = NETZ
  server string = Samba Server
  interfaces = eth0
  passdb backend = tdbsam
  log file = /var/log/samba/log.%I
  max log size = 50
  os level = 32
  preferred master = No
  domain master = No
  default service = homes
[homes]
  comment = Home Directories
  valid users = %S
  read only = No
  browseable = No
[netlogon]
  comment = Network Logon Service
  path = /home/samba/netlogon
  guest ok = Yes
  share modes = No
[printers]
  comment = All Printers
  path = /var/spool/samba
  printable = Yes
  browseable = No
[Projekte]
  path = /data/projekte
  valid users = u1, u2, u3
  read only = No

   

What the testparm says ?
 


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


[Samba] Samba, LDAP and machine account weirdness....

2004-06-08 Thread Chris Bradshaw
Hi

I am using Samba 3.0.2 with LDAP as the passdb backend for both user accounts
and for machine accounts.

I have noticed something which looks a bit strange. It seems that at least some
machines (I don't think all machines, but can't be sure as of yet) appear to be
having sambaPwdCanChange and sambaPwdLastChange modified in their account entry
in the LDAP tree.

I thought that the only time any machine account attributes would be
added/altered is when the machine account is initially added. 

One machine seems to be having these attributes in its machine account altered
every 15 minutes.other machines seem to only have this occur once or twice.

Another strange thing I have noticed is that for all of these machines, both the
sambaLMPassword and sambaNTPassword hashes are identical.I thought that
these would/should always be different (open to correction on this ;-)

Everything seems to work OK, but this is generating some load on our LDAP
servers (master and replicas) and also I am concerned that perhaps we have been
hacked or perhaps a Windoze virus is causing this to happen. 

However, I am not aware of any viruses which attack an NT domain server and
cause machine accounts to be altered.besides, the virus would need to know a
login/password with sufficient privilege to update the machine account via samba.

Could this be a hack or a virus? 

Or is there any setting in Windoze (registry or something) which would cause a
machine to try to update its machine account in some way?

Or is there anything else which might cause this (eg: a difference in the time
on samba and LDAP servers?)?

Sorry if this seems a but vague and lacking any more detail, but I am baffled
myself.

If anyone has any suggestions or advice I would be most grateful.

Thanx in advance.

Chris Bradshaw


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


[Samba] What about domain trusts

2004-06-08 Thread Tom Skeren
Say between a Samba 3.0.4 and win2k machine?
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] What about domain trusts

2004-06-08 Thread Greg Folkert
On Tue, 2004-06-08 at 16:40, Tom Skeren wrote:
 Say between a Samba 3.0.4 and win2k machine?

YES. Can be done.


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

[Samba] samba 3.0.4 ldap replication and tls will not work

2004-06-08 Thread Troy Kruschel
I recently installed samba 3.0.4 with ldap on fedora core 1 and 2.  
Eveything works fine except for when I turn on tls which I need for 
secuity.  I get tls handshake errors and nothing will work.  I had the 
same setup with redhat 7.1 samba 2.28 and ldap and tls worked great.  I 
seem to have tracked it down to the ldap libraries.  If I use ldap 
libraries 2.1.16 or up the tls handshake errors show up.  If I use ldap 
libraries lower than this tls will work if pointed to the master but if 
pointed to a slave ldap server a segmentaion fault happens when I try to 
change passwords or add machines.  Replication works fine with tls off.  
Any ideas if this is a bug in samba, ldap or has something changed in 
samba 3 and I am doing something wrong
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] What about domain trusts

2004-06-08 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Greg Folkert wrote:
| On Tue, 2004-06-08 at 16:40, Tom Skeren wrote:
|
|Say between a Samba 3.0.4 and win2k machine?
for what's its worth, there is a bug in Samba
3.0.5pre1 and previous that prevents you from verifying
the trusts using the Win2k mmc plugin (although the
trust works fine).  This was recently fixed and will be
working in 3.0.5pre2 (not eta on that release right now).


cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAxjw8IR7qMdg1EfYRAiNjAKDq0XyBWWpL151pmJ1R/ENnKbGrmACg3YgF
c2ixkA5LOxWsYD5zIFO7r2Q=
=imlP
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] What about domain trusts

2004-06-08 Thread Tom Skeren
Any info would be appreciated.  I've added the samba server as a one way 
trust in win2k, but the domain machines can't access the sambaa share 
(access denied) although the win2k servers can.  Really would like the 
samba server to show up in DFS, well it does, but the users acces is denied.

Greg Folkert wrote:
On Tue, 2004-06-08 at 16:40, Tom Skeren wrote:
 

Say between a Samba 3.0.4 and win2k machine?
   

YES. Can be done.
 

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


Re: [Samba] What about domain trusts

2004-06-08 Thread Greg Folkert
On Tue, 2004-06-08 at 18:24, Tom Skeren wrote:
 Any info would be appreciated.  I've added the samba server as a one
 way trust in win2k, but the domain machines can't access the sambaa
 share (access denied) although the win2k servers can.  Really would
 like the samba server to show up in DFS, well it does, but the users
 acces is denied.
 
 Greg Folkert wrote:
  On Tue, 2004-06-08 at 16:40, Tom Skeren wrote:

   Say between a Samba 3.0.4 and win2k machine?
   
  YES. Can be done.

http://us1.samba.org/samba/docs/man/howto/InterdomainTrusts.html

http://us1.samba.org/samba/docs/man/howto/msdfs.html

Good luck
-- 
[EMAIL PROTECTED]
REMEMBER ED CURRY! http://www.iwethey.org/ed_curry

Novell's Directory Services is a competitive product to Microsoft's
Active Directory in much the same way that the Saturn V is a competitive
product to those dinky little model rockets that kids light off down at
the playfield. -- Thane Walkup


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

[Samba] School Project....

2004-06-08 Thread paul hibbert
Hello...
I am currently enrolled at St. Clair County Community College, with four 
colleges we were assigned to build a Samba Server, in our Server + class.
We have a deadline of four weeks, and in hopes of receiving t-shirts, ball 
caps, for our own team samba, when it comes time to go live with our server.
Never hearing of Samba, now doing research and planning, we are looking 
forward to creating this server.
If you could find it in your heart, to help college students, it would be 
the cherry on the cake for our presentation. Sizes 3 larges, 2 Xtra larges.

Paul M. Hibbert
6421 Dyke Rd
Algonac, MI 48001
_
Getting married? Find great tips, tools and the latest trends at MSN Life 
Events. http://lifeevents.msn.com/category.aspx?cid=married

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


RE: [Samba] School Project....

2004-06-08 Thread mconnor
If you could find it in your heart, to help college students, it would be
the cherry on the cake for our presentation. Sizes 3 larges, 2 Xtra larges.

Paul:

Exactly what part of the process do you need help with?

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


[Samba] Win98 Network File Caching?

2004-06-08 Thread David Rea
Hi Guys,

This is a strange one. We use Samba on a SCO UNIX Box that shares various
files out. If you are on a Win98 system and copy a text document over to the
local disk on win98 and then modify the file on a single line from the SCO
system and then re-copy that file again to the 98 box it doesn't recognise
any difference. It doesn't appear to occur with XP and Linux systems
mounting the Samba shares at all. So I am assuming this is a problem with
Win98?

Can anyone please share some light on this subject, I have done lots and
lots of searching with no luck on how to overcome this issue. I have tried
various things like disable caching on Windows etc etc etc. Nothing helps
:-(

Thanks

--
Regards,

David Rea
IT Support
Ultra Trace Pty Ltd
Ph:  (08) 9456 0404
Fax: (08) 9456 0403
Web: http://www.ultratrace.com.au

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


[Samba] Issue listing hosts with SMBCLIENT

2004-06-08 Thread Stuart J. Browne
Hi,

We recently upgraded from samba 2.2.8 to 3.0.2 (RH package, 3.0.2-6.E3)
on a Linux (RHES3) server, and have had a few weird things start
happening.

I've set up samba on this machine as a local master = yes, preferred
master = yes, domain master = yes, an os level of 60 (as it was set up
previously), and things were working fine.

After a week or so however, it started loosing browser elections to an
XP Pro laptop.  That issue is resolved now.

However, after that happened, a number of machines on the network, also
XP Pro, are no longer showing up in the 'Server' list when doing:

smbclient -N -L localhost

on the samba server.

Using 'smbclient' to list the shares on the individual Pc's works fine.

I've read a few posts saying that shares with 's in the description or
name causes issues, so removed all of those.  It also wouldn't list any
share that was longer than 12 characters, so shortened the share names
appropraitely, but 3 machines still refuse to show up.

There is no firewalling between them, and they are on the same network
segment and ip subnet.

What areas in particular should I look into to figure out why the server
isn't remembering these workstation PC's?

Stuart

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


[Samba] getent passwd wbinfo -u not working

2004-06-08 Thread Sahibzada Junaid Noor
HI,

   i had messed up with the pam.d so i did a fresh
install.

 now after this fresh install some how getent passwd
and wbinfo -u is not working.

the rest of the commands

kinit
net ads join

are ok. 

[EMAIL PROTECTED] samba]# wbinfo -u
Error looking up domain users

and getent passwd simply returns me to the prompt
after listing the names of the local users and groups

any know how whats going on?

=

  Sahibzada Junaid Noor  
  Ph   #  (+92) (051) 5950 940
  Cell #   (+92) (0333) 5223586
  Qazi plaza,Third Floor,Commerical Market,Chaklala Scheme 3,
  Rawalpindi
  Islamic Republic of Pakistan 









__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.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] Win98 Network File Caching?

2004-06-08 Thread Jeremy Allison
On Wed, Jun 09, 2004 at 09:33:30AM +0800, David Rea wrote:
 Hi Guys,
 
 This is a strange one. We use Samba on a SCO UNIX Box that shares various
 files out. If you are on a Win98 system and copy a text document over to the
 local disk on win98 and then modify the file on a single line from the SCO
 system and then re-copy that file again to the 98 box it doesn't recognise
 any difference. It doesn't appear to occur with XP and Linux systems
 mounting the Samba shares at all. So I am assuming this is a problem with
 Win98?
 
 Can anyone please share some light on this subject, I have done lots and
 lots of searching with no luck on how to overcome this issue. I have tried
 various things like disable caching on Windows etc etc etc. Nothing helps
 :-(

This is almost certainly due to oplocks on the client. To
prevent this either turn off oplocks on the Samba server
(oplocks = no on the share definition) or use Linux, which
has a kernel that natively supports oplocks. Hmmm. As you're
on a SCO system I'd definitely suggest the latter. Using a
system whose author shows a predilection for suing their
own customers isn't a good idea...

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


RE: [Samba] Win98 Network File Caching?

2004-06-08 Thread David Rea
Hi Jeremy,

Thanks very much. I will give that a shot little later today. I am assuming
that it doesn't affect any other OS client side except for 95  98
Strange.

Cheers

Regards,
Dave

 This is almost certainly due to oplocks on the client. To
 prevent this either turn off oplocks on the Samba server
 (oplocks = no on the share definition) or use Linux, which
 has a kernel that natively supports oplocks. Hmmm. As you're
 on a SCO system I'd definitely suggest the latter. Using a
 system whose author shows a predilection for suing their
 own customers isn't a good idea...

 Jeremy.

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


Antwort: [Samba] Samba just Slow with AutoCad?

2004-06-08 Thread Stefan . Iven




Hello,

I had that problem, too.
The reason therefor were bad rights on the printer.
That solved the problem for us.
Maybe that can helpyou.


MfG Stefan

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


[Samba] samba ldap with smbldap-tools cant join domain.

2004-06-08 Thread Muhammad Reza
Dear Lists
I have problem regarding configuring samba as domain controller with 
ldap authentication 
I use Samba-3.0.3-5 with Openldap-2.1.29 (running on Fedora Core 2).
I  follow guide from  www.idealx.org/prj/samba/smbldap-howto.en.html, 
with recent smbldap-tools for RedHat RPM,
Installation those packet was successfull,  so did  user management with 
smbldap-tools, i can login from another unix machine (ssh) with ldap 
account.
But when i try to join my windows machine to new domain controller with 
samba Administrator account and password , workstation always complain 
something about Logon Failure  Unknown user name or Bad Password
Log form my domain controller machine is (syslog 4) :
# tail -f log.smbd
[2004/06/09 11:54:12, 2] lib/smbldap.c:smbldap_search_domain_info(1344)
 Searching for:[((objectClass=sambaDomain)(sambaDomainName=SMB3))]
[2004/06/09 11:54:12, 2] lib/smbldap.c:smbldap_open_connection(639)
 smbldap_open_connection: connection opened
[2004/06/09 11:54:12, 3] lib/smbldap.c:smbldap_connect_system(806)
 ldap_connect_system: succesful connection to the LDAP server
[2004/06/09 11:54:12, 4] lib/smbldap.c:smbldap_open(857)
 The LDAP server is succesful connected
#tail -f log.(windows machine)[2004/06/09 11:54:12, 3] 
smbd/oplock.c:init_oplocks(1257)
 open_oplock ipc: pid = 2740, global_oplock_port = 1025
[2004/06/09 11:54:12, 4] lib/time.c:get_serverzone(122)
 Serverzone is -25200
[2004/06/09 11:54:12, 3] smbd/process.c:process_smb(890)
 Transaction 0 of length 72
[2004/06/09 11:54:12, 2] smbd/reply.c:reply_special(208)
 netbios connect: name1=PDC-SMB3name2=BACKUP
[2004/06/09 11:54:12, 2] smbd/reply.c:reply_special(215)
 netbios connect: local=pdc-smb3 remote=backup, name type = 0

#cat /etc/samba/smb.conf
# Global parameters
[global]
   workgroup = SMB3
   netbios name = PDC-SMB3
   interfaces = 172.16.0.232
   username map = /etc/samba/smbusers
   admin users= Administrator @Domain Admins
   server string = Samba Server %v
   security = user
   encrypt passwords = Yes
   min passwd length = 3
   obey pam restrictions = No
   passwd chat = *New*password* %n\n *Retype*new*password* %n\n 
*all*authentication*tokens*updated*
   passwd program = /usr/local/sbin/smbldap-passwd %u
   ldap passwd sync = Yes
   log level = 4
   syslog = 0
   log file = /var/log/samba/log.%m
   max log size = 10
   time server = Yes
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   mangling method = hash2
   Dos charset = 850
   Unix charset = ISO8859-1

   logon script = logon.bat
   logon drive = H:
   logon home =
   logon path =
   domain logons = Yes
   os level = 65
   preferred master = Yes
   domain master = Yes
   wins support = Yes
   passdb backend = ldapsam:ldap://127.0.0.1/
   # passdb backend = ldapsam:ldap://127.0.0.1/ 
ldap://slave.idealx.com;
   ldap admin dn = cn=Manager,dc=mragroup,dc=net
   ldap suffix = dc=mragroup,dc=net
   ldap group suffix = ou=Groups
   ldap user suffix = ou=Users
   ldap machine suffix = ou=Computers
   ldap idmap suffix = ou=Users
   #ldap ssl = start tls
   add user script = /usr/local/sbin/smbldap-useradd -m %u
   ldap delete dn = Yes
   #delete user script = /usr/local/sbin/smbldap-userdel %u
   add machine script = /usr/local/sbin/smbldap-useradd -w %u
   add group script = /usr/local/sbin/smbldap-groupadd -p %g
   #delete group script = /usr/local/sbin/smbldap-groupdel %g add 
user to group script = /usr/local/sbin/smbldap-groupmod -m %u %g
   delete user from group script = /usr/local/sbin/smbldap-groupmod 
-x %u %g
   set primary group script = /usr/local/sbin/smbldap-usermod -g 
%g %u
   add user to group script = /usr/local/sbin/smbldap-groupmod -m 
%u %g
--snip---

Is there something i missed ? i assumed that samba now can connect to 
ldap service, and  i have an Adminstrator account at ldap DIT  and at 
secret.tdb with right password why still i can join my windows machine ? 
i even add mahine name to DIT.

Please help me, any suggest is very appriciate, and sorry for my poor 
english

regards
reza 

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


svn commit: samba r1083 - branches/SAMBA_4_0/source/build/pidl

2004-06-08 Thread tpot
Author: tpot
Date: 2004-06-08 12:33:47 + (Tue, 08 Jun 2004)
New Revision: 1083

Modified:
   branches/SAMBA_4_0/source/build/pidl/eparser.pm
   branches/SAMBA_4_0/source/build/pidl/packet-dcerpc-eparser.c
   branches/SAMBA_4_0/source/build/pidl/packet-dcerpc-eparser.h
   branches/SAMBA_4_0/source/build/pidl/pidl.pl
Log:
Generate prototypes for structs and unions marked public in the idl.

Delete various hacks to work around not doing this before.


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=1083nolog=1


svn commit: samba-web r89 - trunk/vendors

2004-06-08 Thread jerry
Author: jerry
Date: 2004-06-08 13:50:24 + (Tue, 08 Jun 2004)
New Revision: 89

Modified:
   trunk/vendors/index.html
Log:
fixing temporatu glitch for deryck (while he's at work)

WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=samba-webpath=/rev=89nolog=1


svn commit: samba r1084 - in trunk/source: client include lib locking printing rpc_server script smbd

2004-06-08 Thread jra
Author: jra
Date: 2004-06-08 16:14:19 + (Tue, 08 Jun 2004)
New Revision: 1084

Modified:
   trunk/source/client/client.c
   trunk/source/include/local.h
   trunk/source/include/smb.h
   trunk/source/lib/time.c
   trunk/source/locking/locking.c
   trunk/source/printing/nt_printing.c
   trunk/source/rpc_server/srv_srvsvc_nt.c
   trunk/source/script/mkproto.awk
   trunk/source/smbd/close.c
   trunk/source/smbd/dir.c
   trunk/source/smbd/nttrans.c
   trunk/source/smbd/open.c
   trunk/source/smbd/oplock.c
   trunk/source/smbd/process.c
   trunk/source/smbd/reply.c
   trunk/source/smbd/trans2.c
Log:
Now it's had some proper user testing, merge in the deferred open fix. I'm
still doing more testing, but it fixes a behaviour that we've been wrong
on ever since the start of Samba.
Jeremy.


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/trunk/sourcerev=1084nolog=1


svn commit: samba r1085 - in branches/SAMBA_3_0/source: client include lib locking printing rpc_server script smbd

2004-06-08 Thread jra
Author: jra
Date: 2004-06-08 16:14:31 + (Tue, 08 Jun 2004)
New Revision: 1085

Modified:
   branches/SAMBA_3_0/source/client/client.c
   branches/SAMBA_3_0/source/include/local.h
   branches/SAMBA_3_0/source/include/smb.h
   branches/SAMBA_3_0/source/lib/time.c
   branches/SAMBA_3_0/source/locking/locking.c
   branches/SAMBA_3_0/source/printing/nt_printing.c
   branches/SAMBA_3_0/source/rpc_server/srv_srvsvc_nt.c
   branches/SAMBA_3_0/source/script/mkproto.awk
   branches/SAMBA_3_0/source/smbd/close.c
   branches/SAMBA_3_0/source/smbd/dir.c
   branches/SAMBA_3_0/source/smbd/nttrans.c
   branches/SAMBA_3_0/source/smbd/open.c
   branches/SAMBA_3_0/source/smbd/oplock.c
   branches/SAMBA_3_0/source/smbd/process.c
   branches/SAMBA_3_0/source/smbd/reply.c
   branches/SAMBA_3_0/source/smbd/trans2.c
Log:
Now it's had some proper user testing, merge in the deferred open fix. I'm
still doing more testing, but it fixes a behaviour that we've been wrong
on ever since the start of Samba.
Jeremy.


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_3_0/sourcerev=1085nolog=1


svn commit: samba r1086 - in branches/SAMBA_4_0/source: lib torture torture/basic

2004-06-08 Thread jra
Author: jra
Date: 2004-06-08 19:25:26 + (Tue, 08 Jun 2004)
New Revision: 1086

Modified:
   branches/SAMBA_4_0/source/lib/time.c
   branches/SAMBA_4_0/source/torture/basic/denytest.c
   branches/SAMBA_4_0/source/torture/torture.c
Log:
Add defer open test to check timeout on sharing violation open.
This has found some signing errors in the Samba3.0 implementation
of the deferred open code. Still working on these...
Jeremy


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_4_0/sourcerev=1086nolog=1


svn commit: samba r1087 - in branches/SAMBA_3_0/source: lib param

2004-06-08 Thread jerry
Author: jerry
Date: 2004-06-08 20:10:26 + (Tue, 08 Jun 2004)
New Revision: 1087

Modified:
   branches/SAMBA_3_0/source/lib/util_str.c
   branches/SAMBA_3_0/source/param/loadparm.c
Log:
BUG 1221: revert old change that used single and double quotes as delimters in 
next_token(), and change print_parameter() to print out parm values surrounded by 
double quotes (instead of single quotes)

WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_3_0/sourcerev=1087nolog=1


svn commit: samba r1088 - in trunk/source: lib param

2004-06-08 Thread jerry
Author: jerry
Date: 2004-06-08 20:12:36 + (Tue, 08 Jun 2004)
New Revision: 1088

Modified:
   trunk/source/lib/util_str.c
   trunk/source/param/loadparm.c
Log:
BUG 1221: revert old change that used single and double quotes as delimters in 
next_token(), and change print_parameter() to print out parm values surrounded by 
double quotes (instead of single quotes)

WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/trunk/sourcerev=1088nolog=1


svn commit: samba r1089 - branches/SAMBA_3_0/source/smbd

2004-06-08 Thread jra
Author: jra
Date: 2004-06-08 22:13:59 + (Tue, 08 Jun 2004)
New Revision: 1089

Modified:
   branches/SAMBA_3_0/source/smbd/open.c
   branches/SAMBA_3_0/source/smbd/oplock.c
   branches/SAMBA_3_0/source/smbd/process.c
Log:
Removed spurious oplock message in deferred open processing.
Fix smb signing sequence counts.
Jeremy.


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=1089nolog=1


svn commit: samba-web r90 - trunk

2004-06-08 Thread sfrench
Author: sfrench
Date: 2004-06-08 22:43:39 + (Tue, 08 Jun 2004)
New Revision: 90

Modified:
   trunk/Linux_CIFS_client.html
Log:
Update cifs vfs web page for 1.17d 


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=samba-webpath=/rev=90nolog=1


svn commit: samba r1091 - in branches/SAMBA_4_0/source: libcli/raw torture

2004-06-08 Thread jra
Author: jra
Date: 2004-06-09 00:07:59 + (Wed, 09 Jun 2004)
New Revision: 1091

Modified:
   branches/SAMBA_4_0/source/libcli/raw/smb_signing.c
   branches/SAMBA_4_0/source/torture/torture.c
Log:
Added in timing tests for deferred opens. Added extra debug info to signing
mistakes.
Jeremy.


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_4_0/sourcerev=1091nolog=1


svn commit: samba r1093 - branches/SAMBA_3_0/source/smbd

2004-06-08 Thread jra
Author: jra
Date: 2004-06-09 00:43:43 + (Wed, 09 Jun 2004)
New Revision: 1093

Modified:
   branches/SAMBA_3_0/source/smbd/error.c
   branches/SAMBA_3_0/source/smbd/nttrans.c
   branches/SAMBA_3_0/source/smbd/reply.c
   branches/SAMBA_3_0/source/smbd/trans2.c
Log:
Ensure we clear any cached errors on a deferred open call so
we don't return the wrong error code on the next packet.
Jeremy.


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=1093nolog=1


svn commit: samba r1094 - in branches/tmp/SAMBA_3_2_MERGE/source: client lib libsmb param smbd torture wrepld

2004-06-08 Thread jerry
Author: jerry
Date: 2004-06-09 03:25:57 + (Wed, 09 Jun 2004)
New Revision: 1094

Modified:
   branches/tmp/SAMBA_3_2_MERGE/source/client/smbmount.c
   branches/tmp/SAMBA_3_2_MERGE/source/lib/popt_common.c
   branches/tmp/SAMBA_3_2_MERGE/source/lib/util.c
   branches/tmp/SAMBA_3_2_MERGE/source/libsmb/cliconnect.c
   branches/tmp/SAMBA_3_2_MERGE/source/param/loadparm.c
   branches/tmp/SAMBA_3_2_MERGE/source/smbd/server.c
   branches/tmp/SAMBA_3_2_MERGE/source/torture/rpctorture.c
   branches/tmp/SAMBA_3_2_MERGE/source/torture/vfstest.c
   branches/tmp/SAMBA_3_2_MERGE/source/wrepld/server.c
Log:
fix seg fault in smbclient cause by loadparm.c changes during merge

WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/tmp/SAMBA_3_2_MERGE/sourcerev=1094nolog=1


svn commit: samba r1095 - in branches/tmp/SAMBA_3_2_MERGE/source: . lib utils

2004-06-08 Thread jerry
Author: jerry
Date: 2004-06-09 04:07:41 + (Wed, 09 Jun 2004)
New Revision: 1095

Modified:
   branches/tmp/SAMBA_3_2_MERGE/source/Makefile.in
   branches/tmp/SAMBA_3_2_MERGE/source/lib/interface.c
   branches/tmp/SAMBA_3_2_MERGE/source/lib/time.c
   branches/tmp/SAMBA_3_2_MERGE/source/lib/util.c
   branches/tmp/SAMBA_3_2_MERGE/source/lib/util_sock.c
   branches/tmp/SAMBA_3_2_MERGE/source/lib/wins_srv.c
   branches/tmp/SAMBA_3_2_MERGE/source/utils/nmblookup.c
Log:
more compile fixes -- working on nmblookup

WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/tmp/SAMBA_3_2_MERGE/sourcerev=1095nolog=1