[Samba] testing list mail

2006-01-26 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


- --
=
I live in a Reply-to-All world.   ---
Samba--- http://www.samba.org
Centers ---  http://www.centeris.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD2O06IR7qMdg1EfYRAiJzAKC4TCe622BLp8A6CQVj588bZLlfaQCeI8q2
gKxwvTNlA/6AXIQAnWA2o2k=
=G6ux
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] List problems

2006-01-26 Thread James Watkins
Hi all, is it just me or has this list stopped working.  I haven't 
received anything for a couple of days now.


Cheers,

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


[Samba] SAMBA on AIX 5.1

2006-01-26 Thread Antonio Sosa
I installed the binary from
http://us2.samba.org/samba/ftp/Binary_Packages/AIX/

Opt-samba-AIX5-3.0.21a.tar.gz

Installed fine but when I go to run the samba binaries, this is what I
get:

 

Can anyone help - thanks in advanced.

 

 

/opt/Samba/3.0.21a/sbin ./nmbd -D
[1] 544860 
oldpetes: root] /opt/Samba/3.0.21a/sbin exec(): 0509-036 Cannot load
program ./nmbd because of the following errors: 
0509-130 Symbol resolution failed for nmbd because: 
0509-136   Symbol statvfs64 (number 134) is not exported from 
   dependent module /usr/lib/libc.a(shr.o). 
0509-136   Symbol opendir64 (number 169) is not exported from 
   dependent module /usr/lib/libc.a(shr.o). 
0509-136   Symbol closedir64 (number 170) is not exported from 
   dependent module /usr/lib/libc.a(shr.o). 
0509-136   Symbol readdir64 (number 171) is not exported from 
   dependent module /usr/lib/libc.a(shr.o). 
0509-136   Symbol seekdir64 (number 180) is not exported from 
   dependent module /usr/lib/libc.a(shr.o). 
0509-136   Symbol telldir64 (number 229) is not exported from 
   dependent module /usr/lib/libc.a(shr.o). 
0509-192 Examine .loader section symbols with the 
 'dump -Tv' command. 

[1] +  Done(255)   ./nmbd -D  
oldpetes: root] /opt/Samba/3.0.21a/sbin

 

 

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


[Samba] Secure Share

2006-01-26 Thread Webb, Mr Scott (CTR)
I am trying to create an individual secure share in Samba. We have it
loaded on a Solaris box and our users access the shares using Windows
Explorer. It appears that everything I've read only allows me to create
secure shares for all the shares. Is there a way to create individual
secure shares? Those can be password protected or not. 

 

Thanks

 

Scott Webb

Senior Consultant, Booz Allen Hamilton

Content Staging Engineer, CDHQ, CFSOCC

Camp As Sailiyah, Doha Qatar

318 432-7254 DSN

974 447-2156 HOME

974 578-8319 CELL

 

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


Re: [Samba] User Manager

2006-01-26 Thread Collen Blijenberg

We had the dame problem with the initial version of the mysql backend.
our problem was fixed by setting the default value's for
unkown_6 to 1260 and
logon_divs to 168

dunno if the ldap backend has simulair entries..
but it seems indeed that your ldap database is corrupt..

Good luck

Collen


Louis van Belle wrote:

This is somewhere a problem in you ldap database.
if possible , try removing the database and rebuild it step
by step. this way i resolved my The stub received bad data errors

Louis



-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] 
Namens Douglas Sterner

Verzonden: maandag 23 januari 2006 21:49
Aan: samba@lists.samba.org
Onderwerp: [Samba] User Manager

Using Suse ES9 SP2 with OpenLDAP backend with Samba 3.0.21pre 
I'm getting 
the following error. The stub received bad data  Would you like to 
administer another domain? then User Manager closes when I 
select no. User 
Manager seems to work in limited fashion if Low speed connection is 
selected. This has worked fine until a few days ago and I have 
not made any 
changes.


Thanks

_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


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





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


Re: [Samba] User Manager

2006-01-26 Thread Michael Gasch

there was a bug with pre and usrmgr.
please use a stable package

greez

Douglas Sterner wrote:
Using Suse ES9 SP2 with OpenLDAP backend with Samba 3.0.21pre I'm 
getting the following error. The stub received bad data  Would you like 
to administer another domain? then User Manager closes when I select 
no. User Manager seems to work in limited fashion if Low speed 
connection is selected. This has worked fine until a few days ago and I 
have not made any changes.


Thanks

_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/





--
Michael Gasch
Max Planck Institute for Evolutionary Anthropology
Department of Human Evolution (IT)
Deutscher Platz 6
D-04103 Leipzig
Germany

Phone: 49 (0)341 - 3550 137
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Advices for Samba and OpenLDAP

2006-01-26 Thread Michael Gasch

just to close this thread:
we used to run slapd as unprivileged user (user ldap)
this broke our setup (to bexact the database) under heavy load.
now it´s running under root permissions w/out any problems

greez

Tomasz Chmielewski wrote:

Michael Gasch schrieb:
We are running almost 30 OpenLDAP (2.2.20 nd 2.2.24) servers 
(masters, slaves).

No weird behaviour so far (we didn't torture it though).


want to have my script :) ?


sure, I could test it on a separate test server.
publish it somewhere on the web, so that all human kind could kill their 
OpenLDAp servers :)




We are running a ldbm backend (so it doesn't need a DB_CONFIG file).


we had trouble with ldbm - it didn't crash but some entries simply 
were missing after some minutes of running slapd, samba couldn't find 
some users/groups although they were in the database, ldapsearch -x 
uid=someuser sometimes returns dn: uid=someuser and sometimes not 
and so on. may be it was a caching/indexing issue?


weird.
IMHO, the behaviour should be proper in each case and not depend on the 
backend used.



In your case I'd upgrade to a newest 2.2.x version, and if the 
problem still happens, ask at OpenLDAP mailing lists, as it's a 
problem with OpenLDAP really, not with Samba.


i know and already did that. but this list is good visited so i saw a 
chance to find someone with the same problems or more experience


and still the same issues after an upgrade?
maybe it's something with *bdb* libraries, headers etc., on which 
OpenLDAP depends?






--
Michael Gasch
Max Planck Institute for Evolutionary Anthropology
Department of Human Evolution (IT)
Deutscher Platz 6
D-04103 Leipzig
Germany

Phone: 49 (0)341 - 3550 137
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] create smbpasswd/tdbsam from ldapsam/LDAP query?

2006-01-26 Thread Tomasz Chmielewski

Ilia Chipitsine schrieb:

(...)


pdbedit

it is beatiful thing for converting from anything to anything :-)



Almost.
I don't see if it can convert ldapsam to /etc/passwd and /etc/group.



use it to convert ldapsam --- smbpasswd

it will handle users, not groups.
and some awk hacking will be required also.


As you said, smbpasswd has no group ID entries.
So even if I convert the smbpasswd file into /etc/passwd file, it will 
have no group IDs (or rather some group ID I pick).


And still there is a problem with creating /etc/group.

Without group info, files will have wrong permissions, which is not 
really a solution for me.


So I'm afraid I'll end up with some complicated ldapsearch/sed/awk script :(

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


[Samba] Windows XP suddenly can't login to PDC

2006-01-26 Thread Micha Kersloot
Hi,

I've got a Samba 3.0.2a PDC running for some time now (like more than a
year) with MS Windows XP clients. But suddenly on January 23 2006 none
of the clients where able to login anymore. The error on the client was
(translated from dutch):
Unable to connect to domain server.

The logfile on the samba side showed:
[2006/01/23 11:36:30, 2] lib/smbldap.c:smbldap_open_connection(722)
  smbldap_open_connection: connection opened
[2006/01/23 11:36:30, 3] lib/smbldap.c:smbldap_connect_system(905)
  ldap_connect_system: succesful connection to the LDAP server
[2006/01/23 11:36:30, 2] passdb/pdb_ldap.c:init_sam_from_ldap(640)
  init_sam_from_ldap: Entry found for user: computer3$
[2006/01/23 11:36:30, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2006/01/23 11:36:30, 0] libsmb/credentials.c:creds_server_check(159)
  creds_server_check: credentials check failed.
[2006/01/23 11:36:30, 0] rpc_server/srv_netlog_nt.c:_net_auth_2(424)
  _net_auth2: creds_server_check failed. Rejecting auth request from
client COMPUTER3 machine account COMPUTER3$

I was able to solve the problem by upgrading to 3.0.21a, and rejoining
the MS Windows XP clients to the domain. But as i have now idea what
caused this problem, i don't know if this suddenly could happen again.
Anyone an idea what was going on?

-- 
Met vriendelijke groet,

Micha Kersloot

Op de hoogte blijven? Schrijf je nu in voor de nieuwsbrief!
http://www.kovoks.nl/index.phtml?table=contactnbrf
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] create smbpasswd/tdbsam from ldapsam/LDAP query?

2006-01-26 Thread Tomasz Chmielewski

Ilia Chipitsine schrieb:

(...)

 As you said, smbpasswd has no group ID entries.



 oops, I missed primary GID for /etc/passwd

 ok, I'll ask our guys about XSL, I think it will do all the job.


(...)

I think I found it: the tool is called ldap2pass and can be found here 
in the ldaputils package:


http://www.fanying.com/projects/ldaputils.html

Be careful, it will overwrite your /etc/group, /etc/passwd and 
/etc/shadow files! :)



--
Tomasz Chmielewski
http://wpkg.org


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


[Samba] 3.014a mapping issue

2006-01-26 Thread John Hyde
Pardon me for resending the message, I am not sure whether the original
message was posted at all.


Mapping Samba shares from this particular server is either getting slow or
rarely getting denied.

Occasional error messages in log.smbd
[2005/07/24 08:40:39, 1] auth/auth_server.c:(363)
  password server PASS_SERVER rejected the password

I have configured a virtual server here, not using the real host name.
( Physical : 192.168.9.110; virtual: 192.168.9.115)

*smb.conf*

# Global parameters
[global]
workgroup = virtual_s.biz
netbios name = virtual_s
server string = virtual_s
interfaces = 192.168.9.115/255.255.255.0
bind interfaces only = Yes
security = SERVER
password server = pass_server
username map = /export/apps/samba/lib/username.map
max log size = 5
name resolve order = host
deadtime = 30
max open files = 5000
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
load printers = No
show add printer wizard = No
lm announce = No
preferred master = No
domain master = No
browse list = No
enhanced browsing = No
dns proxy = No
kernel oplocks = No
invalid users = root, bin, daemon, sys, adm, uucp, lp, nuucp, www,
sysadm
create mask = 0644
directory mask = 0755
dont descend = /dev,/etc,/sbin,/var,/bin,/kernel,/platform


Here is the error message from log.nmbd on the *password server*

[2005/07/24 11:55:55, 1] nmbd/nmbd_incomingrequests.c:(328)
  process_node_status_request: status request for name PASS_SERVER.BIZ1c
from IP 192.168.9.110 on subnet UNICAST_SUBNET - name not found.

Client: Windows XP
Unix: Solaris 8

If anyone can help, I would be much appreciative.

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


[Samba] smbclient failure

2006-01-26 Thread Gerard Seibert
I am still unable to get the following command to work correctly. The
x's replace the correct entry obviously.

smbclient -Lboss -Uxx%

I decided to run the command as root preceeded by 'truss' so I could
generate a debug output.

This is the output from the command without 'truss'

Domain=[BOSS] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Sharename   Type  Comment
-     ---
Error returning browse list: NT_STATUS_OK

Server   Comment
----

WorkgroupMaster
----


This is the output from 'truss'

mmap(0x0,3920,(0x3)PROT_READ|PROT_WRITE,(0x1000)MAP_ANON,-1,0x0) = 672452608 
(0x2814d000)
munmap(0x2814d000,0xf50) = 0 (0x0)
__sysctl(0xbfbfea78,0x2,0x28149a58,0xbfbfea74,0x0,0x0) = 0 (0x0)
mmap(0x0,32768,(0x3)PROT_READ|PROT_WRITE,(0x1002)MAP_ANON|MAP_PRIVATE,-1,0x0) = 
672452608 (0x2814d000)
issetugid()  = 0 (0x0)
open(/etc/libmap.conf,0x0,0666)ERR#2 'No such file or 
directory'
open(/var/run/ld-elf.so.hints,0x0,00)  = 4 (0x4)
read(0x4,0xbfbfeb20,0x80)= 128 (0x80)
lseek(4,0x80,SEEK_SET)   = 128 (0x80)
read(0x4,0x28151000,0x7a)= 122 (0x7a)
close(4) = 0 (0x0)
access(/lib/libreadline.so.5,0)= 0 (0x0)
open(/lib/libreadline.so.5,0x0,00) = 4 (0x4)
fstat(4,0xbfbfeb70)  = 0 (0x0)
read(0x4,0x281489a0,0x1000)  = 4096 (0x1000)
mmap(0x0,192512,(0x5)PROT_READ|PROT_EXEC,(0x20002)MAP_NOCORE|MAP_PRIVATE,4,0x0) 
= 672485376 (0x28155000)
mprotect(0x2817e000,4096,(0x7)PROT_READ|PROT_WRITE|PROT_EXEC) = 0 (0x0)
mprotect(0x2817e000,4096,(0x5)PROT_READ|PROT_EXEC) = 0 (0x0)
mmap(0x2817f000,20480,(0x3)PROT_READ|PROT_WRITE,(0x12)MAP_FIXED|MAP_PRIVATE,4,0x29000)
 = 672657408 (0x2817f000)
close(4) = 0 (0x0)
access(/lib/libncurses.so.5,0) = 0 (0x0)
open(/lib/libncurses.so.5,0x0,027757765560)= 4 (0x4)
fstat(4,0xbfbfeb70)  = 0 (0x0)
read(0x4,0x281489a0,0x1000)  = 4096 (0x1000)
mmap(0x0,274432,(0x5)PROT_READ|PROT_EXEC,(0x20002)MAP_NOCORE|MAP_PRIVATE,4,0x0) 
= 672677888 (0x28184000)
mprotect(0x281bd000,4096,(0x7)PROT_READ|PROT_WRITE|PROT_EXEC) = 0 (0x0)
mprotect(0x281bd000,4096,(0x5)PROT_READ|PROT_EXEC) = 0 (0x0)
mmap(0x281be000,32768,(0x3)PROT_READ|PROT_WRITE,(0x12)MAP_FIXED|MAP_PRIVATE,4,0x3a000)
 = 672915456 (0x281be000)
mmap(0x281c6000,4096,(0x3)PROT_READ|PROT_WRITE,(0x1012)MAP_ANON|MAP_FIXED|MAP_PRIVATE,-1,0x0)
 = 672948224 (0x281c6000)
close(4) = 0 (0x0)
access(/lib/libcrypt.so.2,0)   = 0 (0x0)
open(/lib/libcrypt.so.2,0x0,027757765560)  = 4 (0x4)
fstat(4,0xbfbfeb70)  = 0 (0x0)
read(0x4,0x281489a0,0x1000)  = 4096 (0x1000)
mmap(0x0,102400,(0x5)PROT_READ|PROT_EXEC,(0x20002)MAP_NOCORE|MAP_PRIVATE,4,0x0) 
= 672952320 (0x281c7000)
mprotect(0x281cd000,4096,(0x7)PROT_READ|PROT_WRITE|PROT_EXEC) = 0 (0x0)
mprotect(0x281cd000,4096,(0x5)PROT_READ|PROT_EXEC) = 0 (0x0)
mmap(0x281ce000,4096,(0x3)PROT_READ|PROT_WRITE,(0x12)MAP_FIXED|MAP_PRIVATE,4,0x7000)
 = 672980992 (0x281ce000)
mmap(0x281cf000,69632,(0x3)PROT_READ|PROT_WRITE,(0x1012)MAP_ANON|MAP_FIXED|MAP_PRIVATE,-1,0x0)
 = 672985088 (0x281cf000)
close(4) = 0 (0x0)
access(/lib/libiconv.so.3,0)   ERR#2 'No such file or 
directory'
access(/usr/lib/libiconv.so.3,0)   ERR#2 'No such file or 
directory'
access(/usr/lib/compat/libiconv.so.3,0)ERR#2 'No such file or 
directory'
access(/usr/X11R6/lib/libiconv.so.3,0) ERR#2 'No such file or 
directory'
access(/usr/local/lib/libiconv.so.3,0) = 0 (0x0)
open(/usr/local/lib/libiconv.so.3,0x0,027757765560) = 4 (0x4)
fstat(4,0xbfbfeb70)  = 0 (0x0)
read(0x4,0x281489a0,0x1000)  = 4096 (0x1000)
mmap(0x0,1007616,(0x5)PROT_READ|PROT_EXEC,(0x20002)MAP_NOCORE|MAP_PRIVATE,4,0x0)
 = 673054720 (0x281e)
mprotect(0x282d4000,4096,(0x7)PROT_READ|PROT_WRITE|PROT_EXEC) = 0 (0x0)
mprotect(0x282d4000,4096,(0x5)PROT_READ|PROT_EXEC) = 0 (0x0)
mmap(0x282d5000,4096,(0x3)PROT_READ|PROT_WRITE,(0x12)MAP_FIXED|MAP_PRIVATE,4,0xf5000)
 = 674058240 (0x282d5000)
close(4) = 0 (0x0)
access(/lib/libpopt.so.0,0)ERR#2 'No such file or 
directory'
access(/usr/lib/libpopt.so.0,0)ERR#2 'No such file or 
directory'
access(/usr/lib/compat/libpopt.so.0,0) ERR#2 'No such file or 
directory'
access(/usr/X11R6/lib/libpopt.so.0,0)  ERR#2 'No such file or 
directory'
access(/usr/local/lib/libpopt.so.0,0)  = 0 (0x0)

[Samba] ldap not using kerberos (winbind rid idmap)

2006-01-26 Thread Roman Sommer
hi,

first of all - I am very sorry if this topic turned up in the mailing list
before - I really did have a look at the archive and couldn't find anything
like it.

Here's the problem. I set up an idmapping using the rid facility. It is
working smoothly. I do have a question though. I logged some packets and
realized the ldap queries are not encrypted. I wonder why since all the
requiremens for a successful encryption are given. I do have a computer
account in the Active Directory.. I can see a TGS-REQ and TGS-REP is fine
too. In fact ldap even asks for available SASL mechanisms. After some
negotiation it _successfully_ binds using GSS SPNEGO. But.. even after this
successfully established encrypted bind it keeps querying in plain text. Is
there anything I can do about it?
For testing purposes I set sasl_mech gssapi in my ldap.conf but that
didn't have any impact at all.

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


Re: [Samba] SeBackupPrivilege

2006-01-26 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
 On Sat, 21 Jan 2006, Lawrence Walton wrote:
 mount.cifs should be part of any modern samba package.
 
 That's what I thought.  But, here's what I did to install Samba:
 
 # wget
 http://us5.samba.org/samba/ftp/Binary_Packages/RedHat/SRPMS/samba-3.0.21a-1.src.rpm

This SRPM is for RedHat 9 and earlier systems.  You need to
the Fedora SRPM.  I'm cleaning up the packaging names for
the 3.0.21b release.






cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD1iuSIR7qMdg1EfYRAuQdAKCBAbt8kXhJ3sAIr5TLiwURIQedUQCg8+Zj
zI//jSd9fj1biq3vqYrXUbI=
=oxhy
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] managing unix services remotely from mmc on windows

2006-01-26 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Stefan Morrell wrote:

 Could not stop the blah whatever service on SERVER
 The service did not return an error. This could be an 
 internal Windows error or an internal service error.
 If the problem persists, contact your system administrator,
 
 Now I can see on SERVER that the service has correctly been 
 stopped, it's just that the windows server doesn't realise,
 though oddly enough, I can then do a restart via the mmc
 and that brings the service back up fine.

It's the exit code from the init script then.  Smbd expects
a return code of 0 to indicate that the stop command completely
successfully.





cheers, jerry
=
I live in a Reply-to-All world---
Samba--- http://www.samba.org
Centeris ---  http://www.centeris.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD1i6ZIR7qMdg1EfYRAhUBAJ9GQLk2U9kr+OipbfTQVmQM9M4GiwCgvcCn
Pu4N8cYkOSAmS6Ghdr94h4c=
=Iqtf
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: guest account security = domain doesn't work...

2006-01-26 Thread Rex Dieter

Aarti Varshney (asadhnan) wrote:


my security is domain, i would like to map users who fail authentication
to be
mapped to a guest account so they can access printers.

My conf file looks like this:
[global]
workgroup = LAB2000DOMAIN2
security = DOMAIN
client schannel = No
map to guest = Bad Password


map to guest= Bad Password
  means, user exists, but provided invalid password.

Maybe you really want:
map to guest = Bad User
or
map to guest = Bad Uid

man smb.conf for specific details and differences between these.

-- Rex

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


[Samba] Samba (+ NAV?) and bad printer names?

2006-01-26 Thread Steve Snyder
At 4:00 every morning the 2 WinXP machines on my network generate a slew 
of queries to bad printer names.  These names are variations on the name 
of a valid printer exported by Samba.  

Samba v3.0.10 is running on a RHEL4 system.  It exports several shared 
drives and a single printer.  The printer is named lj4500, is managed by 
CUPS v1.1.22, and works correctly via Samba from both WinXP boxes.  

Here's a snippet of my smb.conf file:

   load printers = yes
   printing = cups
   printcap name = cups

So what is going on with those WinXP machines at 4:00AM?  The only thing I 
can think of is the daily system-wide scan done by Norton Antivirus (NAV).  

Can anyone shed some light on what is going on here and how I can stop 
these queries to bogus printer names?  

Thanks.

--

Logged Samba errors:

Jan 24 03:59:34 nemesis smbd[3799]: [2006/01/24 03:59:34, 0] 
smbd/service.c:make_connection(800)
Jan 24 03:59:34 nemesis smbd[3799]:   venus (192.168.0.3) couldn't find service 
lj4500,winspool,ne03:.exe
Jan 24 03:59:34 nemesis smbd[3799]: [2006/01/24 03:59:34, 0] 
smbd/service.c:make_connection(800)
Jan 24 03:59:34 nemesis smbd[3799]:   venus (192.168.0.3) couldn't find service 
lj4500,winspool,ne03
Jan 24 03:59:34 nemesis smbd[3799]: [2006/01/24 03:59:34, 0] 
smbd/service.c:make_connection(800)
Jan 24 03:59:34 nemesis smbd[3799]:   venus (192.168.0.3) couldn't find service 
lj4500,winspool,ne03:.exe
Jan 24 03:59:34 nemesis smbd[3799]: [2006/01/24 03:59:34, 0] 
smbd/service.c:make_connection(800)
Jan 24 03:59:34 nemesis smbd[3799]:   venus (192.168.0.3) couldn't find service 
lj4500,winspool,ne03
Jan 24 03:59:34 nemesis smbd[3799]: [2006/01/24 03:59:34, 0] 
smbd/service.c:make_connection(800)
Jan 24 03:59:34 nemesis smbd[3799]:   venus (192.168.0.3) couldn't find service 
lj4500,winspool,ne03:.exe
Jan 24 03:59:34 nemesis smbd[3799]: [2006/01/24 03:59:34, 0] 
smbd/service.c:make_connection(800)
Jan 24 03:59:34 nemesis smbd[3799]:   venus (192.168.0.3) couldn't find service 
lj4500,winspool,ne03
Jan 24 03:59:34 nemesis smbd[3799]: [2006/01/24 03:59:34, 0] 
smbd/service.c:make_connection(800)
Jan 24 03:59:34 nemesis smbd[3799]:   venus (192.168.0.3) couldn't find service 
lj4500,winspool,ne03:.exe
Jan 24 03:59:34 nemesis smbd[3799]: [2006/01/24 03:59:34, 0] 
smbd/service.c:make_connection(800)
Jan 24 03:59:34 nemesis smbd[3799]:   venus (192.168.0.3) couldn't find service 
lj4500,winspool,ne03
Jan 24 03:59:34 nemesis smbd[3799]: [2006/01/24 03:59:34, 0] 
smbd/service.c:make_connection(800)
Jan 24 03:59:34 nemesis smbd[3799]:   venus (192.168.0.3) couldn't find service 
lj4500,winspool,ne03:.exe
Jan 24 03:59:34 nemesis smbd[3799]: [2006/01/24 03:59:34, 0] 
smbd/service.c:make_connection(800)
Jan 24 03:59:34 nemesis smbd[3799]:   venus (192.168.0.3) couldn't find service 
lj4500,winspool,ne03
Jan 24 03:59:35 nemesis smbd[3799]: [2006/01/24 03:59:35, 0] 
smbd/service.c:make_connection(800)
Jan 24 03:59:35 nemesis smbd[3799]:   venus (192.168.0.3) couldn't find service 
lj4500.exe
Jan 24 03:59:58 nemesis smbd[4549]: [2006/01/24 03:59:58, 0] 
smbd/service.c:make_connection(800)
Jan 24 03:59:58 nemesis smbd[4549]:   mars (192.168.0.5) couldn't find service 
lj4500,winspool,ne00:.exe
Jan 24 03:59:58 nemesis smbd[4549]: [2006/01/24 03:59:58, 0] 
smbd/service.c:make_connection(800)
Jan 24 03:59:58 nemesis smbd[4549]:   mars (192.168.0.5) couldn't find service 
lj4500,winspool,ne00
Jan 24 03:59:58 nemesis smbd[4549]: [2006/01/24 03:59:58, 0] 
smbd/service.c:make_connection(800)
Jan 24 03:59:58 nemesis smbd[4549]:   mars (192.168.0.5) couldn't find service 
lj4500,winspool,ne00:.exe
Jan 24 03:59:58 nemesis smbd[4549]: [2006/01/24 03:59:58, 0] 
smbd/service.c:make_connection(800)
Jan 24 03:59:58 nemesis smbd[4549]:   mars (192.168.0.5) couldn't find service 
lj4500,winspool,ne00
Jan 24 03:59:58 nemesis smbd[4549]: [2006/01/24 03:59:58, 0] 
smbd/service.c:make_connection(800)
Jan 24 03:59:58 nemesis smbd[4549]:   mars (192.168.0.5) couldn't find service 
lj4500,winspool,ne00:.exe
Jan 24 03:59:58 nemesis smbd[4549]: [2006/01/24 03:59:58, 0] 
smbd/service.c:make_connection(800)
Jan 24 03:59:58 nemesis smbd[4549]:   mars (192.168.0.5) couldn't find service 
lj4500,winspool,ne00
Jan 24 03:59:58 nemesis smbd[4549]: [2006/01/24 03:59:58, 0] 
smbd/service.c:make_connection(800)
Jan 24 03:59:58 nemesis smbd[4549]:   mars (192.168.0.5) couldn't find service 
lj4500,winspool,ne00:.exe
Jan 24 03:59:58 nemesis smbd[4549]: [2006/01/24 03:59:58, 0] 
smbd/service.c:make_connection(800)
Jan 24 03:59:58 nemesis smbd[4549]:   mars (192.168.0.5) couldn't find service 
lj4500,winspool,ne00
Jan 24 03:59:58 nemesis smbd[4549]: [2006/01/24 03:59:58, 0] 
smbd/service.c:make_connection(800)
Jan 24 03:59:58 nemesis smbd[4549]:   mars (192.168.0.5) couldn't find service 
lj4500,winspool,ne00:.exe
Jan 24 03:59:58 nemesis smbd[4549]: [2006/01/24 03:59:58, 0] 
smbd/service.c:make_connection(800)
Jan 24 03:59:58 

[Samba] AD and Samba BDC

2006-01-26 Thread Marcelo H. Terres
Hi.

I don't find a way to make a Samba BDC replicate an AD Server. I need to
authenticate in Samba BDC if my link with AD PDC goes down. I read that it
is not possible.

Is this true ? Samba 4 will do this ?

Thanks,

**--
Marcelo H. Terres
[EMAIL PROTECTED]
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] net ads join segmentation fault

2006-01-26 Thread Robert J. Collins
For the purpose of the archive:

I believe I fixed the problem.

When I compiled FreeBSD 6.0-RELEASE-p1 kerberos was installed. When I
compiled 6.0-RELEASE-p2 I had kerberos disabled. I'm pretty confident I
was using old binaries. When I rebuilt the binaries, kerberos gave me a
message about the ticket's lifetime, when prior to rebuilding it was
silent. Nevertheless samba still wasn't working. 

After rebuilding kerberos and getting the same error messages from samba
I figured that maybe I had some old samba data lying around somewhere,
from when I was using DOMAIN mode. So I uninstalled samba, removed the
directories that the pkg_deinstall (part of the portupgrade port) told
me to remove and reinstalled samba from scratch. I didn't touch my
smb.conf. I was then able to use net ads join without any problems.

-rcollins

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Robert J. Collins
Sent: Monday, January 23, 2006 2:03 PM
To: samba@lists.samba.org
Subject: [Samba] net ads join segmentation fault

On FreeBSD 6.0-RELEASE-p2 using samba-3.0.21a,1 the net command seg
faults. Does anyone know what is going on?

Thanks
-rcollins



- net ads join -Uadministrator -d 10 -
[2006/01/23 12:36:59, 5] lib/debug.c:debug_dump_status(368)
  INFO: Current debug levels:
all: True/10
tdb: False/0
printdrivers: False/0
lanman: False/0
smb: False/0
rpc_parse: False/0
rpc_srv: False/0
rpc_cli: False/0
passdb: False/0
sam: False/0
auth: False/0
winbind: False/0
vfs: False/0
idmap: False/0
quota: False/0
acls: False/0
locking: False/0
msdfs: False/0
[2006/01/23 12:36:59, 3] param/loadparm.c:lp_load(4195)
  lp_load: refreshing parameters
[2006/01/23 12:36:59, 3] param/loadparm.c:init_globals(1385)
  Initialising global parameters
[2006/01/23 12:36:59, 3] param/params.c:pm_process(574)
  params.c:pm_process() - Processing configuration file
/usr/local/etc/smb.conf
[2006/01/23 12:36:59, 3] param/loadparm.c:do_section(3657)
  Processing section [global]
  doing parameter workgroup = HWI
  doing parameter security = ADS
  doing parameter realm = DHCP.HWI.BUFFALO.EDU
  doing parameter password server = *
  doing parameter log file = /var/log/samba/log.%m
  doing parameter max log size = 50
  doing parameter allow trusted domains = no
  doing parameter ldapssl = no
  doing parameter unix charset = LOCALE
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset UCS-2LE
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset UCS-2LE
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset UTF-16LE
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset UTF-16LE
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset UCS-2BE
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset UCS-2BE
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset UTF-16BE
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset UTF-16BE
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset UTF8
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset UTF8
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset UTF-8
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset UTF-8
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset ASCII
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset ASCII
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset 646
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset 646
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset ISO-8859-1
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset ISO-8859-1
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(103)
  Attempting to register new charset UCS2-HEX
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(111)
  Registered charset UCS2-HEX
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
  Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
  Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
  Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
  Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
  Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
  

[Samba] samba authectication mechanism

2006-01-26 Thread garumuga
Hi all,



We are trying to use samba (ver 3.0.20b) on Linux 2.6.12.6 kernel version.

We want to support multiple authentication mechanisms support that we are
developing based on Samba server. Some of these authentication mechanisms
that we are targetting are: UNIX password, NIS, LDAP mechanisms.

We are able to successfully use the UNIX password to authenticate a Samba
user while he tries to login into the Samba server. However, when the user
is coming in from a NIS server, we get an error stating that
NT_STATUS_LOGON_FAILURE.

We referred to some documentation that said that even after importing the
NIS users from NIS server, we need to change the password using the
smbpasswd command for a NIS user before Samba recognises this user as a
valid one. Is this conversion from the NIS server database to the Samba
password database a mandatory one? If so, we felt that this would be an
additional overhead that has to be handled for each and every user by
changing his password for Samba access?

Have anyone tried to setup a Samba server with NIS system database without
requiring a manual update of the password in the Samba database. We would
ideally like the Samba authentication to recognise the password in the NIS
database for that user.

Any help that you can offer to get this resolved for us would be very
highly appreciated.

Have a good day,

Thanks

Govind

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


[Samba] Joining AIX 5.3 samba server into an AD domain

2006-01-26 Thread Dan Engelsen
I have an AIX server running AIX 5.3 and samba 3.0.21a
that I recently compiled.  I am looking for detailed
instructions on how to join the AIX 5.3 Samba Server
into the AD domain.  All of the information that I
have been able to find is for Linux.  Is there a
document that describes what filesets I need to have
installed and how the configure the samba server and
AIX server to join the AD domain?  I have the O'Reilly
Samba book, but it does not really describe how to do
this for AIX.

Thanks in advance.
Dan

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Machine failing to keep its trust with Domain Controller

2006-01-26 Thread Dukhan, Meir
Hi, 
 
We have a Linux (RHEL 3.0, update 3) Samba 3 server which worked fine
for months
but suddently have trouble to keep its trust with the DC server. 
 
The only way to recover is to reset the machine account from the Windows
DC side 
and do a net join to the domain from the Linux side. The Linux machine
is able to 
keep its trust with the domain exactly 7 days, which, AFAIU, is the
default in Samba and 
also in the DC side.
 
It is somewhat surprizing since this Linux Samba server w/o problems for
months. 
From the Windows DC side, the only thing which was done just before this
problem 
appeared, was to patch the DC to SP1 as far as I remember. 
 
Below are the messages we can see in the /var/log/samba/samba.log file: 
 
[2006/01/18 10:49:57, 0]
smbd/change_trust_pw.c:change_trust_account_password(45)
  Can't get IP for PDC for domain MY_DOMAIN
[2006/01/18 10:49:57, 0]
smbd/change_trust_pw.c:change_trust_account_password(93)
  2006/01/18 10:49:57 : change_trust_account_password: Failed to change
password for domain MY_DOMAIN.

Linux Kernel: 2.4.21-20.ELsmp
Samba: 
samba-3.0.4-6.3E  
samba-common-3.0.4-6.3E 
 
/etc/smb.conf: see below
 
Tia 
 
-- Meir 
/etc/smb.conf
# Global parameters

[global]
workgroup = MY_DOMAIN
netbios name = Samba_Server
server string = Samba Server
security = DOMAIN
encrypt passwords = Yes
password server = mydc-server.com
log file = /var/log/samba/samba.log
log level = 1
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
wins server = our_wins
kernel oplocks = No
create mask = 0775
directory mask = 0775
oplocks = No
username map = /etc/samba/username.map
case sensitive = no
preserve case = yes
local master = no
use sendfile = no

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

 

 

***
This email message and any attachments thereto are intended only for use by the 
addressee(s) named above, and may contain legally privileged and/or 
confidential information. If the reader of this message is not the intended 
recipient, or the employee or agent responsible to deliver it to the intended 
recipient, you are hereby notified that any dissemination, distribution or 
copying of this communication is strictly prohibited. If you have received this 
communication in error, please immediately notify the [EMAIL PROTECTED] and 
destroy the original message.
***
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] psexec unix equivalent

2006-01-26 Thread Henrik Zagerholm

Please let me know when you've compiled it for linux/unix =)
//Henrik
21 jan 2006 kl. 20:50 skrev [EMAIL PROTECTED]:


Hello!

I don`t know if there is a port of psexec for unix yet (haven`t  
followed the list for some time) - but since it has been discussed  
on this list several times and i didn`t find any news about the  
current state of the psexec unix port-  i`d like to tell that i  
found a psexec equivalent by chance - WITH SOURCECODE INCLUDED !

:)

take a look at
http://www.codeguru.com/Cpp/I-N/network/remoteinvocation/ 
article.php/c5433/


i think this will help very much!

regards
roland
__ 

Erweitern Sie FreeMail zu einem noch leistungsstarkeren E-Mail- 
Postfach!		

Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131

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


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


[Samba] Error when using mount with smbfs

2006-01-26 Thread Mark R. White
I apologize because I know that this has surely been dealt with and
documented before, but I cannot find it anywhere on the samba website,
nor did a google search produce anything.  For future reference, some
type of advanced search option for the mailing list archives would be
great.  I tried the old google   error site:site.to.search and it
didn't find anything either.

I can use smbclient with no probs, can transfer files back and forth
and it works flawlessly, but, when I try to use mount with smbfs or
smbmount, it continuously gives me an error.  See below.

mwhitelinux:/media# mount -t smbfs -o username=winusername
//corpfps02/dfs/Net /media/net
Password:
6507: tree connect failed: ERRSRV - ERRbadtype (reserved.)
SMB connection failed

mwhitelinux:/media# smbmount //corpfps02/dfs/Net /media/net username=nemo
Password:
6990: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed
mwhitelinux:/media#

I'm using Samba version 3.0.21 from the Debian repository, Debian
unstable with 2.6.12 stock kernel, mount 2.12r, and the server I'm
connecting to is a Windows 2k3 Standard Edition.  Is there something
that needs to be compiled in the kernel to be able to use
mount/smbmount vs using smbclient?  Is it something specific to the
binary install I have?  Any help would be greatly appreciated.

Thanks,

Mark

--
Mark R. White
UNIX Systems Administrator
Fieldstone Mortgage
[EMAIL PROTECTED]
(C) 865-548-2147
(W) 410-772-3000
(F) 866-443-2312
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Authenticate Linux client on Domain

2006-01-26 Thread Daniel Fernández
Hi,

I need to join a Linux machine on a Windows Domain. The Linux ONLY IS A
CLIENT, NOT SERVER. Please, need links, information.. 

thanks

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


Re: [Samba] How do I create the samba user

2006-01-26 Thread david rankin

From: Adam Nielsen [EMAIL PROTECTED]

[2006/01/23 23:05:46, 1] smbd/service.c:make_connection_snum(415)
  Couldn't find user samba


Usually I would've though that this would only happen when you connect
as a guest - there's a 'map to guest' option that lets you change the
user Samba uses, I usually set it to 'nobody'.

As an alternative you could just create the Samba user, but rather than
choosing a difficult password just make it so the user can't log in,
like the user 'nobody'.



If your adding a new user, why not  (as root):

(1) useradd username
(2) passwd username
(type the password)
(3) smbpasswd -a username
(type same password)

If you already have the unix account for the user, just do step (3) above, 
then samba will be happy. Also, if you use the same username/password in 
windows, authentication is automatic..



--
David C. Rankin, J.D., P.E.
RANKIN LAW FIRM, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
(936) 715-9333
(936) 715-9339 fax
www.rankinlawfirm.com
--

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


[Samba] samba-3.0.14a: server doesn't show in browse lists

2006-01-26 Thread sean
I'm using samba-3.0.14a as our samba server for 12 windows 
machines. Works OK, except that it doesn't show itself on 
the browse list. That is, on any of the windows machines the 
browse list shows all the machines _except_ the server 
itself. Yet net view \\server ( on one of the windows 
machines ) shows the shares on the server.


/var/log/messages shows the linux box winning the server 
elections.


Any help appreciated.

sean

Here's smb.conf on the server:

[global]
workgroup = Company
netbios name = Blair
server string = Blair Server

load printers = yes
browseable = yes
printing = cups
printcap name = cups

security = share
map to guest = Bad Password
guest ok = yes
encrypt passwords = yes
passdb backend = tdbsam

interfaces = 10.10.10.2/16 127.0.0.1
bind interfaces only = yes

local master = yes
os level = 99
domain master = no
preferred master = yes

time server = yes

wins support = no

[print$]
  comment = Printer Drivers
  # this path holds the driver structure
  path = /etc/samba/drivers
  guest ok = no
  browseable = yes
  read only = yes
  write list = system,root

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

[backup]
  browseable=yes
  path=/home/pub/backup
  public=yes
  writable=yes
  create mask=777
  directory mask=777

sean

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


[Samba] Re: guest account security = domain doesn't work...

2006-01-26 Thread Rex Dieter

Aarti Varshney (asadhnan) wrote:


my security is domain, i would like to map users who fail authentication
to be
mapped to a guest account so they can access printers.

My conf file looks like this:
[global]
workgroup = LAB2000DOMAIN2
security = DOMAIN
client schannel = No
map to guest = Bad Password


map to guest= Bad Password
  means, user exists, but provided invalid password.

Maybe you really want:
map to guest = Bad User
or
map to guest = Bad Uid

man smb.conf for specific details and differences between these.

-- Rex

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


Re: [Samba] uid/gid in smb.conf

2006-01-26 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Latrell wrote:
 Thanks for your reply.
 I've ever tried gid, and it works, but not uid.
 Will the issue be your future work?

Nope.  It's an unsupported configuration meaning
that we won't test to ensure it works.  I would
not rely on the gid working in future releases
(although it might).







cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD1wY4IR7qMdg1EfYRAkRpAKDRthKBsJou6zKFaKHo62HnulGa2gCeKQsk
2v2tSnN95zCIbxlgfq19qgg=
=hOlm
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Machine failing to keep its trust with Domain Controller

2006-01-26 Thread Dukhan, Meir
 
 Hi, 
 
We have a Linux (RHEL 3.0, update 3) Samba 3 server which worked fine
for months
but suddently have trouble to keep its trust with the DC server. 
 
The only way to recover is to reset the machine account from the Windows
DC side 
and do a net join to the domain from the Linux side. The Linux machine
is able to 
keep its trust with the domain exactly 7 days, which, AFAIU, is the
default in Samba and also in the DC side.
 
It is somewhat surprizing since this Linux Samba server w/o problems for
months. 
From the Windows DC side, the only thing which was done just before this
problem 
appeared, was to patch the DC to SP1 as far as I remember. 
 
Below are the messages we can see in the /var/log/samba/samba.log file: 
 
[2006/01/18 10:49:57, 0]
smbd/change_trust_pw.c:change_trust_account_password(45)
  Can't get IP for PDC for domain MY_DOMAIN
[2006/01/18 10:49:57, 0]
smbd/change_trust_pw.c:change_trust_account_password(93)
  2006/01/18 10:49:57 : change_trust_account_password: Failed to change
password for domain MY_DOMAIN.

Linux Kernel: 2.4.21-20.ELsmp
Samba: 
samba-3.0.4-6.3E  
samba-common-3.0.4-6.3E 
 
/etc/smb.conf: see below
 
Tia 
 
-- Meir 
/etc/smb.conf
# Global parameters

[global]
workgroup = MY_DOMAIN
netbios name = Samba_Server
server string = Samba Server
security = DOMAIN
encrypt passwords = Yes
password server = mydc-server.com
log file = /var/log/samba/samba.log
log level = 1
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
wins server = our_wins
kernel oplocks = No
create mask = 0775
directory mask = 0775
oplocks = No
username map = /etc/samba/username.map
case sensitive = no
preserve case = yes
local master = no
use sendfile = no

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

 

 
***
This email message and any attachments thereto are intended only for use by the 
addressee(s) named above, and may contain legally privileged and/or 
confidential information. If the reader of this message is not the intended 
recipient, or the employee or agent responsible to deliver it to the intended 
recipient, you are hereby notified that any dissemination, distribution or 
copying of this communication is strictly prohibited. If you have received this 
communication in error, please immediately notify the [EMAIL PROTECTED] and 
destroy the original message.
***
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Cannot map guest shares in 'security = SERVER' mode on samba-3.0.9

2006-01-26 Thread Rene Kapeller


== platform =

Linux version: RHEL-3 resp. Scientific Linux 305
Samba vesrion: 3.0.9-1.3E.3
Samba operating mode: security = SERVER

== problem =

'net use n: \\smbs1\public' on Windows XP, always asks for a password.

'smbmount //smbs1/public /mnt/public -o password=' does not.

This all used to work fine under Redhat-9 and Samba-2.2


== smb.conf =

[global]
workgroup = MSDOM
netbios name = SMBS1
interfaces = XXX.XXX.XXX.XXX/255.255.255.0, 127.0.0.1
bind interfaces only = Yes
security = SERVER
map to guest = Bad User
password server = pdc1.XXX.XXX
guest account = guest
log level = 3
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
load printers = No
local master = No
domain master = No
dns proxy = No
wins server = wins00.XXX.XXX


[public]
comment = Public share
path = /export/public
guest ok = Yes
hosts allow = XXX.XXX., 127.0.0.1



 also tested, but no success =


#null passwords = yes
#max protocol = LANMAN1
#client use spnego = no


== log when Windows XP tries 

[2006/01/25 09:48:14, 3] smbd/process.c:process_smb(1091)
  Transaction 1 of length 137
[2006/01/25 09:48:14, 3] smbd/process.c:switch_message(886)
  switch message SMBnegprot (pid 770) conn 0x0
[2006/01/25 09:48:14, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/01/25 09:48:14, 3] smbd/negprot.c:reply_negprot(461)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[2006/01/25 09:48:14, 3] smbd/negprot.c:reply_negprot(461)
  Requested protocol [LANMAN1.0]
[2006/01/25 09:48:14, 3] smbd/negprot.c:reply_negprot(461)
  Requested protocol [Windows for Workgroups 3.1a]
[2006/01/25 09:48:14, 3] smbd/negprot.c:reply_negprot(461)
  Requested protocol [LM1.2X002]
[2006/01/25 09:48:14, 3] smbd/negprot.c:reply_negprot(461)
  Requested protocol [LANMAN2.1]
[2006/01/25 09:48:14, 3] smbd/negprot.c:reply_negprot(461)
  Requested protocol [NT LM 0.12]
[2006/01/25 09:48:14, 3] smbd/negprot.c:reply_nt1(333)
  using SPNEGO
[2006/01/25 09:48:14, 3] smbd/negprot.c:reply_negprot(549)
  Selected protocol NT LM 0.12
[2006/01/25 09:48:14, 3] smbd/process.c:process_smb(1091)
  Transaction 2 of length 240
[2006/01/25 09:48:14, 3] smbd/process.c:switch_message(886)
  switch message SMBsesssetupX (pid 770) conn 0x0
[2006/01/25 09:48:14, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/01/25 09:48:14, 3] smbd/sesssetup.c:reply_sesssetup_and_X(655)
  wct=12 flg2=0xc807
[2006/01/25 09:48:14, 2] smbd/sesssetup.c:setup_new_vc_session(608)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close 
all old resources.

[2006/01/25 09:48:14, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(535)
  Doing spnego session setup
[2006/01/25 09:48:14, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(566)
  NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 
2002 5.1] PrimaryDomain=[]

[2006/01/25 09:48:14, 3] smbd/sesssetup.c:reply_spnego_negotiate(444)
  Got OID 1 3 6 1 4 1 311 2 2 10
[2006/01/25 09:48:14, 3] smbd/sesssetup.c:reply_spnego_negotiate(447)
  Got secblob of size 40
[2006/01/25 09:48:14, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
  Got NTLMSSP neg_flags=0xe2088297
[2006/01/25 09:48:14, 3] lib/util_sock.c:open_socket_out(752)
  Connecting to XXX.XXX.230.102 at port 445
[2006/01/25 09:48:14, 3] auth/auth_server.c:server_cryptkey(75)
  connected to password server D.XXX.CH
[2006/01/25 09:48:14, 3] auth/auth_server.c:server_cryptkey(100)
  got session
[2006/01/25 09:48:14, 3] auth/auth_server.c:server_cryptkey(133)
  password server OK
[2006/01/25 09:48:14, 3] auth/auth_server.c:auth_get_challenge_server(183)
  using password server validation
[2006/01/25 09:48:14, 3] smbd/process.c:process_smb(1091)
  Transaction 3 of length 274
[2006/01/25 09:48:14, 3] smbd/process.c:switch_message(886)
  switch message SMBsesssetupX (pid 770) conn 0x0
[2006/01/25 09:48:14, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/01/25 09:48:14, 3] smbd/sesssetup.c:reply_sesssetup_and_X(655)
  wct=12 flg2=0xc807
[2006/01/25 09:48:14, 2] smbd/sesssetup.c:setup_new_vc_session(608)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close 
all old resources.

[2006/01/25 09:48:14, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(535)
  Doing spnego session setup
[2006/01/25 09:48:14, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(566)
  NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 
2002 5.1] PrimaryDomain=[]

[2006/01/25 09:48:14, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(615)
  Got user=[] domain=[] workstation=[PC3247] len1=1 len2=0
[2006/01/25 09:48:14, 3] 

[Samba] Samba Active Directory NT_STATUS_ACCESS_DENIED - expired?

2006-01-26 Thread Andreas Unterkircher

Hello list,

I'm using several samba server (mix between v2.2 and v3.0 versions) 
within an Active Directory domain. These servers are normal domain 
members and winbind is used to lookup the domain users on the linux 
machines.


Sometimes it looks like that some of the servers get kicked out of the 
domain. In the samba logs suddenly NT_STATUS_ACCESS_DENIED messages 
appear and samba stopps authenticate users against domain.


The computer account is still present in Active Directory. I've check 
if the account has expired but it's expired time is far away 
(9223372036854775807, in 2038 ...). The account is neither inactive, 
disabled or locked out.


When I try to rejoin on the existing computer account (smbpasswd -j, 
net join) it works on samba side but in the domain controllers event 
log I see some of the following errors:


The session setup from the computer SRV-MFM-30 failed to authenticate. 
The name of the account referenced in the security database is 
SRV-MFM-30$.  The following error occurred: Access is denied.


I have to remove the computer object and join the domain again. Then 
everything works again (for some time).


This happens with security=domain (rpc) and also with security=ads 
(ldap,kdc,...). The timeframe ist mostly 2 or 3 months.


Anyone has a clue what can cause this or encountered similar problems?

Cheers,
Andreas Unterkircher

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


[Samba] Problems with smbd...

2006-01-26 Thread rasper . lemm

Hello together!
I run Samba 3.0.9-2.3 on Suse 9.2. This Server is in an Active Directory
Domain, but it is not able to make it a domainmemberserver. So i uses the
following configuration:

/etc/samba/smb.conf
*
[global]
security = Server
domain logons = no
NIS homedir = no
encrypt passwords = yes
update encrypted = no
password server = EMEA
guest account = nobody
username map = /etc/samba/smbusers

# host access security
hosts allow = ip-range

# browsing
workgroup = RABBIT  #AD- Domainname
domain master = no
local master = no
preferred master = no
os level = 0

# printing
disable spoolss = yes
load printers = no
show add printer wizard = no

#other options
smb ports = 445
interfaces = eth0
bind interfaces only = yes
disable netbios = yes
min password length = 8

#file handling
keepalive = 30
share modes = yes
locking = yes
strict locking = yes
create mask = 0770
directory mask = 0770
hide dot files = no

#handle european characters
#character set = ISO8859-1
#client code page = 850

#Defaults
inherit acls = yes
inherit permissions = no
read only = no
browseable = no
available = no
guest ok = no

#=
#Shares
[Abteilung]
browseable = yes
available = yes
comment = Abteilungsdaten
path = /usr/abt/
oplock contention limit = 1
*

This solution works more or less good. My mainproblem: many times a day the
message

/var/log/messages
*
SERVERNAME smbd[28175]:   password server not available
Jan 25 12:00:28 SERVERNAME smbd[28175]: [2006/01/25 12:00:28, 0]
auth/auth_server.c:server_cryptkey(83)
*
appears and then noone can access the shares. Resarting samba does not
solve the problem. Google was not able to give me a useable result, so i
ask you for help.

PS: sorry for my poor english grammar!!

greets Lucky_dc!

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


[Samba] Unique profile

2006-01-26 Thread Edson Capitani
 

Hi list! 

 

I need your help! 

 

I want to use a single profile to every user in my domain (samba3+ldap
backend) and I want to make this profile read only so every user will be in
moment using the same profile and this profile is roaming.  

 

My idea. 

 

|---|
|---|
|-|   

|   SMB-Server   |   |
WorkStation  |  |WorkStation   |

|---|UserLogon
|---|UserLogOff  |-
|

|  singleUser-Profile| --   |
UserMoment-Profile  |  | UserMoment-Profile|

|---||
ReadOnly   |-| Deleted |


 
|---|
|-|   

 

if there somebody out there that can guide me in the right direction please
help. 

 

Thankyou all in advance. 

 

Edson Capitani.

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


[Samba] samba as bdc

2006-01-26 Thread Andreas Fladischer

[EMAIL PROTECTED]

i have a samba server with ldap as pdc. everything works fine and now 
i'm testing samba as bdc.
i copied the smb.conf from the pdc to the bdc and changed the domain 
master = yes to no!


then i stopped the smb service on the pdc and tried to login on an winxp 
machine and this also worked (the log file show me that the login is on 
the bdc)! is it possible that the users can change their passwords when 
the pdc isn't available or must the pdc be online?how can i do this?


with best regards and thanks in advance for your answers
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] ldap filter

2006-01-26 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Remy Zandwijk wrote:

 I have a situation were the ldap filter option is needed as 
 well. It's very anoying this was removed from Samba. Never
 read an explanation either, only 'configure your nss_ldap
 to relfect the ldap filter', which is not really an option
 on our Solaris 9 systems. Samba Team, please give us back the
 'ldap filter' option!

Propose a patch on the samba-technical ml.  You won't
gain any traction on this list.  The original implementation
was broken.   Period.  Just caused too many problems.





cheers, jerry
=
I live in a Reply-to-All world---
Samba--- http://www.samba.org
Centeris ---  http://www.centeris.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD13mfIR7qMdg1EfYRAvhiAKDDgCly04GB27X3M/EEugvZicL96QCZAV2/
3YDb3iYHHBowmNA1/f9tn/U=
=+z+6
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] enable privileges: samba 3.0.14a (fc4) pdc with ldap

2006-01-26 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Anthony Messina wrote:

 1.
 when you do, enable privileges = yes and set some 
 privileges on the pdc, are those privileges effective
 throughout the entire domain?

Not currently.

 2.
 and then does enable privileges = yes need to be set 
 on each samba member server of a domain?

Depends on what you need.  The SeMachineAccountPrivilege
doesn't really apply on member servers but the
SePrintOperatorPrivilege does.

 3.
 would i need to grant the same privileges on every 
 samba member server in the domain?

See above comments.






cheers, jerry
=
I live in a Reply-to-All world---
Samba--- http://www.samba.org
Centeris ---  http://www.centeris.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD132SIR7qMdg1EfYRAgzVAJ9s7duhIJRYC+Wf9wbR9sqL4739mwCfQtp7
vPFNZLJwf7jukRxMWLAnbkg=
=ngTW
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Need help debugging the printer related Access denied, unable to connect message

2006-01-26 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

taso wrote:
 Gerald (Jerry) Carter wrote:

 Read the smb.conf(5) man page entry for 'user client driver'.

 
 Thanks, someone emailed me to that effect. Is it 
 possible to add that attribute to print shares
 that are otherwise entirely manufactured by Samba?

Do you mean from the [printers] dynamic share?  The standard
rules for default service options apply.  You will probably
need to define an explicit share for the problem printers
(or follow the recommended solution and just install the
drivers on the server).




cheers, jerry
=
I live in a Reply-to-All world---
Samba--- http://www.samba.org
Centeris ---  http://www.centeris.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD136qIR7qMdg1EfYRAkvOAJ4rjHPkZxIu3Cbsm4E9vgvQF+yU1gCfQBuW
hF3Z76Tulu959mWcP2K0WlI=
=oCdk
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] smbtar works only in verbose mode

2006-01-26 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Pierre Hanser wrote:
 hello
 i've observed on the last samba release, on a mandriva 2005 linux
 machine, something I had already seen in the past on older samba
 versions; when i try to dump a share from a win XP box, if i
 switch off verbose mode, many files at random are missing. If
 i run the smbtar in verbose mode all files are present.
 
 Is this a known fact? workaround? ideas?
 
 In the past i suspected a problem in my compilation of samba,
 but the same observation on an other machine, with an other
 linux and an other samba: it seems there is something here.
 thanks for any help or tips

This sounds like and old bug that has already been fixed.
What version of Samba are you running?





cheers, jerry
=
I live in a Reply-to-All world---
Samba--- http://www.samba.org
Centeris ---  http://www.centeris.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD137cIR7qMdg1EfYRAvLEAKDTFqvHxSKolaaKy9XS3JJYSn9AAgCfXDQK
jgi3or24x1QL/4ErLUYRHV4=
=3SBC
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] create smbpasswd/tdbsam from ldapsam/LDAP query?

2006-01-26 Thread Josh Kelley
On 1/23/06, Tomasz Chmielewski [EMAIL PROTECTED] wrote:
 Ilia Chipitsine schrieb:
  pdbedit
 
  it is beatiful thing for converting from anything to anything :-)

 Almost.
 I don't see if it can convert ldapsam to /etc/passwd and /etc/group.

To get /etc/passwd and /etc/group from LDAP, run getent passwd and
getent group on a computer that has LDAP/nsswitch configured.

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


Re: [Samba] enable privileges: samba 3.0.14a (fc4) pdc with ldap

2006-01-26 Thread Anthony Messina

Gerald (Jerry) Carter wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Anthony Messina wrote:



1.
when you do, enable privileges = yes and set some 
privileges on the pdc, are those privileges effective

throughout the entire domain?



Not currently.



2.
and then does enable privileges = yes need to be set 
on each samba member server of a domain?



Depends on what you need.  The SeMachineAccountPrivilege
doesn't really apply on member servers but the
SePrintOperatorPrivilege does.



3.
would i need to grant the same privileges on every 
samba member server in the domain?



See above comments.






cheers, jerry
=
I live in a Reply-to-All world---
Samba--- http://www.samba.org
Centeris ---  http://www.centeris.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD132SIR7qMdg1EfYRAgzVAJ9s7duhIJRYC+Wf9wbR9sqL4739mwCfQtp7
vPFNZLJwf7jukRxMWLAnbkg=
=ngTW
-END PGP SIGNATURE-



thank you jerry.  that cleared things up quite appropriately.  -anthony

--
My Website: http://messinet.com
My Online Gallery: 
http://messinet.com/modules.php?name=Web_Linksl_op=visitlid=3

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


[Samba] Removing rsync

2006-01-26 Thread Bhuwan Chawla
how to remove rsync succesfully?
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] create smbpasswd/tdbsam from ldapsam/LDAP query?

2006-01-26 Thread Tomasz Chmielewski

Josh Kelley schrieb:

On 1/23/06, Tomasz Chmielewski [EMAIL PROTECTED] wrote:


Ilia Chipitsine schrieb:


pdbedit

it is beatiful thing for converting from anything to anything :-)


Almost.
I don't see if it can convert ldapsam to /etc/passwd and /etc/group.



To get /etc/passwd and /etc/group from LDAP, run getent passwd and
getent group on a computer that has LDAP/nsswitch configured.


And I began to think how to do it with sed/awk from the ldapsearch query :)

Indeed, it is perhaps easier to do getent and then transfer the 
resulting files.

But then it's the push method, not pull (when I want exactly).
Perhaps I could use ssh keys to pull the data when I want from a central 
server, but I'm not sure if it wouldn't be a unnecessary security risk.



Good, I have some options, now I need to evaluate them.


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


[Samba] Samba daemons hang trying to lock locking.tdb

2006-01-26 Thread Fermin Molina
Hi,

A day or so after starting samba, some daemons (diferent forks) begin to
hang. Then, the WinXP clients hang too completely.

When I try to figure out what is happen, I see that smbd daemons hangs
always in a fcntl64() call:

# strace -p 6414
Process 6414 attached - interrupt to quit
fcntl64(14, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=3684, len=1}  
unfinished ...
Process 6414 detached
# 

The file descriptor 14 corresponds to /var/lib/samba/locking.tdb file.
A backtrace using gdb from one stalled daemon:

(gdb) bt
#0  0x00faf402 in __kernel_vsyscall ()
#1  0x003dbd7a in fcntl () from /lib/libc.so.6
#2  0x008e50eb in tdb_set_lock_alarm () from /usr/sbin/smbd
#3  0x008e5307 in tdb_set_lock_alarm () from /usr/sbin/smbd
#4  0x008e5868 in tdb_chainlock () from /usr/sbin/smbd
#5  0x00880da8 in get_share_mode_lock () from /usr/sbin/smbd
#6  0x00881677 in get_delete_on_close_flag () from /usr/sbin/smbd
#7  0x007718fb in reply_trans2 () from /usr/sbin/smbd
#8  0x007906bc in smb_fn_name () from /usr/sbin/smbd
#9  0x007913c4 in process_smb () from /usr/sbin/smbd
#10 0x00791899 in smbd_process () from /usr/sbin/smbd
#11 0x0096c5c0 in main () from /usr/sbin/smbd
(gdb)


A backtrace from another stalled daemon:


(gdb) bt
#0  0x00faf402 in __kernel_vsyscall ()
#1  0x003dbd7a in fcntl () from /lib/libc.so.6
#2  0x008e50eb in tdb_set_lock_alarm () from /usr/sbin/smbd
#3  0x008e5307 in tdb_set_lock_alarm () from /usr/sbin/smbd
#4  0x008e5868 in tdb_chainlock () from /usr/sbin/smbd
#5  0x00880da8 in get_share_mode_lock () from /usr/sbin/smbd
#6  0x0077ab8b in open_file_ntcreate () from /usr/sbin/smbd
#7  0x0074a922 in reply_ntcreate_and_X () from /usr/sbin/smbd
#8  0x007906bc in smb_fn_name () from /usr/sbin/smbd
#9  0x007913c4 in process_smb () from /usr/sbin/smbd
#10 0x00791899 in smbd_process () from /usr/sbin/smbd
#11 0x0096c5c0 in main () from /usr/sbin/smbd
(gdb)   


The number of smbd daemons stalled increases in time.
I'm using FC4 with last updates installed and samba 3.0.21a.

Maybe is a kernel related problem with file locking?

Thanx in advance!

-- 
Fermin Molina Ibarz
Tècnic sistemes - ASIC
Universitat de Lleida
Tel: +34 973 702151
GPG: 0x060F857A


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


[Samba] nmbd terminates with error code 58

2006-01-26 Thread Martin Meiler
Hello everybody,

from time to time our nmbd daemon quits his job and the last time he did
this he told us:

[2006/01/25 15:56:02, 0] nmbd/nmbd.c:terminate(58)
  Got SIGTERM: going down...

So my question is: What is the cause of this behaviour and in special
what is happening when nmbd exists with error code 58.

I am relly sorry if there is a documentation where i could have read
about it, but i did not find anything concerning my problem.

Thanks in advance for an answer.

Regards

Martin


-- 


  _/ _/_/   _/_/_/ Friedrich Alexander Universität Erlangen
 _/_/   _/ _/   Lehrstuhl für Sensorik
_/_/  _/   Paul-Gordanstr. 5, 91052 Erlangen, Germany
   _/  _/_/  _/_/
  _/ _/ _/  University of Erlangen
 _/_/   _/ _/  Department of Sensor Technology
_/_/_/  _/_/  _/_/_/   Paul-Gordanstr. 5, 91052 Erlangen, Germany


Dipl.-Ing. Martin Meiler

tel.:   (+49)-9131-85-23140
fax.:   (+49)-9131-85-23133

email:  [EMAIL PROTECTED]

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


[Samba] userPassword in a LDAP database of a Samba3 domain

2006-01-26 Thread fabricio bianco abreu
Hi folks,

I have been able to migrate a WinNT4 domain to a Samba3 PDC domain using
openldap as a backend and smbldap-tools to vampire the WinNT4 domain (pretty
much following Samba3 by Example and documentation in smbldap project by 
IDEALX).

Nevertheless, all 600 users migraged from the WinNT4 domain have attributes like
these on the ldap database:

 userPassword: {crypt}x
 sambaLMPassword: blablabla
 sambaNTPassword: blablabla

Every user that have had their password changed since the migration (using Win9x
control panel or WinXP tools or smbldap-passwd) have attributes like these on
the ldap database:

 userPassword: {MD5}foobar==
 sambaLMPassword: blablabla
 sambaNTPassword: blablabla

Now I am trying to use the same ldap server to support authentication to
unix/linux services. 
Users that have userPassword attribute in the MD5 form can be authentication by
unix/linux services. The other users cannot.

My question is: Is there a way to populate userPassword attribute in the MD5
format so that users are not required to have their password changed? I believe
a good opportunity to do so occurs whenever a user logs to the domain.

Thanks a lot. Best regards,

Fabricio







 Information from NOD32 
This message was checked by NOD32 Antivirus System for Linux Mail Server.
http://www.nod32.com
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Question about executable permissions with samba

2006-01-26 Thread Harshal Dharia
I have a setup where i am using samba to access my linux box through 
windows, to edit scripts and stuff. But say if a script as executable 
permissions for all when i open it in windows through samba, on saving it 
the prior permissions are overwritten by samba's default permission. Is 
there a way to tell samba to keep the file prior permission.

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


Re: [Samba] Samba 3.0.14 - very puzzling domain browsing problems

2006-01-26 Thread Stephen Bosch
Jesse Spangenberger wrote:
 Also, try to run Ethereal (www.ethereal.org) with the filter nbns || smb
 and see if the samba server is broadcasting the right packets.
 
 Umm, You could try remote browser = subnet of pdc making sure the PDC
 and workstations are in the same subnet and not across a router.

We have tried:

1. Specifying the interface in smb.conf
2. Adding the remote announce line with the local subnet in it
3. Turning on WINS

No hosts appear in My Network Places (these are 2000 machines).

Last night I did some packet captures on workstations using Ethereal. I
definitely need some help in interpreting them.

I'll attach a capture here and briefly describe what was done.

The Samba PDC is at 10.10.10.12; the host where the capture was done (in
non-promiscuous mode) is 10.10.10.58.

During the packet capture, I open My Network Places | Entire Network |
Microsoft Windows Network | HEDLIN-LAUDER

Nothing appears, so I go up a few levels, then back down.

I repeatedly click the HEDLIN-LAUDER domain.

What I see in the packet capture is interesting. For example, when I
click on the HEDLIN-LAUDER domain for the first time:

 No. TimeSourceDestination   Protocol Info
   3 8.12306210.10.10.58   10.10.10.12   TCP  1061 
  netbios-ssn [SYN] Seq=0 Ack=0 Win=16384 Len=0 MSS=1460
 
 Frame 3 (62 bytes on wire, 62 bytes captured)
 Ethernet II, Src: Micro-St_e1:98:d0 (00:0c:76:e1:98:d0), Dst: 
 00:48:45:44:02:01 (00:48:45:44:02:01)
 Internet Protocol, Src: 10.10.10.58 (10.10.10.58), Dst: 10.10.10.12 
 (10.10.10.12)
 Transmission Control Protocol, Src Port: 1061 (1061), Dst Port: netbios-ssn 
 (139), Seq: 0, Ack: 0, Len: 0
 
 No. TimeSourceDestination   Protocol Info
   4 8.12694710.10.10.12   10.10.10.58   TCP  
 netbios-ssn  1061 [SYN, ACK] Seq=0 Ack=1 Win=5840 Len=0 MSS=1460
 
 Frame 4 (62 bytes on wire, 62 bytes captured)
 Ethernet II, Src: 00:48:45:44:02:01 (00:48:45:44:02:01), Dst: 
 Micro-St_e1:98:d0 (00:0c:76:e1:98:d0)
 Internet Protocol, Src: 10.10.10.12 (10.10.10.12), Dst: 10.10.10.58 
 (10.10.10.58)
 Transmission Control Protocol, Src Port: netbios-ssn (139), Dst Port: 1061 
 (1061), Seq: 0, Ack: 1, Len: 0
 
 No. TimeSourceDestination   Protocol Info
   5 8.12697010.10.10.58   10.10.10.12   TCP  1061 
  netbios-ssn [ACK] Seq=1 Ack=1 Win=17520 Len=0
 
 Frame 5 (54 bytes on wire, 54 bytes captured)
 Ethernet II, Src: Micro-St_e1:98:d0 (00:0c:76:e1:98:d0), Dst: 
 00:48:45:44:02:01 (00:48:45:44:02:01)
 Internet Protocol, Src: 10.10.10.58 (10.10.10.58), Dst: 10.10.10.12 
 (10.10.10.12)
 Transmission Control Protocol, Src Port: 1061 (1061), Dst Port: netbios-ssn 
 (139), Seq: 1, Ack: 1, Len: 0
 
 No. TimeSourceDestination   Protocol Info
   6 8.12700610.10.10.58   10.10.10.12   NBSS 
 Session request, to PDC20 from HL0800
 
 Frame 6 (126 bytes on wire, 126 bytes captured)
 Ethernet II, Src: Micro-St_e1:98:d0 (00:0c:76:e1:98:d0), Dst: 
 00:48:45:44:02:01 (00:48:45:44:02:01)
 Internet Protocol, Src: 10.10.10.58 (10.10.10.58), Dst: 10.10.10.12 
 (10.10.10.12)
 Transmission Control Protocol, Src Port: 1061 (1061), Dst Port: netbios-ssn 
 (139), Seq: 1, Ack: 1, Len: 72
 NetBIOS Session Service
 Message Type: Session request
 Flags: 0x00
 Length: 68
 Called name: PDC20 (Server service)
 Calling name: HL0800 (Workstation/Redirector)
 
 No. TimeSourceDestination   Protocol Info
   7 8.13115010.10.10.12   10.10.10.58   TCP  
 netbios-ssn  1061 [ACK] Seq=1 Ack=73 Win=5840 Len=0
 
 Frame 7 (60 bytes on wire, 60 bytes captured)
 Ethernet II, Src: 00:48:45:44:02:01 (00:48:45:44:02:01), Dst: 
 Micro-St_e1:98:d0 (00:0c:76:e1:98:d0)
 Internet Protocol, Src: 10.10.10.12 (10.10.10.12), Dst: 10.10.10.58 
 (10.10.10.58)
 Transmission Control Protocol, Src Port: netbios-ssn (139), Dst Port: 1061 
 (1061), Seq: 1, Ack: 73, Len: 0
 
 No. TimeSourceDestination   Protocol Info
   8 8.13958910.10.10.12   10.10.10.58   NBSS 
 Positive session response
 
 Frame 8 (60 bytes on wire, 60 bytes captured)
 Ethernet II, Src: 00:48:45:44:02:01 (00:48:45:44:02:01), Dst: 
 Micro-St_e1:98:d0 (00:0c:76:e1:98:d0)
 Internet Protocol, Src: 10.10.10.12 (10.10.10.12), Dst: 10.10.10.58 
 (10.10.10.58)
 Transmission Control Protocol, Src Port: netbios-ssn (139), Dst Port: 1061 
 (1061), Seq: 1, Ack: 73, Len: 4
 NetBIOS Session Service
 Message Type: Positive session response
 Flags: 0x00
 Length: 0
 
 No. TimeSourceDestination   Protocol Info
   9 8.13964310.10.10.58   10.10.10.12   SMB  
 Negotiate Protocol Request
 
 Frame 9 (191 bytes on wire, 191 bytes captured)
 Ethernet 

Re: [Samba] Samba 3.0.14 - very puzzling domain browsing problems

2006-01-26 Thread Stephen Bosch
Anthony Messina wrote:
 stephen, might you try setting:
 
 hosts allow = 10.0.0.0/8
 
 or change the network/mask bit for each lan you'd like to allow
 
 and:
 hosts deny = 0.0.0.0/0
 
 and:
 interfaces = eth0
 bind interfaces only = yes
 
 change eth0 to whatever eth* interface your lan is connected to, and
 also add lo if you use printers attached to this samba server.  this
 will tell samba to only bind to the interfaces that you have configured
 here and may route broswing properly.
 
 anyone else here have any suggestions?

We did

interfaces = 10.10.10.12/24

and

remote announce = 10.10.10.255/HEDLIN-LAUDER

following the smb.conf man page, but that had no discernable effect.

-Stephen-

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


[Samba] Re: Samba - joining TO THE DOMAIN

2006-01-26 Thread eric roseme

First, this should go to samba@lists.samba.org - not technical.

Second - with net join, you are probably in security = domain.  So 
you need to add the computer to the domain using the Users and Computers 
MMC on the domain controller.



Eric Roseme
Hewlett-Packard


Nagendra KV wrote:

HI

 


Help is required!

 


I get following error when joining the domain Samba used: 3.0.10 on
HP-UX 11i

 

 


# net join -I a.b.c.d -U user_name

[2006/01/25 20:00:57, 0]
rpc_client/cli_netlogon.c:cli_nt_setup_creds(256)

  cli_nt_setup_creds: request challenge failed

Password:

[2006/01/25 20:01:21, 0]
rpc_client/cli_netlogon.c:cli_nt_setup_creds(256)

  cli_nt_setup_creds: request challenge failed

[2006/01/25 20:01:21, 0] utils/net_rpc_join.c:net_rpc_join_newstyle(319)

  Error domain join verification (reused connection):
NT_STATUS_INVALID_COMPUTER_NAME

 


Unable to join domain domain_name

 


Please help me out to resolve this issue.

 

 


Thanks

Regards

Nagendra KV

 

 

 


Nagendra KV | Technology (STS) | M P H A S I S  Architecting Value | IT
SERVICES
#139/1, Hosur Road, Koramangala, Bangalore - 560095, | Tel: (80)
25522713/14 Ext-1016| Fax: (80) 25522719| www.mphasis.com
http://www.mphasis.com/ 


Information transmitted by this e-mail is proprietary to MphasiS and/ or
its Customers and is intended for use only by the individual or entity
to which it is addressed, and may contain information that is
privileged, confidential or exempt from disclosure under applicable law.
If you are not the intended recipient or it appears that this mail has
been forwarded to you without proper authority, you are notified that
any use or dissemination of this information in any manner is strictly
prohibited. In such cases, please notify us immediately at
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  and delete this
mail from your records

 




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


Re: [Samba] Samba 3.0.14 - very puzzling domain browsing problems

2006-01-26 Thread Stephen Bosch
I am just going to attach an Ethereal packet capture file in native
format without commentary. I welcome feedback, because at this point,
I'm truly stumped.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Need help debugging the printer related Access denied, unable to connect message

2006-01-26 Thread taso

Gerald (Jerry) Carter wrote:


taso wrote:

Gerald (Jerry) Carter wrote:

Read the smb.conf(5) man page entry for 'user client driver'.

Thanks, someone emailed me to that effect. Is it 
possible to add that attribute to print shares

that are otherwise entirely manufactured by Samba?


Do you mean from the [printers] dynamic share?  The standard
rules for default service options apply.  You will probably


I didn't (and maybe still don't) know precisely what those rules are.
My question was, Can I explicitly define a print share, nominate that
it inherits attributes from X, but over-ride the 'use client driver'
attribute. X being whatever the automatically created print shares get
their attributes from. My current understanding says that the answer
is approximately, yes. A bare print share gets its attributes from the
default settings which can be adjusted with [printers].



need to define an explicit share for the problem printers
(or follow the recommended solution and just install the
drivers on the server).



That was the plan but for unknown reasons I could only upload one
set of drivers - trying to upload for additional printers kept failing.
Eventually, I deleted all of the printer related tdb files, crossed my
fingers, and was then able to upload several printer drivers. (Didn't
cross my fingers the first time.)

Can Samba tell me which printers it thinks that it has drivers for, and
for every such printer the set of files that constitute the driver?


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


Re: [Samba] net ads join segmentation fault

2006-01-26 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Robert J. Collins wrote:

 On FreeBSD 6.0-RELEASE-p2 using samba-3.0.21a,1 the 
 net command seg faults. Does anyone know what is going
 on?

Can you get a backtrace from gdb after building Samba
with the --enable-debug option (or just the -g gcc compile
flag)?  Thanks.





cheers, jerry
=
I live in a Reply-to-All world---
Samba--- http://www.samba.org
Centeris ---  http://www.centeris.com

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD17ZAIR7qMdg1EfYRAinYAKDzbHIHzgNkbAYhP0LUjpQa3fwgcACg1dv1
y9bP7gb4sJYxGd9Fmw6rxp8=
=zYh7
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] RESOLVED: Linux/AD authentication stops working after ~5 minutes

2006-01-26 Thread McGlorfin

McGlorfin wrote:

I'm trying to do something fairly simple: login to a Linux box using a
Windows AD-based account. [...]



[...] Is this more likely to be a
misconfiguration or an issue with my version of Samba? 


After upgrading to version 3.0.21a, my problems have disappeared. The 
WHATSNEW file gives a hint as to the source of the problem:


  Common bugs fixed in 3.0.14a include:

o Compatibility issues between Winbind and Windows 2003 SP1
  domain controllers (*2k3sp1*).

-McG

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


[Samba] Samba 3.0.21a and AIX 5.3 - Cannot see server on network

2006-01-26 Thread Dan Engelsen
I compiled the 3.0.21a samba software with the
following configure options:

configure --prefix=/opt/samba --exec-prefix=/opt/samba
--with-krb=/usr/krb5 --with-smbwrapper --with-syslog
--with-mandir=/usr/man --with-winbind

Everything compiled fine; however, I am unable to see
the server on the microsoft network.

My smb.conf file looks like the this:

[global]
workgroup = CAREMARKRX
netbios name = AZSHSAMBAD01
server string = Micro Strategy Dev Samba
Server 3.0.21a
interfaces = 127.0.0.1, r10dev01/255.255.255.0
security = DOMAIN
log file = /opt/samba/logs/log.%m
preferred master = No
local master = No
domain master = No
dns proxy = No
wins server = WINS1, WINS2
ldap ssl = no
passdb expand explicit = No
admin users = is81301, ds066

[/dano]
path = /tmp
guest ok = Yes
  

When I do a netstat -a, I do not see ports 137 or 139
listed:

tcp4   0  0  *.daytime  *.*   
LISTEN
tcp0  0  *.ftp  *.*   
LISTEN
tcp4   0  0  *.ssh  *.*   
LISTEN
tcp0  0  *.telnet   *.*   
LISTEN
tcp4   0  0  *.time *.*   
LISTEN
tcp4   0  0  *.sunrpc   *.*   
LISTEN
tcp4   0  0  *.netbios- *.*   
LISTEN
tcp4   0  0  *.microsof *.*   
LISTEN
tcp0  0  *.exec *.*   
LISTEN
tcp0  0  *.login*.*   
LISTEN
tcp0  0  *.shell*.*   
LISTEN
tcp4   0  0  *.rmc  *.*   
LISTEN
tcp4   0  0  *.rsync*.*   
LISTEN
tcp4   0  0  *.swat *.*   
LISTEN
tcp4   0  0  *.writesrv *.*   
LISTEN
tcp0  0  *.shilp*.*   
LISTEN
tcp4   0  0  r10dev01.shilp
r10dev02.interna.34383 ESTABLISHED
tcp4   0  0  *.filenet- *.*   
LISTEN
tcp4   0  0  *.filenet- *.*   
LISTEN
tcp4   0  0  *.filenet- *.*   
LISTEN
tcp4   0  0  *.33138*.*   
LISTEN
tcp4   0  0  *.wsmserve *.*   
LISTEN
tcp4   0 52  r10dev01.ssh  
dpcs0395590.care.atc-l ESTABLISHED
tcp4   0  0  r10dev01.ssh  
dpcs0395590.care.1187  ESTABLISHED
udp4   0  0  *.daytime  *.*
udp4   0  0  *.time *.*
udp4   0  0  *.sunrpc   *.*
udp4   0  0  127.255.255.255.ntp*.*
udp4   0  0  rs123ws255.inter.ntp   *.*
udp4   0  0  loopback.ntp   *.*
udp4   0  0  r10dev01.ntp   *.*
udp4   0  0  *.ntp  *.*
udp4   0  0  r10dev01.netbios-  *.*
udp4   0  0  *.netbios- *.*
udp4   0  0  r10dev01.netbios-  *.*
udp4   0  0  *.netbios- *.*
udp4   0  0  *.syslog   *.*
udp4   0  0  *.ntalk*.*
udp4   0  0  *.rmc  *.*
udp4   0  0  *.shilp*.*
udp4   0  0  *.xmquery  *.*
udp4   0  0  *.32775*.*
udp4   0  0  *.32776*.*
udp4   0  0  *.32777*.*
udp4   0  0  *.32781*.*
udp4   0  0  *.32782*.*
udp4   0  0  *.32819*.*
udp4   0  0  *.32820*.*
udp4   0  0  *.33402*.*
udp4   0  0  *.33403*.*
udp4   0  0  *.35480*.*
udp4   0  0  *.35481*.*
udp4   0  0  *.35482*.*
udp4   0  0  *.37966*.*
udp4   0  0  *.37967*.*

The processes are up and running:

[EMAIL PROTECTED]/etc # ps -ef|grep samba
root 634946  1   0 10:52:30  -  0:00
/opt/samba/sbin/smbd -D
root 671958 634946   0 10:52:31  -  0:00
/opt/samba/sbin/smbd -D
root 680114  1   0 10:52:31  -  0:00
/opt/samba/sbin/nmbd -D

When I try the echo help|telnet localhost 139, it
works, but it hangs for about 5 minutes.

[EMAIL PROTECTED]/etc # echo hello |telnet localhost
139
Trying...
Connected to loopback.
Escape character is '^]'.  (It hangs at this point)
Connection closed.
[EMAIL PROTECTED]/etc #

I do not start the samba daemons out of inetd.  I have
a startup script that runs from the inittab called
/etc/rc.samba.

#!/bin/ksh

if [ -x /opt/samba/sbin/smbd ]
then
echo 

Re: [Samba] swat problem with open files

2006-01-26 Thread Jeremy Allison
On Wed, Jan 18, 2006 at 02:19:40PM -0800, Jeremy Koski wrote:
 
 On Tue, 17 Jan 2006, Jeremy Allison wrote:
 
 On Tue, Jan 17, 2006 at 02:12:27PM -0800, Jeremy Koski wrote:
 
 
 Not sure when this started happening, but we first noticed it about 3
 months ago. We have two seperate Samba servers, both having the same
 problem when using swat. Both are running 3.0.21a.
 
 When clicking on Status after logging into to swat, the Open Files
 section isn't displaying properly. Each process says DENY_DOS under
 Sharing, and under File, each process says A[] (The letter A and then a
 square).
 
 Does anybody have any idea what happend and how I can fix this?
 
 Probably just a bug. Can you test smbstatus from the same build
 and ensure that it is displaying the open file list correctly ?
 
 Jeremy.
 
 
 
 smbstatus works fine from the 3.0.21a distribution. In swat, no luck.

I'll look into this for 3.0.21b. Thanks,

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


[Samba] how to rename/label network drives

2006-01-26 Thread Taolizhong
Hello --
   
  I am running samba 3.0.20b as PDC. The clients are running Windows XP SP2.  I 
have a question about how to rename/label the network drive on the clients.
   
  It appears when users login, Windows OS automatically names the mapped drives 
shown in Windows explorer as sharename  server name  (drive letter), such as 
public on 'Samba 3.0.21b (pdc.example.com)' (P:).  The user could rename it 
manually via right click on the drive and choose rename option.  I wonder if 
it is possible for Samba system administrtors to rename/label it such that when 
users log onto their account, the drive(s) have desired label/name.
   
  BTW, I tried DOS command label P:myname. It gave me error message like 
Parameters are not compatible.
   
  Thanks,
   
  --Ling
   


-
Bring words and photos together (easily) with
 PhotoMail  - it's free and works with your Yahoo! Mail.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Print Migrator help needed...

2006-01-26 Thread Aarti Varshney (asadhnan)
Hi,
 
I am trying to migrate print queues from a windows server to a samba
share.
1. I ran printmig.exe on the windows server. 
2. Backed up the printers on the windows servers to a cab file.
3. Tries to restore the printers to the sambashare by specifying the
target as //sambaShare.
But I get the following error: 
 
2006:01:25 15:35:38   Access Granted to: \\sambaShare
2006:01:25 15:35:38   Couldn't start the target spooler
2006:01:25 15:35:38   Remote Tree View Failed
 
How do I starter the target spooler?
Do I need some config in smb.conf?
In smb.conf I have a addprinter command.
 
Thanks,
Aarti.
 



From: Aarti Varshney (asadhnan) 
Sent: Monday, January 23, 2006 2:55 PM
To: 'samba@lists.samba.org'
Subject: guest account security = domain doesn't work...


Hi,
 
my security is domain, i would like to map users who fail authentication
to be
mapped to a guest account so they can access printers.

My conf file looks like this:
[global]
workgroup = LAB2000DOMAIN2
security = DOMAIN
client schannel = No
map to guest = Bad Password
password server = 10.86.32.27
log level = 4 passdb:5 auth:10 winbind:4
log file = /local/local1/errorlog/samba.log
max log size = 50
smb ports = 50139
lpq cache time = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
preferred master = No
local master = No
domain master = No
dns proxy = No
wins server = 10.86.32.27
idmap uid = 7-20
idmap gid = 7-20
template homedir = /local/local1/
template shell = /admin-shell
winbind cache time = 10
winbind use default domain = Yes
printer admin = @cupsAdmin
cups options = raw
force printername = Yes

[print$]
path = /state/samba/printers
write list = @cupsAdmin
force user = root
force group = root
guest ok = Yes

[printers]
comment = All Printers
path = /local/local1/spool/samba
guest ok = Yes
printable = Yes
browseable = No
But this does not work.
Any ideas?
Would greatly apreciate your help.
Thanks,
Aarti.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] windows print migrator + add printer command

2006-01-26 Thread Aarti Varshney (asadhnan)
hi Geoff,
 
Looks like you have figured out how to use the printmig.exe.
Can you please give me some pointers:
I am trying to migrate print queues from a windows server to a samba
share.
 
this is what I did:
1. I ran printmig.exe on the windows server. 
2. Backed up the printers on the windows servers to a cab file.
3. Tries to restore the printers to the sambashare by specifying the
target as //sambaShare.
But I get the following error: 
 
2006:01:25 15:35:38   Access Granted to: \\sambaShare
file://sambaShare/ 
2006:01:25 15:35:38   Couldn't start the target spooler
2006:01:25 15:35:38   Remote Tree View Failed
 
How do I starter the target spooler?
Do I need some config in smb.conf?
In smb.conf I have a addprinter command.
 
Thanks,
Aarti.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba LDAP caching when LDAP server unavailable - possible?

2006-01-26 Thread Christopher Smith
We've used slave ldap servers as our local office solution, it seems 
like PITA at first, but really its not much trouble... we redistribute 
old Optiplex GX100's with bigger IDE drives as the local pdc.


Chris Smith

Tomasz Chmielewski wrote:


Michael Gasch schrieb:

you could set up openldap to do syncrepl and have a full copy of 
your samba domain stuff that's in ldap.  if the connection goes 
down, the ldap stuff is there and if you have it set up like a bdc, 
you can still login, etc.




Yep, that's how it's normally done.



what about setting up a BDC in the subnet the router can access by 
ethernet (builtin switch, subnet behind the router). this connection 
is alays on, isn´t it?



It's a solution for a small office.

A couple of workstations, this tiny router running Samba instead of a 
server; connection to the outside through ADSL, nothing more.


When ADSL doesn't connect (because an employee disconnected the modem, 
because he needed a power outlet to make tee), we're in trouble.




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


[Samba] Can printer names be mapped?

2006-01-26 Thread Gururajan Ramachandran


Can printer names be mapped between unix names and windows names just like 
groups? I have a printer that is shared as HP Mode9 (with a space in the 
name) in windows domain. CUPS will not let me create the name that way so 
I called it HP_Mode9 (with an underscore). Everybody in the domain is 
hooked to HP Mode9 (with a space). How do I avoid reinstalling driver in 
all the windows clients?


Thanks,

Guru

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


Re: [Samba] Samba 3.0.14 - very puzzling domain browsing problems

2006-01-26 Thread Anthony Messina

Stephen Bosch wrote:

Anthony Messina wrote:


stephen, might you try setting:

hosts allow = 10.0.0.0/8

or change the network/mask bit for each lan you'd like to allow

and:
hosts deny = 0.0.0.0/0

and:
interfaces = eth0
bind interfaces only = yes

change eth0 to whatever eth* interface your lan is connected to, and
also add lo if you use printers attached to this samba server.  this
will tell samba to only bind to the interfaces that you have configured
here and may route broswing properly.

anyone else here have any suggestions?



We did

interfaces = 10.10.10.12/24

and

remote announce = 10.10.10.255/HEDLIN-LAUDER

following the smb.conf man page, but that had no discernable effect.

-Stephen-



stephen, it seems like you've tried to go through everything in the 
right manner.  and you've done the ethereal to make sure packets are 
being sent/received between windows computers and your nmbd server.  i 
am not able to spot where the trouble is so i've included my smb.conf, 
which works as a pdc in the local subnet and as a hub across 2 vpn spoke 
connections without a problem.  perhaps we're both missing something 
that this config can clarify.  -anthony


i do not use firewalling on the lan side of my pdc.

--- smb.conf---
workgroup = example.com
netbios name = home
server string = Samba Domain Server

hosts allow = 127.0.0.1 192.168.1.0/24 192.168.2.0/24 192.168.3.0/24
hosts deny = 0.0.0.0/0

interfaces = lo eth0
bind interfaces only = yes

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

printcap name = cups
load printers = yes
printing = cups
cups options = raw

guest account = nobody

log file = /var/log/samba/samba.log
max log size = 1024
log level = 1

security = user
lanman auth = no
client ntlmv2 auth = yes
null passwords = yes

enable privileges = yes

ldap passwd sync = no
ldap admin dn = uid=sambaroot,ou=People,dc=example,dc=com
passdb backend = ldapsam:ldap://127.0.0.1
ldap ssl = off
ldap delete dn = no
ldap suffix = dc=example,dc=com
ldap user suffix = ou=People
ldap group suffix = ou=Group
ldap machine suffix = ou=People
ldap filter = ((objectClass=sambaSamAccount)(uid=%u))

add user script = /usr/sbin/smbldap-useradd -m %u
delete user script = /usr/sbin/smbldap-userdel %u
add machine script = /usr/sbin/smbldap-useradd -w %u
add group script = /usr/sbin/smbldap-groupadd -p %g
delete group script = /usr/sbin/smbldap-groupdel %g
add user to group script = /usr/sbin/smbldap-groupmod -m %u %g
delete user from group script = /usr/sbin/smbldap-groupmod -x %u %g
set primary group script = /usr/sbin/smbldap-usermod -g %g %u

encrypt passwords = yes

unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n 
*passwd:*all*authentication*tokens*updated*successfully*


username map = /etc/samba/smbusers

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

logon script = %U.bat
logon drive = H:
logon home = \\%L\%U

name resolve order = wins lmhosts bcast
wins support = yes
wins proxy = no
dns proxy = no

preserve case = yes
nt acl support = yes

Shares would be here
---end smb.conf---

-anthony

--
My Website: http://messinet.com
My Online Gallery: 
http://messinet.com/modules.php?name=Web_Linksl_op=visitlid=3

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


Re: [Samba] ldap authentication fails

2006-01-26 Thread Andy Kesterson
Well as it turns out our problem eas with the sambaSID values in ldap.
Apprently Samba 3.0 want the full SID value in those fields (sambaSID,
and sambaGroupSID) for any user. We only had the last 4 digits, which
are the unique digits for us (I'm not sure if the amount of digits at
the end can change). Once we setup the users with with the full Samba
SID we were able to execute every Samba command without a problem.

Thanks for the help

On 1/23/06, Gordon Messmer [EMAIL PROTECTED] wrote:
 Andy Kesterson wrote:
 
 The problem that we are having is when Samba has the encrypt
  passwords option is enabled, we recieve an session setup failed:
  NT_STATUS_LOGON_FAILURE message. When encrypt passwords is disabled
  the login is succesful.
 ...
We have setup Samba, OpenLDAP, and PAM to use MD5 as their hashing 
  function.

 When encrypt passwords is disabled, and the client is appropriately
 configured, the client will establish a session by sending its username
 and password, both in plain text.  With the plain text password from the
 client, the server can use PAM to authenticate the user.

 However, if you don't want to reconfigure all of your Windows desktops,
 and you don't want your passwords sent across the network in plain text
 for each connection, you should have encrypt passwords turned on.  In
 this configuration, the client and server engage in a challenge-response
 conversation to authenticate the users.  To do that, the server needs to
 have the plain-text equivalent of the user's password.  If you had a
 smbpasswd file before converting to LDAP, you can use that to get the
 values that you need.  If not, then you'll need all of your users to set
 their password.  However you choose to solve that problem, you need to
 make sure that in addition to the userPassword attribute, each user
 has a sambaLMPassword and a sambaNTPassword attribute.  The values
 for those two attributes can be formed using the mkntpwd program, if
 you want to script the password changes.

 Be careful to configure your LDAP server such that users can not read
 the sambaLMPassword and sambaNTPassword attributes from the server.
 Those values are plain-text equivalents, and could be used to log in as
 the user to whom they belong.

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


[Samba] oplocks and Excel

2006-01-26 Thread Matt Morgan
I have a small business client with a new samba file server. It's
CentOS 4.2 and Samba samba-3.0.10-1.4E.2.

When they save open Excel files from Windows, they are prompted to
overwrite the existing file. I mean, when they click the little disk
icon or use Ctrl-S or File--Save. Excel would normally just write over
the file, not check with an are you sure? prompt. But that's what
they get.

So I looked into this a little, and although I can't find anyone with
this specific issue, I do see that newer versions of Excel create a
bit of file-locking trouble for samba. Now, I don't know enough to
know whether my problem has anything to do with file-locking, but it
seems likely enough. So I have two questions:

1) I find very conflicting opinions on this list, and across the net,
about whether to leave oplocks and level2 oplocks on. I have never had
to touch them in the past, but most of the places where I've used
samba have old versions of Excel and/or OOo. If this place does not
use much MS-Access, can I turn off oplocks? Might I expect doing so to
help with this prompt-to-overwrite problem?

2) More generally, has anyone else seen this problem before and been
able to do anything about it?

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


[Samba] grant administrator rights

2006-01-26 Thread Patrick DUBAU

Hi,

we want to give all our users all the rights on the stations, i see 2 
solutions :

- on the station goto local group administrators and add everyone
-  on the sation goto local group administrator annd add an LDAP group 
call UA (created by us with containing all ou users)



Which  way is the best in term of charge ?
Someone told to me that in the first case windows has to handle all the 
users on the stations, but in the second case only one group (group UA).


We have about 4000 users accounts in LDAP
Does  windows have problem handling so much users?

Thanks for any suggestion or return of experience





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


[Samba] test ignore

2006-01-26 Thread Robert Schetterer


--
Mit freundlichen Gruessen
Best Regards
Robert Schetterer

robert_at_schetterer_dot_org
Munich / Bavaria / Germany
https://www.schetterer.org
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Odd Samba behavior using Windows XP client API RemoveDirectory function

2006-01-26 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jean Cyr wrote:
 I'm having problems with a utility I wrote deleting folders from a
 Thecus N4100 Samba based fileserver. I do not have access or control
 over its Samba config file and this may not be a Samba problem but
 perhaps someone here can point me in the right direction???
  
 When I issue a Windows API RemoveDirectory function against an empty
 folder residing on a Samba share, the function returns with a success
 return code but does not delete the folder! This is a known problem
 and is documented in the Cygwin rmdir command as occurring when the
 folder is flagged as read-only, which is the Samba default.

See the 'map readonly' smb.conf(5) parameter in 3.0.21.
Or the better solution is to use 'store dos attributes'
parameter with file system EAs.







cheers, jerry
=
I live in a Reply-to-All world---
Samba--- http://www.samba.org
Centeris ---  http://www.centeris.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD17aWIR7qMdg1EfYRAqXDAJwJ2gHZN3aL5OJrJlvqLn7QzKRMgQCcCPEt
x3SPMXVR4Lmi12V+LFVN9wI=
=ViX2
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] cupsaddsmb

2006-01-26 Thread Andreas Fladischer

hi!

i've a problem with my samba server and the cupsaddsmb tool for windows 
nt4.0 clients. I'm using cups 1.1.22 and samba 3.0.20b!


the problem is, if i do a cupsaddsmb printer it will generate a 
directory with the drivers for windows. these drivers works perfectly 
with Win2000 Xp but they don't work with Win NT4.0!


i used the cups-samba-1.1.19.tar.gz package to install the cups printer 
drivers but they wouldn't work under nt4.0!


maybe someone can help me - i hope so! :-)

thanks in advance

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


[Samba] Test - please ignore

2006-01-26 Thread RNuno

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


[Samba] SFU UID Mapping

2006-01-26 Thread John Halfpenny

Hi Everyone,

I'm trying to set up a central home storage area with Samba for our PC and Mac 
clients. I thought that the most logical (ie. easy) way to do this would be to 
have Samba take care of the Windows connectivity and use NFS for the Macs. 

But for this to work I need to drag over the UIDs from Services For Unix which 
I have read is possible on Samba 3.0.20+

Joined Samba to the Win2k3 domain with no problems, the portion of my winbind 
file is here

   idmap backend = ad
   idmap uid = 1-6
   idmap gid = 1-6
   winbind enum users = yes
   winbind enum groups = yes
   winbind nss info = template sfu

If I do a 'getent passwd' with the top line in the config, nothing is returned, 
if I comment that line out then I get my user info but the UIDs are wrong!

Will I have to install Samba from source to get this working? Presently I 
installed the RPM for Fedora 4 and I'm wondering if a component isn't there. 
Worried I'll get in a mess if I start putting the source code version on!

Thanks for any help you can give :-)

John

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


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


[Samba] Server crash results in no printing (SuSE, Samba 3.0.4)

2006-01-26 Thread Gareth Robert Halfacree
(yes, I know it's an old version of Samba but I *really* don't want to 
mess about upgrading right now)


The server in question (SuSE Enterprise Linux 9) got itself in a tizz 
last night and was restarted cleanly via the shutdown -r command this 
morning.  Everything comes back up, including Samba, and all is fine.


Except that no-one can print.

Nothing has changed in any of the configuration files.  tdbbackup 
reports that all the tdb files are intact.


Printing from the cups web interface ('Print Test Page') works fine. 
Printing when logged on as 'administrator' works fine.  Printing as a 
Joe-Blow user fails miserably.


I'm getting the following error message in the logs:

[2006/01/26 08:48:58, 0] printing/print_cups.c:cups_queue_get(903)
  Unable to get jobs for ipp://localhost/printers/IT_Office - 
client-error-not-authorized


I'm also seeing a number of:

process_request_pdu: failed to do schannel processing

This thing is kicking my hindquarters, and as it's the central 
logon/print server for a not-small educational establishment the 
pressure is on to get it sorted.


I've doubled-checked all the configuration files, scanned the tdb files 
with tdbbackup, restarted the smbd process after clearing out the 
volatile tdbs, and googled my little heart out.


Any ideas?

--
Gareth Halfacree
http://gareth.halfacree.co.uk
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] share user's home directory

2006-01-26 Thread f
Hi, i'm trying to share the home directory of one single user to some
other users of my samba server, and don't know how...

My problem is that the [homes] section of smb.conf includes all users
of my samba server and this is right, but i want to do an exception
with one user, i need that this user home's directory can be shared to
some other users...

i tried to create a new share using a home's directory as a path to
permit other users to read and write it, but it dosn't work cause says
that the resource is in use

thanks in advance

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


[Samba] testing list

2006-01-26 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Please ignore.  checking if the mail server glitch is fixed.





-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD2MRfIR7qMdg1EfYRAlQ8AKDUxiM9eUjmBa3jQsTJ3jPKmNzpOACfdVxV
3srBhmhhdMt1wUAi6SyQjNg=
=J7gw
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] List problems now resolved

2006-01-26 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Folks,

There was a problem with the mail server digest for for this list
which clogged the mail queue for the past 48 hours.  Sorry for
the delayed response.  Things should be working fine now.  And
you will probably see a flood of mail.

Enjoy.  :-)





cheers, jerry
=
I live in a Reply-to-All world.   ---
Samba--- http://www.samba.org
Centeris ---  http://www.centeris.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD2PHRIR7qMdg1EfYRAokyAJ9Joiz/XjbtFEH9b4Auba6/mzrk7ACfahCE
gS6IaABz9tLu4v5zYXH3+WI=
=dSbC
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] List problems

2006-01-26 Thread Anthony Messina

James Watkins wrote:
Hi all, is it just me or has this list stopped working.  I haven't 
received anything for a couple of days now.


Cheers,

James.

well, i got your message.  -anthony

--
My Website: http://messinet.com
My Online Gallery: 
http://messinet.com/modules.php?name=Web_Linksl_op=visitlid=3

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


[Samba] Re: SAMBA on AIX 5.1

2006-01-26 Thread William Jojo

  - Original Message - 
  From: Antonio Sosa 
  To: samba@lists.samba.org 
  Cc: [EMAIL PROTECTED] 
  Sent: Thursday, January 26, 2006 10:49 AM
  Subject: SAMBA on AIX 5.1


  I installed the binary from 
http://us2.samba.org/samba/ftp/Binary_Packages/AIX/

  Opt-samba-AIX5-3.0.21a.tar.gz

  Installed fine but when I go to run the samba binaries, this is what I get:

   

  Can anyone help - thanks in advanced.



What does oslevel -r report?


5100-09 is available at the IBM site and those functions should be supported in 
that release (I think actually at 06 or 07).

http://www-03.ibm.com/servers/eserver/support/unixservers/aixfixes.html

Select AIX 5.1 under Maintenance Packages.


Cheers,

Bill




  /opt/Samba/3.0.21a/sbin ./nmbd -D
  [1] 544860 
  oldpetes: root] /opt/Samba/3.0.21a/sbin exec(): 0509-036 Cannot load program 
./nmbd because of the following errors: 
  0509-130 Symbol resolution failed for nmbd because: 
  0509-136   Symbol statvfs64 (number 134) is not exported from 
 dependent module /usr/lib/libc.a(shr.o). 
  0509-136   Symbol opendir64 (number 169) is not exported from 
 dependent module /usr/lib/libc.a(shr.o). 
  0509-136   Symbol closedir64 (number 170) is not exported from 
 dependent module /usr/lib/libc.a(shr.o). 
  0509-136   Symbol readdir64 (number 171) is not exported from 
 dependent module /usr/lib/libc.a(shr.o). 
  0509-136   Symbol seekdir64 (number 180) is not exported from 
 dependent module /usr/lib/libc.a(shr.o). 
  0509-136   Symbol telldir64 (number 229) is not exported from 
 dependent module /usr/lib/libc.a(shr.o). 
  0509-192 Examine .loader section symbols with the 
   'dump -Tv' command. 

  [1] +  Done(255)   ./nmbd -D  
  oldpetes: root] /opt/Samba/3.0.21a/sbin

   

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


[Samba] nmbd terminates with error code 58

2006-01-26 Thread Martin Meiler
Hello everybody,

i have already posted this message yesterday, but i didn't receive my
posting. There i want to repeat it.

From time to time our nmbd daemon quits his job and the last time he did
this he told us:

[2006/01/25 15:56:02, 0] nmbd/nmbd.c:terminate(58)
  Got SIGTERM: going down...

So my question is: What is the cause of this behaviour and in special
what is happening when nmbd exists with error code 58.

I am relly sorry if there is a documentation where i could have read
about it, but i did not find anything concerning my problem.

Thanks in advance for an answer.

Regards

Martin


-- 


  _/ _/_/   _/_/_/ Friedrich Alexander Universität Erlangen
 _/_/   _/ _/   Lehrstuhl für Sensorik
_/_/  _/   Paul-Gordanstr. 5, 91052 Erlangen, Germany
   _/  _/_/  _/_/
  _/ _/ _/  University of Erlangen
 _/_/   _/ _/  Department of Sensor Technology
_/_/_/  _/_/  _/_/_/   Paul-Gordanstr. 5, 91052 Erlangen, Germany


Dipl.-Ing. Martin Meiler

tel.:   (+49)-9131-85-23140
fax.:   (+49)-9131-85-23133

email:  [EMAIL PROTECTED]


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


[Samba] grant administrator rights

2006-01-26 Thread Patrick DUBAU

Hi,

we want to give all our users all the rights on the stations, i see 2 
solutions :

- on the station goto local group administrators and add everyone
-  on the sation goto local group administrator annd add an LDAP group 
call UA (created by us with containing all ou users)



Which  way is the best in term of charge ?
Someone told to me that in the first case windows has to handle all the 
users on the stations, but in the second case only one group (group UA).


We have about 4000 users accounts in LDAP
Does  windows have problem handling so much users?

Thanks for any suggestion or return of experience

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


Re: [Samba] List problems

2006-01-26 Thread Stephen Bosch
James Watkins wrote:
 Hi all, is it just me or has this list stopped working.  I haven't
 received anything for a couple of days now.

No, it's not just you -- same problem here. I made two posts yesterday
that never made it.

-Stephen-

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


Re: [Samba] List problems

2006-01-26 Thread Kerie

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

As far as I can see I have not been receiving any messages after
01/24/2006, from 16:39 GMT +1 onwards I have received two messages
however.

Cheers,

Jeroen

James Watkins wrote:
| Hi all, is it just me or has this list stopped working.  I haven't
| received anything for a couple of days now.
|
| Cheers,
|
| James.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD2PLANdf2PDF7b1IRAj2iAJ9whzA+X0nuO8Omdn0CciiHuQsg3wCgw1hW
912SLpoAxN9EJpR/luFALVM=
=uoqT
-END PGP SIGNATURE-

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


Re: [Samba] List problems

2006-01-26 Thread Mark R. White
I signed up and sent a mail 3 days ago, and never got confirmation
that it was received nor have I received any other samba list mailings
until just now and I received 3 within 5 minutes.

Mark

On 1/26/06, James Watkins [EMAIL PROTECTED] wrote:
 Hi all, is it just me or has this list stopped working.  I haven't
 received anything for a couple of days now.

 Cheers,

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



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


Re: [Samba] List problems

2006-01-26 Thread Michael Gasch

same here, too. they seem to have problems

greez

James Watkins wrote:
Hi all, is it just me or has this list stopped working.  I haven't 
received anything for a couple of days now.


Cheers,

James.



--
Michael Gasch
Max Planck Institute for Evolutionary Anthropology
Department of Human Evolution (IT)
Deutscher Platz 6
D-04103 Leipzig
Germany

Phone: 49 (0)341 - 3550 137
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] List problems

2006-01-26 Thread Larry McElderry
It has been uncharacteristically quiet the past couple of days.

Larry

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
James Watkins
Sent: Thursday, January 26, 2006 9:44 AM
To: Samba
Subject: [Samba] List problems


Hi all, is it just me or has this list stopped working.  I haven't 
received anything for a couple of days now.

Cheers,

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


[Samba] test

2006-01-26 Thread Gerald (Jerry) Carter

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


Re: [Samba] List problems

2006-01-26 Thread James Watkins
How peculiar, I wonder how long it takes on average for a list to be 
quiet before someone sends the inevitable Hello, is anyone out there? 
message.


Thanks for the replies,
James.

Larry McElderry wrote:

It has been uncharacteristically quiet the past couple of days.

Larry

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
James Watkins
Sent: Thursday, January 26, 2006 9:44 AM
To: Samba
Subject: [Samba] List problems


Hi all, is it just me or has this list stopped working.  I haven't 
received anything for a couple of days now.


Cheers,

James.


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


[Samba] SAMBA client extremely slow over WAN

2006-01-26 Thread Dracula
Hello,
When copying files using the RedHat Samba client over  Network we
experience file copy times 5 times slower than we experience with other
SAMBA clients. 

As a test file we are using a 45MB file. Using a HPUX samba client to a
windows file server it takes approximately 1 minute to copy this file.  

Using a windows SAMBA client also takes about 1 minute to copy the
file. 

Using the RHEL 3.0 Samba client it takes well over 5 minutes, and
sometimes up to 7 minutes to copy the same file.  

This is a client only issue with samba however as if we run a SAMBA
server on RHEL 3.0 and copy to it with the Windows client it will again
only take about a minute.  

We have tried many different rsize,wsize combinations as well have
followed the SAMBA optimization guides by RedHat and O'reily with no
significant improvement on performance.  

Thanks

Regards,

Komal

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


[Samba] Fw: SAMBA on AIX 5.1

2006-01-26 Thread William Jojo

forwarding this for AIX people...forgot to CC list D'oh!


- Original Message - 
From: Antonio Sosa 
To: William Jojo 
Sent: Thursday, January 26, 2006 12:05 PM
Subject: RE: SAMBA on AIX 5.1


Thanks William - I'll try it out.

 

Antonio  Sosa

C.E.O.

Ansotech Inc.

We Design Technology Around You

Tel: 877-389-8728

Cell: 773-406-3663

 




From: William Jojo [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 26, 2006 11:02 AM
To: Antonio Sosa
Subject: Re: SAMBA on AIX 5.1

 

 

 

Nope. This is 5.2 not 5.1 :-)

 

You'll need to go to at least 5200-06 (5200-07 is available)

 

 

Cheers,

 

Bill

 

  - Original Message - 

  From: Antonio Sosa 

  To: William Jojo 

  Sent: Thursday, January 26, 2006 11:22 AM

  Subject: RE: SAMBA on AIX 5.1

   

  oldpetes: root] /opt/Samba/3.0.21a/sbin oslevel -r 
  5200-04

   

  it appears high enough right?

   

  Antonio  Sosa

  C.E.O.

  Ansotech Inc.

  We Design Technology Around You

  Tel: 877-389-8728

  Cell: 773-406-3663

   


--

  From: William Jojo [mailto:[EMAIL PROTECTED] 
  Sent: Thursday, January 26, 2006 10:02 AM
  To: Antonio Sosa; samba@lists.samba.org
  Subject: Re: SAMBA on AIX 5.1

   

   

- Original Message - 

From: Antonio Sosa 

To: samba@lists.samba.org 

Cc: [EMAIL PROTECTED] 

Sent: Thursday, January 26, 2006 10:49 AM

Subject: SAMBA on AIX 5.1

 

I installed the binary from 
http://us2.samba.org/samba/ftp/Binary_Packages/AIX/

Opt-samba-AIX5-3.0.21a.tar.gz

Installed fine but when I go to run the samba binaries, this is what I get:

 

Can anyone help - thanks in advanced.

 

  What does oslevel -r report?

   

   

  5100-09 is available at the IBM site and those functions should be supported 
in that release (I think actually at 06 or 07).

   

  http://www-03.ibm.com/servers/eserver/support/unixservers/aixfixes.html

   

  Select AIX 5.1 under Maintenance Packages.

   

   

  Cheers,

   

  Bill

   

   

 

/opt/Samba/3.0.21a/sbin ./nmbd -D
[1] 544860 
oldpetes: root] /opt/Samba/3.0.21a/sbin exec(): 0509-036 Cannot load 
program ./nmbd because of the following errors: 
0509-130 Symbol resolution failed for nmbd because: 
0509-136   Symbol statvfs64 (number 134) is not exported from 
   dependent module /usr/lib/libc.a(shr.o). 
0509-136   Symbol opendir64 (number 169) is not exported from 
   dependent module /usr/lib/libc.a(shr.o). 
0509-136   Symbol closedir64 (number 170) is not exported from 
   dependent module /usr/lib/libc.a(shr.o). 
0509-136   Symbol readdir64 (number 171) is not exported from 
   dependent module /usr/lib/libc.a(shr.o). 
0509-136   Symbol seekdir64 (number 180) is not exported from 
   dependent module /usr/lib/libc.a(shr.o). 
0509-136   Symbol telldir64 (number 229) is not exported from 
   dependent module /usr/lib/libc.a(shr.o). 
0509-192 Examine .loader section symbols with the 
 'dump -Tv' command. 

[1] +  Done(255)   ./nmbd -D  
oldpetes: root] /opt/Samba/3.0.21a/sbin

 

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


Re: [Samba] samba domain controller with ldap and groupOfUniqueNames groups

2006-01-26 Thread Gordon Messmer

Gordon Messmer wrote:

I'm having some trouble with groups which contain the groupofuniquenames
objectclass.


I was wrong.  My conclusions were totally erronious.  Somehow or other, 
the indexes were incomplete and the sambaSID attribute wasn't indexed 
for older entries, where I had groupOfUniqueNames members.  Since that 
was the only difference in the data, I presumed that to be the cause.

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


[Samba] Re: Cannot map guest shares in 'security = SERVER' mode on samba-3.0.9

2006-01-26 Thread Rex Dieter

Rene Kapeller wrote:

== problem =

'net use n: \\smbs1\public' on Windows XP, always asks for a password.

'smbmount //smbs1/public /mnt/public -o password=' does not.

This all used to work fine under Redhat-9 and Samba-2.2

...

map to guest = Bad User


man smb.conf, read up on the options available for 'map to guest'.


-- Rex

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


[Samba] winbind authentication fails with STATUS_BUFFER_OVERFLOW

2006-01-26 Thread Alex Laslavic (Lenox)
Using samba-3.0.10-1.4E.2 as supplied by RedHat Enterprise 4.  Using
security=ADS mode, and using winbind and pam_winbind to authenticate.  

I was able to sucessfully join the domain, and can enumerate users and
groups.  

Whenever I try to authenticate, it always fails with the status
STATUS_BUFFER_OVERFLOW.  

---pieces of Winbind Logs---
[2006/01/26 13:08:55, 5] rpc_parse/parse_prs.c:prs_ntstatus(672)
  0024 status: STATUS_BUFFER_OVERFLOW
[2006/01/26 13:08:55, 3]
rpc_client/cli_netlogon.c:cli_nt_setup_creds(290)
  cli_nt_setup_creds: auth2 challenge failed STATUS_BUFFER_OVERFLOW

[2006/01/26 13:08:55, 3] nsswitch/winbindd_pam.c:winbindd_pam_auth(289)
  could not open handle to NETLOGON pipe
[2006/01/26 13:08:55, 2] nsswitch/winbindd_pam.c:winbindd_pam_auth(361)
  Plain-text authentication for user alaslavic returned
STATUS_BUFFER_OVERFLOW (PAM: 4)
[2006/01/26 13:08:55, 5] nsswitch/winbindd.c:winbind_client_read(477)
  read failed on sock 23, pid 11620: EOF
[2006/01/26 13:08:55, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(126)
  [11620]: getpwnam alaslavic
[2006/01/26 13:08:55, 3] lib/charcnv.c:convert_string_allocate(567)
  convert_string_allocate: Conversion error: Incomplete multibyte
sequence(°VÜ*U)
[2006/01/26 13:08:55, 3] lib/charcnv.c:convert_string_allocate(576)
  convert_string_allocate: Conversion error: Illegal multibyte
sequence(Ü*U)
[2006/01/26 13:08:59, 5] nsswitch/winbindd.c:winbind_client_read(477)
  read failed on sock 20, pid 11620: EOF
[2006/01/26 13:09:11, 5] lib/smbldap.c:smbldap_close(929)
  The connection to the LDAP server was closed
[2006/01/26 13:09:11, 5] sam/idmap_ldap.c:ldap_idmap_close(765)
  The connection to the LDAP server was closed
[2006/01/26 13:09:11, 5] nsswitch/winbindd.c:winbind_client_read(477)
  read failed on sock 10, pid 11586: EOF



---smb.conf
# Globals
[global]
workgroup = WORLDTRAVEL
netbios name = usgalnx1tuxmgmt01
realm = WORLDTRAVEL.LOCAL
server string = Linux Management Server
security = ADS
log level = 7
ldap admin dn = cn=,dc=worldtravel,dc=local
ldap idmap suffix = ou=Idmap
ldap suffix = dc=worldtravel,dc=local
idmap backend = ldap:ldap://usgalnx1tuxmgmt01.worldtravel.local
idmap uid = 10-90
idmap gid = 10-90
template shell = /bin/bash
winbind use default domain = Yes
winbind nested groups = Yes
use spnego = yes
socket options = TCP_NODELAY SO_RCVBUF=16384

include = /etc/samba/smb.include


-- 
***
*  Alex Laslavic   
*  Linux Engineer  
*  WorldTravel BTI 
*  x49511
*  gpg/pgp key at   
*   http://keys.jumpbox.net
***


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

[Samba] Novice question - How to completely disable printing and /etc/printcap errors ?

2006-01-26 Thread Elizabeth Schwartz
I'm running Samba 3.0.21a (blastwave build) on Solaris 9. The Solaris
servers have no printers attached or accessible, just file service. Samba
users authenticate off a Win2003 AD controller and get printing from that.

I got rid of the Unable to connect to CUPS Server errors by adding to
smb.conf the line
   printing=bsd
but I am still getting
 smbd[4809]: [ID 702911 daemon.error]   Unable to open printcap file
/etc/printcap for read!

Is there a way to get rid of this error short of recompiling?  (it is nice
to be using the

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


Re: [Samba] Can printer names be mapped?

2006-01-26 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gururajan Ramachandran wrote:
 
 Can printer names be mapped between unix names and windows names just
 like groups? I have a printer that is shared as HP Mode9 (with a space
 in the name) in windows domain. CUPS will not let me create the name
 that way so I called it HP_Mode9 (with an underscore). Everybody in the
 domain is hooked to HP Mode9 (with a space). How do I avoid
 reinstalling driver in all the windows clients?

See the 'printer' parameter ni smb.conf(5).





cheers, jerry
=
I live in a Reply-to-All world---
Samba--- http://www.samba.org
Centeris ---  http://www.centeris.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD2RXuIR7qMdg1EfYRAhsEAJ9JkKKqFXeBX9wro9JXVaecp/CMowCgytXX
UH7asu6YTH9aVRUwJak/NTg=
=k37k
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: oplocks and Excel

2006-01-26 Thread Rex Dieter

Matt Morgan wrote:


2) More generally, has anyone else seen this problem before and been
able to do anything about it?


I saw it, upgraded samba.

-- Rex

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


[Samba] Re: SFU UID Mapping

2006-01-26 Thread Rex Dieter

John Halfpenny wrote:


But for this to work I need to drag over the UIDs from Services For Unix which 
I have read is possible on Samba 3.0.20+
Joined Samba to the Win2k3 domain with no problems, 


Silly question: You *do* have SFU installed on the Win2k3 domain 
controller, right?


-- Rex

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


[Samba] Backing up a windows 2003 server to a samba share

2006-01-26 Thread James Watkins
Good evening/morning/afternoon.  This may be a little off topic but I 
was wondering if anyone has had any experience backing up a Windows 2003 
SBS to a samba share.  I succeeded in setting up the samba box as a 
member server on the AD domain and domain users can login and add files 
to the samba share but all attempts to run the backup fail with 
'Username LIME\SBS\ Backup\ User is invalid on this system' appearing in 
the logs.  I believe that the problem is linked to the fact that the 
'SBS Backup User' account is disabled by default, however, the obvious 
fix - enabling the account - doesn't work because Windows kindly 
disables it again as soon as the backup process begins.
   On a temporary basis, I have given up and am now backing up the 
server to one of our Windows XP Professial workstations but I would like 
to at least understand why it doesn't work and preferably fix it.


Sorry for the rather lengthy mail and thanks in advance for any pointers.

Cheers,

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


RE: [Samba] SAMBA on AIX 5.1

2006-01-26 Thread Lamar.Saxon

Best guess is it was compiled with a 64 bit kernel and the machine you
have installed it on is set for a 32 bit kernel.

Lamar

-Original Message-
From: Antonio Sosa [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 26, 2006 9:50 AM
To: samba@lists.samba.org
Cc: [EMAIL PROTECTED]
Subject: [Samba] SAMBA on AIX 5.1

I installed the binary from
http://us2.samba.org/samba/ftp/Binary_Packages/AIX/

Opt-samba-AIX5-3.0.21a.tar.gz

Installed fine but when I go to run the samba binaries, this is what I
get:



Can anyone help - thanks in advanced.





/opt/Samba/3.0.21a/sbin ./nmbd -D   
[1] 544860
oldpetes: root] /opt/Samba/3.0.21a/sbin exec(): 0509-036 Cannot load
program ./nmbd because of the following errors:
0509-130 Symbol resolution failed for nmbd because:
0509-136   Symbol statvfs64 (number 134) is not exported from
   dependent module /usr/lib/libc.a(shr.o).
0509-136   Symbol opendir64 (number 169) is not exported from
   dependent module /usr/lib/libc.a(shr.o).
0509-136   Symbol closedir64 (number 170) is not exported from
   dependent module /usr/lib/libc.a(shr.o).
0509-136   Symbol readdir64 (number 171) is not exported from
   dependent module /usr/lib/libc.a(shr.o).
0509-136   Symbol seekdir64 (number 180) is not exported from
   dependent module /usr/lib/libc.a(shr.o).
0509-136   Symbol telldir64 (number 229) is not exported from
   dependent module /usr/lib/libc.a(shr.o).
0509-192 Examine .loader section symbols with the
 'dump -Tv' command.

[1] +  Done(255)   ./nmbd -D 
oldpetes: root] /opt/Samba/3.0.21a/sbin







Privileged and Confidential.  This e-mail, and any attachments there to, is 
intended only for use by the addressee(s) named herein and may contain 
privileged or confidential information.  If you have received this e-mail in 
error, please notify me immediately by a return e-mail and delete this e-mail.  
You are hereby notified that any dissemination, distribution or copying of this 
e-mail and/or any attachments thereto, is strictly prohibited.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] oplocks and Excel

2006-01-26 Thread Josh Kelley
On 1/25/06, Matt Morgan [EMAIL PROTECTED] wrote:
 When they save open Excel files from Windows, they are prompted to
 overwrite the existing file. I mean, when they click the little disk
 icon or use Ctrl-S or File--Save. Excel would normally just write over
 the file, not check with an are you sure? prompt. But that's what
 they get.

This bug was fixed in Samba 3.0.11, IIRC.  If you don't want to
upgrade Samba, you should be able to get rid of the message by setting
your Excel workbooks for sharing.  (Under Excel's Tools menu, choose
Share Workbook.)  Microsoft's knowledgebase also describes the issue
at http://support.microsoft.com/default.aspx/kb/324491/en-us?; I
remember trying the fix they suggest there, but I can't remember if it
worked or not.

Regarding your oplocks question, we've left them on for everything but
Outlook .pst files (which sometimes had locking errors with oplocks
enabled) and have had no problems that I'm aware of, but others are
probably more qualified to speak on this.

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


Re: [Samba] Windows XP suddenly can't login to PDC

2006-01-26 Thread Jeremy Allison
On Tue, Jan 24, 2006 at 11:36:42AM +0100, Micha Kersloot wrote:
 Hi,
 
 I've got a Samba 3.0.2a PDC running for some time now (like more than a
 year) with MS Windows XP clients. But suddenly on January 23 2006 none
 of the clients where able to login anymore. The error on the client was
 (translated from dutch):
 Unable to connect to domain server.
 
 The logfile on the samba side showed:
 [2006/01/23 11:36:30, 2] lib/smbldap.c:smbldap_open_connection(722)
   smbldap_open_connection: connection opened
 [2006/01/23 11:36:30, 3] lib/smbldap.c:smbldap_connect_system(905)
   ldap_connect_system: succesful connection to the LDAP server
 [2006/01/23 11:36:30, 2] passdb/pdb_ldap.c:init_sam_from_ldap(640)
   init_sam_from_ldap: Entry found for user: computer3$
 [2006/01/23 11:36:30, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
   pop_sec_ctx (65534, 65534) - sec_ctx_stack_ndx = 0
 [2006/01/23 11:36:30, 0] libsmb/credentials.c:creds_server_check(159)
   creds_server_check: credentials check failed.
 [2006/01/23 11:36:30, 0] rpc_server/srv_netlog_nt.c:_net_auth_2(424)
   _net_auth2: creds_server_check failed. Rejecting auth request from
 client COMPUTER3 machine account COMPUTER3$
 
 I was able to solve the problem by upgrading to 3.0.21a, and rejoining
 the MS Windows XP clients to the domain. But as i have now idea what
 caused this problem, i don't know if this suddenly could happen again.
 Anyone an idea what was going on?

This is something we specifically added in a fix into 3.0.21a for.
The netlogon code needed to cache the credentials between connections,
and we now do this.

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


[Samba] RE: Print Migrator help needed...

2006-01-26 Thread Aarti Varshney (asadhnan)
 
This snippet from the error log: Looks like something is timing out...
Anyone knows how to increase the timeout?
 
Thanks in advance.
Aarti.
 
 
[2006/01/26 19:29:22, 3] smbd/ipc.c:reply_trans(538)
  trans \PIPE\ data=544 params=0 setup=2
[2006/01/26 19:29:22, 3] smbd/ipc.c:named_pipe(334)
  named pipe command on  name
[2006/01/26 19:29:22, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(1169)
  search for pipe pnum=7435
[2006/01/26 19:29:22, 3] smbd/ipc.c:api_fd_reply(294)
  Got API command 0x26 on pipe spoolss (pnum 7435)
[2006/01/26 19:29:22, 3]
rpc_server/srv_pipe_hnd.c:free_pipe_context(542)
  free_pipe_context: destroying talloc pool of size 0
[2006/01/26 19:29:22, 4] rpc_server/srv_pipe.c:api_rpcTNP(1543)
  api_rpcTNP: spoolss op 0x0 - api_rpcTNP: rpc command:
SPOOLSS_ENUMPRINTERS
[2006/01/26 19:29:22, 4]
rpc_server/srv_spoolss_nt.c:_spoolss_enumprinters(4724)
  _spoolss_enumprinters
[2006/01/26 19:29:22, 4]
rpc_server/srv_spoolss_nt.c:enum_all_printers_info_1_local(4450)
  enum_all_printers_info_1_local
[2006/01/26 19:29:22, 4]
rpc_server/srv_spoolss_nt.c:enum_all_printers_info_1(4393)
  enum_all_printers_info_1
[2006/01/26 19:29:22, 4]
rpc_server/srv_spoolss_nt.c:enum_all_printers_info_1(4397)
  Found a printer in smb.conf: testPrintQueue[4]
[2006/01/26 19:29:22, 4]
rpc_server/srv_spoolss_nt.c:enum_all_printers_info_1(4407)
  ReAlloced memory for [0] PRINTER_INFO_1
[2006/01/26 19:29:22, 4]
rpc_server/srv_spoolss_nt.c:enum_all_printers_info_1(4397)
  Found a printer in smb.conf: printQueue1[5]
[2006/01/26 19:29:22, 4]
rpc_server/srv_spoolss_nt.c:enum_all_printers_info_1(4407)
  ReAlloced memory for [1] PRINTER_INFO_1
[2006/01/26 19:29:22, 4]
rpc_server/srv_spoolss_nt.c:enum_all_printers_info_1(4397)
  Found a printer in smb.conf: HPLaserJ[6]
[2006/01/26 19:29:22, 4]
rpc_server/srv_spoolss_nt.c:enum_all_printers_info_1(4407)
  ReAlloced memory for [2] PRINTER_INFO_1
[2006/01/26 19:29:22, 3]
rpc_server/srv_pipe_hnd.c:free_pipe_context(542)
  free_pipe_context: destroying talloc pool of size 3100
[2006/01/26 19:29:22, 3] smbd/process.c:process_smb(1114)
  Transaction 15 of length 45
[2006/01/26 19:29:22, 3] smbd/process.c:switch_message(900)
  switch message SMBclose (pid 14118) conn 0x83ec6c8
[2006/01/26 19:29:22, 4] smbd/uid.c:change_to_user(217)
  change_to_user: Skipping user change - already user
[2006/01/26 19:29:22, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(1169)
  search for pipe pnum=7435
[2006/01/26 19:29:22, 4]
rpc_server/srv_pipe_hnd.c:close_rpc_pipe_hnd(1081)
  closed pipe name spoolss pnum=7435 (pipes_open=0)
[2006/01/26 19:29:22, 3] smbd/process.c:process_smb(1114)
  Transaction 16 of length 39
[2006/01/26 19:29:22, 3] smbd/process.c:switch_message(900)
  switch message SMBtdis (pid 14118) conn 0x83ec6c8
[2006/01/26 19:29:22, 3] smbd/sec_ctx.c:set_sec_ctx(287)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/01/26 19:29:22, 3] smbd/sec_ctx.c:set_sec_ctx(287)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/01/26 19:29:22, 3] smbd/service.c:close_cnum(833)
  bd-s6 (10.86.41.170) closed connection to service IPC$
[2006/01/26 19:29:22, 3] smbd/connection.c:yield_connection(69)
  Yielding connection to IPC$
[2006/01/26 19:29:22, 4] smbd/vfs.c:vfs_ChDir(737)
  vfs_ChDir to /
[2006/01/26 19:29:22, 3] smbd/sec_ctx.c:set_sec_ctx(287)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
  [2006/01/26 19:29:22, 3]
smbd/process.c:timeout_processing(1366)
   timeout_processing: End of file from client (client
has disconnected).


 


From: Aarti Varshney (asadhnan) 
Sent: Wednesday, January 25, 2006 3:45 PM
To: 'samba@lists.samba.org'
Subject: Print Migrator help needed...


Hi,
 
I am trying to migrate print queues from a windows server to a samba
share.
1. I ran printmig.exe on the windows server. 
2. Backed up the printers on the windows servers to a cab file.
3. Tries to restore the printers to the sambashare by specifying the
target as //sambaShare.
But I get the following error: 
 
2006:01:25 15:35:38   Access Granted to: \\sambaShare
2006:01:25 15:35:38   Couldn't start the target spooler
2006:01:25 15:35:38   Remote Tree View Failed
 
How do I starter the target spooler?
Do I need some config in smb.conf?
In smb.conf I have a addprinter command.
 
Thanks,
Aarti.
 



From: Aarti Varshney (asadhnan) 
Sent: Monday, January 23, 2006 2:55 PM
To: 'samba@lists.samba.org'
Subject: guest account security = domain doesn't work...


Hi,
 
my security is domain, i would like to map users who fail authentication
to be
mapped to a guest account so they can access printers.

My conf file looks like this:
[global]
workgroup = LAB2000DOMAIN2
security = DOMAIN
client schannel = No
map to guest = Bad Password
password server = 10.86.32.27
log level = 4 passdb:5 auth:10 winbind:4
log file = /local/local1/errorlog/samba.log
max log size = 50
smb ports = 50139
lpq 

Re: [Samba] grant administrator rights

2006-01-26 Thread Robert Adkins

Patrick DUBAU wrote:


Hi,

we want to give all our users all the rights on the stations, i see 2 
solutions :

- on the station goto local group administrators and add everyone
-  on the sation goto local group administrator annd add an LDAP group 
call UA (created by us with containing all ou users)



Which  way is the best in term of charge ?
Someone told to me that in the first case windows has to handle all 
the users on the stations, but in the second case only one group 
(group UA).


We have about 4000 users accounts in LDAP
Does  windows have problem handling so much users?

Thanks for any suggestion or return of experience

   I see absolutely no reason to have 4000 users setup as 
Administrators on their local machines.


   However, if you wish to go down that route (Which I think is VERY 
dangerous from a security perspective.) inside your Samba Configuration 
file, you can setup a group to act as Administrator and just add all 
of your users to that group.


   If the OS you are hosting Samba on already has a Global Users 
group that every account is automatically part of, simply add this Group 
to the line detailing which groups/users are to have Administrator rights.


   Good luck.
   Robert Adkins
   IT Manger/Buyer
   Impel Industries, Inc.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


  1   2   >