[Samba] question regarding Perl + PAM + Winbindd

2005-09-23 Thread Abhay Pradhan
Hi I'm using a Perl script to call PAM to authenticate using Winbind to contact a Windows ADS. This is on a Debian Sarge box. The machine has been added to the domain (using kerberos and net ads join command). Winbindd is configured successfully and I get this when I try and run wbinfo -a wbinfo

RE: [Samba] ADS Issues and possible bug in 3.0.20

2005-09-23 Thread Theodore Jencks
As a follow up to my post I have run an strace on my system of the following command: Net ads join -U tjencks "HQ Servers" Here is the end of the strace file: gettimeofday({1127521399, 434197}, NULL) = 0 gettimeofday({1127521399, 434351}, NULL) = 0 select(7, [6], NULL, NULL, {0, 9}) = 0 (Ti

[Samba] ADS Issues and possible bug in 3.0.20

2005-09-23 Thread Theodore Jencks
Before I lay out the problems I am currently suffering from let me describe my environment: Dell OptiPlex GX270 2.6Ghz 512MB Ram RedHat Linux Fedora Core 3 with all current updates. Samba compile is version 3.0.20 stable. Uname -a: Linux theo.hq.navis.net 2.6.12-1.1378_FC3 #1 Wed Sep 14 04:24

[Samba] Re: strange error 1937

2005-09-23 Thread kooto (sent by Nabble.com)
Mario Gzuk wrote: > > ... > Nobody can help me on this mailing list or are there some missing > informations? Maybe there is an other mailing list for such problems? > ... > Nabble has a large software mailing list archive here: http://www.nabble.com/Software-f94.html Search for "smbldap-u

[Samba] VLAN issue

2005-09-23 Thread Taolizhong
Hi -- The environment we have is as follows, Domain controller: samba 3.0.14a running Solaris 9/X86 Authentication: openldap 2.2.14 Clients: Windows XP with SP2 The issue I met: If both clients and Samba server are on the same physical switch (also same subnet), the clients can join t

[Samba] authentication problems from AD to NT4 domain w/samba servers

2005-09-23 Thread Jeremy O'Leary
We have serveral samba servers in an NT4 domain that has a one way trust to a larger AD forest. I have verified that I can use an account in the AD forest to login to a host in the NT4 domain. However if we try to mount a samba share in the above NT4 domain using a user account in AD the mount

Re: [Samba] backing up and restoring a samba configuration

2005-09-23 Thread Henrik Zagerholm
You also need secrets.tdb. You can use the built in utlity for backin up the TDB database. //H 23 sep 2005 kl. 20.34 skrev Josh Howe: Hi, I'm trying to backup my samba configuration, including the users. I'm making copies of these files: /etc/samba/smb.conf /etc/samba/smbpasswd /etc/sam

[Samba] Password change caused lose X flag

2005-09-23 Thread Li, Ying (ESG)
Hello, I have a question with password never expired flag during changing password. If X flag for password never expired has been set in account flags for a user, password change would cause to lose the X flags. By taking a look at the code of the line 993 in passdb/passdb.c, it said all other ac

RE: [Samba] net rpc rights problem with groups

2005-09-23 Thread Dirk.Laurenz
Hello Jerry, here's the avtive group mapping: hgest3201:~ # net groupmap list Domain Admins (S-1-5-21-3768962547-785479325-491471131-512) -> Domain Admins Domain Users (S-1-5-21-3768962547-785479325-491471131-513) -> Domain Users Domain Guests (S-1-5-21-3768962547-785479325-491471131-514) -> Doma

Re: [Samba] file locking

2005-09-23 Thread Jeremy Allison
On Sat, Sep 24, 2005 at 04:33:30AM +0530, Pramathesh Ambasta wrote: > I am sure this is a subject which has been discussed a lot already. I have > been looking for pointers but have failed. So please bear with me and help. > A linux box runs Samba and is connected to a win box. One word or excel f

[Samba] Role of TLS in LDAP for Samba 3.x

2005-09-23 Thread Arup Biswas
I am wondering if there is any documentation that describes the role TLS plays in LDAP security in Samba 3.x. I would like to understand what is the relationship of TLS with other LDAP security mechanisms like Kerberos via SASL and if TLS provides any added security. Is it like TLS provides an encr

[Samba] backing up and restoring a samba configuration

2005-09-23 Thread Josh Howe
Hi, I'm trying to backup my samba configuration, including the users. I'm making copies of these files: /etc/samba/smb.conf /etc/samba/smbpasswd /etc/samba/smbusers When I install samba on a new machine (I've recreated the directory structure and Linux users) and replace the above

[Samba] pdb_mysql, pdb_pgsql and pdb_xml modules: request for maintainer

2005-09-23 Thread Jelmer Vernooij
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! The experimental pdb modules (pdb_mysql, pdb_pgsql and pdb_xml) have been a bit neglected during the last few releases of Samba 3 as they haven't been actively maintained. I was the original author and maintainer, but I no longer work on Samba 3 a

[Samba] file locking

2005-09-23 Thread Pramathesh Ambasta
I am sure this is a subject which has been discussed a lot already. I have been looking for pointers but have failed. So please bear with me and help. A linux box runs Samba and is connected to a win box. One word or excel file is opened simultaneoulsy on both (on the linux system in OpenOffice a

Re: [Samba] completed printjobs stay in queue after "upgrade" 3.0.20rc2 -> 3.0.20

2005-09-23 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brecht Samyn wrote: | A few weeks ago, I upgraded Samba 3.0.1x to 3.0.14a | . After the upgrade, all completed printjobs on all | 40 printers stayed in samba's print queue (they were removed | from the unix-printqueue). When I installed 3.0.20rc2,

Re: [Samba] completed printjobs stay in queue after "upgrade" 3.0.20rc2 -> 3.0.20

2005-09-23 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brecht Samyn wrote: | A sample printer definition from smb.conf. We use lprng to spool the | jobs to our lprng printserver. | | [poco] |comment = Kleurprinter |path=/var/spool/lp/samba |printable = yes |browseable = yes

Re: RES: [Samba] Re: ACLs with Problem

2005-09-23 Thread Paul Kölle
Luis Henrique de Faria Guimarães wrote: > I believe that you it did not understand my explanation. I have a Linux > server executing samba intergrated > with a server windows 2003 (PDC). Linux is using the users of windows 2003 > saw winbind. But, the permissions > for these of archive do no

Re: [Samba] winbind joins with domain name , not netbios name

2005-09-23 Thread Andrew Reilly
Same issue, same behaviour. Very similar config. windbind log level: [2005/09/23 13:00:53, 6] nsswitch/winbindd.c:new_connection(596) accepted socket 17 [2005/09/23 13:00:53, 10] nsswitch/winbindd.c:process_request(325) process_request: request fn INTERFACE_VERSION [2005/09/23 13:00:53, 3] n

Re: [Samba] auth problem

2005-09-23 Thread Greg Folkert
On Fri, 2005-09-23 at 09:43 -0600, Ric Tibbetts wrote: [...] > > Greg; > Well, what was working yesterday, has stopped today. This is getting > frustrating. I have been seeing spotty workings as well, usually though it is the ADS integration, with the ADS side being 99.99% of the trouble. Being

[Samba] winbindd exceeding 200 client connections

2005-09-23 Thread Rusty Shackleford
OS: RHE 3, kernal 2.4.21-32.0.1EL Samba version: samba-3.0.20 Removed RHE version of samba and compiled/installed samba-3.0.20. After running about 30-60 minutes, I get the following syslog msg: "winbindd: Exceeding 200 client connections, no idle connection found" Eventually this grinds

Re: [Samba] auth problem

2005-09-23 Thread Ric Tibbetts
At 08:54 AM 9/23/2005, Greg Folkert wrote: On Thu, 2005-09-22 at 14:48 -0600, Ric Tibbetts wrote: > > > >There is a terribly good howto: > > > >http://www.idealx.org/prj/samba/smbldap-howto.en.html > > > Thank you! > That helped, I'm closer. > I left out one line from my smb.conf > I found it fro

RE: [Samba] Permissions not recursive on win2K?

2005-09-23 Thread Shawn Wright
On 20 Sep 2005 at 16:15, Shawn Wright wrote: > On 20 Sep 2005 at 17:02, Larry McElderry wrote: > > > There are probably other (better) methods, but one is: > > > > Pick a file on the file system in question and try the command > > attr -g aa FileName > > > > If EA's are support you'll get a me

[Samba] unsolvable?

2005-09-23 Thread Jason Gerfen
I am having a problem with ADS as a security type: %> net ads join -U Joined domain DOMAIN %> kinit wbinfo -u lists users, however I attempted to point authentication requests at an OU below the primary DOMAIN.COM container. ex. OU=test_users,DC=domain,dc=com Is there a way to remove this?

RE: [Samba] UTMP duplicated entries

2005-09-23 Thread Fabiano Caixeta Duarte
On Fri, 23 Sep 2005, Andrew Bartlett wrote: Yeah! Sorry! I am talking about login sessions. Does samba logs on utmp all kind of sessions or just login sessions? It logs file-share connections, as it doesn't really have the info for client-side login sessions. Andrew Bartlett But I still thi

Re: [Samba] Samba with Mysql, compilation problem.

2005-09-23 Thread (C)ollen
pdb_sql.c is the new mysql backend name (was pdb_mysql) so it does get compiled... but this output shows that you still use 3.0.20. and that's not the best version for mysql backends...! i must note that i have made a small mistake regarding the --enable-static=pdb_mysql. it's --with-static-modu

Re: [Samba] auth problem

2005-09-23 Thread Greg Folkert
On Thu, 2005-09-22 at 14:48 -0600, Ric Tibbetts wrote: > > > >There is a terribly good howto: > > > >http://www.idealx.org/prj/samba/smbldap-howto.en.html > > > Thank you! > That helped, I'm closer. > I left out one line from my smb.conf > I found it from digging through that how-to. > > passwor

Re: RES: [Samba] LDAP howto

2005-09-23 Thread Gary Dale
Congratulations! If you need help with your howto, please count on me! I will be more than happy to take whatever you can write down, try it here, and tweak your howto based on my results. I can also help clean up the language (sorry, but your english is a little confusing in places :) ). Sé

Re: [Samba] strange error 1937

2005-09-23 Thread Mario Gzuk
Am Freitag, den 23.09.2005, 16:05 +0300 schrieb Denis Vlasenko: > Try to isolate it first to failing invocation of smldap-useradd > > add user script = debug_script "%u" > > wher debug_script is something like this: > > #!/bin/sh > env >/tmp/useradd.env > strace -o /tmp/useradd.strace smbldap-

Re: [Samba] strange error 1937

2005-09-23 Thread Denis Vlasenko
On Thursday 22 September 2005 11:44, Mario Gzuk wrote: > Hi, > After configuring and populating I try to add the accounts from a NT4 > domain. > The "net rpc samdump -S SERVERNAME" works as expected. > I can see the Password hashes and all computers and users. > After that I try to NET VAMPIRE.

Re: [Samba] net rpc rights problem with groups

2005-09-23 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: | net rpc rights grant "TOPTEST\toptest.r" \ | SeMachineAccountPrivilege -U domainadmin | | net rpc rights shows: | hgest3201:~ # net rpc rights list accounts -Udomainadmin | Password: | TOPTEST\toptest.r | SeMachineAccount

Re: [Samba] Samba with Mysql, compilation problem.

2005-09-23 Thread Pierre MARTIN
Rectification, the address you gave me have the 3.0.11 :) Thank you alot! Pierre On 9/23/05, Pierre MARTIN <[EMAIL PROTECTED]> wrote: > > Hello Collen! > > I am actually making serious searchs in the configure script. Here is > WHATEVER i give as mysql input args, the compilation output: > > Compi

Re: [Samba] Samba with Mysql, compilation problem.

2005-09-23 Thread Pierre MARTIN
Hello Collen! I am actually making serious searchs in the configure script. Here is WHATEVER i give as mysql input args, the compilation output: Compiling passdb/secrets.c Compiling passdb/machine_sid.c Compiling locking/locking.c Compiling locking/brlock.c Compiling locking/posix.c Compiling pas

RE RES: [Samba] ACLs with Problem

2005-09-23 Thread stephane . purnelle
Hi, - With which user use try to change ACL ? - is the admin users ? - winbind work correctly ? -wbinfo ??? --- Stéphane PURNELLE [EMAIL PROTECTED] Service Informatique Corman S.A. Tel : 00 32 087/342467 [

RES: [Samba] ACLs with Problem

2005-09-23 Thread Luis Henrique de Faria Guimarães
Hi Greg, Really, the first step to install filesystem it with support ACL. It looks at my archive: LABEL=/ / ext3defaults,acl1 1 LABEL=/boot /boot ext3defaults1 2 LABEL=/data /data

RES: [Samba] LDAP howto

2005-09-23 Thread Sérgio A P Ferreira
Hello Gary, about 2 mouths ago I have started a challenge, put Debian Sarge, Openldap and Samba to work together. Yesterday I got It. Honestly, It took me a hell! I almost gave up. Now I am happy for didn´t done It. I sketched up my steps through It. I started already to write my Howto´s to descr

[Samba] Cannot join domain from WinXP

2005-09-23 Thread Martin Konicek
===INFO=== Server: Fedora Core 2, Samba 2 Client: Windows XP, all TCP incoming ports firewalled, outgoing TCP permited Problem: Cannot join to domain ===SHORT-LOG=== write_socket: Error writing 5 bytes to socket 23: ERRNO = Connection reset by peer ===FULL-LOG=== [2005/09/21 17:56:44, 0] lib/util

Re: [Samba] winbind joins with domain name , not netbios name

2005-09-23 Thread Jason Gerfen
Turki Al-Ibrahim wrote: Hi, I am having a problem with Winbind: First, some information .. Domain name :TESTDOM PDC's Netbios name : ubuntu Samba version : 3.0.20 (lateset patches installed) with LDAP backend. Linux : Ubuntu 2.6.10 Samba is running smoothly, with no problems. I wanted to use

RES: [Samba] Re: ACLs with Problem

2005-09-23 Thread Luis Henrique de Faria Guimarães
I believe that you it did not understand my explanation. I have a Linux server executing samba intergrated with a server windows 2003 (PDC). Linux is using the users of windows 2003 saw winbind. But, the permissions for these of archive do not function. When I try to change the permissions o

[Samba] winbind joins with domain name , not netbios name

2005-09-23 Thread Turki Al-Ibrahim
Hi, I am having a problem with Winbind: First, some information .. Domain name :TESTDOM PDC's Netbios name : ubuntu Samba version : 3.0.20 (lateset patches installed) with LDAP backend. Linux : Ubuntu 2.6.10 Samba is running smoothly, with no problems. I wanted to use Winbind, so I followed Sam

Re: [Samba] Not the same folder size on a Linux workstation and on a Windows workstation

2005-09-23 Thread Jean Lee
Birger Wathne a écrit : Could it simply be that the folders have different size? You could check the files within a folder and then the folder to look for differences. Perhaps also look at an empty folder. Hi, Thank you for your answer. Well, I found where is my problem : My mail storage

Re: [Samba] strange error 1937

2005-09-23 Thread Mario Gzuk
Hi again, Nobody can help me on this mailing list or are there some missing informations? Maybe there is an other mailing list for such problems? thank you greetings mario > Hi, > After configuring and populating I try to add the accounts from a NT4 > domain. > The "net rpc samdump -S SERVERNAM

[Samba] sambaSID generation for machine accounts...

2005-09-23 Thread Roger Eisenecher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi List We are using Samba 3.0.13 with LDAP as our backend. We are using WinXP in our environement where we reload the machines from time to time with some imaging technology. During this process the machines joins automatically the (samba-) domain. I

[Samba] Not the same folder size on a Linux workstation and on a Windows workstation

2005-09-23 Thread Jean Lee
Hi all, I made a copy of a folder from a WINXP SP2 to a Linux workstation shared folder. After the copy and from the WINXP SP2 workstation, i look the properties of the remote folder (the copied folder on the Linux workstation) and of the local folder (the original folder on the WINXP worksta

[Samba] locked file

2005-09-23 Thread stefanke
Hi all, I have a strange locking file problem. I cannot open (read only) a file (alais.dbf) from my windows box but form the linux box it is possible to read the file. I has something to do with samba. loglevel 10 output nt-client: - [2005/09/23 11:20:24, 10] lockin

[Samba] problems logging in as guest from a windows2k system

2005-09-23 Thread gnamasiv
Hi, I had been using samba 3.0.14 and the DC is a Windows2K3 server. I have setup guest printing.(please see the smb.conf) and am able to view the printer shares from another Windows2k3 server in another domain. However, I am not able to access the same shares from Windows 2000 server in anot

Re: [Samba] Problem with starting smbd and nmbd

2005-09-23 Thread Patrick Steiner
What do you want to do? please give some more infos... Victor Rauls wrote: > I need to change the server and master name on the node. How is that done. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Samba with Mysql, compilation problem.

2005-09-23 Thread Pierre MARTIN
Hello Collen, Thanks for your help again! I have tryed already to rename mysql.so to the expected plugin name, it just cant be loaded. These have been done with version 3.0.14 AND 3.0.20, it has the same effect = nothing. I will probably follow your advices and try to find a minor version before

[Samba] Building 3.0.20 for ubuntu

2005-09-23 Thread Leen Toelen
Hi, I am trying to build samba 3.0.20 on an ubuntu amd64 machine. Compiling works, but if I try to build the packages, I get this error: ... include/proto.h:7483: warning: data definition has no type or storage class include/proto.h:7484: error: syntax error before 'DIR' include/proto.h:7485: err

RE: [Samba] net rpc vampire / Question or Problem?

2005-09-23 Thread Dirk.Laurenz
Hi, i'm thinking about some overflows or something like that. What do you think about that. Mit freundlichem Gruß, Dirk Laurenz Systems Engineer Fujitsu Siemens Computers S CE DE SE PS N/O Sales Central Europe Deutschland Professional Service Nord / Ost Hildesheimer Strasse 25 3088

[Samba] samba samba cross subnet browsing

2005-09-23 Thread 2male / Jonathan Salomon
Hi! I am having some trouble with a samba domain distributed over 2 subnets (192.168.0.0/23 (supernetted) & 192.168.4.0/24). These subnets are linked over the internet through a IPSec gateway to gateway (network to network) connection (i.e. all machines can reach/ping each other on both subn

Re: [Samba] Samba with Mysql, compilation problem.

2005-09-23 Thread (C)ollen
it is know that the mysql passwd backend is buggy/not working with samba 3.0.20. (maybe it's fixed in the new release ??) the fact that you have a mysql.so, tells me that you build the module as shared library. here are some thoughts: 1) try renaming the module to pdb_mysql.so 2) build it as st